【fix】处理JSelectBizComponent查询用户的问题

This commit is contained in:
zer0Black
2023-05-30 14:31:57 +08:00
parent e2a76d068b
commit 2bcd9a0984
3 changed files with 7 additions and 3 deletions
@@ -10,7 +10,7 @@ export default {
methods: {
renderQueryItem () {
return this.queryConfig.map(queryItem => {
const { key, label, placeholder, dictCode, props, customRender } = queryItem
const { key, label, queryModel, placeholder, dictCode, props, customRender } = queryItem
const options = {
props: {},
on: {
@@ -35,6 +35,8 @@ export default {
input = customRender.call(this, { key, options, queryParam: this.queryParam })
} else if (dictCode) {
input = <j-dict-select-tag {...options} vModel={this.queryParam[key]} dictCode={dictCode} style="width:180px;"/>
} else if (queryModel && queryModel === 'eq') {
input = <a-input {...options} vModel={this.queryParam[key]}/>
} else {
input = <j-input {...options} vModel={this.queryParam[key]}/>
}