From cdd6551b190b981b807a3b95e9635c559ccc769d Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期一, 19 五月 2025 09:45:07 +0800
Subject: [PATCH] git ch
---
wx/pages/addition_subtraction_details/addition_subtraction_details.vue | 65 ++++++++++++++++++++------------
1 files changed, 40 insertions(+), 25 deletions(-)
diff --git a/wx/pages/addition_subtraction_details/addition_subtraction_details.vue b/wx/pages/addition_subtraction_details/addition_subtraction_details.vue
index 9e55257..aaf3137 100644
--- a/wx/pages/addition_subtraction_details/addition_subtraction_details.vue
+++ b/wx/pages/addition_subtraction_details/addition_subtraction_details.vue
@@ -42,8 +42,12 @@
<view class="box_info_list_item_val">{{info.startTime}}~{{info.endTime}}</view>
</view>
<view class="box_info_list_item">
- <view class="box_info_list_item_label">鎵瑰崟鐢熸晥鏈燂細</view>
+ <view class="box_info_list_item_label">鎵瑰鐢熸晥鏃ユ湡锛�</view>
<view class="box_info_list_item_val">{{info.applyStartTime}}</view>
+ </view>
+ <view class="box_info_list_item">
+ <view class="box_info_list_item_label">鎵瑰噺鐢熸晥鏃ユ湡锛�</view>
+ <view class="box_info_list_item_val">{{info.delValidTime}}</view>
</view>
</view>
</view>
@@ -73,6 +77,9 @@
</view>
<view class="item_head_bottom">
韬唤璇佸彿锛歿{item.memberIdcardNo}}
+ </view>
+ <view class="item_head_bottom">
+ 澶囨敞锛歿{item.remark || ''}}
</view>
</view>
<view class="item_x"></view>
@@ -109,7 +116,7 @@
</view>
<!-- 宸查��鍥� -->
<view class="details_footer" v-if="info.status === 5">
- <u-button type="primary" shape="circle" color="#437CB3" @click="show2 = true" :plain="true" text="鍏抽棴璁㈠崟"></u-button>
+ <u-button type="primary" shape="circle" color="#437CB3" @click="show2 = true" :plain="true" text="鍏抽棴鐢宠"></u-button>
</view>
<!-- 寰呯缃� -->
<view class="details_footer" v-if="info.status === 0">
@@ -132,7 +139,7 @@
</view>
<!-- 宸查��鍥� -->
<view class="details_footer" v-if="info.status === 5">
- <u-button type="primary" shape="circle" color="#437CB3" @click="show2 = true" :plain="true" text="鍏抽棴璁㈠崟"></u-button>
+ <u-button type="primary" shape="circle" color="#437CB3" @click="show2 = true" :plain="true" text="鍏抽棴鐢宠"></u-button>
</view>
<!-- 寰呯缃� -->
<view class="details_footer" v-if="info.status === 0">
@@ -145,7 +152,7 @@
</u-modal>
<!-- 鍏抽棴纭寮圭獥 -->
<u-modal :show="show2" title="娓╅Θ鎻愮ず" :showCancelButton="true" cancelText="鎴戝啀鎯虫兂" confirmColor="#437CB3" @cancel="cancel2" @confirm="confirm2">
- 纭鍏抽棴璁㈠崟锛�
+ 纭鍏抽棴鐢宠锛�
</u-modal>
<!-- 绛剧讲鎶曚繚鍗曢獙璇佺爜寮圭獥 -->
<u-modal :show="show1" title="鑾峰彇楠岃瘉鐮�" :showCancelButton="true" confirmColor="#437CB3" @cancel="cancel1" @confirm="confirm1">
@@ -192,7 +199,9 @@
code: '',
num: 0,
error: false,
- timer: null
+ timer: null,
+
+ loading: false
};
},
onLoad(options) {
@@ -243,13 +252,14 @@
},
// 鎵撳紑鍙戦�侀獙璇佺爜寮圭獥
openmessage(type) {
- this.code = ''
- clearInterval(this.timer)
- this.error = ''
- this.timer = null
- this.num = 0
+ // this.code = ''
+ // clearInterval(this.timer)
+ // this.error = ''
+ // this.timer = null
+ // this.num = 0
this.type = type
- this.show1 = true
+ this.confirm1()
+ // this.show1 = true
},
IdCard(UUserCard) {
let idcard = UUserCard.toString();
@@ -316,10 +326,11 @@
},
// 绛剧讲
confirm1() {
- if (!this.code) {
- this.error = 1
- return
- }
+ // if (!this.code) {
+ // this.error = 1
+ // return
+ // }
+ this.loading = true
// 绛剧讲鎶曚繚鍗�
if (this.type === 1) {
console.log('绛剧讲鐢宠鍗�')
@@ -327,21 +338,23 @@
code: this.code
}).then(res => {
if (res.code === 200) {
- this.error = ''
- this.show1 = false
+ // this.error = ''
+ // this.show1 = false
this.$u.api.getJiajianBaoSignLink({ id: this.info.id })
.then(url => {
if (url.code === 200) {
+ this.loading = false
uni.navigateTo({
url: `/pages/webView/webView?url=${encodeURIComponent(url.data)}`
})
}
})
- } else {
- this.error = 2
}
+ // else {
+ // this.error = 2
+ // }
})
- this.show1 = false
+ // this.show1 = false
// 鐢宠鍗�
} else if (this.type === 2) {
this.$u.api.getChangeMemberListOnlineSignLink({
@@ -349,21 +362,23 @@
code: this.code
}).then(res => {
if (res.code === 200) {
- this.error = ''
- this.show1 = false
+ // this.error = ''
+ // this.show1 = false
+ this.loading = false
uni.navigateTo({
url: `/pages/webView/webView?url=${encodeURIComponent(res.data)}`
})
- } else {
- this.error = 2
}
+ // else {
+ // this.error = 2
+ // }
})
}
},
cancel1() {
this.show1 = false
},
- // 鍏抽棴璁㈠崟
+ // 鍏抽棴鐢宠
confirm2() {
this.$u.api.applyChangeOpt({
applyId: this.info.id,
--
Gitblit v1.9.3