From 68f41dad70cc9c90b87258d91300576d7f5682e7 Mon Sep 17 00:00:00 2001 From: liuwh <964324856@qq.com> Date: Sat, 14 Sep 2024 15:58:38 +0800 Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/gzzfw/frontEnd/gzDyh into master --- 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