From 9a3164e38691cb3fd2ae91e9f922dda224e140bc Mon Sep 17 00:00:00 2001 From: Chengliang <1546584672@qq.com> Date: Thu, 3 Nov 2022 14:33:55 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/organization/stores/managerDetach.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pc4mobx/organization/stores/managerDetach.js b/pc4mobx/organization/stores/managerDetach.js index 6f3e7a4..3af8f26 100644 --- a/pc4mobx/organization/stores/managerDetach.js +++ b/pc4mobx/organization/stores/managerDetach.js @@ -61,8 +61,10 @@ export class ManagerDetachStore { Api.getSearchList(params).then(res => { if (res.code === 200) { this.setHasRight(res.data.hasRight); - this.isDetach = res.data.isDetach; - isOnChange ? this.tableStore.getDatas(res.data.datas, current) : this.tableStore.getDatas(res.data.datas,1); + if(res.data.hasRight) { + this.isDetach = res.data.isDetach; + isOnChange ? this.tableStore.getDatas(res.data.datas, current) : this.tableStore.getDatas(res.data.datas,1); + } } else { message.warning(res.msg); } From 3b4592adb5524bcd069669c6578d35748c35f4c4 Mon Sep 17 00:00:00 2001 From: Chengliang <1546584672@qq.com> Date: Tue, 8 Nov 2022 09:49:45 +0800 Subject: [PATCH 2/2] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/newImport/stepContent.js | 20 +++++++++++-------- pc4mobx/organization/stores/adareaset.js | 0 pc4mobx/organization/stores/newImport.js | 12 +++++++++-- 3 files changed, 22 insertions(+), 10 deletions(-) delete mode 100644 pc4mobx/organization/stores/adareaset.js diff --git a/pc4mobx/organization/components/newImport/stepContent.js b/pc4mobx/organization/components/newImport/stepContent.js index 61301f6..072975f 100644 --- a/pc4mobx/organization/components/newImport/stepContent.js +++ b/pc4mobx/organization/components/newImport/stepContent.js @@ -233,14 +233,18 @@ export default class StepDialog extends React.Component { return (
注意:右侧列表默认加载的为必填字段!!!
+