From 1f2cd35dd0724e859dbba52bf35299f9c2985d63 Mon Sep 17 00:00:00 2001 From: dengyinhuan Date: Fri, 4 Aug 2023 19:31:34 +0800 Subject: [PATCH 01/14] =?UTF-8?q?=E8=B7=AF=E6=94=BF=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E8=B7=B3=E8=BD=AC=E5=88=B0=E7=AC=AC=E4=B8=80?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/client/src/sections/fillion/containers/luzheng.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/web/client/src/sections/fillion/containers/luzheng.js b/web/client/src/sections/fillion/containers/luzheng.js index 57cba564..01fc708b 100644 --- a/web/client/src/sections/fillion/containers/luzheng.js +++ b/web/client/src/sections/fillion/containers/luzheng.js @@ -51,7 +51,8 @@ function Assess(props) { const getData = () => { setLoading(true) - dispatch(getRoadadministration(query)).then(res => { + console.log(query,'query') + dispatch(getRoadadministration({...query})).then(res => { if(res?.success){ setdatasource(res?.payload?.data?.rows) settotal(res?.payload?.data?.count) @@ -146,8 +147,10 @@ function Assess(props) { setLoading(true) dispatch(delRoadadministration(record.id)).then(res => { setLoading(false) + if (res.success) { - getData() + setQuery({...query, page: 1, pageSize: 10, limit: 10}) + // getData(page) } }) }} @@ -165,6 +168,7 @@ function Assess(props) { defaultPageSize: 10, showSizeChanger: false, onChange: (page, pageSize) => { + console.log(page,'page') setQuery({ ...query, page, limit: pageSize From f50bf1b949178ca6cf4d6ffc45fc61155452a478 Mon Sep 17 00:00:00 2001 From: dengyinhuan Date: Fri, 4 Aug 2023 19:33:18 +0800 Subject: [PATCH 02/14] =?UTF-8?q?=E8=B7=AF=E6=94=BF=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E5=88=B0=E7=AC=AC=E4=B8=80=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/client/src/sections/fillion/containers/luzheng.js | 1 - 1 file changed, 1 deletion(-) diff --git a/web/client/src/sections/fillion/containers/luzheng.js b/web/client/src/sections/fillion/containers/luzheng.js index 01fc708b..d09f3825 100644 --- a/web/client/src/sections/fillion/containers/luzheng.js +++ b/web/client/src/sections/fillion/containers/luzheng.js @@ -147,7 +147,6 @@ function Assess(props) { setLoading(true) dispatch(delRoadadministration(record.id)).then(res => { setLoading(false) - if (res.success) { setQuery({...query, page: 1, pageSize: 10, limit: 10}) // getData(page) From 06b074ab32f354aff50203e61e1fea93dabd9c37 Mon Sep 17 00:00:00 2001 From: liujiangyong Date: Fri, 4 Aug 2023 19:47:17 +0800 Subject: [PATCH 03/14] =?UTF-8?q?=E5=B7=B2=E5=8A=9E=E4=BA=8B=E9=A1=B9=20?= =?UTF-8?q?=E9=83=A8=E9=97=A8-=E8=B4=A3=E4=BB=BB=E4=BA=BA=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- weapp/src/packages/patrol/index.jsx | 83 ++++++++++++----------------- 1 file changed, 35 insertions(+), 48 deletions(-) diff --git a/weapp/src/packages/patrol/index.jsx b/weapp/src/packages/patrol/index.jsx index 1cfbe228..aad264a0 100644 --- a/weapp/src/packages/patrol/index.jsx +++ b/weapp/src/packages/patrol/index.jsx @@ -1443,53 +1443,36 @@ const Index = () => { { isSuperAdmin && (wait === 'wait' || kind === 'handle') && { - handleState === '待处理' ? // 管理员指派 - <> - { - setIsAppoint(e.detail.value === '指派' ? true : false) - }}> - 指派 - 不处理 - - { - isAppoint && <> - - 责任人:{appointUser !== null ? userList[appointUser]?.name : ''} - setAppointUser(Number(e.detail.value))} - > - - - -