From b39c972062c4d95554db7207aa4c9eb93d3adae8 Mon Sep 17 00:00:00 2001 From: liuwh <964324856@qq.com> Date: Sat, 14 Sep 2024 15:58:37 +0800 Subject: [PATCH] 提交 --- 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