eece0e09 by lihua

同步过来的数据不能查看样例数据,不能编辑删除

1 parent 1fb590f9
...@@ -627,21 +627,23 @@ const assetDataTableInfo = ref({ ...@@ -627,21 +627,23 @@ const assetDataTableInfo = ref({
627 }) 627 })
628 } 628 }
629 }); 629 });
630 btns.push({ 630 if (!detailInfo.value.nodeId) {
631 label: "查看样例数据", value: "viewData", click: (scope) => { 631 btns.push({
632 let row = scope.row; 632 label: "查看样例数据", value: "viewData", click: (scope) => {
633 router.push({ 633 let row = scope.row;
634 path: route.query.dataSources == '1' ? '/data-asset/authordata-catalog/damTableDataView' : '/data-asset/register-catalog/damTableDataView', 634 router.push({
635 // name: 'damTableDataView', 635 path: route.query.dataSources == '1' ? '/data-asset/authordata-catalog/damTableDataView' : '/data-asset/register-catalog/damTableDataView',
636 query: { 636 // name: 'damTableDataView',
637 guid: row.guid, 637 query: {
638 name: row.tableChName, 638 guid: row.guid,
639 damName: detailInfo.value.damName, 639 name: row.tableChName,
640 dataSources: route.query.dataSources 640 damName: detailInfo.value.damName,
641 } 641 dataSources: route.query.dataSources
642 }); 642 }
643 } 643 });
644 }); 644 }
645 });
646 }
645 } 647 }
646 return btns; 648 return btns;
647 } 649 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!