| | |
| | | this.form.imgUrl = this.row.businessLicense; |
| | | } |
| | | }, |
| | | saveLock(name, val) { |
| | | window.localStorage.setItem(name, val); |
| | | }, |
| | | uploadDelete(column, file) { |
| | | this.row.businessLicense = ""; |
| | | this.saveLock("danweidata", JSON.stringify(this.row)); |
| | | return update(this.row) |
| | | .then(() => { |
| | | this.$message({ |
| | |
| | | uploadAfter(res, done, loading, column) { |
| | | // this.row.businessLicense = ""; |
| | | this.row.businessLicense = res.url; |
| | | this.saveLock("danweidata", JSON.stringify(this.row)); |
| | | update(this.row).then( |
| | | () => { |
| | | this.$message({ |
| | |
| | | this.onLoad1(this.page1); |
| | | }, |
| | | rowUpdate1(row, index, done, loading) { |
| | | // delete row.shareholdingratio; |
| | | delete row.shareholdingratio; |
| | | delete row.tenantId; |
| | | console.log(row); |
| | | update1(row).then( |
| | |
| | | rowUpdate2(row, index, done, loading) { |
| | | console.log(row); |
| | | delete row.shareholdingratio; |
| | | // delete row.id; |
| | | delete row.rtime; |
| | | update2(row).then( |
| | | () => { |
| | | this.onLoad2(this.page2); |