Skip to content

Commit

Permalink
Merge pull request #1259 from WeBankPartners/dev
Browse files Browse the repository at this point in the history
update index
  • Loading branch information
zgyzgyhero authored Jul 9, 2021
2 parents c6fbeca + d8596d6 commit 4c1a5f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmdb-ui/src/pages/components/cmdb-table/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,7 @@ export default {
},
renderCol (col, isLastCol = false) {
const getRefdata = async val => {
this.tableDetailInfo.isShow = false
const refData = this.tableData.find(item => {
if (item[col.key].key_name === val) {
return item
Expand All @@ -658,6 +659,7 @@ export default {
this.tableDetailInfo.isShow = true
}
const getMutiRefdata = async val => {
this.tableDetailInfo.isShow = false
this.tableDetailInfo.title = this.$t('details')
this.tableDetailInfo.type = 'array'
this.tableDetailInfo.info = []
Expand All @@ -670,6 +672,7 @@ export default {
this.tableDetailInfo.isShow = true
}
const getPassword = async (row, key) => {
this.tableDetailInfo.isShow = false
const rowData = this.tableData.find(item => row.guid === item.guid)
const { statusCode, data } = await queryPassword(this.ciTypeId, rowData.guid, key, {})
if (statusCode === 'OK') {
Expand Down

0 comments on commit 4c1a5f5

Please sign in to comment.