diff --git a/src/config/route.js b/src/config/route.js index 64f7347a..d00e0bdb 100644 --- a/src/config/route.js +++ b/src/config/route.js @@ -1401,11 +1401,21 @@ const routes = [ }, component: "wpm_gx/qiepian", }, + { + name: "baipianpao", + path: "/wpm_gx/baipianpao", + meta: { + title: "白片抛", + // icon: "el-icon-files", + perms: ["wpm_bpp"], + }, + component: "wpm_gx/baipianpao", + }, { name: "saobian", path: "/wpm_gx/saobian", meta: { - title: "扫边", + title: "扫边A", // icon: "el-icon-cellphone", perms: ["wpm_sb"], }, @@ -1422,25 +1432,45 @@ const routes = [ component: "wpm_gx/heihua", }, { - name: "shaojie", - path: "/wpm_gx/shaojie", + name: "tuihuo", + path: "/wpm_gx/tuihuo", meta: { - title: "烧结", + title: "退火", // icon: "el-icon-cellphone", perms: ["wpm_sj"], }, - component: "wpm_gx/shaojie", + component: "wpm_gx/tuihuo", }, { name: "jianbo", path: "/wpm_gx/jianbo", meta: { - title: "减薄", + title: "减薄A", // icon: "el-icon-cellphone", perms: ["wpm_jb"], }, component: "wpm_gx/jianbo", }, + { + name: "jianbob", + path: "/wpm_gx/jianbob", + meta: { + title: "减薄B", + // icon: "el-icon-cellphone", + perms: ["wpm_jbb"], + }, + component: "wpm_gx/jianbob", + }, + { + name: "pingmo", + path: "/wpm_gx/pingmo", + meta: { + title: "平磨", + // icon: "el-icon-cellphone", + perms: ["wpm_mp"], + }, + component: "wpm_gx/pingmo", + }, { name: "jingdiao", path: "/wpm_gx/jingdiao", @@ -1452,14 +1482,34 @@ const routes = [ component: "wpm_gx/jingdiao", }, { - name: "mopao", - path: "/wpm_gx/mopao", + name: "yicipao", + path: "/wpm_gx/yicipao", meta: { - title: "磨抛", + title: "一次抛", // icon: "el-icon-cellphone", - perms: ["wpm_mp"], + perms: ["wpm_ycp"], }, - component: "wpm_gx/mopao", + component: "wpm_gx/yicipao", + }, + { + name: "saobianb", + path: "/wpm_gx/saobianb", + meta: { + title: "扫边B", + // icon: "el-icon-cellphone", + perms: ["wpm_sbb"], + }, + component: "wpm_gx/saobianb", + }, + { + name: "chengpinpao", + path: "/wpm_gx/chengpinpao", + meta: { + title: "成品抛", + // icon: "el-icon-cellphone", + perms: ["wpm_cpp"], + }, + component: "wpm_gx/chengpinpao", }, { name: "daojiao", diff --git a/src/views/userCenter/user/pushSettings.vue b/src/views/userCenter/user/pushSettings.vue index 2196f475..1bdf28d5 100644 --- a/src/views/userCenter/user/pushSettings.vue +++ b/src/views/userCenter/user/pushSettings.vue @@ -13,7 +13,7 @@
必须提供当前登录用户密码才能进行更改
- @@ -56,7 +56,7 @@ export default { if (reg1.test(value)) { callback(); }else{ - callback(new Error('请输入包含英文、数字、特殊符号( @#$%^&.+=! )的8位以上密码')); + callback(new Error('请输入包含英文、数字、特殊符号( @#$%^&+=! )的8位以上密码')); } }} ], diff --git a/src/views/wpm_gx/baipianpao.vue b/src/views/wpm_gx/baipianpao.vue new file mode 100644 index 00000000..310eb320 --- /dev/null +++ b/src/views/wpm_gx/baipianpao.vue @@ -0,0 +1,62 @@ + + + diff --git a/src/views/wpm_gx/chengpinpao.vue b/src/views/wpm_gx/chengpinpao.vue new file mode 100644 index 00000000..a6e395e8 --- /dev/null +++ b/src/views/wpm_gx/chengpinpao.vue @@ -0,0 +1,62 @@ + + + diff --git a/src/views/wpm_gx/handover.vue b/src/views/wpm_gx/handover.vue index da7f6493..df4244e3 100644 --- a/src/views/wpm_gx/handover.vue +++ b/src/views/wpm_gx/handover.vue @@ -259,7 +259,7 @@ export default { that.$API.mtm.mgroup.list .req({ page: 0, search: that.mgroupName }) .then((res) => { - if (res.length != 1) { + if (res.length < 1) { that.$message.error("获取工段错误"); return; } diff --git a/src/views/wpm_gx/inm.vue b/src/views/wpm_gx/inm.vue index 30386f3b..dac8f8df 100644 --- a/src/views/wpm_gx/inm.vue +++ b/src/views/wpm_gx/inm.vue @@ -186,7 +186,7 @@ export default { that.$API.mtm.mgroup.list .req({ page: 0, search: that.mgroupName }) .then((res) => { - if (res.length != 1) { + if (res.length < 1) { that.$message.error("获取工段错误"); return; } diff --git a/src/views/wpm_gx/jianbo.vue b/src/views/wpm_gx/jianbo.vue index dcb2e739..4ef26c3f 100644 --- a/src/views/wpm_gx/jianbo.vue +++ b/src/views/wpm_gx/jianbo.vue @@ -42,7 +42,7 @@ export default { tableHieght: 200, options: ["日志", "交接记录", "库存"], values: "日志", - mgroupName: "减薄", + mgroupName: "减薄A", mgroupId: "", }; }, diff --git a/src/views/wpm_gx/jianbob.vue b/src/views/wpm_gx/jianbob.vue new file mode 100644 index 00000000..eafc95ae --- /dev/null +++ b/src/views/wpm_gx/jianbob.vue @@ -0,0 +1,62 @@ + + + diff --git a/src/views/wpm_gx/mlogs.vue b/src/views/wpm_gx/mlogs.vue index 70498675..8f7236a7 100644 --- a/src/views/wpm_gx/mlogs.vue +++ b/src/views/wpm_gx/mlogs.vue @@ -182,7 +182,7 @@ export default { that.$API.mtm.mgroup.list .req({ page: 0, search: that.mgroupName }) .then((res) => { - if (res.length != 1) { + if (res.length < 1) { that.$message.error("获取工段错误"); return; } diff --git a/src/views/wpm_gx/mopao.vue b/src/views/wpm_gx/pingmo.vue similarity index 98% rename from src/views/wpm_gx/mopao.vue rename to src/views/wpm_gx/pingmo.vue index e983c6ef..1b2a0547 100644 --- a/src/views/wpm_gx/mopao.vue +++ b/src/views/wpm_gx/pingmo.vue @@ -42,7 +42,7 @@ export default { tableHieght: 200, options: ["日志", "交接记录", "库存"], values: "日志", - mgroupName: "磨抛", + mgroupName: "平磨", mgroupId: "", }; }, diff --git a/src/views/wpm_gx/saobian.vue b/src/views/wpm_gx/saobian.vue index 00a225f5..cd946423 100644 --- a/src/views/wpm_gx/saobian.vue +++ b/src/views/wpm_gx/saobian.vue @@ -42,7 +42,7 @@ export default { tableHieght: 200, options: ["日志", "交接记录", "库存"], values: "日志", - mgroupName: "扫边", + mgroupName: "扫边A", mgroupId: "", }; }, diff --git a/src/views/wpm_gx/saobianb.vue b/src/views/wpm_gx/saobianb.vue new file mode 100644 index 00000000..bdf3145d --- /dev/null +++ b/src/views/wpm_gx/saobianb.vue @@ -0,0 +1,62 @@ + + + diff --git a/src/views/wpm_gx/shaojie.vue b/src/views/wpm_gx/tuihuo.vue similarity index 98% rename from src/views/wpm_gx/shaojie.vue rename to src/views/wpm_gx/tuihuo.vue index 1939edab..cf62c481 100644 --- a/src/views/wpm_gx/shaojie.vue +++ b/src/views/wpm_gx/tuihuo.vue @@ -42,7 +42,7 @@ export default { tableHieght: 200, options: ["日志", "交接记录", "库存"], values: "日志", - mgroupName: "烧结", + mgroupName: "退火", mgroupId: "", }; }, diff --git a/src/views/wpm_gx/yicipao.vue b/src/views/wpm_gx/yicipao.vue new file mode 100644 index 00000000..5ec87317 --- /dev/null +++ b/src/views/wpm_gx/yicipao.vue @@ -0,0 +1,62 @@ + + +