df35b73a by lihua

fix: 解决bug

1 parent 34f62b6b
...@@ -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') {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!