From e191ff3aa860058030aeccf4850f6639c200eedd Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Wed, 31 Jul 2024 19:16:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=82=AC=E5=8A=9E=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/shequzhili/timeOut/Urging.vue | 45 +++++++++---------- .../modules/shequzhili/timeOut/index.vue | 16 +++---- 2 files changed, 28 insertions(+), 33 deletions(-) diff --git a/src/views/modules/shequzhili/timeOut/Urging.vue b/src/views/modules/shequzhili/timeOut/Urging.vue index b83d63631..970f73741 100644 --- a/src/views/modules/shequzhili/timeOut/Urging.vue +++ b/src/views/modules/shequzhili/timeOut/Urging.vue @@ -3,41 +3,41 @@ - + - + - + - + - + - + - + - + - + - + - +
工单号{{formData.ticketNumber}}{{eventDetailData.workOrderNum}} 事件类别{{formData.eventCategory}}{{eventDetailData.categoryAllName}}
报件人{{formData.reporter}}{{eventDetailData.name}} 联系电话{{formData.phone}}{{eventDetailData.mobile}}
事件描述{{formData.reminderExplanation}}{{eventDetailData.eventContent}}
指派部门{{formData.assignedDepartment}}{{eventDetailData.deptName}} 指派时间{{formData.assignmentTime}}
联系来电人时限{{formData.contactDeadline}}{{eventDetailData.contactTime}} 部门办结时限{{formData.departmentDeadline}}{{eventDetailData.limitTime}}
办理状态{{formData.status}}{{eventDetailData.limitStatus}}
催办说明{{formData.reminderExplanation}}将以发送手机短信形式提醒指派部门,尽快对事件进行响应处理!
@@ -47,26 +47,21 @@ export default { data() { return { - formData: { - ticketNumber: '240708102255257019', - eventCategory: '城乡建设-住房与房地产-物业管理', - reporter: '张先生', - contactNumber: '18789008989', - description: '王先生反映:市北区海伦路街道北岭山花园小区3号楼楼顶漏水,多次联系物业,不给处理,推诿,请尽快给做防水处理。', - assignedDepartment: '城建办', - assignmentTime: '2024-07-14 19:54:36', - contactDeadline: '2024-07-15 10:00', - status: '联系来电人超期', - reminderExplanation: '将以发送手机短信形式提醒指派部门负责人(城建办-张三),尽快对事件进行响应处理!', - phone:"156666628220" - } }; }, methods: { handleSubmit() { // 处理表单提交 - console.log('表单已提交'); } + }, + mounted(){ + console.log(this.eventDetailData,'seeeee'); + }, + props:{ + eventDetailData:{ + type:Object, + default:()=>{} + } } }; diff --git a/src/views/modules/shequzhili/timeOut/index.vue b/src/views/modules/shequzhili/timeOut/index.vue index 008f340d0..fe1813913 100644 --- a/src/views/modules/shequzhili/timeOut/index.vue +++ b/src/views/modules/shequzhili/timeOut/index.vue @@ -174,7 +174,7 @@ + @dialogOk="addFormOk" :eventDetailData="eventDetailData"> 取 消 确 定 @@ -465,9 +465,7 @@ export default { async handleAdd() { this.pageType = "add"; }, - - async handleWatch(row) { - console.log("row",row); + async getDetail(row){ this.eventId = row.icEventId; const url = "/governance/icEvent/detail"; const { data, code, msg } = await requestPost(url, { @@ -475,16 +473,18 @@ export default { }); if (code === 0) { this.eventDetailData = { ...data }; - this.pageType = "info"; } else { this.$message.error(msg); } }, + async handleWatch(row) { + await this.getDetail(row) + this.pageType = "info"; + }, async handleDispose(row) { - console.log(row,"row"); - this.dialogVisible=true - + await this.getDetail(row) + this.dialogVisible=true; }, //下载模版 async handleExportModule() {