Commit 6216c5dd by sunchao

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

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