status
parent
440f5816d4
commit
8699606817
|
|
@ -22,6 +22,8 @@ import BaseData from '@/pages/audits/base-data.vue'
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { onLoad ,onShow} from '@dcloudio/uni-app'
|
import { onLoad ,onShow} from '@dcloudio/uni-app'
|
||||||
import { http } from '@/utils/request'
|
import { http } from '@/utils/request'
|
||||||
|
import statusFun from '@/utils/status'
|
||||||
|
|
||||||
const modalRef = ref(null)
|
const modalRef = ref(null)
|
||||||
const actions = ref([
|
const actions = ref([
|
||||||
{ name: '修改', value: 'edit', disabled: false },
|
{ name: '修改', value: 'edit', disabled: false },
|
||||||
|
|
@ -32,7 +34,8 @@ const actions = ref([
|
||||||
const colums = [
|
const colums = [
|
||||||
{
|
{
|
||||||
title: '审核状态',
|
title: '审核状态',
|
||||||
dataIndex: 'workflow_check.check_status_text',
|
dataIndex: 'workflow_check.check_status',
|
||||||
|
format: (value) => statusFun(value, 'statusExpense', 'name')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '申请人',
|
title: '申请人',
|
||||||
|
|
@ -70,11 +73,9 @@ const colums = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '未通过原因',
|
title: '未通过原因',
|
||||||
dataIndex: 'remarks',
|
dataIndex: 'workflow_check.check_remarks',
|
||||||
labelPosition: 'top',
|
labelPosition: 'top',
|
||||||
isShow: (item) => {
|
isShow: (item) => item?.workflow_check.check_status == 4,
|
||||||
return item?.check_status == 4
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
const actionSheet = ref(null)
|
const actionSheet = ref(null)
|
||||||
|
|
|
||||||
|
|
@ -64,30 +64,6 @@ const data = {
|
||||||
{ value: 4, name: '已通过', color: '#3c9cff' },
|
{ value: 4, name: '已通过', color: '#3c9cff' },
|
||||||
{ value: 5, name: '未通过', color: '#999999' }
|
{ value: 5, name: '未通过', color: '#999999' }
|
||||||
],
|
],
|
||||||
// 不卡申请
|
|
||||||
workflow_check: [
|
|
||||||
{
|
|
||||||
value: 1,
|
|
||||||
name: '待提审',
|
|
||||||
color: '#f56c6c'
|
|
||||||
}, {
|
|
||||||
value: 2,
|
|
||||||
name: '审核中',
|
|
||||||
color: '#f56c6c'
|
|
||||||
}, {
|
|
||||||
value: 3,
|
|
||||||
name: '已通过',
|
|
||||||
color: '#3c9cff'
|
|
||||||
}, {
|
|
||||||
value: 4,
|
|
||||||
name: '审核未通过',
|
|
||||||
color: '#999999'
|
|
||||||
}, {
|
|
||||||
value: 5,
|
|
||||||
name: '已取消',
|
|
||||||
color: '#999999'
|
|
||||||
}
|
|
||||||
],
|
|
||||||
shore_task_status: [{
|
shore_task_status: [{
|
||||||
value: 1,
|
value: 1,
|
||||||
name: '未开始',
|
name: '未开始',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue