src/components/do/b1-inspect-order-plan/Inspection.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -1161,6 +1161,7 @@ } this.excelMethodList.forEach(item => { if (item.valueList.find(m => m.r == r && m.c == c)) { console.log(item) var comValue = {} item.valueList.forEach(a => { list.forEach(b => { @@ -1274,21 +1275,18 @@ valueList.forEach(b => { str = str.replace(b.name, b.value) }) if (item.v.f.includes('/')) { if (Object.getOwnPropertyNames(comValue).length == valueList.length) { comResult = eval(str) } else { comResult = '' } } else { try { if(this.getInspectionValueType(item.i)==1){ comResult = eval(str) }else{ comResult = str } } catch (error) { } break; } console.log(comResult) list.forEach(a => { if (a[0].r == item.r && comResult != '') { for (var b in a) { src/main.js
@@ -15,17 +15,17 @@ Vue.prototype.PROJECT = '检测中心' // Vue.prototype.PROJECT = '装备电缆' //本地 Vue.prototype.LOCATIONVUE = "http://127.0.0.1:80"; // Vue.prototype.LOCATIONVUE = "http://127.0.0.1:80"; // const javaApi = 'http://127.0.0.1:8001'; const javaApi = 'http://192.168.0.104:8001'; // const javaApi = 'http://192.168.0.104:8001'; //云 // Vue.prototype.LOCATIONVUE = "http://114.132.189.42:8080"; // const javaApi = 'http://114.132.189.42:1234'; //检测中心正式库 // Vue.prototype.LOCATIONVUE = "http://10.1.200.86:8080"; // const javaApi = 'http://10.1.200.86:8001'; Vue.prototype.LOCATIONVUE = "http://10.1.200.86:8080"; const javaApi = 'http://10.1.200.86:8001'; //装备电缆测试库 // Vue.prototype.LOCATIONVUE = "http://10.16.173.59";