From 52aa9f64e5dea1c0e30bc1094fa580c3851d8f9d Mon Sep 17 00:00:00 2001 From: zhangyongtian <1181606322@qq.com> Date: Sat, 14 Sep 2024 18:02:38 +0800 Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/gzzfw/frontEnd/gzDyh --- 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