| | |
| | | return |
| | | }, |
| | | saveInsContext() { |
| | | console.log(1111,this.param) |
| | | if(this.param){ |
| | | this.$axios.post(this.$api.insOrderPlan.saveInsContext, { |
| | | param: JSON.stringify(this.param) |
| | |
| | | } |
| | | } |
| | | } |
| | | this.dataAcquisitionEidt = 0 |
| | | if(this.param){ |
| | | for (let key in this.param) { |
| | | this.param[key].equipValue.forEach(m=>{ |
| | | if(m.isItADataAcquisitionDevice){ |
| | | this.dataAcquisitionEidt++ |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | this.saveInsContext() |
| | | }, |
| | | getAuthorizedPerson() { |
| | |
| | | if (this.isShowZero) { |
| | | this.tableData.map(item => { |
| | | Object.keys(item).forEach(val => { |
| | | if (item[val] === null && !val.includes('Hours')) { |
| | | if (item[val] === null && val.includes('Hours')) { |
| | | item[val] = '/' |
| | | } |
| | | }) |
| | |
| | | //本地 |
| | | // Vue.prototype.LOCATIONVUE = "http://127.0.0.1:80"; |
| | | // const javaApi = 'http://127.0.0.1:8001'; |
| | | const javaApi = 'http://172.20.10.4:8001'; |
| | | const javaApi = 'http://172.20.10.5:8001'; |
| | | |
| | | //云 |
| | | // Vue.prototype.LOCATIONVUE = "http://114.132.189.42:8080"; |