fix:活化改为扫边

This commit is contained in:
shijing 2024-07-25 16:39:36 +08:00
parent 8d6b620123
commit 14ec636422
3 changed files with 17 additions and 12 deletions

View File

@ -1276,14 +1276,14 @@ const routes = [
component: "wpm_gx/qiepian", component: "wpm_gx/qiepian",
}, },
{ {
name: "huohua", name: "saobian",
path: "/wpm_gx/huohua", path: "/wpm_gx/saobian",
meta: { meta: {
title: "活化", title: "扫边",
icon: "el-icon-cellphone", icon: "el-icon-cellphone",
perms: ["wpm_gx"], perms: ["wpm_gx"],
}, },
component: "wpm_gx/huohua", component: "wpm_gx/saobian",
}, },
{ {
name: "heihua", name: "heihua",

View File

@ -88,6 +88,7 @@
placeholder="接收工段" placeholder="接收工段"
clearable clearable
style="width: 100%" style="width: 100%"
@change="getUserList2"
> >
<el-option <el-option
v-for="item in mgroupOptions" v-for="item in mgroupOptions"
@ -250,20 +251,24 @@ export default {
that.materialOptions = res; that.materialOptions = res;
}); });
}, },
// //
getUserList() { getUserList() {
let that = this; let that = this;
this.$API.system.user.list this.$API.system.user.list
.req({ mgroup__name: "切片", page: 0 }) .req({ mgroup: that.mgroupId, page: 0 })
.then((res) => {
that.userList2 = res;
});
this.$API.system.user.list
.req({ mgroup__name: "活化", page: 0 })
.then((res) => { .then((res) => {
that.userList = 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") { open(mode = "add") {

View File

@ -42,7 +42,7 @@ export default {
tableHieght: 200, tableHieght: 200,
options: ["日志", "交接记录", "库存"], options: ["日志", "交接记录", "库存"],
values: "日志", values: "日志",
mgroupName: "活化", mgroupName: "扫边",
mgroupId: "", mgroupId: "",
}; };
}, },