From a09205214e5cb6803563cb06c6d9f58d68916b73 Mon Sep 17 00:00:00 2001
From: xusd <hugeinfo123>
Date: Mon, 16 Sep 2024 22:11:21 +0800
Subject: [PATCH] 调整网格调整,修正头部head数据传输逻辑
---
gz-wxparty/pages/myRegisterFlow/index.js | 27 ++++++++++++++++++++++++++-
1 files changed, 26 insertions(+), 1 deletions(-)
diff --git a/gz-wxparty/pages/myRegisterFlow/index.js b/gz-wxparty/pages/myRegisterFlow/index.js
index d1d39b8..61cb9b7 100644
--- a/gz-wxparty/pages/myRegisterFlow/index.js
+++ b/gz-wxparty/pages/myRegisterFlow/index.js
@@ -2,6 +2,16 @@
const $$ = require('../../utils/util');
const app = getApp();
+// 详情接口
+function getByIdApi(param) {
+ return $$.request({
+ url: 'caseTask/listCaseFlow',
+ type: 'get',
+ submitData: param || {},
+ service: 'mediate'
+ })
+}
+
Page({
/**
@@ -38,10 +48,25 @@
]
},
+ // 获取纠纷案件详情
+ async getById(data) {
+ $$.showLoading();
+ const res = await getByIdApi({
+ caseId: data.caseId
+ });
+ $$.hideLoading();
+ if (res.type) {
+ let data = res.data || [];
+ this.setData({
+ flows: data
+ });
+ }
+ },
+
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
-
+ this.getById(options);
},
})
\ No newline at end of file
--
Gitblit v1.8.0