点击进入详情
Showing
2 changed files
with
11 additions
and
2 deletions
| ... | @@ -1385,11 +1385,11 @@ const respParamsTableInfo = ref({ | ... | @@ -1385,11 +1385,11 @@ const respParamsTableInfo = ref({ |
| 1385 | <span>{{ scope.row["fieldPrecision"] == null ? '--' : scope.row["fieldPrecision"] }}</span> | 1385 | <span>{{ scope.row["fieldPrecision"] == null ? '--' : scope.row["fieldPrecision"] }}</span> |
| 1386 | </template> | 1386 | </template> |
| 1387 | </el-table-column> | 1387 | </el-table-column> |
| 1388 | <el-table-column v-if="detailInfo.foundMode != 1" prop="dictionaryCode" label="关联字典" width="130px" align="left" show-overflow-tooltip> | 1388 | <!-- <el-table-column v-if="detailInfo.foundMode != 1" prop="dictionaryCode" label="关联字典" width="130px" align="left" show-overflow-tooltip> |
| 1389 | <template #default="scope"> | 1389 | <template #default="scope"> |
| 1390 | <span>{{ scope.row["dictionaryName"] || '--' }}</span> | 1390 | <span>{{ scope.row["dictionaryName"] || '--' }}</span> |
| 1391 | </template> | 1391 | </template> |
| 1392 | </el-table-column> | 1392 | </el-table-column> --> |
| 1393 | <el-table-column prop="isPrimary" label="是否主键" width="90px" align="left" show-overflow-tooltip> | 1393 | <el-table-column prop="isPrimary" label="是否主键" width="90px" align="left" show-overflow-tooltip> |
| 1394 | <template #default="scope"> | 1394 | <template #default="scope"> |
| 1395 | <span>{{ scope.row["isPrimary"] ? (scope.row["isPrimary"] == 'Y' ? '是' : '否') : '--' }}</span> | 1395 | <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', | ... | ... |
-
Please register or sign in to post a comment