From 14ef12774477c71ecb693050383e1bbfb00249ee Mon Sep 17 00:00:00 2001 From: shijing Date: Fri, 15 Jul 2022 17:16:08 +0800 Subject: [PATCH] rpjdetail --- src/config/route.js | 2 +- src/views/rpm/rpj.vue | 14 ++-- src/views/rpm/rpj_show.vue | 123 +++++++++++++++++++++++++---------- src/views/wf/allwork.vue | 29 +++++---- src/views/wf/ccwork.vue | 22 +++---- src/views/wf/dutywork.vue | 33 +++------- src/views/wf/ownerwork.vue | 22 +++---- src/views/wf/visitdetail.vue | 64 ++++++++++++++---- src/views/wf/worked.vue | 22 +++---- 9 files changed, 205 insertions(+), 126 deletions(-) diff --git a/src/config/route.js b/src/config/route.js index 24a9a49b..fb314cb6 100644 --- a/src/config/route.js +++ b/src/config/route.js @@ -222,7 +222,7 @@ const routes = [ "name": "visitdetail", "path": "/wf/visitdetail", "meta": { - "title": "访客工单详情", + "title": "工单详情", "icon": "el-icon-menu", "hidden": true }, diff --git a/src/views/rpm/rpj.vue b/src/views/rpm/rpj.vue index bb400172..43299d51 100644 --- a/src/views/rpm/rpj.vue +++ b/src/views/rpm/rpj.vue @@ -90,10 +90,11 @@ prop="create_time" width="180" > - + @@ -182,7 +182,6 @@ 40: "进行中", 50: "已完成", }, - rpjId:'' }; }, methods: { @@ -202,8 +201,11 @@ }, //查看 table_show(row) { - this.rpjId = row.id; + debugger; this.dialog.show = true; + this.$nextTick(() => { + this.$refs.showDialog.open().setData(row); + }); }, //权限设置 diff --git a/src/views/rpm/rpj_show.vue b/src/views/rpm/rpj_show.vue index 284101a2..fe56daa7 100644 --- a/src/views/rpm/rpj_show.vue +++ b/src/views/rpm/rpj_show.vue @@ -1,31 +1,31 @@