diff --git a/src/views/bpm/processInstance/detail/TaskCCDialogForm.vue b/src/views/bpm/processInstance/detail/TaskCCDialogForm.vue index a3013ea..e7569c3 100644 --- a/src/views/bpm/processInstance/detail/TaskCCDialogForm.vue +++ b/src/views/bpm/processInstance/detail/TaskCCDialogForm.vue @@ -14,7 +14,7 @@ - + { resetForm() // 2. 再设置表单 if (row != null) { - formData.value.type = undefined as unknown as number + formData.value.type = 30 formData.value.taskName = row.name formData.value.taskId = row.id formData.value.processInstanceName = row.processInstance.name diff --git a/src/views/bpm/task/copy/index.vue b/src/views/bpm/task/copy/index.vue index 9dd9ffc..57073b3 100644 --- a/src/views/bpm/task/copy/index.vue +++ b/src/views/bpm/task/copy/index.vue @@ -15,7 +15,9 @@ @size-change="sizeChange" @current-change="currentChange" > - + @@ -58,7 +60,6 @@ const tableOption = reactive({ }, processInstanceId: { label: '流程编号', - display: false, search: true, }, processInstanceName: { @@ -78,14 +79,20 @@ const tableOption = reactive({ label: '抄送时间', type: 'datetime', width: 180, - search: true, - searchType: 'daterange', - valueFormat: 'YYYY-MM-DD HH:mm:ss', - startPlaceholder: '开始时间', - endPlaceholder: '结束时间', formatter: (row: any, value: any, rowv: any, column: any) => { return dateFormatter(row, column, value) } + }, + searchCreateTime: { + label: '抄送时间', + display: false, + hide: true, + search: true, + searchType: 'datetimerange', + valueFormat: 'YYYY-MM-DD HH:mm:ss', + startPlaceholder: '开始时间', + endPlaceholder: '结束时间', + searchRange: true, } } }) @@ -151,6 +158,15 @@ const currentChange = (currentPage) => { getTableData() } +const handleAudit = (row: any) => { + push({ + name: 'BpmProcessInstanceDetail', + query: { + id: row.processInstanceId + } + }) +} + /** 初始化 **/ onMounted(async () => { await getTableData()