Commit 6216c5dd by sunchao

退还积分&配置项添加通用链接

parent 7cd97c70
...@@ -181,7 +181,7 @@ ...@@ -181,7 +181,7 @@
if(res['success']){ if(res['success']){
this.userId = String(res['data']['userId']); this.userId = String(res['data']['userId']);
uni.setStorageSync('isLogin','1') uni.setStorageSync('isLogin','1')
uni.setStorageSync('cffp_userId',this.userId) uni.setStorageSync('cffp_userId',this.userId);
uni.navigateTo({ uni.navigateTo({
url:'/pages/index/index' url:'/pages/index/index'
}) })
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
"name" : "CFFP财富中心", "name" : "CFFP财富中心",
"appid" : "__UNI__ED34740", "appid" : "__UNI__ED34740",
"description" : "", "description" : "",
"versionName" : "1.1.12",
"versionCode" : "102", "versionCode" : "102",
"transformPx" : false, "transformPx" : false,
/* 5+App特有相关 */ /* 5+App特有相关 */
...@@ -54,14 +53,19 @@ ...@@ -54,14 +53,19 @@
/* ios打包配置 */ /* ios打包配置 */
"ios" : { "ios" : {
"dSYMs" : false, "dSYMs" : false,
"urltypes" : "cffpapp,hbuilder" "urltypes" : "cffpapp,hbuilder",
"capabilities" : {
"entitlements" : {
"com.apple.developer.associated-domains" : [ "applinks:mcffp.anjibao.cn" ]
}
}
}, },
/* SDK配置 */ /* SDK配置 */
"sdkConfigs" : { "sdkConfigs" : {
"share" : { "share" : {
"weixin" : { "weixin" : {
"appid" : "wxec09b9be6cff4eb3", "appid" : "wxec09b9be6cff4eb3",
"UniversalLinks" : "" "UniversalLinks" : "https://mcffp.anjibao.cn/uni-universallinks/__UNI__ED34740/"
} }
}, },
"ad" : {}, "ad" : {},
...@@ -72,13 +76,13 @@ ...@@ -72,13 +76,13 @@
"weixin" : { "weixin" : {
"__platform__" : [ "ios", "android" ], "__platform__" : [ "ios", "android" ],
"appid" : "wxec09b9be6cff4eb3", "appid" : "wxec09b9be6cff4eb3",
"UniversalLinks" : "" "UniversalLinks" : "https://mcffp.anjibao.cn/uni-universallinks/__UNI__ED34740/"
} }
}, },
"oauth" : { "oauth" : {
"weixin" : { "weixin" : {
"appid" : "wxec09b9be6cff4eb3", "appid" : "wxec09b9be6cff4eb3",
"UniversalLinks" : "" "UniversalLinks" : "https://mcffp.anjibao.cn/uni-universallinks/__UNI__ED34740/"
} }
} }
}, },
...@@ -142,5 +146,7 @@ ...@@ -142,5 +146,7 @@
} }
} }
} }
} },
"_spaceID" : "mp-68e17e23-e517-4839-8210-27480303cc51",
"versionName" : "1.1.12"
} }
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
</view> </view>
<view> <view>
<text>退还积分:</text> <text>退还积分:</text>
<text>{{courseInfoItem.salesCommission}}</text> <text>{{courseInfoItem.refundIntegralExchange}}</text>
</view> </view>
<view> <view>
<text>退款原因:</text> <text>退款原因:</text>
......
...@@ -41,6 +41,11 @@ ...@@ -41,6 +41,11 @@
</view> </view>
</picker> </picker>
</view> </view>
<view class="contentItem" v-if="applyParam.partnerLevel == 'B1'">
<text>工作室名称</text>
<input type="text" class="form-control" v-model="applyParam.b1Name" placeholder="请输入工作室名称"
:disabled="this.applyParam.approvalStatus!= 0 && this.applyParam.approvalStatus != 2"/>
</view>
<view class="contentItem"> <view class="contentItem">
<text>所属组织</text> <text>所属组织</text>
<picker @change="changeArea" :value="areaIdIdx" :range="cffpAreaQuerys" <picker @change="changeArea" :value="areaIdIdx" :range="cffpAreaQuerys"
...@@ -115,14 +120,19 @@ ...@@ -115,14 +120,19 @@
idNo:'', idNo:'',
birthday:'', birthday:'',
areaId:'', areaId:'',
approvalStatus:0 approvalStatus:0,
b1Name:''
// birthday:`${new Date().getFullYear()}-${new Date().getMonth() + 1} -${new Date().getDate()}`, // birthday:`${new Date().getFullYear()}-${new Date().getMonth() + 1} -${new Date().getDate()}`,
}, },
idTypesList:[{id:null,name:'请选择'}], idTypesList:[{id:null,name:'请选择'}],
idTypeIdx:0, idTypeIdx:0,
maxDate:`${new Date().getFullYear()}-${new Date().getMonth() + 1}`, maxDate:`${new Date().getFullYear()}-${new Date().getMonth() + 1}`,
cffpAreaQuerys:[{areaId:null,areaName:"请选择所属组织",levelOrder:null}], cffpAreaQuerys:[{areaId:null,areaName:"请选择所属组织",levelOrder:null}],
areaIdIdx:0 areaIdIdx:0,
cffp_userInfo:{
name:'',
mobile:''
}
} }
}, },
components:{}, components:{},
...@@ -135,6 +145,11 @@ ...@@ -135,6 +145,11 @@
if(!uni.getStorageSync('applyId') && options.shareId){ if(!uni.getStorageSync('applyId') && options.shareId){
this.queryById(options.id,null) this.queryById(options.id,null)
} }
this.cffp_userInfo = uni.getStorageSync('cffp_userInfo');
if(this.cffp_userInfo){
this.applyParam.name = JSON.parse(uni.getStorageSync('cffp_userInfo'))['name'];
this.applyParam.mobileNumber = JSON.parse(uni.getStorageSync('cffp_userInfo'))['mobile'];
}
}, },
mounted() { mounted() {
setTimeout(()=>{ setTimeout(()=>{
...@@ -236,7 +251,6 @@ ...@@ -236,7 +251,6 @@
}, },
queryById(id,userId){ queryById(id,userId){
api.queryById({id:id,userId:userId}).then((res)=>{ api.queryById({id:id,userId:userId}).then((res)=>{
console.log(res)
if(res['success']){ if(res['success']){
this.applyParam = res['data']['data']; this.applyParam = res['data']['data'];
for(let i=0;i<this.idTypesList.length;i++){ for(let i=0;i<this.idTypesList.length;i++){
...@@ -277,6 +291,17 @@ ...@@ -277,6 +291,17 @@
icon: 'none' icon: 'none'
}) })
return; return;
}else{
if(this.applyParam.partnerLevel == 'B1'){
if(!this.applyParam.b1Name){
uni.showToast({
title: '申请身份为工作室时,工作室名称必填!',
duration: 2000,
icon: 'none'
})
return;
}
}
} }
if(!this.applyParam.idType){ if(!this.applyParam.idType){
uni.showToast({ uni.showToast({
......
...@@ -114,6 +114,11 @@ ...@@ -114,6 +114,11 @@
this.cffpUserInfo = res['data']; this.cffpUserInfo = res['data'];
// this.cffpUserInfo.logo = res['logo']; // this.cffpUserInfo.logo = res['logo'];
uni.setStorageSync('fileUploadItemCFFPList',this.cffpUserInfo['fileUploadItemCFFPList']) uni.setStorageSync('fileUploadItemCFFPList',this.cffpUserInfo['fileUploadItemCFFPList'])
const cffp_userInfo = {
name:this.cffpUserInfo['userReName'],
mobile:this.cffpUserInfo['mobile']
}
uni.setStorageSync('cffp_userInfo',JSON.stringify(cffp_userInfo))
}else{ }else{
uni.showToast({ uni.showToast({
title: res['message'], title: res['message'],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment