diff --git a/pc4mobx/organization/components/job/Job.js b/pc4mobx/organization/components/job/Job.js index 0f78484..926b46b 100644 --- a/pc4mobx/organization/components/job/Job.js +++ b/pc4mobx/organization/components/job/Job.js @@ -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 */ diff --git a/pc4mobx/organization/stores/job.js b/pc4mobx/organization/stores/job.js index d968ff4..deed2b2 100644 --- a/pc4mobx/organization/stores/job.js +++ b/pc4mobx/organization/stores/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: { diff --git a/pc4mobx/organization/stores/jobgrade.js b/pc4mobx/organization/stores/jobgrade.js index 242e4a8..489b9bb 100644 --- a/pc4mobx/organization/stores/jobgrade.js +++ b/pc4mobx/organization/stores/jobgrade.js @@ -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,