From 208b5a9f559dd2c7298759fdfe37d07c926cbd4d Mon Sep 17 00:00:00 2001
From: zhangwei <1504152376@qq.com>
Date: 星期一, 23 九月 2024 17:09:21 +0800
Subject: [PATCH] 完善提现

---
 src/pages/company/index.vue |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/src/pages/company/index.vue b/src/pages/company/index.vue
index 82fdbd2..7a24b95 100644
--- a/src/pages/company/index.vue
+++ b/src/pages/company/index.vue
@@ -38,7 +38,7 @@
 								鎵撳崱璁板綍锛歿{item.dakaMingxi}}
 							</view>
 						</view>
-						
+
 						<view class="chuany-flex chuany-justify-between chuany-flex-wrap text-69 c-p-t-8">
 							<view class="chuany-width48">
 								<text>
@@ -82,8 +82,9 @@
 							</view>
 							<view class="chuany-width48 c-p-t-8">
 								<view class="chuany-width10">
-									<up-button class="button-layout__item" :text="item.isShenPiName!=='宸茬粨绠�'?'纭':'淇敼'" size="mini"
-										:loading='item.isLoading' :loadingText="item.isShenPiName!=='宸茬粨绠�'?'纭涓�':'淇敼涓�'"
+									<up-button class="button-layout__item" :text="item.isShenPiName!=='宸茬粨绠�'?'纭':'淇敼'"
+										size="mini" :loading='item.isLoading'
+										:loadingText="item.isShenPiName!=='宸茬粨绠�'?'纭涓�':'淇敼涓�'"
 										@tap.stop='saveDakaDetailCompany(item)' type="warning"></up-button>
 								</view>
 							</view>
@@ -156,15 +157,15 @@
 					obj.workCount = item.workCount
 				}
 				item.isLoading = true
-				console.log(item.isShenPiName,'item.isShenPiName鈥�');
+				console.log(item.isShenPiName, 'item.isShenPiName鈥�');
 				this.$api.saveDakaDetailCompany(obj).then(res => {
 					if (res.code == 1) {
 						this.$util.showToast({
-							title: item.isShenPiName=='宸茬粨绠�'?'淇敼鎴愬姛锛�':'纭鎴愬姛锛�',
+							title: item.isShenPiName == '宸茬粨绠�' ? '淇敼鎴愬姛锛�' : '纭鎴愬姛锛�',
 							icon: 'success'
 						})
 						this.PostMyComDakaListPage();
-					}else {
+					} else {
 						this.$util.showToast({
 							title: res.error ? res.error : '澶辫触锛�'
 						})
@@ -199,10 +200,10 @@
 						if (this.pageIndex == 1) {
 							this.viewList = res.data.items
 						} else {
-							this.viewList.concat(...res.data.items)
+							this.viewList = this.viewList.concat(...res.data.items)
 						}
 						console.log(this.viewList, this.viewList.length, 'this.viewList');
-						this.viewList.forEach(item=>{
+						this.viewList.forEach(item => {
 							item.isLoading = false
 						})
 						// totalPages.value = res.data.totalCount

--
Gitblit v1.9.1