feat(ui): update components CMDBExprDrawer

This commit is contained in:
pycook 2024-05-28 20:16:39 +08:00
parent d3714f3ecf
commit 39354e1293
2 changed files with 581 additions and 572 deletions

View File

@ -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 {

View File

@ -438,6 +438,7 @@ export default {
},
async handleSearch() {
this.currentPage = 1
// await this.updateAllAttributesList()
this.loadInstance()
},
onShowSizeChange(current, pageSize) {