| | |
| | | } |
| | | }, |
| | | getValue(v){ |
| | | let str = v.v?v.v:(v.ct&&v.ct.s?v.ct.s.length>0&&v.ct.s[0].v:'').replaceAll('\n','<br/>') |
| | | let str = v.v?v.v:(v.ct&&v.ct.s?v.ct.s.length>0&&v.ct.s[0].v.replace(new RegExp('\n', 'g'), '<br/>'):'') |
| | | // str.replace(new RegExp(search, 'g'), replace) |
| | | return str |
| | | }, |
| | | getInspectionValueType(id) { |
| | |
| | | //本地 |
| | | // Vue.prototype.LOCATIONVUE = "http://127.0.0.1:80"; |
| | | // const javaApi = 'http://127.0.0.1:8001'; |
| | | const javaApi = 'http://192.168.47.249:8001'; |
| | | // const javaApi = 'http://192.168.47.249:8001'; |
| | | |
| | | //云 |
| | | // Vue.prototype.LOCATIONVUE = "http://114.132.189.42:8080"; |
| | |
| | | |
| | | //检测中心正式库 |
| | | // Vue.prototype.LOCATIONVUE = "http://10.1.200.86:8080"; |
| | | // const javaApi = 'http://10.1.200.86:8001'; |
| | | const javaApi = 'http://10.1.200.86:8001'; |
| | | |
| | | //装备电缆测试库 |
| | | // Vue.prototype.LOCATIONVUE = "http://10.16.173.59"; |