diff --git a/pc4mobx/organization/components/job/Job.js b/pc4mobx/organization/components/job/Job.js index c4eaf64..3d6ce54 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-06-07 16:44:49 + * @LastEditTime: 2022-06-08 16:03:50 * @Description: * @FilePath: /trunk/src4js/pc4mobx/organization/components/job/Job.js */ @@ -310,11 +310,9 @@ export default class Job extends React.Component { c.render = function (text, record) { const menu = ( - { - record.isUsed === 0 ? - { _this.doDel(record.id) }}>删除 - : '' - } + + { _this.doDel(record.id) }}>删除 + { _this.select(record.id) }}>联查人员 diff --git a/pc4mobx/organization/stores/job.js b/pc4mobx/organization/stores/job.js index 72764ec..306b269 100644 --- a/pc4mobx/organization/stores/job.js +++ b/pc4mobx/organization/stores/job.js @@ -73,7 +73,7 @@ export class JobStore { params = { ...params, ...this.form.getFormParams(), - compName: this.jobName + jobName: this.jobName }; } else { params = { @@ -273,7 +273,7 @@ export class JobStore { updateFields(val) { this.form.updateFields({ - compName: { + jobName: { value: val } });