This commit is contained in:
Chengliang 2022-07-18 10:44:14 +08:00
parent 58b440ad47
commit cb010edefa
3 changed files with 12 additions and 9 deletions

View File

@ -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
*/

View File

@ -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) {

View File

@ -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,