cyl/master-0822
wangxia 3 months ago
parent 43a6e02881
commit 3613bd23b6

@ -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);

Loading…
Cancel
Save