licp
2024-03-27 0d5206350ed39343da9a6192190c885dba9d92ba
完成表格-设备下拉
已修改1个文件
7 ■■■■ 文件已修改
src/components/do/b1-inspect-order-plan/Inspection.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -508,7 +508,6 @@
              }
                            conclusionList.forEach((n,i)=>{
                if(n.r==b.r&&n.c==b.c){
                  console.log(b.r,b.c,)
                  b.v.f = `(${this.comparisonList.find(j=>j.value==(finalList[i].c)).label}${finalList[i].r+1})`
                }
              })
@@ -719,7 +718,11 @@
          let category = this.tableList.find(m=>m.id==id).deviceGroup
          this.$axios.post(this.$api.deviceScope.selectDeviceByCategory, {category}).then(res => {
            if (res.code === 200 && res.data) {
              console.log(1111111,res.data)
              this.equipOptions = res.data.map(m=>{
                m.value = m.id
                m.label = m.deviceName
                return m
              })
            }
          }).catch(error => {
            console.error(error)