NEZ-1901 fix:Models内对asset利用State条件搜索时无法搜索到内容
This commit is contained in:
@@ -106,7 +106,8 @@ export default {
|
||||
}, {
|
||||
name: this.$t('asset.state'),
|
||||
type: 'assetState',
|
||||
label: 'stateIds',
|
||||
label: 'assetState',
|
||||
id: 'stateIds',
|
||||
readonly: true,
|
||||
disabled: false
|
||||
}]
|
||||
|
||||
@@ -105,7 +105,7 @@ export default {
|
||||
}, {
|
||||
name: this.$t('asset.state'),
|
||||
type: 'assetState',
|
||||
label: 'stateIds',
|
||||
label: 'assetState',
|
||||
id: 'stateIds',
|
||||
readonly: true,
|
||||
disabled: false
|
||||
|
||||
@@ -313,7 +313,7 @@ export default {
|
||||
chartInfo.type = 'topologyLink'
|
||||
chartInfo.linkType = type
|
||||
chartInfo.datasource = 'topology'
|
||||
chartInfo.name = '关系图'
|
||||
chartInfo.name = this.$t('overall.topology')
|
||||
this.$store.dispatch('showTopology', chartInfo)
|
||||
},
|
||||
closeDialog () {
|
||||
|
||||
@@ -316,7 +316,7 @@ export default {
|
||||
}, {
|
||||
name: this.$t('asset.state'),
|
||||
type: 'assetState',
|
||||
label: 'stateIds',
|
||||
label: 'assetState',
|
||||
id: 'stateIds',
|
||||
readonly: true,
|
||||
disabled: false
|
||||
|
||||
@@ -893,7 +893,7 @@ export default {
|
||||
if (val.label === 'alertType' || val.label === 'promType' || val.label === 'ipamType') {
|
||||
objectInfo.type = val.valnum
|
||||
} else if (val.label === 'assetState') {
|
||||
objectInfo.state = val.valnum
|
||||
objectInfo.stateIds = val.valnum
|
||||
} else if (val.label === 'assetType') {
|
||||
objectInfo.typeIds = val.valnum
|
||||
} else if (val.label === 'credentialType') {
|
||||
@@ -930,7 +930,7 @@ export default {
|
||||
} else if (val.type === 'project') {
|
||||
objectInfo.projectIds = val.valnum
|
||||
} else if (val.label === 'assetState') {
|
||||
objectInfo.state = val.valnum
|
||||
objectInfo.stateIds = val.valnum
|
||||
} else if (val.label === 'assetType') {
|
||||
objectInfo.typeIds = val.valnum
|
||||
} else if (val.type === 'brand') {
|
||||
|
||||
@@ -296,7 +296,7 @@ export default {
|
||||
}, {
|
||||
name: this.$t('asset.state'),
|
||||
type: 'assetState',
|
||||
label: 'stateIds',
|
||||
label: 'assetState',
|
||||
id: 'stateIds',
|
||||
readonly: true,
|
||||
disabled: false
|
||||
@@ -885,7 +885,7 @@ export default {
|
||||
defaultJson: {
|
||||
disabled: false,
|
||||
id: 'stateIds',
|
||||
label: 'stateIds',
|
||||
label: 'assetState',
|
||||
name: 'State',
|
||||
readonly: true,
|
||||
type: 'assetState',
|
||||
|
||||
Reference in New Issue
Block a user