fixed
This commit is contained in:
parent
58b440ad47
commit
cb010edefa
|
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
* @Author: 程亮
|
||||
* @Date: 2022-05-26 14:05:59
|
||||
* @LastEditTime: 2022-07-06 10:49:02
|
||||
* @LastEditTime: 2022-07-15 14:36:46
|
||||
* @Description:
|
||||
* @FilePath: /trunk/src4js/pc4mobx/organization/components/job/Job.js
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -316,6 +316,9 @@ export class JobStore {
|
|||
const index1 = findIndex(this.condition[1].items, { label });
|
||||
let currenttime = 1657247378274
|
||||
let key = `scheme_id_${currenttime}`;
|
||||
// Object.defineProperty(this.condition[1].items[index1].browserConditionParam.completeParams, [key], {
|
||||
// value: schemeId,
|
||||
// })
|
||||
this.condition[1].items[index1].browserConditionParam.completeParams = {
|
||||
...this.condition[1].items[index1].browserConditionParam.completeParams,
|
||||
[key]: schemeId,
|
||||
|
|
@ -357,7 +360,7 @@ export class JobStore {
|
|||
let key1 = `level_id_${currenttime}`;
|
||||
let key2 = `scheme_id_${currenttime}`;
|
||||
let params = {
|
||||
id:data.grade_id.value
|
||||
id: data.grade_id.value
|
||||
};
|
||||
Api.getLevelId(params).then(res => {
|
||||
if (res.code === 200) {
|
||||
|
|
@ -391,7 +394,7 @@ export class JobStore {
|
|||
}
|
||||
}, error => {
|
||||
message.warning(error.msg);
|
||||
})
|
||||
})
|
||||
}
|
||||
this.form1.updateFields({
|
||||
level_id: {
|
||||
|
|
|
|||
|
|
@ -301,12 +301,12 @@ export class JobGradeStore {
|
|||
currenttime: currenttime,
|
||||
[id_key]:"''"
|
||||
}
|
||||
this.condition[0].items[4].browserConditionParam.dataParams = {
|
||||
...this.condition[0].items[4].browserConditionParam.dataParams,
|
||||
[key]: val,
|
||||
currenttime: currenttime,
|
||||
[id_key]:"''"
|
||||
}
|
||||
// this.condition[0].items[4].browserConditionParam.dataParams = {
|
||||
// ...this.condition[0].items[4].browserConditionParam.dataParams,
|
||||
// [key]: val,
|
||||
// currenttime: currenttime,
|
||||
// [id_key]:"''"
|
||||
// }
|
||||
this.condition[0].items[4].browserConditionParam.destDataParams = {
|
||||
...this.condition[0].items[4].browserConditionParam.destDataParams,
|
||||
[key]: val,
|
||||
|
|
|
|||
Loading…
Reference in New Issue