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

优化参数页面

parent 6df07bec
......@@ -71,6 +71,7 @@ export default {
size: 20,
color: params.row.insert_flag == 1 ? "#2680EB" : "#aaa"
},
class: "click-h",
on: { click: () => this.changeFlag(params.row.id, params.index) }
});
}
......@@ -325,7 +326,7 @@ export default {
oprate: "delete",
msg: "确认要刪除工序吗?"
},
class: "icons-h",
class: "icons-h",
on: { click: () => this.remove(params.row, params.index) }
})
]);
......@@ -395,22 +396,22 @@ export default {
edit(id) {
this.editModal = true;
this.curId = Number(id);
this.getUserDepart()
this.getEquiptypeList()
this.getUserDepart();
this.getEquiptypeList();
},
// 获取班组
getUserDepart(){
Api.getUserDepart().then(res=>{
console.log(res.result)
this.$refs.editPart.orderCatList = res.result
})
getUserDepart() {
Api.getUserDepart().then(res => {
console.log(res.result);
this.$refs.editPart.orderCatList = res.result;
});
},
// 获取设备
getEquiptypeList(){
Api.getEquiptypeList().then(res=>{
console.log("设备",res.result)
this.$refs.editPart.equiptypeList = res.result
})
getEquiptypeList() {
Api.getEquiptypeList().then(res => {
console.log("设备", res.result);
this.$refs.editPart.equiptypeList = res.result;
});
},
//编辑工序end----
......@@ -455,4 +456,8 @@ export default {
border-radius: 50%;
background-color: #aecef5;
}
.click-h:hover {
cursor: pointer;
font-weight: bold;
}
</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