main
panliang 2024-05-03 19:12:13 +08:00
parent 440f5816d4
commit 8699606817
3 changed files with 10 additions and 33 deletions

View File

@ -22,6 +22,8 @@ import BaseData from '@/pages/audits/base-data.vue'
import { ref } from 'vue'
import { onLoad ,onShow} from '@dcloudio/uni-app'
import { http } from '@/utils/request'
import statusFun from '@/utils/status'
const modalRef = ref(null)
const actions = ref([
{ name: '修改', value: 'edit', disabled: false },
@ -32,7 +34,8 @@ const actions = ref([
const colums = [
{
title: '审核状态',
dataIndex: 'workflow_check.check_status_text',
dataIndex: 'workflow_check.check_status',
format: (value) => statusFun(value, 'statusExpense', 'name')
},
{
title: '申请人',
@ -70,11 +73,9 @@ const colums = [
},
{
title: '未通过原因',
dataIndex: 'remarks',
dataIndex: 'workflow_check.check_remarks',
labelPosition: 'top',
isShow: (item) => {
return item?.check_status == 4
},
isShow: (item) => item?.workflow_check.check_status == 4,
},
]
const actionSheet = ref(null)

View File

@ -64,30 +64,6 @@ const data = {
{ value: 4, name: '已通过', color: '#3c9cff' },
{ 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: [{
value: 1,
name: '未开始',