修改禅道已知bug
This commit is contained in:
@@ -387,7 +387,7 @@
|
||||
return str
|
||||
},
|
||||
handleOk() {
|
||||
if (!this.isNullArray(this.queryParamsModel)) {
|
||||
// if (!this.isNullArray(this.queryParamsModel)) {
|
||||
let event = {
|
||||
matchType: this.matchType,
|
||||
params: this.removeEmptyObject(this.queryParamsModel)
|
||||
@@ -397,9 +397,9 @@
|
||||
this.visible = false
|
||||
}
|
||||
this.emitCallback(event)
|
||||
} else {
|
||||
this.$message.warn(this.$t('CannotQueryEmpty'))
|
||||
}
|
||||
// } else {
|
||||
// this.$message.warn(this.$t('CannotQueryEmpty'))
|
||||
// }
|
||||
},
|
||||
emitCallback(event = {}) {
|
||||
let { params = [], matchType = this.matchType } = event
|
||||
@@ -408,6 +408,9 @@
|
||||
if (Array.isArray(param.val)) {
|
||||
param.val = param.val.join(',')
|
||||
}
|
||||
if (param.type == "Personnel" && !param.val){
|
||||
param.val = ' is null '
|
||||
}
|
||||
}
|
||||
console.debug('---高级查询参数--->', { params, matchType })
|
||||
this.$emit(this.callback, params, matchType)
|
||||
@@ -614,7 +617,6 @@
|
||||
item.val = values[item.popup['destFields']]
|
||||
},
|
||||
PersonnelSelectionChange(value, id,index){
|
||||
console.log(index)
|
||||
this.queryParamsModel[index].val = id
|
||||
this.queryParamsModel[index].valueId = id
|
||||
console.log(this.queryParamsModel)
|
||||
|
||||
Reference in New Issue
Block a user