licp
2024-07-19 337fb435db8657e41d0425dabef40bd7baaa0632
修改工时管理
已修改3个文件
15 ■■■■ 文件已修改
src/components/do/b1-inspect-order-plan/Inspection.vue 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/tool/value-table.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -2231,6 +2231,7 @@
        return
      },
      saveInsContext() {
        console.log(1111,this.param)
        if(this.param){
          this.$axios.post(this.$api.insOrderPlan.saveInsContext, {
            param: JSON.stringify(this.param)
@@ -2255,6 +2256,16 @@
            }
          }
        }
        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() {
src/components/tool/value-table.vue
@@ -627,7 +627,7 @@
          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] = '/'
                }
              })
src/main.js
@@ -20,7 +20,7 @@
//本地
// 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";