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