From 14ec636422896d01b96acc033b1bf5fee799ac42 Mon Sep 17 00:00:00 2001 From: shijing Date: Thu, 25 Jul 2024 16:39:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=B4=BB=E5=8C=96=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E6=89=AB=E8=BE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/route.js | 8 ++++---- src/views/wpm_gx/handover_form.vue | 19 ++++++++++++------- src/views/wpm_gx/{huohua.vue => saobian.vue} | 2 +- 3 files changed, 17 insertions(+), 12 deletions(-) rename src/views/wpm_gx/{huohua.vue => saobian.vue} (98%) diff --git a/src/config/route.js b/src/config/route.js index e8439d3b..0edb2adf 100644 --- a/src/config/route.js +++ b/src/config/route.js @@ -1276,14 +1276,14 @@ const routes = [ component: "wpm_gx/qiepian", }, { - name: "huohua", - path: "/wpm_gx/huohua", + name: "saobian", + path: "/wpm_gx/saobian", meta: { - title: "活化", + title: "扫边", icon: "el-icon-cellphone", perms: ["wpm_gx"], }, - component: "wpm_gx/huohua", + component: "wpm_gx/saobian", }, { name: "heihua", diff --git a/src/views/wpm_gx/handover_form.vue b/src/views/wpm_gx/handover_form.vue index 15056839..09ae104d 100644 --- a/src/views/wpm_gx/handover_form.vue +++ b/src/views/wpm_gx/handover_form.vue @@ -88,6 +88,7 @@ placeholder="接收工段" clearable style="width: 100%" + @change="getUserList2" > { - that.userList2 = res; - }); - this.$API.system.user.list - .req({ mgroup__name: "活化", page: 0 }) + .req({ mgroup: that.mgroupId, page: 0 }) .then((res) => { that.userList = res; }); }, + //获取接收工段人员 + getUserList2() { + let that = this; + this.$API.system.user.list + .req({ mgroup: that.form.recive_mgroup, page: 0 }) + .then((res) => { + that.userList2 = res; + }); + }, //显示 open(mode = "add") { diff --git a/src/views/wpm_gx/huohua.vue b/src/views/wpm_gx/saobian.vue similarity index 98% rename from src/views/wpm_gx/huohua.vue rename to src/views/wpm_gx/saobian.vue index 08738a61..e2529f39 100644 --- a/src/views/wpm_gx/huohua.vue +++ b/src/views/wpm_gx/saobian.vue @@ -42,7 +42,7 @@ export default { tableHieght: 200, options: ["日志", "交接记录", "库存"], values: "日志", - mgroupName: "活化", + mgroupName: "扫边", mgroupId: "", }; },