From a7e95c4219eeb4b9883efc64e9e6a6d01b3d396e Mon Sep 17 00:00:00 2001 From: Lee1203 <342694918@qq.com> Date: Sun, 31 Jul 2022 16:45:38 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=A4=84=E7=90=86=E5=B7=A5=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesA/community/handle/handle.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pagesA/community/handle/handle.vue b/pagesA/community/handle/handle.vue index 641d359..cb92bef 100644 --- a/pagesA/community/handle/handle.vue +++ b/pagesA/community/handle/handle.vue @@ -26,8 +26,12 @@ findings:'', //调查结果 results:'', //处理结果 flag:true, + id:0, //工单id } }, + onload(op) { + if(op.id) this.id = op.id; + }, methods: { // 提交或取消 submitEv(id,type){ @@ -39,7 +43,7 @@ result:this.results, invalid:type } - this.$requst.post('/api/opinion/worker-handle',params).then(res => { + this.$requst.post('opinion/worker-handle',params).then(res => { if(res.code==0){ this.$toolAll.tools.showToast('提交成功'); // 返回 From 65f15df3207c34ac5de1da60a7439524953d7389 Mon Sep 17 00:00:00 2001 From: Lee1203 <342694918@qq.com> Date: Sun, 31 Jul 2022 16:58:24 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=A4=84=E7=90=86=E5=B7=A5=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesA/community/handle/handle.vue | 2 +- pagesA/detail/detail.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pagesA/community/handle/handle.vue b/pagesA/community/handle/handle.vue index cb92bef..7f4f7d9 100644 --- a/pagesA/community/handle/handle.vue +++ b/pagesA/community/handle/handle.vue @@ -29,7 +29,7 @@ id:0, //工单id } }, - onload(op) { + onLoad(op) { if(op.id) this.id = op.id; }, methods: { diff --git a/pagesA/detail/detail.vue b/pagesA/detail/detail.vue index a29236c..d3d694d 100644 --- a/pagesA/detail/detail.vue +++ b/pagesA/detail/detail.vue @@ -85,7 +85,7 @@ - 立即办理 + 立即办理 督办复审