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