fix:添加工序工段对应页面,更改工段名称
This commit is contained in:
parent
d001a98168
commit
29e4bb2432
|
|
@ -1401,11 +1401,21 @@ const routes = [
|
||||||
},
|
},
|
||||||
component: "wpm_gx/qiepian",
|
component: "wpm_gx/qiepian",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "baipaopian",
|
||||||
|
path: "/wpm_gx/baipaopian",
|
||||||
|
meta: {
|
||||||
|
title: "白片抛",
|
||||||
|
// icon: "el-icon-files",
|
||||||
|
perms: ["wpm_bpp"],
|
||||||
|
},
|
||||||
|
component: "wpm_gx/baipaopian",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "saobian",
|
name: "saobian",
|
||||||
path: "/wpm_gx/saobian",
|
path: "/wpm_gx/saobian",
|
||||||
meta: {
|
meta: {
|
||||||
title: "扫边",
|
title: "扫边A",
|
||||||
// icon: "el-icon-cellphone",
|
// icon: "el-icon-cellphone",
|
||||||
perms: ["wpm_sb"],
|
perms: ["wpm_sb"],
|
||||||
},
|
},
|
||||||
|
|
@ -1422,25 +1432,45 @@ const routes = [
|
||||||
component: "wpm_gx/heihua",
|
component: "wpm_gx/heihua",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "shaojie",
|
name: "tuihuo",
|
||||||
path: "/wpm_gx/shaojie",
|
path: "/wpm_gx/tuihuo",
|
||||||
meta: {
|
meta: {
|
||||||
title: "烧结",
|
title: "退火",
|
||||||
// icon: "el-icon-cellphone",
|
// icon: "el-icon-cellphone",
|
||||||
perms: ["wpm_sj"],
|
perms: ["wpm_sj"],
|
||||||
},
|
},
|
||||||
component: "wpm_gx/shaojie",
|
component: "wpm_gx/tuihuo",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "jianbo",
|
name: "jianbo",
|
||||||
path: "/wpm_gx/jianbo",
|
path: "/wpm_gx/jianbo",
|
||||||
meta: {
|
meta: {
|
||||||
title: "减薄",
|
title: "减薄A",
|
||||||
// icon: "el-icon-cellphone",
|
// icon: "el-icon-cellphone",
|
||||||
perms: ["wpm_jb"],
|
perms: ["wpm_jb"],
|
||||||
},
|
},
|
||||||
component: "wpm_gx/jianbo",
|
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",
|
name: "jingdiao",
|
||||||
path: "/wpm_gx/jingdiao",
|
path: "/wpm_gx/jingdiao",
|
||||||
|
|
@ -1452,14 +1482,34 @@ const routes = [
|
||||||
component: "wpm_gx/jingdiao",
|
component: "wpm_gx/jingdiao",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "mopao",
|
name: "yicipao",
|
||||||
path: "/wpm_gx/mopao",
|
path: "/wpm_gx/yicipao",
|
||||||
meta: {
|
meta: {
|
||||||
title: "磨抛",
|
title: "一次抛",
|
||||||
// icon: "el-icon-cellphone",
|
// 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",
|
name: "daojiao",
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
<template>
|
||||||
|
<el-container>
|
||||||
|
<el-header>
|
||||||
|
<el-segmented
|
||||||
|
v-model="values"
|
||||||
|
:options="options"
|
||||||
|
size="default"
|
||||||
|
></el-segmented>
|
||||||
|
</el-header>
|
||||||
|
<el-main id="elMain" class="nopadding">
|
||||||
|
<!-- 日志 -->
|
||||||
|
<mlogs
|
||||||
|
v-if="values == '日志'"
|
||||||
|
:mgroupName="mgroupName"
|
||||||
|
style="height: 60%"
|
||||||
|
></mlogs>
|
||||||
|
<mtask
|
||||||
|
v-if="values == '日志'"
|
||||||
|
:mgroupName="mgroupName"
|
||||||
|
style="height: 40%"
|
||||||
|
></mtask>
|
||||||
|
<!-- 交接记录 -->
|
||||||
|
<handover
|
||||||
|
v-else-if="values == '交接记录'"
|
||||||
|
:mgroupName="mgroupName"
|
||||||
|
></handover>
|
||||||
|
<!-- 库存 -->
|
||||||
|
<inm v-else :mgroupName="mgroupName"></inm>
|
||||||
|
</el-main>
|
||||||
|
</el-container>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import inm from "./inm.vue";
|
||||||
|
import mlogs from "./mlogs.vue";
|
||||||
|
import mtask from "./mtask.vue";
|
||||||
|
import handover from "./handover.vue";
|
||||||
|
export default {
|
||||||
|
components: { inm, mlogs, mtask, handover },
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
tableHieght: 200,
|
||||||
|
options: ["日志", "交接记录", "库存"],
|
||||||
|
values: "日志",
|
||||||
|
mgroupName: "白抛片",
|
||||||
|
mgroupId: "",
|
||||||
|
};
|
||||||
|
},
|
||||||
|
created() {},
|
||||||
|
mounted() {
|
||||||
|
let that = this;
|
||||||
|
let height = document.getElementById("elMain").clintHeight / 2;
|
||||||
|
that.tableHieght = height;
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
handleChange(value) {
|
||||||
|
this.value = value;
|
||||||
|
console.log("Selected value:", value);
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
<template>
|
||||||
|
<el-container>
|
||||||
|
<el-header>
|
||||||
|
<el-segmented
|
||||||
|
v-model="values"
|
||||||
|
:options="options"
|
||||||
|
size="default"
|
||||||
|
></el-segmented>
|
||||||
|
</el-header>
|
||||||
|
<el-main id="elMain" class="nopadding">
|
||||||
|
<!-- 日志 -->
|
||||||
|
<mlogs
|
||||||
|
v-if="values == '日志'"
|
||||||
|
:mgroupName="mgroupName"
|
||||||
|
style="height: 60%"
|
||||||
|
></mlogs>
|
||||||
|
<mtask
|
||||||
|
v-if="values == '日志'"
|
||||||
|
:mgroupName="mgroupName"
|
||||||
|
style="height: 40%"
|
||||||
|
></mtask>
|
||||||
|
<!-- 交接记录 -->
|
||||||
|
<handover
|
||||||
|
v-else-if="values == '交接记录'"
|
||||||
|
:mgroupName="mgroupName"
|
||||||
|
></handover>
|
||||||
|
<!-- 库存 -->
|
||||||
|
<inm v-else :mgroupName="mgroupName"></inm>
|
||||||
|
</el-main>
|
||||||
|
</el-container>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import inm from "./inm.vue";
|
||||||
|
import mlogs from "./mlogs.vue";
|
||||||
|
import mtask from "./mtask.vue";
|
||||||
|
import handover from "./handover.vue";
|
||||||
|
export default {
|
||||||
|
components: { inm, mlogs, mtask, handover },
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
tableHieght: 200,
|
||||||
|
options: ["日志", "交接记录", "库存"],
|
||||||
|
values: "日志",
|
||||||
|
mgroupName: "成品抛",
|
||||||
|
mgroupId: "",
|
||||||
|
};
|
||||||
|
},
|
||||||
|
created() {},
|
||||||
|
mounted() {
|
||||||
|
let that = this;
|
||||||
|
let height = document.getElementById("elMain").clintHeight / 2;
|
||||||
|
that.tableHieght = height;
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
handleChange(value) {
|
||||||
|
this.value = value;
|
||||||
|
console.log("Selected value:", value);
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
@ -259,7 +259,7 @@ export default {
|
||||||
that.$API.mtm.mgroup.list
|
that.$API.mtm.mgroup.list
|
||||||
.req({ page: 0, search: that.mgroupName })
|
.req({ page: 0, search: that.mgroupName })
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
if (res.length != 1) {
|
if (res.length < 1) {
|
||||||
that.$message.error("获取工段错误");
|
that.$message.error("获取工段错误");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -177,7 +177,7 @@ export default {
|
||||||
that.$API.mtm.mgroup.list
|
that.$API.mtm.mgroup.list
|
||||||
.req({ page: 0, search: that.mgroupName })
|
.req({ page: 0, search: that.mgroupName })
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
if (res.length != 1) {
|
if (res.length < 1) {
|
||||||
that.$message.error("获取工段错误");
|
that.$message.error("获取工段错误");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ export default {
|
||||||
tableHieght: 200,
|
tableHieght: 200,
|
||||||
options: ["日志", "交接记录", "库存"],
|
options: ["日志", "交接记录", "库存"],
|
||||||
values: "日志",
|
values: "日志",
|
||||||
mgroupName: "减薄",
|
mgroupName: "减薄A",
|
||||||
mgroupId: "",
|
mgroupId: "",
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
<template>
|
||||||
|
<el-container>
|
||||||
|
<el-header>
|
||||||
|
<el-segmented
|
||||||
|
v-model="values"
|
||||||
|
:options="options"
|
||||||
|
size="default"
|
||||||
|
></el-segmented>
|
||||||
|
</el-header>
|
||||||
|
<el-main id="elMain" class="nopadding">
|
||||||
|
<!-- 日志 -->
|
||||||
|
<mlogs
|
||||||
|
v-if="values == '日志'"
|
||||||
|
:mgroupName="mgroupName"
|
||||||
|
style="height: 60%"
|
||||||
|
></mlogs>
|
||||||
|
<mtask
|
||||||
|
v-if="values == '日志'"
|
||||||
|
:mgroupName="mgroupName"
|
||||||
|
style="height: 40%"
|
||||||
|
></mtask>
|
||||||
|
<!-- 交接记录 -->
|
||||||
|
<handover
|
||||||
|
v-else-if="values == '交接记录'"
|
||||||
|
:mgroupName="mgroupName"
|
||||||
|
></handover>
|
||||||
|
<!-- 库存 -->
|
||||||
|
<inm v-else :mgroupName="mgroupName"></inm>
|
||||||
|
</el-main>
|
||||||
|
</el-container>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import inm from "./inm.vue";
|
||||||
|
import mlogs from "./mlogs.vue";
|
||||||
|
import mtask from "./mtask.vue";
|
||||||
|
import handover from "./handover.vue";
|
||||||
|
export default {
|
||||||
|
components: { inm, mlogs, mtask, handover },
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
tableHieght: 200,
|
||||||
|
options: ["日志", "交接记录", "库存"],
|
||||||
|
values: "日志",
|
||||||
|
mgroupName: "减薄B",
|
||||||
|
mgroupId: "",
|
||||||
|
};
|
||||||
|
},
|
||||||
|
created() {},
|
||||||
|
mounted() {
|
||||||
|
let that = this;
|
||||||
|
let height = document.getElementById("elMain").clintHeight / 2;
|
||||||
|
that.tableHieght = height;
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
handleChange(value) {
|
||||||
|
this.value = value;
|
||||||
|
console.log("Selected value:", value);
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
@ -182,7 +182,7 @@ export default {
|
||||||
that.$API.mtm.mgroup.list
|
that.$API.mtm.mgroup.list
|
||||||
.req({ page: 0, search: that.mgroupName })
|
.req({ page: 0, search: that.mgroupName })
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
if (res.length != 1) {
|
if (res.length < 1) {
|
||||||
that.$message.error("获取工段错误");
|
that.$message.error("获取工段错误");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ export default {
|
||||||
tableHieght: 200,
|
tableHieght: 200,
|
||||||
options: ["日志", "交接记录", "库存"],
|
options: ["日志", "交接记录", "库存"],
|
||||||
values: "日志",
|
values: "日志",
|
||||||
mgroupName: "磨抛",
|
mgroupName: "平磨",
|
||||||
mgroupId: "",
|
mgroupId: "",
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
@ -42,7 +42,7 @@ export default {
|
||||||
tableHieght: 200,
|
tableHieght: 200,
|
||||||
options: ["日志", "交接记录", "库存"],
|
options: ["日志", "交接记录", "库存"],
|
||||||
values: "日志",
|
values: "日志",
|
||||||
mgroupName: "扫边",
|
mgroupName: "扫边A",
|
||||||
mgroupId: "",
|
mgroupId: "",
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
<template>
|
||||||
|
<el-container>
|
||||||
|
<el-header>
|
||||||
|
<el-segmented
|
||||||
|
v-model="values"
|
||||||
|
:options="options"
|
||||||
|
size="default"
|
||||||
|
></el-segmented>
|
||||||
|
</el-header>
|
||||||
|
<el-main id="elMain" class="nopadding">
|
||||||
|
<!-- 日志 -->
|
||||||
|
<mlogs
|
||||||
|
v-if="values == '日志'"
|
||||||
|
:mgroupName="mgroupName"
|
||||||
|
style="height: 60%"
|
||||||
|
></mlogs>
|
||||||
|
<mtask
|
||||||
|
v-if="values == '日志'"
|
||||||
|
:mgroupName="mgroupName"
|
||||||
|
style="height: 40%"
|
||||||
|
></mtask>
|
||||||
|
<!-- 交接记录 -->
|
||||||
|
<handover
|
||||||
|
v-else-if="values == '交接记录'"
|
||||||
|
:mgroupName="mgroupName"
|
||||||
|
></handover>
|
||||||
|
<!-- 库存 -->
|
||||||
|
<inm v-else :mgroupName="mgroupName"></inm>
|
||||||
|
</el-main>
|
||||||
|
</el-container>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import inm from "./inm.vue";
|
||||||
|
import mlogs from "./mlogs.vue";
|
||||||
|
import mtask from "./mtask.vue";
|
||||||
|
import handover from "./handover.vue";
|
||||||
|
export default {
|
||||||
|
components: { inm, mlogs, mtask, handover },
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
tableHieght: 200,
|
||||||
|
options: ["日志", "交接记录", "库存"],
|
||||||
|
values: "日志",
|
||||||
|
mgroupName: "扫边B",
|
||||||
|
mgroupId: "",
|
||||||
|
};
|
||||||
|
},
|
||||||
|
created() {},
|
||||||
|
mounted() {
|
||||||
|
let that = this;
|
||||||
|
let height = document.getElementById("elMain").clintHeight / 2;
|
||||||
|
that.tableHieght = height;
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
handleChange(value) {
|
||||||
|
this.value = value;
|
||||||
|
console.log("Selected value:", value);
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
@ -42,7 +42,7 @@ export default {
|
||||||
tableHieght: 200,
|
tableHieght: 200,
|
||||||
options: ["日志", "交接记录", "库存"],
|
options: ["日志", "交接记录", "库存"],
|
||||||
values: "日志",
|
values: "日志",
|
||||||
mgroupName: "烧结",
|
mgroupName: "退火",
|
||||||
mgroupId: "",
|
mgroupId: "",
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
<template>
|
||||||
|
<el-container>
|
||||||
|
<el-header>
|
||||||
|
<el-segmented
|
||||||
|
v-model="values"
|
||||||
|
:options="options"
|
||||||
|
size="default"
|
||||||
|
></el-segmented>
|
||||||
|
</el-header>
|
||||||
|
<el-main id="elMain" class="nopadding">
|
||||||
|
<!-- 日志 -->
|
||||||
|
<mlogs
|
||||||
|
v-if="values == '日志'"
|
||||||
|
:mgroupName="mgroupName"
|
||||||
|
style="height: 60%"
|
||||||
|
></mlogs>
|
||||||
|
<mtask
|
||||||
|
v-if="values == '日志'"
|
||||||
|
:mgroupName="mgroupName"
|
||||||
|
style="height: 40%"
|
||||||
|
></mtask>
|
||||||
|
<!-- 交接记录 -->
|
||||||
|
<handover
|
||||||
|
v-else-if="values == '交接记录'"
|
||||||
|
:mgroupName="mgroupName"
|
||||||
|
></handover>
|
||||||
|
<!-- 库存 -->
|
||||||
|
<inm v-else :mgroupName="mgroupName"></inm>
|
||||||
|
</el-main>
|
||||||
|
</el-container>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import inm from "./inm.vue";
|
||||||
|
import mlogs from "./mlogs.vue";
|
||||||
|
import mtask from "./mtask.vue";
|
||||||
|
import handover from "./handover.vue";
|
||||||
|
export default {
|
||||||
|
components: { inm, mlogs, mtask, handover },
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
tableHieght: 200,
|
||||||
|
options: ["日志", "交接记录", "库存"],
|
||||||
|
values: "日志",
|
||||||
|
mgroupName: "一次抛",
|
||||||
|
mgroupId: "",
|
||||||
|
};
|
||||||
|
},
|
||||||
|
created() {},
|
||||||
|
mounted() {
|
||||||
|
let that = this;
|
||||||
|
let height = document.getElementById("elMain").clintHeight / 2;
|
||||||
|
that.tableHieght = height;
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
handleChange(value) {
|
||||||
|
this.value = value;
|
||||||
|
console.log("Selected value:", value);
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
Loading…
Reference in New Issue