status
parent
a2c6b8b40f
commit
0d2e5f8299
|
|
@ -8,9 +8,7 @@ export default {
|
|||
{
|
||||
title: '审核状态',
|
||||
dataIndex: 'check_status',
|
||||
format: (value) => {
|
||||
return statusFun(value, 'statusExpense2', 'name')
|
||||
}
|
||||
format: (value) => statusFun(value, 'statusExpense2', 'name')
|
||||
},
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
<view> {{ item.check_user ? item.check_user.name : item.check_name }}</view>
|
||||
</view>
|
||||
<view v-if="item.check_status > 1" class="text-26rpx" :style="{ color: statusFun(item.check_status, 'statusExpense', 'color')}">
|
||||
{{ item.check_status_text }}
|
||||
{{ statusFun(item.check_status, 'statusExpense', 'name') }}
|
||||
</view>
|
||||
<view class="text-26rpx text-red" v-if="item.check_status == 4">{{item.remarks}}</view>
|
||||
</view>
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
v-for="item in list"
|
||||
:key="item.id"
|
||||
:title="item.type?.name"
|
||||
:status-text="item.workflow_check?.check_status_text"
|
||||
:status-text="statusFun(item.workflow_check?.check_status, 'statusExpense', 'name')"
|
||||
:status-color="statusFun(item.workflow_check?.check_status,'statusExpense','color')"
|
||||
:body="[
|
||||
{ label: '报销金额: ', value: item.expense },
|
||||
|
|
|
|||
|
|
@ -50,8 +50,8 @@
|
|||
v-for="item in list"
|
||||
:key="item.id"
|
||||
:title="item.check.subject.task.name"
|
||||
:status-text="statusFun( item.check_status,'statusExpense2','name')"
|
||||
:status-color="statusFun( item.check_status,'statusExpense2','color')"
|
||||
:status-text="statusFun(item.check_status,'statusExpense2','name')"
|
||||
:status-color="statusFun(item.check_status,'statusExpense2','color')"
|
||||
:body="[
|
||||
{label: '任务时间: ', value: item.check.subject.task.start_format + '-' + item.check.subject.task.end_format}
|
||||
]"
|
||||
|
|
|
|||
|
|
@ -12,48 +12,22 @@ const data = {
|
|||
value:'approval',
|
||||
name:'审批通知',
|
||||
}],
|
||||
statusExpense: [{
|
||||
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'
|
||||
}],
|
||||
statusExpense2: [{
|
||||
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'
|
||||
}],
|
||||
// 申请状态
|
||||
statusExpense: [
|
||||
{ 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' }
|
||||
],
|
||||
// 审核状态
|
||||
statusExpense2: [
|
||||
{ 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' }
|
||||
],
|
||||
//清洁任务
|
||||
task_hygienes: [{
|
||||
value: 1,
|
||||
|
|
@ -98,28 +72,22 @@ const data = {
|
|||
name: '未完成',
|
||||
color: '#999999'
|
||||
}],
|
||||
// 升职申请
|
||||
promotion_status: [{
|
||||
value: 1,
|
||||
name: '待提交',
|
||||
color: '#f56c6c'
|
||||
}, {
|
||||
value: 2,
|
||||
name: '待推荐',
|
||||
color: '#f56c6c'
|
||||
}, {
|
||||
value: 3,
|
||||
name: '审核中',
|
||||
color: '#f56c6c'
|
||||
}, {
|
||||
value: 4,
|
||||
name: '审核通过',
|
||||
color: '#3c9cff'
|
||||
}, {
|
||||
value: 5,
|
||||
name: '不通过',
|
||||
color: '#999999'
|
||||
}],
|
||||
// 升职申请-申请人
|
||||
promotion_status: [
|
||||
{ value: 1, name: '待提交', color: '#f56c6c'},
|
||||
{ value: 2, name: '待推荐', color: '#f56c6c' },
|
||||
{ value: 3, name: '审核中', color: '#f56c6c' },
|
||||
{ value: 4, name: '已通过', color: '#3c9cff' },
|
||||
{ value: 5, name: '未通过', color: '#999999' }
|
||||
],
|
||||
// 升职申请-推荐人
|
||||
promotion_status: [
|
||||
{ value: 1, name: '待提交', color: '#f56c6c'},
|
||||
{ value: 2, name: '待推荐', color: '#f56c6c' },
|
||||
{ value: 3, name: '审核中', color: '#f56c6c' },
|
||||
{ value: 4, name: '已通过', color: '#3c9cff' },
|
||||
{ value: 5, name: '未通过', color: '#999999' }
|
||||
],
|
||||
// 不卡申请
|
||||
workflow_check: [
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue