From 74879c046d85a9e23e0b727ff34adebb7ec72436 Mon Sep 17 00:00:00 2001 From: Chengliang <1546584672@qq.com> Date: Wed, 8 Jun 2022 16:51:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B2=97=E4=BD=8D=E9=AB=98=E7=BA=A7=E6=90=9C?= =?UTF-8?q?=E7=B4=A2bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/organization/components/job/Job.js | 10 ++++------ pc4mobx/organization/stores/job.js | 4 ++-- 2 files changed, 6 insertions(+), 8 deletions(-) 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 } });