fei.wang
2025-04-18 11f6acee504c77a8919a4e0ddfe3e70a746e3522
src/views/equipment/monitoring.vue
@@ -348,16 +348,6 @@
      this.resetTemp()
      this.dialogVisible = true
      this.dialogType = 'modify'
      console.log(scope.row);
      // this.temp = Object.assign({}, _temp)
      console.log(this.temp);
      console.log(deepClone(scope.row));
      // this.temp.anchorname = scope.row.anchorname
      // this.temp.id = scope.row.id
      // this.temp.needbaseid = scope.row.needbaseid
      // this.temp.tagid = scope.row.tagid
      // this.temp.type = scope.row.type
      this.temp = deepClone(scope.row)
      // this.temp.companyid = scope.row.companyid
      this.disabled=true
@@ -411,8 +401,6 @@
      this.$refs[this.temp].validate((valid) => {
          if (valid) {
            this.loading = true
            console.log(this.temp);
      addorupEquipment(this.temp).then(() => {
        if (this.temp.id=="") {
          this.temp.adminname = localStorage.getItem('username') || '';