From 04102f7237efefa744090ed7c25f7b5d0807b679 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Thu, 05 Feb 2026 18:11:57 +0800
Subject: [PATCH] 完成运营中心提现和运营中心权限管理
---
mobile/pages/user/modify-real/modify-real.vue | 54 +++++++++++++++++++++++++++++-------------------------
1 files changed, 29 insertions(+), 25 deletions(-)
diff --git a/mobile/pages/user/modify-real/modify-real.vue b/mobile/pages/user/modify-real/modify-real.vue
index 7fd764f..0a2f8b5 100644
--- a/mobile/pages/user/modify-real/modify-real.vue
+++ b/mobile/pages/user/modify-real/modify-real.vue
@@ -477,32 +477,35 @@
self._get('user.auth/detail', {}, function(res) {
if(res.code == 1){
var data = res.data.data;
- self.formData = data;
- self.legal_person_id_card_front_photo = data.idCardFrontPhoto.file_path;
- self.legal_person_id_card_back_photo = data.idCardBackPhoto.file_path;
- if(data.licensePhoto){
- self.license_photo = data.licensePhoto.file_path;
+ if(data){
+ self.formData = data;
+ self.legal_person_id_card_front_photo = data.idCardFrontPhoto?data.idCardFrontPhoto.file_path:'';
+ self.legal_person_id_card_back_photo = data.idCardBackPhoto.file_path;
+ if(data.licensePhoto){
+ self.license_photo = data.licensePhoto.file_path;
+ }
+ if(data.settlementIdCardFrontPhoto){
+ self.settlement_person_id_card_front_photo = data.settlementIdCardFrontPhoto.file_path;
+ }
+ if(data.settlementIdCardBackPhoto){
+ self.settlement_person_id_card_back_photo = data.settlementIdCardBackPhoto.file_path;
+ }
+ if(data.bankCardPhoto){
+ self.bank_card_photo = data.bankCardPhoto.file_path;
+ }
+ if(data.storeFrontPhoto){
+ self.store_front_img_url = data.storeFrontPhoto.file_path;
+ }
+ if(data.storeCashPhoto){
+ self.store_cash_photo = data.storeCashPhoto.file_path;
+ }
+ if(data.storeEnvPhoto){
+ self.store_env_photo = data.storeEnvPhoto.file_path;
+ }
+ var business_type_list = self.business_type_list;
+ self.business_type_active = business_type_list[data.business_type];
}
- if(data.settlementIdCardFrontPhoto){
- self.settlement_person_id_card_front_photo = data.settlementIdCardFrontPhoto.file_path;
- }
- if(data.settlementIdCardBackPhoto){
- self.settlement_person_id_card_back_photo = data.settlementIdCardBackPhoto.file_path;
- }
- if(data.bankCardPhoto){
- self.bank_card_photo = data.bankCardPhoto.file_path;
- }
- if(data.storeFrontPhoto){
- self.store_front_img_url = data.storeFrontPhoto.file_path;
- }
- if(data.storeCashPhoto){
- self.store_cash_photo = data.storeCashPhoto.file_path;
- }
- if(data.storeEnvPhoto){
- self.store_env_photo = data.storeEnvPhoto.file_path;
- }
- var business_type_list = self.business_type_list;
- self.business_type_active = business_type_list[data.business_type];
+
}
uni.hideLoading();
});
@@ -587,6 +590,7 @@
},
/* 下拉框 */
changeSelect(e) {
+ console.log(this.formData);
this.formData.business_type= e.detail.value;
this.business_type_active= this.business_type_list[e.detail.value];
//如选择个人,则结算账户类型改为对私
--
Gitblit v1.9.2