Commit 311f0bba authored by 仇晓婷's avatar 仇晓婷

优化参数页面

parent 6df07bec
...@@ -71,6 +71,7 @@ export default { ...@@ -71,6 +71,7 @@ export default {
size: 20, size: 20,
color: params.row.insert_flag == 1 ? "#2680EB" : "#aaa" color: params.row.insert_flag == 1 ? "#2680EB" : "#aaa"
}, },
class: "click-h",
on: { click: () => this.changeFlag(params.row.id, params.index) } on: { click: () => this.changeFlag(params.row.id, params.index) }
}); });
} }
...@@ -325,7 +326,7 @@ export default { ...@@ -325,7 +326,7 @@ export default {
oprate: "delete", oprate: "delete",
msg: "确认要刪除工序吗?" msg: "确认要刪除工序吗?"
}, },
class: "icons-h", class: "icons-h",
on: { click: () => this.remove(params.row, params.index) } on: { click: () => this.remove(params.row, params.index) }
}) })
]); ]);
...@@ -395,22 +396,22 @@ export default { ...@@ -395,22 +396,22 @@ export default {
edit(id) { edit(id) {
this.editModal = true; this.editModal = true;
this.curId = Number(id); this.curId = Number(id);
this.getUserDepart() this.getUserDepart();
this.getEquiptypeList() this.getEquiptypeList();
}, },
// 获取班组 // 获取班组
getUserDepart(){ getUserDepart() {
Api.getUserDepart().then(res=>{ Api.getUserDepart().then(res => {
console.log(res.result) console.log(res.result);
this.$refs.editPart.orderCatList = res.result this.$refs.editPart.orderCatList = res.result;
}) });
}, },
// 获取设备 // 获取设备
getEquiptypeList(){ getEquiptypeList() {
Api.getEquiptypeList().then(res=>{ Api.getEquiptypeList().then(res => {
console.log("设备",res.result) console.log("设备", res.result);
this.$refs.editPart.equiptypeList = res.result this.$refs.editPart.equiptypeList = res.result;
}) });
}, },
//编辑工序end---- //编辑工序end----
...@@ -455,4 +456,8 @@ export default { ...@@ -455,4 +456,8 @@ export default {
border-radius: 50%; border-radius: 50%;
background-color: #aecef5; background-color: #aecef5;
} }
.click-h:hover {
cursor: pointer;
font-weight: bold;
}
</style> </style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment