From 3a1b7f5a2ae63f2c5c4b12d6dddec54bbf40d2ea Mon Sep 17 00:00:00 2001 From: qiaomu <3520484422@qq.com> Date: Mon, 17 Nov 2025 17:02:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E5=8D=95=E5=88=97=E8=A1=A8=E7=9A=84?= =?UTF-8?q?=E7=A1=AE=E8=AE=A4=E6=94=BE=E5=88=B0=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/workBenchTodoList/index.js | 8 ++++---- pages/workBenchTodoList/index.wxml | 14 ++++++++------ utils/index.js | 4 ++-- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/pages/workBenchTodoList/index.js b/pages/workBenchTodoList/index.js index 6294e96..286bc43 100644 --- a/pages/workBenchTodoList/index.js +++ b/pages/workBenchTodoList/index.js @@ -228,9 +228,7 @@ onMenuSelect(e) { * 生命周期函数--监听页面加载 */ onLoad(options) { - loadingFunc(async () => { - await this.init() - }) + }, /** @@ -244,7 +242,9 @@ onMenuSelect(e) { * 生命周期函数--监听页面显示 */ onShow() { - + loadingFunc(async () => { + await this.init() + }) }, /** diff --git a/pages/workBenchTodoList/index.wxml b/pages/workBenchTodoList/index.wxml index 246edd4..382f1df 100644 --- a/pages/workBenchTodoList/index.wxml +++ b/pages/workBenchTodoList/index.wxml @@ -60,7 +60,13 @@ {{ item.address }} - {{ item.current_user_audit_status === 0 ? "处理中" : "已确认" }} + 确认 + 已确认 @@ -73,11 +79,7 @@ close-on-click-action /> - + diff --git a/utils/index.js b/utils/index.js index 037debd..dfaec5a 100644 --- a/utils/index.js +++ b/utils/index.js @@ -45,10 +45,10 @@ export function getConfigByEnv() { switch (envVersion) { // 开发版 case 'develop': - // api = "http://localhost:8000" + api = "http://localhost:8000" // api = "https://zgd.hbhcbn.com/api3" // TODO: 发布正式时使用此路径 - api = "https://zgd.hbhcbn.com/wxApi" + // api = "https://zgd.hbhcbn.com/wxApi" // api = "http://127.0.0.1:4523/m1/4143821-0-default" break; // 体验版