From b3a0171e8c7b09b4116af353ac613c3046cfcf6e Mon Sep 17 00:00:00 2001 From: dj <1042039504@qq.com> Date: Sat, 21 Dec 2024 22:13:20 +0800 Subject: [PATCH] =?UTF-8?q?feat(task-management):=20=E5=B7=A5=E5=8D=95?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E6=96=B0=E5=A2=9E=E8=81=94=E7=B3=BB=E4=BA=BA?= =?UTF-8?q?=E7=AD=9B=E9=80=89=E5=92=8C=E6=98=BE=E7=A4=BA=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../task-management/all-work-order/index.vue | 31 +++++++++++++++++-- .../historical-work-order/index.vue | 28 +++++++++++++++-- .../pending-work-order/index.vue | 27 ++++++++++++++-- 3 files changed, 79 insertions(+), 7 deletions(-) diff --git a/src/views/task-management/all-work-order/index.vue b/src/views/task-management/all-work-order/index.vue index 464f91f..382e310 100644 --- a/src/views/task-management/all-work-order/index.vue +++ b/src/views/task-management/all-work-order/index.vue @@ -64,7 +64,18 @@ const searchConfig = reactive([ filterable: true, }, component: shallowRef(fvSelect), - }, { + }, + { + label: '联系人', + prop: 'destinationNumber', + props: { + placeholder: '请输入联系人查询', + clearable: true, + checkStrictly: true + }, + component: 'el-input', + }, + { label: '处理人', prop: 'operationUser', props: { @@ -152,13 +163,13 @@ const tableConfig = reactive({ prop: 'alarmUnit', label: '拨打单位', align: 'center', - width: 200 + width: 120 }, { prop: 'alarmObject', label: '拨打对象', align: 'center', - width: 200 + width: 100 }, { prop: 'orderState', @@ -187,10 +198,24 @@ const tableConfig = reactive({ } } }, + { + prop: 'destinationNumber', + label: '联系人', + align: 'center', + width: 160, + currentRender: ({row, index}) => { + if (row.destinationNumber) { + return row.destinationNumber + } else { + return '--' + } + } + }, { prop: 'operationUser', label: '处理人', align: 'center', + width: 100, currentRender: ({row, index}) => { if (row.operationUser) { return row.operationUser diff --git a/src/views/task-management/historical-work-order/index.vue b/src/views/task-management/historical-work-order/index.vue index ff783a8..8e296b1 100644 --- a/src/views/task-management/historical-work-order/index.vue +++ b/src/views/task-management/historical-work-order/index.vue @@ -56,6 +56,16 @@ const searchConfig = reactive([ // }, // component: 'el-input', // }, + { + label: '联系人', + prop: 'destinationNumber', + props: { + placeholder: '请输入联系人查询', + clearable: true, + checkStrictly: true + }, + component: 'el-input', + }, { label: '处理人', prop: 'operationUser', @@ -144,13 +154,13 @@ const tableConfig = reactive({ prop: 'alarmUnit', label: '拨打单位', align: 'center', - width: 200 + width: 120 }, { prop: 'alarmObject', label: '拨打对象', align: 'center', - width: 200 + width: 100 }, { prop: 'orderState', @@ -179,6 +189,20 @@ const tableConfig = reactive({ } } }, + + { + prop: 'destinationNumber', + label: '联系人', + align: 'center', + width: 160, + currentRender: ({row, index}) => { + if (row.destinationNumber) { + return row.destinationNumber + } else { + return '--' + } + } + }, { prop: 'operationUser', label: '处理人', diff --git a/src/views/task-management/pending-work-order/index.vue b/src/views/task-management/pending-work-order/index.vue index 2adb788..9fa95ed 100644 --- a/src/views/task-management/pending-work-order/index.vue +++ b/src/views/task-management/pending-work-order/index.vue @@ -56,6 +56,16 @@ const searchConfig = reactive([ // }, // component: 'el-input', // }, + { + label: '联系人', + prop: 'destinationNumber', + props: { + placeholder: '请输入联系人查询', + clearable: true, + checkStrictly: true + }, + component: 'el-input', + }, { label: '处理人', prop: 'operationUser', @@ -144,13 +154,13 @@ const tableConfig = reactive({ prop: 'alarmUnit', label: '拨打单位', align: 'center', - width: 200 + width: 120 }, { prop: 'alarmObject', label: '拨打对象', align: 'center', - width: 200 + width: 100 }, { prop: 'orderState', @@ -179,6 +189,19 @@ const tableConfig = reactive({ } } }, + { + prop: 'destinationNumber', + label: '联系人', + align: 'center', + width: 160, + currentRender: ({row, index}) => { + if (row.destinationNumber) { + return row.destinationNumber + } else { + return '--' + } + } + }, { prop: 'operationUser', label: '处理人',