| | |
| | | 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 |
| | |
| | | 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') || ''; |