【fix】处理JSelectBizComponent查询用户的问题
This commit is contained in:
@@ -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]}/>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user