fix(高级搜索): 缺陷管理按照严重程度搜索无效
--bug=1015254 --user=李玉号 【测试跟踪】缺陷管理-高级搜索,按照“严重程度”筛选无效 https://www.tapd.cn/55049933/s/1209297
This commit is contained in:
parent
9f86d1df9b
commit
047ad4eb01
|
@ -109,12 +109,18 @@ export default {
|
|||
this.visible = false;
|
||||
},
|
||||
setCondition(condition, component) {
|
||||
if (!component.custom) {
|
||||
//【严重程度、处理人、状态】三个字段储存在自定义表但是其 custom 的值是 false
|
||||
// 因为需求要把这些字段在有选项分类时归为 系统字段 ?
|
||||
if (component.custom || (component.label === '严重程度' || component.label === '处理人' || component.label === '状态')) {
|
||||
this.handleCustomField(condition, component);
|
||||
return;
|
||||
}
|
||||
condition[component.key] = {
|
||||
operator: component.operator.value,
|
||||
value: component.value
|
||||
};
|
||||
} else {
|
||||
},
|
||||
handleCustomField(condition, component) {
|
||||
if (!condition.customs) {
|
||||
condition['customs'] = [];
|
||||
}
|
||||
|
@ -132,8 +138,6 @@ export default {
|
|||
value: value,
|
||||
type: component.type
|
||||
});
|
||||
}
|
||||
|
||||
},
|
||||
reset() {
|
||||
let source = this.condition.components;
|
||||
|
|
Loading…
Reference in New Issue