main
parent
ea604057f4
commit
f15cf2ce65
|
|
@ -72,6 +72,7 @@ const detailColumns = [
|
|||
{
|
||||
title: "外勤事由",
|
||||
dataIndex: "outside_remarks",
|
||||
labelPosition: 'top',
|
||||
isShow: (data) => data?.sign_type == 2
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<template>
|
||||
<view class="px-base">
|
||||
<CuNavbar title="任务详情">
|
||||
<template #right>
|
||||
<!-- <template #right>
|
||||
<view class="text-sm text-white" @click="checkLogs">审核流程</view>
|
||||
</template>
|
||||
</template> -->
|
||||
</CuNavbar>
|
||||
<view class="mt-30rpx card-shadow bg-white rounded-19rpx px-base text-[#333333] text-27rpx">
|
||||
<BaseData :data="data" :colums="baseColums" />
|
||||
|
|
@ -57,7 +57,7 @@ const baseColums = [
|
|||
dataIndex: 'taskable.workflow_check.check_remarks',
|
||||
labelPosition: 'top',
|
||||
isShow: (row) => {
|
||||
return row?.taskable?.status == 4
|
||||
return row?.taskable?.workflow_check?.check_status == 4
|
||||
}
|
||||
},
|
||||
]
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ const applyClick = (item) => {
|
|||
const type = item.taskable_type
|
||||
const status = item.taskable.status
|
||||
let url
|
||||
if (status === 2 || status == 4 || type=='task_ledgers') {
|
||||
if (status === 2 || status == 4 || status == 6 || type=='task_ledgers') {
|
||||
const date = status != 3 || status != 5 ? `&date=${item.taskable.date}` : ''
|
||||
url = `/pages/task/${type}_submit?id=${item.id}${date}`
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue