fixed
This commit is contained in:
parent
dd023861d7
commit
db5101250e
|
|
@ -310,8 +310,8 @@ export class JobStore {
|
|||
const index = findIndex(this.condition[1].items, { label });
|
||||
const schemeId = data.sequence_id.valueObj[0].scheme_values;
|
||||
this.condition[1].items[index].browserConditionParam.replaceDatas = [{ name: data.sequence_id.valueObj[0].scheme_ids, id: schemeId }];
|
||||
//清空职等并限制范围
|
||||
label = "职等"
|
||||
//清空职级并限制范围
|
||||
label = "职级"
|
||||
const index1 = findIndex(this.condition[1].items, { label });
|
||||
let currenttime = Date.now();
|
||||
let key = `scheme_id_${currenttime}`;
|
||||
|
|
@ -354,14 +354,14 @@ export class JobStore {
|
|||
});
|
||||
} else {
|
||||
|
||||
//清空职级并限制范围
|
||||
let label = "职级"
|
||||
//清空职等并限制范围
|
||||
let label = "职等"
|
||||
const index2 = findIndex(this.condition[1].items, { label });
|
||||
let currenttime = Date.now();
|
||||
let key1 = `level_id_${currenttime}`;
|
||||
let key1 = `id_${currenttime}`;
|
||||
const lastKey = this.key1;
|
||||
this.key1 = key1;
|
||||
const levelId = data.level_id.value;
|
||||
const levelId = '11,12';
|
||||
Reflect.deleteProperty(this.condition[1].items[index2].browserConditionParam.completeParams, lastKey);
|
||||
Reflect.deleteProperty(this.condition[1].items[index2].browserConditionParam.conditionDataParams, lastKey);
|
||||
Reflect.deleteProperty(this.condition[1].items[index2].browserConditionParam.dataParams, lastKey);
|
||||
|
|
|
|||
|
|
@ -277,33 +277,38 @@ export class JobGradeStore {
|
|||
}
|
||||
|
||||
updateConditions(val) {
|
||||
let currenttime = Date.now();
|
||||
let currenttime = 1657247378274;
|
||||
let key = `scheme_id_${currenttime}`;
|
||||
const lastKey = this.key;
|
||||
Reflect.deleteProperty(this.condition[0].items[4].browserConditionParam.completeParams, lastKey);
|
||||
Reflect.deleteProperty(this.condition[0].items[4].browserConditionParam.conditionDataParams, lastKey);
|
||||
Reflect.deleteProperty(this.condition[0].items[4].browserConditionParam.dataParams, lastKey);
|
||||
Reflect.deleteProperty(this.condition[0].items[4].browserConditionParam.destDataParams, lastKey);
|
||||
this.setKey(key);
|
||||
let id_key = `level_id_${currenttime}`
|
||||
// const lastKey = this.key;
|
||||
// Reflect.deleteProperty(this.condition[0].items[4].browserConditionParam.completeParams, lastKey);
|
||||
// Reflect.deleteProperty(this.condition[0].items[4].browserConditionParam.conditionDataParams, lastKey);
|
||||
// Reflect.deleteProperty(this.condition[0].items[4].browserConditionParam.dataParams, lastKey);
|
||||
// Reflect.deleteProperty(this.condition[0].items[4].browserConditionParam.destDataParams, lastKey);
|
||||
// this.setKey(key);
|
||||
this.condition[0].items[4].browserConditionParam.completeParams = {
|
||||
[key]: val,
|
||||
...this.condition[0].items[4].browserConditionParam.completeParams,
|
||||
currenttime: currenttime
|
||||
currenttime: currenttime,
|
||||
[id_key]:"''"
|
||||
}
|
||||
this.condition[0].items[4].browserConditionParam.conditionDataParams = {
|
||||
[key]: val,
|
||||
...this.condition[0].items[4].browserConditionParam.conditionDataParams,
|
||||
currenttime: currenttime
|
||||
currenttime: currenttime,
|
||||
[id_key]:"''"
|
||||
}
|
||||
this.condition[0].items[4].browserConditionParam.dataParams = {
|
||||
[key]: val,
|
||||
...this.condition[0].items[4].browserConditionParam.dataParams,
|
||||
currenttime: currenttime
|
||||
currenttime: currenttime,
|
||||
[id_key]:"''"
|
||||
}
|
||||
this.condition[0].items[4].browserConditionParam.destDataParams = {
|
||||
[key]: val,
|
||||
...this.condition[0].items[4].browserConditionParam.destDataParams,
|
||||
currenttime: currenttime
|
||||
currenttime: currenttime,
|
||||
[id_key]:"''"
|
||||
}
|
||||
|
||||
this.form.updateFields({
|
||||
|
|
|
|||
Loading…
Reference in New Issue