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;
// 体验版