From 3613bd23b6126ce09093b9269f557019fbf10d1b Mon Sep 17 00:00:00 2001 From: wangxia <779219182@qq.com> Date: Fri, 29 Aug 2025 18:30:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- root/NEUIKit/pages/Chat/index.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/root/NEUIKit/pages/Chat/index.vue b/root/NEUIKit/pages/Chat/index.vue index 00908e6..2eff01d 100644 --- a/root/NEUIKit/pages/Chat/index.vue +++ b/root/NEUIKit/pages/Chat/index.vue @@ -481,6 +481,9 @@ const checkLength = (e) => { const handleUpdateTab = (e) => { console.log(e); tabInfo.value.active = e; + uni.showLoading({ + title: "加载中...", + }); if (e == 0 || e == 2) { getList(); } else { @@ -491,7 +494,7 @@ const getSeenList = () => {}; const agencyIdByAccId = () => { let accid = conversationId.split("|")[2]; return new Promise((reso) => { - G.Post(api.get_AgencyIdByAccId, { accid }, (res) => { + G.Get(api.get_AgencyIdByAccId, { accid }, (res) => { reso(res); }); }); @@ -503,6 +506,7 @@ const searchJob = () => { }; const getList = ($type = "init") => { loading.value = true; + let parmas = { pageNum: query.value.page, pageSize: query.value.size, @@ -517,9 +521,11 @@ const getList = ($type = "init") => { parmas.classify = 3; parmas.beCollectedAgencyId = beCollectedAgencyId.value; } - G.Post(api.job_list, {}, (res) => { + console.log("parmas", parmas); + G.Post(api.job_list, parmas, (res) => { console.log("res", res); loading.value = false; + uni.hideLoading(); speed.value = res.recordCount; query.value.isFinish = res.recordList.length; console.log("query.value", query.value);