diff --git a/src/components/ApprovalCustom/ApprovalRecordTableCustom.vue b/src/components/ApprovalCustom/ApprovalRecordTableCustom.vue index 6bea8c9..dcf2e0c 100644 --- a/src/components/ApprovalCustom/ApprovalRecordTableCustom.vue +++ b/src/components/ApprovalCustom/ApprovalRecordTableCustom.vue @@ -32,7 +32,7 @@ { text: '审批状态', value: 'approvalStatus', align: 'center', width: '120' }, { text: '意见类别', value: 'type', align: 'center', width: '180' }, { text: '审批意见', value: 'comment', align: 'center' }, - { text: '用时', value: 'duration', align: 'center', width: '180' }, + // { text: '用时', value: 'duration', align: 'center', width: '180' }, { text: '审批时间', value: 'finishTime', align: 'center', width: '180' }, ]) diff --git a/src/components/ApprovalCustom/ApprovalRecordTableCustom.vue b/src/components/ApprovalCustom/ApprovalRecordTableCustom.vue index 6bea8c9..dcf2e0c 100644 --- a/src/components/ApprovalCustom/ApprovalRecordTableCustom.vue +++ b/src/components/ApprovalCustom/ApprovalRecordTableCustom.vue @@ -32,7 +32,7 @@ { text: '审批状态', value: 'approvalStatus', align: 'center', width: '120' }, { text: '意见类别', value: 'type', align: 'center', width: '180' }, { text: '审批意见', value: 'comment', align: 'center' }, - { text: '用时', value: 'duration', align: 'center', width: '180' }, + // { text: '用时', value: 'duration', align: 'center', width: '180' }, { text: '审批时间', value: 'finishTime', align: 'center', width: '180' }, ]) diff --git a/src/components/ApprovalRecord/ApprovalRecordTable.vue b/src/components/ApprovalRecord/ApprovalRecordTable.vue index 9870b50..fee23d3 100644 --- a/src/components/ApprovalRecord/ApprovalRecordTable.vue +++ b/src/components/ApprovalRecord/ApprovalRecordTable.vue @@ -31,7 +31,7 @@ { text: '审批状态', value: 'approvalStatus', align: 'center', width: '120' }, { text: '意见类别', value: 'type', align: 'center', width: '180' }, { text: '审批意见', value: 'comment', align: 'center' }, - { text: '用时', value: 'duration', align: 'center', width: '180' }, + // { text: '用时', value: 'duration', align: 'center', width: '180' }, { text: '审批时间', value: 'finishTime', align: 'center', width: '180' }, ]) @@ -156,6 +156,15 @@ fetchData() }) }, { immediate: true }) +onMounted (() => { + console.log(props.processId, 'props.processId') + if (props.processId) { + listQuery.value.processId = props.processId + getDict().then(() => { + fetchData() + }) + } +})