From 9dc9c90b7750e97323e7e7bc43622cdaa253361f Mon Sep 17 00:00:00 2001 From: ww664853070 Date: Tue, 28 Feb 2023 14:45:59 +0800 Subject: [PATCH] =?UTF-8?q?(*)=E6=B7=BB=E5=8A=A0=E5=9C=A8=E8=81=8C?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E8=BF=87=E6=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../salersDistribution/personnelDistribution.jsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/web/client/src/sections/humanAffairs/containers/salersDistribution/personnelDistribution.jsx b/web/client/src/sections/humanAffairs/containers/salersDistribution/personnelDistribution.jsx index a40df0c..783b9dd 100644 --- a/web/client/src/sections/humanAffairs/containers/salersDistribution/personnelDistribution.jsx +++ b/web/client/src/sections/humanAffairs/containers/salersDistribution/personnelDistribution.jsx @@ -12,6 +12,7 @@ const PersonnelDistribution = (props) => { const { dispatch, actions } = props const { humanAffairs } = actions; const [keywordTarget, setKeywordTarget] = useState('dep'); + const [job, setJob] = useState('in'); const [keyword, setKeyword] = useState('');//搜索内容 const [limits, setLimits] = useState()//每页实际条数 const [query, setQuery] = useState({ limit: 10, page: 0 }); //页码信息 @@ -37,7 +38,7 @@ const PersonnelDistribution = (props) => { let kt = keywordTarget == 'place' ? '' : keywordTarget; let k = keywordTarget == 'place' ? '' : keyword; let placeSearch = keywordTarget == 'place' ? keyword : ''; - dispatch(humanAffairs.getSalesList({ keywordTarget: kt, keyword: k, placeSearch, ...query })).then(r => { + dispatch(humanAffairs.getSalesList({ keywordTarget: kt, keyword: k, job, placeSearch, ...query })).then(r => { if (r.success) { setTableData(r.payload?.data?.rows); setLimits(r.payload?.data?.count) @@ -227,6 +228,13 @@ const PersonnelDistribution = (props) => { 地区 +
+ +
} showClear