a
This commit is contained in:
@@ -24,11 +24,7 @@ export const downloadFileMachine = `http://192.168.1.231:8411/submit/downloadFil
|
||||
export const MESUploadFile = `http://192.168.1.231:8411/submit/MESUploadFile.ashx`
|
||||
export const MESDownloadFile = `http://192.168.1.231:8411/submit/MESDownloadFile.ashx`
|
||||
const service = axios.create({
|
||||
<<<<<<< HEAD
|
||||
baseURL: `http://localhost:8005/submit/MESCommonBase.ashx`,
|
||||
=======
|
||||
baseURL: `http://192.168.1.231:8411/submit/MESCommonBase.ashx`,
|
||||
>>>>>>> 86989987e2fefa8d0084dce8a0f3b020afa872e7
|
||||
baseURL: `http://192.168.0.110:8005/submit/MESCommonBase.ashx`,
|
||||
timeout: 1500000 // 请求超时时间
|
||||
})
|
||||
export default service
|
||||
|
||||
@@ -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,8 +488,9 @@ export default {
|
||||
},
|
||||
// 鼠标移入加入class
|
||||
changeActive($event) {
|
||||
console.log($event.path[2].id)
|
||||
if ($event.path[2].id) {
|
||||
searchtooltip($event.path[2].id).then(response => {
|
||||
console.log(response.data)
|
||||
if (response.data.length > 0) {
|
||||
if (response.data[0].工艺计划流水号 === 0) {
|
||||
response.data[0].零件图号_零件工艺计划 = '-'
|
||||
@@ -501,6 +500,7 @@ export default {
|
||||
this.tooltip = '没有零件加工'
|
||||
}
|
||||
})
|
||||
}
|
||||
// $event.currentTarget.className="active";
|
||||
},
|
||||
removeActive($event) {
|
||||
|
||||
Reference in New Issue
Block a user