fix: 数据质量
Showing
5 changed files
with
23 additions
and
10 deletions
| ... | @@ -382,7 +382,7 @@ const getQueryTreeData = ()=>{ | ... | @@ -382,7 +382,7 @@ const getQueryTreeData = ()=>{ |
| 382 | currNodeInfo.value = {type:2,guid:dataSourceGuid,name:datasourceName} | 382 | currNodeInfo.value = {type:2,guid:dataSourceGuid,name:datasourceName} |
| 383 | } | 383 | } |
| 384 | nextTick(() => { | 384 | nextTick(() => { |
| 385 | treeInfo.value.currentNodeKey = currentNodeKey.value | 385 | treeInfo.value.currentNodeKey = <string>route.query.tableGuid || currentNodeKey.value; |
| 386 | treeInfo.value.expandedKey = expandedKey.value | 386 | treeInfo.value.expandedKey = expandedKey.value |
| 387 | }) | 387 | }) |
| 388 | nodeClick({type:2,guid:dataSourceGuid,name:datasourceName}) | 388 | nodeClick({type:2,guid:dataSourceGuid,name:datasourceName}) | ... | ... |
| ... | @@ -683,7 +683,6 @@ const download = () => { | ... | @@ -683,7 +683,6 @@ const download = () => { |
| 683 | <div v-show="!isWordStyle" class="header-detail"> | 683 | <div v-show="!isWordStyle" class="header-detail"> |
| 684 | <template v-if="detailInfo.analysisReportType == 1"> | 684 | <template v-if="detailInfo.analysisReportType == 1"> |
| 685 | <span>{{ '表名称:' + (detailInfo.qualityModelName ?? '--') }}</span> | 685 | <span>{{ '表名称:' + (detailInfo.qualityModelName ?? '--') }}</span> |
| 686 | <span style="margin-left: 40px;">{{ '所属主题:' + (detailInfo.subjectDomainName ?? '--') }}</span> | ||
| 687 | <span style="margin-left: 40px;">{{ '所属数据源:' + (detailInfo.dataSourceName ?? '--') }}</span> | 686 | <span style="margin-left: 40px;">{{ '所属数据源:' + (detailInfo.dataSourceName ?? '--') }}</span> |
| 688 | </template> | 687 | </template> |
| 689 | <span v-else-if="detailInfo.analysisReportType == 3">{{ '分组名称:' + (detailInfo.qualityModelGroupName ?? '--') | 688 | <span v-else-if="detailInfo.analysisReportType == 3">{{ '分组名称:' + (detailInfo.qualityModelGroupName ?? '--') |
| ... | @@ -787,7 +786,6 @@ const download = () => { | ... | @@ -787,7 +786,6 @@ const download = () => { |
| 787 | <div style=" height: 40px;line-height: 40px;font-size: 14px;color: #666666;"> | 786 | <div style=" height: 40px;line-height: 40px;font-size: 14px;color: #666666;"> |
| 788 | <template v-if="detailInfo.analysisReportType == 1"> | 787 | <template v-if="detailInfo.analysisReportType == 1"> |
| 789 | <span>{{ '表名称:' + (detailInfo.qualityModelName ?? '--') }}</span> | 788 | <span>{{ '表名称:' + (detailInfo.qualityModelName ?? '--') }}</span> |
| 790 | <span style="margin-left: 40px;">{{ '所属主题:' + (detailInfo.subjectDomainName ?? '--') }}</span> | ||
| 791 | <span style="margin-left: 40px;">{{ '所属数据源:' + (detailInfo.dataSourceName ?? '--') }}</span> | 789 | <span style="margin-left: 40px;">{{ '所属数据源:' + (detailInfo.dataSourceName ?? '--') }}</span> |
| 792 | </template> | 790 | </template> |
| 793 | <span v-else-if="detailInfo.analysisReportType == 3">{{ '分组名称:' + (detailInfo.qualityModelGroupName ?? '--') | 791 | <span v-else-if="detailInfo.analysisReportType == 3">{{ '分组名称:' + (detailInfo.qualityModelGroupName ?? '--') | ... | ... |
| ... | @@ -331,7 +331,7 @@ onActivated(() => { | ... | @@ -331,7 +331,7 @@ onActivated(() => { |
| 331 | let tab: any = userStore.tabbar.find((tab: any) => tab.fullPath === fullPath); | 331 | let tab: any = userStore.tabbar.find((tab: any) => tab.fullPath === fullPath); |
| 332 | if (tab) { | 332 | if (tab) { |
| 333 | if (route.query.detail) { | 333 | if (route.query.detail) { |
| 334 | tab.meta.title = `新建规则(${route.query.planName})`; | 334 | tab.meta.title = `方案详情-${route.query.planName}`; |
| 335 | if (fullPath === route.fullPath) { | 335 | if (fullPath === route.fullPath) { |
| 336 | document.title = tab.meta.title; | 336 | document.title = tab.meta.title; |
| 337 | } | 337 | } | ... | ... |
| ... | @@ -28,10 +28,8 @@ import { | ... | @@ -28,10 +28,8 @@ import { |
| 28 | import useDataQualityStore from "@/store/modules/dataQuality"; | 28 | import useDataQualityStore from "@/store/modules/dataQuality"; |
| 29 | import { useValidator } from '@/hooks/useValidator'; | 29 | import { useValidator } from '@/hooks/useValidator'; |
| 30 | import { TableColumnWidth } from '@/utils/enum'; | 30 | import { TableColumnWidth } from '@/utils/enum'; |
| 31 | import useDataCatalogStore from "@/store/modules/dataCatalog"; | ||
| 32 | 31 | ||
| 33 | const dataQualityStore = useDataQualityStore(); | 32 | const dataQualityStore = useDataQualityStore(); |
| 34 | const dataCatalogStore = useDataCatalogStore(); | ||
| 35 | 33 | ||
| 36 | const { proxy } = getCurrentInstance() as any; | 34 | const { proxy } = getCurrentInstance() as any; |
| 37 | const { orderNum, description } = useValidator(); | 35 | const { orderNum, description } = useValidator(); |
| ... | @@ -411,10 +409,27 @@ const tableBtnClick = (scope, btn) => { | ... | @@ -411,10 +409,27 @@ const tableBtnClick = (scope, btn) => { |
| 411 | } else if (type == "delete") { | 409 | } else if (type == "delete") { |
| 412 | open("此操作将永久删除, 是否继续?", "warning"); | 410 | open("此操作将永久删除, 是否继续?", "warning"); |
| 413 | } else if (type == 'locateDataCatalog') { | 411 | } else if (type == 'locateDataCatalog') { |
| 414 | dataCatalogStore.setLocateSubjectName(row.name); | 412 | // dataCatalogStore.setLocateSubjectName(row.name); |
| 415 | router.push({ | 413 | // router.push({ |
| 416 | name: 'dataWarehouse' | 414 | // name: 'dataWarehouse' |
| 417 | }); | 415 | // }); |
| 416 | if (row.dataSource == '4') { | ||
| 417 | router.push({ | ||
| 418 | name: 'classifyGradeCatalogue', | ||
| 419 | query: { | ||
| 420 | databaseGuid: row.dataSourceGuid, | ||
| 421 | tableGuid: row.subjectGuid | ||
| 422 | } | ||
| 423 | }); | ||
| 424 | } else { | ||
| 425 | router.push({ | ||
| 426 | name: 'metadataQuery', | ||
| 427 | query: { | ||
| 428 | dataSourceGuid: row.dataSourceGuid, | ||
| 429 | tableGuid: row.subjectGuid | ||
| 430 | } | ||
| 431 | }); | ||
| 432 | } | ||
| 418 | } | 433 | } |
| 419 | }; | 434 | }; |
| 420 | 435 | ... | ... |
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment