| | |
| | | size="mini" |
| | | type="text" |
| | | :disabled="scope.row.type === 1" |
| | | :loading="scope.row.isLoading" |
| | | @click="qijian(scope.row)" |
| | | >{{ scope.row.type === 0 ? "弃检" : "恢复" }}</el-button |
| | | > |
| | |
| | | jieguoList: [], |
| | | jyjc: null, |
| | | dis: false, |
| | | isLoading:false, |
| | | createTimeList: "", |
| | | currentRow: null, |
| | | total: 0, |
| | |
| | | qijian(row) { |
| | | const tjNUm = this.selectedTjNumber; |
| | | const proId = row.proId; |
| | | row.isLoading = true; |
| | | if (row.type == "2") { |
| | | huifu(tjNUm, proId).then((res) => { |
| | | if (res.code == 200) { |
| | |
| | | if (res.code === 200) { |
| | | // 更新右边表格的数据 |
| | | this.xiangmuList = res.data; |
| | | row.isLoading = false |
| | | } |
| | | }); |
| | | } |
| | |
| | | if (res.code === 200) { |
| | | // 更新右边表格的数据 |
| | | this.xiangmuList = res.data; |
| | | this.isLoading = false |
| | | } |
| | | }); |
| | | } |