From d8651b9fc94b92a68d495ca55c90463e23cb2047 Mon Sep 17 00:00:00 2001
From: dminyi <1301963064@qq.com>
Date: Tue, 10 Sep 2024 14:18:09 +0800
Subject: [PATCH] 流程
---
gz-customerSystem/src/views/logAndSign/index.jsx | 4 +-
gz-customerSystem/src/views/register/index.jsx | 55 +++++++++++++++++++++------
gz-customerSystem/src/router/router.js | 4 +-
gz-customerSystem/src/views/register/handleFeedback/component/CaseResult.jsx | 20 ++++++++--
4 files changed, 63 insertions(+), 20 deletions(-)
diff --git a/gz-customerSystem/src/router/router.js b/gz-customerSystem/src/router/router.js
index 6c5ada9..91eaf7e 100644
--- a/gz-customerSystem/src/router/router.js
+++ b/gz-customerSystem/src/router/router.js
@@ -2,8 +2,8 @@
* @Company: hugeInfo
* @Author: ldh
* @Date: 2022-03-28 11:22:41
- * @LastEditTime: 2024-09-10 10:14:40
- * @LastEditors: lwh
+ * @LastEditTime: 2024-09-10 14:15:11
+ * @LastEditors: dminyi 1301963064@qq.com
* @Version: 1.0.0
* @Description: 路由
*/
diff --git a/gz-customerSystem/src/views/logAndSign/index.jsx b/gz-customerSystem/src/views/logAndSign/index.jsx
index 8312194..d81e9cc 100644
--- a/gz-customerSystem/src/views/logAndSign/index.jsx
+++ b/gz-customerSystem/src/views/logAndSign/index.jsx
@@ -113,7 +113,7 @@
const res = await switchRoleApi({ roleCode: ctUseroleList[0]?.roleCode });
if (res.type) {
$$.setSessionStorage('customerSystemToken', res.data);
- navigate('/mediate/workbench');
+ navigate('/mediate/visit/visitWorkBench');
}
} else {
returnLogStatus(true);
@@ -205,7 +205,7 @@
global.setSpinning(false);
if (res.type) {
$$.setSessionStorage('customerSystemToken', res.data);
- navigate('/mediate/workbench');
+ navigate('/mediate/visit/visitWorkBench');
}
}
diff --git a/gz-customerSystem/src/views/register/handleFeedback/component/CaseResult.jsx b/gz-customerSystem/src/views/register/handleFeedback/component/CaseResult.jsx
index f5c29ad..5e4f293 100644
--- a/gz-customerSystem/src/views/register/handleFeedback/component/CaseResult.jsx
+++ b/gz-customerSystem/src/views/register/handleFeedback/component/CaseResult.jsx
@@ -2,7 +2,7 @@
* @Author: dminyi 1301963064@qq.com
* @Date: 2024-09-02 14:49:13
* @LastEditors: dminyi 1301963064@qq.com
- * @LastEditTime: 2024-09-09 22:14:40
+ * @LastEditTime: 2024-09-10 11:46:45
* @FilePath: \gzDyh\gz-customerSystem\src\views\register\handleFeedback\component\CaseResult.jsx
* @Description: 结案申请
*/
@@ -26,7 +26,7 @@
-const CaseResult = ({ visible = false, handleOnCancel, caseResultId, caseId ,caseTaskId}) => {
+const CaseResult = ({ visible = false, handleOnCancel, caseResultId, caseId, caseTaskId }) => {
const formRef = useRef();
const formRefWrite = useRef();
const failRef = useRef();
@@ -110,10 +110,22 @@
}
const windupApply = async (submitData) => {
+ console.log(
+ {
+ mediResultName: selectedTab === '1' ? '化解成功' : '化解不成功',
+ agreeType: value === 1 ? '口头协议' : '书面协议',
+ caseTaskId: caseTaskId,
+ caseId: caseId,
+ caseResultId: caseResultId,
+ ...submitData
+ },'windupApplyData'
+ )
const res = await windupApplyApi({
+ mediResultName: selectedTab === '1' ? '成功' : '不成功',
+ agreeType: value === 1 ? '口头协议' : '书面协议',
caseTaskId: caseTaskId,
- caseId:caseId,
- caseResultId:caseResultId,
+ caseId: caseId,
+ caseResultId: caseResultId,
...submitData
})
if (res.type) {
diff --git a/gz-customerSystem/src/views/register/index.jsx b/gz-customerSystem/src/views/register/index.jsx
index 7291421..7530f0d 100644
--- a/gz-customerSystem/src/views/register/index.jsx
+++ b/gz-customerSystem/src/views/register/index.jsx
@@ -2,7 +2,7 @@
* @Author: dminyi 1301963064@qq.com
* @Date: 2024-09-08 15:14:12
* @LastEditors: dminyi 1301963064@qq.com
- * @LastEditTime: 2024-09-10 10:17:00
+ * @LastEditTime: 2024-09-10 12:19:44
* @FilePath: \gzDyh\gz-customerSystem\src\views\register\index.jsx
* @Description: 工作台
*/
@@ -16,9 +16,9 @@
const TabPane = Tabs.TabPane;
-function pageMyTaskBlApi(data) {
- return $$.ax.request({ url: `caseTask/pageMyTaskBl`, type: 'get', service: 'mediate', data });
-}
+// function pageMyTaskBlApi(data) {
+// return $$.ax.request({ url: `caseTask/pageMyTaskBl`, type: 'get', service: 'mediate', data });
+// }
function getCountListApi(data) {
return $$.ax.request({ url: `caseTask/getCountList`, type: 'get', service: 'mediate', data });
@@ -41,6 +41,11 @@
//办理中
function pageMyTaskBlzApi(data) {
return $$.ax.request({ url: `caseTask/pageMyTaskBlz?page=1&size=10&sortType=1&sortColmn=1&status=1`, type: 'get', service: 'mediate', data });
+}
+
+//待审核
+function pageMyTaskShApi(type) {
+ return $$.ax.request({ url: `caseTask/pageMyTaskSh?page=1&size=10&sortType=1&status=1&type=` + type, type: 'get', service: 'mediate' });
}
//签收
@@ -976,7 +981,16 @@
setFakeData1(res.data?.content)
}
}
+ if (type === '5') {
+ }
+ }
+ const handleSh = async (e) => {
+ console.log(direction, 'direction')
+ const res = await pageMyTaskShApi(e === '回退审核' ? 1 : e === '上报审核' ? 2 : e === '结案申请审核' ? 3 : e === '联合处置审核' ? 4 : null)
+ if (res.type) {
+ setFakeData1(res.data?.content)
+ }
}
const handleColumnType = (type) => {
@@ -995,6 +1009,12 @@
if (type === '1') {
if (tabActivekey === '1') {
setColumnType(fakeColumns3)
+ }
+ }
+
+ if (type === '3') {
+ if (tabActivekey === '4') {
+ setColumnType(backColumn)
}
}
@@ -1036,13 +1056,13 @@
}
}
- const pageMyTaskBl = async () => {
- const res = await pageMyTaskBlApi({ page: 1, size: 10, timeStart: '', timeEnd: '', partyName: '', sortType: '', sortColmn: '' })
- if (res.type) {
- console.log(res.data, 'res.data')
- // setColumn(res.data)
- }
- }
+ // const pageMyTaskBl = async () => {
+ // const res = await pageMyTaskBlApi({ page: 1, size: 10, timeStart: '', timeEnd: '', partyName: '', sortType: '', sortColmn: '' })
+ // if (res.type) {
+ // console.log(res.data, 'res.data')
+ // // setColumn(res.data)
+ // }
+ // }
const getCountList = async () => {
const res = await getCountListApi()
@@ -1111,7 +1131,7 @@
type='button'
name='direction'
value={direction}
- onChange={(e) => setDirection(e)}
+ onChange={(e) => { setDirection(e); handleSh(e) }}
style={{ marginBottom: 16 }}
options={['回退审核', '上报审核', '结案申请审核', '联合处置审核']}
></Radio.Group>
@@ -1166,6 +1186,17 @@
}
>
<Typography.Paragraph>
+ <TableView
+ columns={columnType}
+ dataSource={fakeData1}
+ size="small"
+ rowKey="id"
+ bordered={true}
+ // style={{ marginBottom: '65px', marginTop: '-16px' }}
+ rowSelection={{
+ type: 'Checkbox'
+ }}
+ />
</Typography.Paragraph>
</TabPane>
}
--
Gitblit v1.8.0