| | |
| | | prop="codeDesc" |
| | | :label="$t('dataManage.domainManage.codeDesc')" |
| | | /> |
| | | <el-table-column |
| | | <!-- <el-table-column |
| | | align="center" |
| | | prop="bsm" |
| | | :label="$t('dataManage.domainManage.bsm')" |
| | | /> |
| | | /> --> |
| | | <el-table-column |
| | | align="center" |
| | | prop="level" |
| | |
| | | }, |
| | | domainData: [ |
| | | { |
| | | tabDesc: '基础数据', |
| | | val: '基础数据', |
| | | children: [], |
| | | }, |
| | | { |
| | | tabDesc: '业务数据', |
| | | val: '业务数据', |
| | | children: [], |
| | | }, |
| | | ], |
| | | defaultProps: { |
| | | children: 'children', |
| | | label: 'tabDesc', |
| | | label: 'val', |
| | | }, |
| | | }; |
| | | }, |
| | |
| | | this.fullscreenLoading = true; |
| | | this.listData.ns = data.ns; |
| | | this.listData.tab = data.tab; |
| | | |
| | | getSingleTab(this.listData).then((res) => { |
| | | setTimeout(() => { |
| | | this.tableData = res.result; |
| | | this.count = res.count; |
| | | this.fullscreenLoading = false; |
| | | if (res.code == 200) { |
| | | this.tableData = res.result; |
| | | this.count = res.count; |
| | | this.fullscreenLoading = false; |
| | | } else { |
| | | this.tableData = []; |
| | | this.count = 0; |
| | | this.fullscreenLoading = false; |
| | | } |
| | | }, 500); |
| | | }); |
| | | }, |
| | |
| | | getDomainTabs().then((res) => { |
| | | let bdres = res.result.filter((item) => item.ns == 'bd'); |
| | | let bsres = res.result.filter((item) => item.ns == 'bs'); |
| | | for (var i in bdres) { |
| | | bdres[i].val = bdres[i].tabDesc + '(' + bdres[i].tab + ')'; |
| | | } |
| | | for (var i in bsres) { |
| | | bsres[i].val = bsres[i].tabDesc + '(' + bsres[i].tab + ')'; |
| | | } |
| | | this.domainData[0].children = bdres; |
| | | this.domainData[1].children = bsres; |
| | | }); |