eece0e09 by lihua

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

1 parent 1fb590f9
......@@ -627,21 +627,23 @@ const assetDataTableInfo = ref({
})
}
});
btns.push({
label: "查看样例数据", value: "viewData", click: (scope) => {
let row = scope.row;
router.push({
path: route.query.dataSources == '1' ? '/data-asset/authordata-catalog/damTableDataView' : '/data-asset/register-catalog/damTableDataView',
// name: 'damTableDataView',
query: {
guid: row.guid,
name: row.tableChName,
damName: detailInfo.value.damName,
dataSources: route.query.dataSources
}
});
}
});
if (!detailInfo.value.nodeId) {
btns.push({
label: "查看样例数据", value: "viewData", click: (scope) => {
let row = scope.row;
router.push({
path: route.query.dataSources == '1' ? '/data-asset/authordata-catalog/damTableDataView' : '/data-asset/register-catalog/damTableDataView',
// name: 'damTableDataView',
query: {
guid: row.guid,
name: row.tableChName,
damName: detailInfo.value.damName,
dataSources: route.query.dataSources
}
});
}
});
}
}
return btns;
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!