status
parent
0d2e5f8299
commit
350cd566a2
|
|
@ -17,10 +17,15 @@ import { http } from '@/utils/request'
|
|||
import { ref, computed } from 'vue'
|
||||
import { timeFormat } from '@climblee/uv-ui/libs/function'
|
||||
import BaseData from '@/pages/audits/base-data'
|
||||
import statusFun from '@/utils/status'
|
||||
|
||||
const baseColums = [
|
||||
{
|
||||
title: '审核状态',
|
||||
dataIndex: 'taskable.status_text',
|
||||
dataIndex: 'taskable.status',
|
||||
format: (value) => {
|
||||
return statusFun(value, 'task_hygienes', 'name')
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '申请人',
|
||||
|
|
|
|||
|
|
@ -24,36 +24,19 @@ const data = {
|
|||
statusExpense2: [
|
||||
{ value: 1, name: '未开始', color: '#f56c6c' },
|
||||
{ value: 2, name: '待审核', color: '#f56c6c' },
|
||||
{ value: 3, name: '审核通过', color: '#3c9cff' },
|
||||
{ value: 3, name: '已通过', color: '#3c9cff' },
|
||||
{ value: 4, name: '未通过', color: '#999999' },
|
||||
{ value: 5, name: '已取消', color: '#999999' }
|
||||
],
|
||||
//清洁任务
|
||||
task_hygienes: [{
|
||||
value: 1,
|
||||
name: '未开始',
|
||||
color: '#f56c6c'
|
||||
}, {
|
||||
value: 2,
|
||||
name: '待完成',
|
||||
color: '#f56c6c'
|
||||
}, {
|
||||
value: 3,
|
||||
name: '审核中',
|
||||
color: '#3c9cff'
|
||||
}, {
|
||||
value: 4,
|
||||
name: '未通过',
|
||||
color: '#999999'
|
||||
}, {
|
||||
value: 5,
|
||||
name: '已完成',
|
||||
color: '#3c9cff'
|
||||
}, {
|
||||
value: 6,
|
||||
name: '未完成',
|
||||
color: '#999999'
|
||||
}],
|
||||
task_hygienes: [
|
||||
{ value: 1, name: '未开始', color: '#f56c6c' },
|
||||
{ value: 2, name: '待完成', color: '#f56c6c' },
|
||||
{ value: 3, name: '已完成', color: '#3c9cff' },
|
||||
{ value: 4, name: '未完成', color: '#999999' },
|
||||
{ value: 5, name: '审核中', color: '#3c9cff' },
|
||||
{ value: 6, name: '未通过', color: '#999999' }
|
||||
],
|
||||
//总账录入
|
||||
task_ledgers: [{
|
||||
value: 1,
|
||||
|
|
|
|||
Loading…
Reference in New Issue