a
This commit is contained in:
@@ -426,7 +426,6 @@ export default {
|
||||
// 工作状态 0 黄色 1 绿色
|
||||
getwork_state() {
|
||||
this.getOP_state()
|
||||
|
||||
// function opclickshowPanel() {
|
||||
// console.log(this.opname)
|
||||
// if (this.opname != undefined) {
|
||||
@@ -434,7 +433,6 @@ export default {
|
||||
// window.open(aaa)
|
||||
// }
|
||||
// }
|
||||
|
||||
getwork_state().then(response => {
|
||||
console.log(response.data)
|
||||
// 通过jQuery添加类选择器和移除类选择器
|
||||
@@ -490,17 +488,19 @@ export default {
|
||||
},
|
||||
// 鼠标移入加入class
|
||||
changeActive($event) {
|
||||
searchtooltip($event.path[2].id).then(response => {
|
||||
console.log(response.data)
|
||||
if (response.data.length > 0) {
|
||||
if (response.data[0].工艺计划流水号 === 0) {
|
||||
response.data[0].零件图号_零件工艺计划 = '-'
|
||||
console.log($event.path[2].id)
|
||||
if ($event.path[2].id) {
|
||||
searchtooltip($event.path[2].id).then(response => {
|
||||
if (response.data.length > 0) {
|
||||
if (response.data[0].工艺计划流水号 === 0) {
|
||||
response.data[0].零件图号_零件工艺计划 = '-'
|
||||
}
|
||||
this.tooltip = '当前正在加工:' + response.data[0].零件图号_零件工艺计划
|
||||
} else {
|
||||
this.tooltip = '没有零件加工'
|
||||
}
|
||||
this.tooltip = '当前正在加工:' + response.data[0].零件图号_零件工艺计划
|
||||
} else {
|
||||
this.tooltip = '没有零件加工'
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
// $event.currentTarget.className="active";
|
||||
},
|
||||
removeActive($event) {
|
||||
|
||||
Reference in New Issue
Block a user