6086310c by lihua

点击进入详情

1 parent 0ab34084
...@@ -1400,11 +1400,11 @@ const respParamsTableInfo = ref({ ...@@ -1400,11 +1400,11 @@ const respParamsTableInfo = ref({
1400 <span>{{ scope.row["fieldPrecision"] == null ? '--' : scope.row["fieldPrecision"] }}</span> 1400 <span>{{ scope.row["fieldPrecision"] == null ? '--' : scope.row["fieldPrecision"] }}</span>
1401 </template> 1401 </template>
1402 </el-table-column> 1402 </el-table-column>
1403 <el-table-column v-if="detailInfo.foundMode != 1" prop="dictionaryCode" label="关联字典" width="130px" align="left" show-overflow-tooltip> 1403 <!-- <el-table-column v-if="detailInfo.foundMode != 1" prop="dictionaryCode" label="关联字典" width="130px" align="left" show-overflow-tooltip>
1404 <template #default="scope"> 1404 <template #default="scope">
1405 <span>{{ scope.row["dictionaryName"] || '--' }}</span> 1405 <span>{{ scope.row["dictionaryName"] || '--' }}</span>
1406 </template> 1406 </template>
1407 </el-table-column> 1407 </el-table-column> -->
1408 <el-table-column prop="isPrimary" label="是否主键" width="90px" align="left" show-overflow-tooltip> 1408 <el-table-column prop="isPrimary" label="是否主键" width="90px" align="left" show-overflow-tooltip>
1409 <template #default="scope"> 1409 <template #default="scope">
1410 <span>{{ scope.row["isPrimary"] ? (scope.row["isPrimary"] == 'Y' ? '是' : '否') : '--' }}</span> 1410 <span>{{ scope.row["isPrimary"] ? (scope.row["isPrimary"] == 'Y' ? '是' : '否') : '--' }}</span>
......
...@@ -180,6 +180,15 @@ const tableBtnClick = (scope, btn) => { ...@@ -180,6 +180,15 @@ const tableBtnClick = (scope, btn) => {
180 }; 180 };
181 181
182 const handleDataClick = (item) => { 182 const handleDataClick = (item) => {
183 //同步过来的要显示详情页面。
184 if (item.nodeId) {
185 router.push({
186 // name: "registerCatalogDetail",
187 path: props.dataSources == 1 ? '/data-asset/authordata-catalog/register-catalog-detail' : '/data-asset/register-catalog/register-catalog-detail',
188 query: { guid: item.guid, type: "asset", dataSources: props.dataSources, foundMode: item.foundMode },
189 });
190 return;
191 }
183 if (item.isRegister == "N" && item.foundMode != 3 && item.foundMode != 4 && item.foundMode != 5) { 192 if (item.isRegister == "N" && item.foundMode != 3 && item.foundMode != 4 && item.foundMode != 5) {
184 router.push({ 193 router.push({
185 path: props.dataSources == 1 ? '/data-asset/authordata-catalog/register-ctalog-create' : '/data-asset/register-catalog/register-ctalog-create', 194 path: props.dataSources == 1 ? '/data-asset/authordata-catalog/register-ctalog-create' : '/data-asset/register-catalog/register-ctalog-create',
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!