mirror of https://github.com/veops/cmdb.git
feat(ui): update components CMDBExprDrawer
This commit is contained in:
parent
f0713c5ac8
commit
29dab8ad06
|
@ -9,7 +9,7 @@
|
|||
:bodyStyle="{ padding: '24px 12px' }"
|
||||
:placement="placement"
|
||||
>
|
||||
<ResourceSearch :fromCronJob="true" @copySuccess="copySuccess" />
|
||||
<ResourceSearch ref="resourceSearch" :fromCronJob="true" :type="type" :typeId="typeId" @copySuccess="copySuccess" />
|
||||
</CustomDrawer>
|
||||
</template>
|
||||
|
||||
|
@ -23,6 +23,14 @@ export default {
|
|||
type: String,
|
||||
default: 'right',
|
||||
},
|
||||
type: {
|
||||
type: String,
|
||||
default: 'resourceSearch'
|
||||
},
|
||||
typeId: {
|
||||
type: Number,
|
||||
default: null
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -438,6 +438,7 @@ export default {
|
|||
},
|
||||
async handleSearch() {
|
||||
this.currentPage = 1
|
||||
// await this.updateAllAttributesList()
|
||||
this.loadInstance()
|
||||
},
|
||||
onShowSizeChange(current, pageSize) {
|
||||
|
|
Loading…
Reference in New Issue