fix: 解决bug
Showing
2 changed files
with
3 additions
and
1 deletions
| ... | @@ -219,7 +219,9 @@ const tableInfo = ref({ | ... | @@ -219,7 +219,9 @@ const tableInfo = ref({ |
| 219 | btns.push({ | 219 | btns.push({ |
| 220 | value: 'del', label: '销毁', click: (scope) => { | 220 | value: 'del', label: '销毁', click: (scope) => { |
| 221 | proxy.$openMessageBox("此操作将永久销毁已推送至数据使用方连接器的该数据产品,并解除对应的数字合约,是否继续?", () => { | 221 | proxy.$openMessageBox("此操作将永久销毁已推送至数据使用方连接器的该数据产品,并解除对应的数字合约,是否继续?", () => { |
| 222 | tableInfo.value.loading = true; | ||
| 222 | deleteDeliveryContract([scope.row.guid]).then((res: any) => { | 223 | deleteDeliveryContract([scope.row.guid]).then((res: any) => { |
| 224 | tableInfo.value.loading = false; | ||
| 223 | if (res?.code == proxy.$passCode) { | 225 | if (res?.code == proxy.$passCode) { |
| 224 | page.value.curr = 1; | 226 | page.value.curr = 1; |
| 225 | getTableData(); | 227 | getTableData(); | ... | ... |
| ... | @@ -43,7 +43,7 @@ const page = ref({ | ... | @@ -43,7 +43,7 @@ const page = ref({ |
| 43 | const tableFields = ref([ | 43 | const tableFields = ref([ |
| 44 | { label: "序号", type: "index", width: 56, align: "center" }, | 44 | { label: "序号", type: "index", width: 56, align: "center" }, |
| 45 | { | 45 | { |
| 46 | label: "数据产品名称", field: "dataProductName", width: 160, type: "text_btn", columClass: 'text_btn', value: "detail", disabled: (scope) => { | 46 | label: "数据产品名称", field: "dataProductName", width: 160, type: "text_btn", columClass: '', value: "detail", disabled: (scope) => { |
| 47 | return scope.row.contractStatus == '06'; | 47 | return scope.row.contractStatus == '06'; |
| 48 | }, click: (scope) => { | 48 | }, click: (scope) => { |
| 49 | if (scope.row.contractStatus == '06') { | 49 | if (scope.row.contractStatus == '06') { | ... | ... |
-
Please register or sign in to post a comment