From 26c01a6dbdd038d9735aaa89b86455b3cf0d32b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=88=B1=7E=E6=B5=B7=7E=E7=88=B1=E6=B5=B7=E7=88=B1?=
 =?UTF-8?q?=E6=B5=B7=7E=E5=8F=B3?= <1828712314@qq.com>
Date: Tue, 8 Apr 2025 08:10:53 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A1=B5=E9=9D=A2=E5=8A=A0?=
 =?UTF-8?q?=E8=BD=BD=E4=BD=93=E9=AA=8C=EF=BC=8C=E8=B0=83=E6=95=B4=E7=A9=BA?=
 =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=8D=A0=E4=BD=8D=E7=AC=A6=E5=92=8C=E6=8C=89?=
 =?UTF-8?q?=E9=92=AE=E6=96=87=E6=A1=88=EF=BC=8C=E6=9B=B4=E6=96=B0=E5=9F=BA?=
 =?UTF-8?q?=E7=A1=80URL=E9=85=8D=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 config.js          |  4 ++--
 pages/index.vue    | 14 ++++++++------
 pages/login.vue    |  4 +---
 pages/owner.vue    |  7 ++++++-
 sub/owner/edit.vue |  4 +++-
 5 files changed, 20 insertions(+), 13 deletions(-)

diff --git a/config.js b/config.js
index b061899..d5bebd5 100644
--- a/config.js
+++ b/config.js
@@ -2,8 +2,8 @@
 module.exports = {
 	// baseUrl: 'http://188.188.5.188:48080',
 	// baseUrl: 'https://www.jzce.com',
-	// baseUrl: 'https://yxsthj.cn',
-	baseUrl: 'http://188.188.3.232:48080',
+	baseUrl: 'https://yxsthj.cn',
+	// baseUrl: 'http://188.188.3.232:48080',
 	// baseUrl: 'http://localhost:48080',
 	baseApi: '/admin-api',
 	// 应用信息
diff --git a/pages/index.vue b/pages/index.vue
index cfcfce8..dc835fd 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -168,7 +168,11 @@
             </view>
           </view>
           <view style="min-height: 440rpx">
-            <cs-emty marginTop="0" v-if="list.length == 0" height="400rpx"></cs-emty>
+            <cs-emty
+              marginTop="0"
+              v-if="list.length == 0"
+              height="400rpx"
+            ></cs-emty>
             <view
               v-for="(item, index) in list"
               :key="index"
@@ -234,9 +238,6 @@ export default {
   },
   onLoad: async function () {
     await uni.hideTabBar()
-    uni.hideTabBar({
-      animation: false
-    })
     await this.getDict()
     await this.init()
   },
@@ -282,7 +283,9 @@ export default {
           }
         })
       ]
-      this.queryParams.region = this.dropOption.area[0].value
+      if (this.dropOption.area.length > 0) {
+        this.queryParams.region = this.dropOption.area[0].value
+      }
     },
     async init() {
       if (this.queryParams.region) {
@@ -307,7 +310,6 @@ export default {
         this.setPieData(data, this.detail.taskCompletionRate)
         this.getList()
       }
-      
     },
     async getList() {
       const res = await HomeApi.getListData(this.queryParams)
diff --git a/pages/login.vue b/pages/login.vue
index 9d52a7a..5c53be6 100644
--- a/pages/login.vue
+++ b/pages/login.vue
@@ -31,8 +31,7 @@ export default {
   methods: {
     // 初始化应用
     async initApp() {
-      await uni.hideTabBar()
-      uni.hideTabBar({
+      await uni.hideTabBar({
         animation: false
       })
       if (!getOpenId()) {
@@ -114,7 +113,6 @@ export default {
         })
         return
       }
-      
 
       uni.switchTab({
         url: '/pages/owner'
diff --git a/pages/owner.vue b/pages/owner.vue
index f8f6780..549cb46 100644
--- a/pages/owner.vue
+++ b/pages/owner.vue
@@ -49,7 +49,7 @@
           <u-icon name="arrow-right"></u-icon>
         </view> -->
         <view class="row">
-          <view class="notice-wrapper"  v-if="noticeTotal > 0">
+          <view class="notice-wrapper" v-if="noticeTotal > 0">
             <u-count-to
               :startVal="0"
               :endVal="policyTotal"
@@ -179,6 +179,11 @@ export default {
     }
   },
   computed: {},
+  async onLoad() {
+    await uni.hideTabBar({
+      animation: false
+    })
+  },
   onShow() {
     this.init()
   },
diff --git a/sub/owner/edit.vue b/sub/owner/edit.vue
index 0161232..ceb62a6 100644
--- a/sub/owner/edit.vue
+++ b/sub/owner/edit.vue
@@ -103,7 +103,9 @@
         <button class="button audit" v-if="form.audit == 1">
           {{ $dict.echoDicValue(dictMap.user_audit_type, form.audit) }}
         </button>
-        <button class="button submit" @click="submit" v-else>提交</button>
+        <button class="button submit" @click="submit" v-else>
+          提交申请
+        </button>
       </view>
     </view>
     <u-picker