From b4a966ea20bce5566ff4fab96b44b799a34cd399 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Fri, 27 Sep 2024 15:32:21 +0800 Subject: [PATCH] =?UTF-8?q?feature/2.15.1.2407.01-=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/hrmSalary/apis/taxAgent.js | 8 ++ .../components/customBrowserDialog.js | 68 ++++++++------ .../components/CustomBrowser/index.less | 33 +++++-- .../roleManagement/components/index.less | 19 ++++ .../roleDetailSetDialog/detailDialog.js | 92 +++++++++++++++++++ .../components/roleDetailSetDialog/index.js | 37 ++++++-- .../hrmSalary/pages/roleManagement/index.js | 29 +++++- 7 files changed, 237 insertions(+), 49 deletions(-) create mode 100644 pc4mobx/hrmSalary/pages/roleManagement/components/roleDetailSetDialog/detailDialog.js diff --git a/pc4mobx/hrmSalary/apis/taxAgent.js b/pc4mobx/hrmSalary/apis/taxAgent.js index 20997a2b..1d1509fc 100644 --- a/pc4mobx/hrmSalary/apis/taxAgent.js +++ b/pc4mobx/hrmSalary/apis/taxAgent.js @@ -160,3 +160,11 @@ export const getAuthOptTree = (params) => { export const getRole = (params) => { return WeaTools.callApi("/api/bs/hrmsalary/auth/role/getRole", "GET", params); }; +//成员明细列表 +export const authMemberDetail = (params) => { + return postFetch("/api/bs/hrmsalary/auth/member/detail", params); +}; +//数据明细列表 +export const authDataDetail = (params) => { + return postFetch("/api/bs/hrmsalary/auth/data/detail", params); +}; diff --git a/pc4mobx/hrmSalary/components/CustomBrowser/components/customBrowserDialog.js b/pc4mobx/hrmSalary/components/CustomBrowser/components/customBrowserDialog.js index 9eabe37a..4cb5a125 100644 --- a/pc4mobx/hrmSalary/components/CustomBrowser/components/customBrowserDialog.js +++ b/pc4mobx/hrmSalary/components/CustomBrowser/components/customBrowserDialog.js @@ -97,7 +97,6 @@ class CustomBrowserDialog extends Component { } } }; - onLeftListCheck = (keys, datas) => { const { leftListSelectedData } = this.state; let targets = leftListSelectedData.concat(datas); @@ -154,6 +153,31 @@ class CustomBrowserDialog extends Component { } return bool; }; + renderTitle = () => { + const { dialogType, searchParamsKey, isSingle } = this.props, { + query, pageInfo, selectedRowKeys, singleFilterVal + } = this.state; + return (