Commit f432313f by wenyang

银盾家办1

parent 15ec4116
......@@ -34,9 +34,7 @@
version: wgtinfo.version,
systemType:systemInfo.osName.toLowerCase() === 'ios' ? 2 : 1
},
success: (result) => {
console.log(wgtinfo)
console.log(result)
success: (result) => {
const data = result.data.data['appVersionInfo'];
if (data.status==1 && data.isForceUpdate && data.wgtUrl) {
uni.downloadFile({
......@@ -45,9 +43,8 @@
if (downloadResult.statusCode === 200) {
plus.runtime.install(downloadResult.tempFilePath, {
force: true
}, function() {
console.log('install success...');
plus.runtime.restart();
}, function() {
plus.runtime.restart();
}, function(e) {
console.error('install fail...');
});
......
......@@ -382,6 +382,9 @@ export default {
//查询证书
officialWebsiteDetail(params){
return request(`${cffpURL}/certificate/officialWebsiteDetail`, "POST", params)
},
//轮播图
getBanner(params) {
return request(`https://hoservice.ydhomeoffice.cn/hoserviceApi/metadata/getBanner`, 'POST', params)
}
}
......@@ -7,8 +7,7 @@
</view>
<view class="login-code">
<input name="form.code" placeholder="输入验证码" v-model="code" type="number" maxlength="6" />
<text @click="sendMessage()" :class="{'grey':disabledSendBtn}">{{sendCode}}</text>
<text style="width: 250rpx;" @click="sendMessage()" :class="{'grey':disabledSendBtn}">{{sendCode}}</text>
</view>
<view class="agree">
<label class="radio" style="padding-right: 10rpx;">
......@@ -34,6 +33,7 @@
<script>
import api from '../../api/api';
import common from '../../common/common';
import {companyInfo} from "@/environments/environment";
export default {
data() {
return {
......@@ -49,7 +49,6 @@
},
mounted() {
this.loginTypeSync = uni.getStorageSync('loginType');
//console.log(this.orderId, 222)
},
methods: {
getFile(type){
......@@ -106,7 +105,7 @@
if(this.agreeFlag == false) {
uni.showToast({
title: '请阅读并勾选江苏赢盾财务顾问有限公司服务协议和隐私条款',
title: '请阅读并勾选'+`${companyInfo.companyFullName}`+'服务协议和隐私条款',
duration: 2000,
icon: 'none'
});
......@@ -127,6 +126,7 @@
// uni.navigateTo({
// url:'/pages/orderConfirm/orderConfirm?userId=' + this.userId
// })
this.loginTypeSync = "codelogin";
uni.$emit('loginUpdate');
this.closebootpage()
}else{
......@@ -140,7 +140,6 @@
},
closebootpage() {
//debugger;
this.$emit('close', this.userId,this.loginTypeSync)
},
}
......
......@@ -8,10 +8,10 @@
任的条款将以粗体下划线标识,您应重点阅读。
</view>
<view class="">
欢迎注册CFFP财富中心在线会员,请您在注册前阅读本服务协议,登录表示您已经认真阅读并同意",确认本服务协议内容并自愿遵守本协议。
欢迎注册银盾家办在线会员,请您在注册前阅读本服务协议,登录表示您已经认真阅读并同意",确认本服务协议内容并自愿遵守本协议。
</view>
<view class="">CFFP财富中心是CFFP家庭财务策划师联盟所运营、持有的专属APP,开发者为江苏赢盾财务顾问有限公司</view>
<view class="">CFFP家庭财务策划师联盟(以下简称CFFP)是AIOFP中国分会,由江苏赢盾财务顾问有限公司负责运营。</view>
<view class="">银盾家办是CFFP家庭财务策划师联盟所运营、持有的专属APP,开发者为{{companyFullName}}</view>
<view class="">CFFP家庭财务策划师联盟(以下简称CFFP)是AIOFP中国分会,由{{companyFullName}}负责运营。</view>
<h4>一、会员须知</h4>
<view class="">
......@@ -107,8 +107,8 @@
</view>
<view v-if="type == 2" class="content" :style="{'margin-top': isBack!=1 ? '60rpx' : '0'}">
<h4>隐私条款</h4>
<view class="">CFFP财富中心是CFFP家庭财务策划师联盟所运营、持有的专属APP,开发者为江苏赢盾财务顾问有限公司</view>
<view class="">CFFP家庭财务策划师联盟(以下简称CFFP)是AIOFP中国分会,由江苏赢盾财务顾问有限公司负责运营。</view>
<view class="">银盾家办是CFFP家庭财务策划师联盟所运营、持有的专属APP,开发者为{{companyFullName}}</view>
<view class="">CFFP家庭财务策划师联盟(以下简称CFFP)是AIOFP中国分会,由{{companyFullName}}负责运营。</view>
<view class="">AIOFP(Association of Independently Owned Financial Professionals)是澳洲最大的的独立金融专业人士协会)</view>
<view class="">CFFP致力于培养千位优秀的家庭财务策划师,传递正确的家庭财务管理理念,通过专业及精准的规划帮助千家万户达成家庭幸福圆满!</view>
<view class="">本网站由CFFP拥有和运营。</view>
......@@ -164,9 +164,11 @@
</template>
<script>
import {companyInfo} from "@/environments/environment";
export default{
data(){
return {
companyFullName : companyInfo.companyFullName,
type:null,
isBack:null
}
......
......@@ -9,10 +9,10 @@
任的条款将以粗体下划线标识,您应重点阅读。
</view>
<view class="">
欢迎注册CFFP财富中心在线会员,请您在注册前阅读本服务协议,登录表示您已经认真阅读并同意",确认本服务协议内容并自愿遵守本协议。
欢迎注册银盾家办在线会员,请您在注册前阅读本服务协议,登录表示您已经认真阅读并同意",确认本服务协议内容并自愿遵守本协议。
</view>
<view class="">CFFP财富中心是CFFP家庭财务策划师联盟所运营、持有的专属APP,开发者为江苏赢盾财务顾问有限公司</view>
<view class="">CFFP家庭财务策划师联盟(以下简称CFFP)是AIOFP中国分会,由江苏赢盾财务顾问有限公司负责运营。</view>
<view class="">银盾家办是银盾联合家庭办公室所运营、持有的专属APP,开发者为{{companyFullName}}</view>
<view class="">银盾联合家庭办公室(以下简称银盾家办),由{{companyFullName}}负责运营。</view>
<h4>一、会员须知</h4>
<view class="">
......@@ -119,8 +119,8 @@
</view>
<view v-if="type == 2" class="content" :style="{'margin-top': isBack!=1 ? '60rpx' : '0'}">
<h4>隐私条款</h4>
<view class="">CFFP家庭财务策划师联盟(以下简称CFFP)是AIOFP中国分会,由江苏赢盾财务顾问有限公司负责运营。</view>
<view class="">CFFP财富中心是CFFP家庭财务策划师联盟所运营、持有的专属APP,开发者为江苏赢盾财务顾问有限公司</view>
<view class="">银盾联合家庭办公室,由{{companyFullName}}负责运营。</view>
<view class="">银盾家办是银盾联合家庭办公室所运营、持有的专属APP,开发者为{{companyFullName}}</view>
<view class="">AIOFP(Association of Independently Owned Financial Professionals)是澳洲最大的的独立金融专业人士协会)</view>
<view class="">CFFP致力于培养千位优秀的家庭财务策划师,传递正确的家庭财务管理理念,通过专业及精准的规划帮助千家万户达成家庭幸福圆满!</view>
<view class="">本网站由CFFP拥有和运营。</view>
......@@ -170,16 +170,18 @@
<view class="">(b) 在使用本应用网络服务时,您不可避免的要披露自己的个人信息,如联络方式或者邮政地址时,请您妥善保护自己的个人信息,仅在必要的情形下向他人提供。如您发现自己的个人信息泄密,尤其是本应用用户名及密码发生泄露,请您立即联络本应用客服,以便本应用采取相应措施。</view>
<view class="">7.本隐私政策的更改</view>
<view class="">(a) 如果决定更改隐私政策,我们会在本政策中、本公司网站中以及我们认为适当的位置发布这些更改,以便您了解我们如何收集、使用您的个人信息,哪些人可以访问这些信息,以及在什么情况下我们会透露这些信息。</view>
<view class="">(b) CFFP保留随时修改本政策的权利,因此请经常查看。如对本政策作出重大更改,本公司会通过网站通知的形式告知。</view>
<view class="">(b) 银盾家办保留随时修改本政策的权利,因此请经常查看。如对本政策作出重大更改,本公司会通过网站通知的形式告知。</view>
</view>
</view>
</template>
<script>
import {companyInfo} from "@/environments/environment";
export default {
data() {
return {
companyFullName : companyInfo.companyFullName,
type: null,
isBack: null
}
......
......@@ -136,14 +136,12 @@
canvasId: 'mycanvas',
success: function(res) {
if(!res || !res.tempFilePath) {
// console.log('=====',res.tempFilePath);
that.SignatureImg = res.tempFilePath;
that.$emit('sendImage', that.SignatureImg);
that.close();
}else{
//用来解决安卓真机获取到的是canvas图片的临时路径,转成base64格式
pathToBase64(res.tempFilePath).then(re => {
// console.log('base===============',re);
that.SignatureImg = re;
that.$emit('sendImage', that.SignatureImg);
that.close();
......
......@@ -58,14 +58,12 @@
};
},
mounted() {
console.log(this.lists)
},
onLoad() {
},
methods: {
link(val, value, list) {
console.log(val, value, 5141548)
let dataList = list.children
for (var i = 0; i < dataList.length; i++) {
if (val == dataList[i].name) {
......
......@@ -5,7 +5,7 @@
</view>
<view class="logo">
<image :src="imgSrc" alt="logo" srcset="" class="iconBox" mode="widthFix"></image>
<view>欢迎登录使用CFFP财富中心</view>
<view>欢迎登录使用银盾家办APP</view>
</view>
<view class="content">
<view class="login_title">
......@@ -77,7 +77,7 @@
<script>
import api from '../../api/api';
import common from '../../common/common';
import {companyInfo} from "@/environments/environment";
export default {
data() {
return {
......@@ -99,7 +99,8 @@
doublePassword:null,
agreeFlag:false,
userId:null,
imgSrc:'../../static/cffp_logo.png',
imgSrc:'../../static/yd_Logo.png',
//imgSrc:'../../static/cffp_logo.png',
fileType:null
}
},
......@@ -276,7 +277,7 @@
}
if(!this.agreeFlag){
uni.showToast({
title: '请阅读并勾选江苏赢盾财务顾问有限公司服务协议和隐私条款',
title: '请阅读并勾选'+`${companyInfo.companyFullName}`+'服务协议和隐私条款',
duration: 5000,
icon: 'none'
})
......@@ -294,7 +295,7 @@
}
if(!this.agreeFlag && this.loginType !='resetpw'){
uni.showToast({
title: '请阅读并勾选江苏赢盾财务顾问有限公司服务协议和隐私条款',
title: '请阅读并勾选'+`${companyInfo.companyFullName}`+'服务协议和隐私条款',
duration: 5000,
icon: 'none'
})
......
......@@ -83,7 +83,8 @@
<text v-if="item.itemType == '2'">{{ item.levelName }}</text>
<text v-else></text>
</view>
<view class="d-td" style="text-align: center;">{{ item.count }}</view>
<view class="d-td" style="text-align: center;" v-if="dataShowType == 1">{{ item.referrer }}</view>
<view class="d-td" style="text-align: center;" v-if="dataShowType == 2">{{ item.count }}</view>
</view>
</block>
</view>
......@@ -117,6 +118,9 @@
},
type: {
type: String,
},
dataShowType: {
dataShowType: String,
}
},
name: 'lazy-tree',
......@@ -206,7 +210,6 @@
},
syncOpen(ids) {
console.log(ids, 15155)
const list = [];
ids.forEach(o => {
this.openList.forEach(o1 => {
......@@ -248,7 +251,6 @@
}
})
// const list = this.deepClone(await this.lazyLoad(item.levelName));
// console.log(list, '这里是什么值啊')
}
this.openList.push(item.id);
......
......@@ -6,7 +6,7 @@
</view>
</view>
<!-- // 一级循环 -->
<view class="content-sam-box">
<view class="content-sam-box" v-if="dataList && dataList.length > 0">
<view class="" v-for="(pointItem,index) in dataList">
<view class="content-sa" style=" " v-if="felTyle == 'achievement'">
<view class="content-box-title"
......@@ -22,10 +22,10 @@
overflow: hidden;
white-space: nowrap;">{{pointItem.name }}</view>
</view>
<view class="content-box-title" style="text-overflow: ellipsis;overflow: hidden;
<!-- <view class="content-box-title" style="text-overflow: ellipsis;overflow: hidden;
white-space: nowrap;max-width: 150rpx;">
<span>{{pointItem.areaCenterName }}</span>
</view>
</view> -->
<view class="content-box-title">
<span style="color:#FF0000;">
&nbsp; {{pointItem.orderNum }} &nbsp;
......@@ -40,6 +40,7 @@
</view>
</view>
</view>
<h4 class="noListTip" v-else>暂无数据!</h4>
</view>
</template>
......@@ -91,13 +92,11 @@
};
},
mounted() {
console.log(this.dataList)
// this.alist = this.dataList
// this.list = JSON.parse(JSON.stringify(this.dataList))
// this.$nextTick(() => {
// })
// console.log(this.dataList, 555555)
},
methods: {
subordinate(index, val, type, expand) {
......
......@@ -40,7 +40,6 @@
}
},
mounted() {
console.log(this.currentPage,1114)
}
}
</script>
......
......@@ -87,10 +87,10 @@
},
onReady() {
setTimeout(() => {
console.log('----演示动态更新参数-----');
//console.log('----演示动态更新参数-----');
this.$refs.lsjUpload.setData('formData.orderId', '动态设置的参数');
console.log('以下注释内容为-动态更新参数更多演示,放开后可查看演示效果');
//console.log('以下注释内容为-动态更新参数更多演示,放开后可查看演示效果');
// 修改option对象的name属性
// this.$refs.lsjUpload.setData('name','myFile');
......@@ -131,7 +131,7 @@
// 某文件上传结束回调(成功失败都回调)
onuploadEnd(item) {
uni.hideLoading();
console.log(`${item.name}已上传结束,上传状态=${item.type}`);
//console.log(`${item.name}已上传结束,上传状态=${item.type}`);
// 更新当前状态变化的文件
// this.files.set(item.name, item);
......
......@@ -11,7 +11,6 @@ export default {
},
onLoad(item) {
this.url = decodeURIComponent(item.url)
console.log(this.url)
// 传入需要跳转的链接 使用web-view标签进行跳转
}
}
......
......@@ -13,20 +13,20 @@ const prod = {
api_url:'https://m.cffp.org.cn/api',
cffp_url:'https://m.cffp.org.cn/api/cffp'
}
let companyInfo = {
// companyType: '1',
// companyName: '赢盾财务顾问',
// companyFullName: '江苏赢盾财务顾问有限公司'
companyType: '2',
companyName: '银盾家办',
companyFullName: '银盾家办(广州)企业管理咨询有限公司'
}
const config = {
dev,
stage,
prod
}
let env = 'prod';
// if (process.env.NODE_ENV === 'development') {
// env = 'dev';
// }else if (process.env.NODE_ENV === 'production') {
// env = 'prod';
// }else if (process.env.NODE_ENV === 'uat'){
// env = 'stage';
// }
let env = 'dev';
let baseURL = config[env].base_url;
let apiURL = config[env].api_url;
......@@ -35,5 +35,6 @@ let cffpURL = config[env].cffp_url;
export{
baseURL,
apiURL,
cffpURL
cffpURL,
companyInfo
}
\ No newline at end of file
......@@ -57,7 +57,7 @@
_this.option = JSON.parse(option);
}catch(e){
console.error('参数设置错误');
console.error(e);
//console.error(e);
}
},
async upload(name=''){
......@@ -87,7 +87,7 @@
this.toast(`不支持上传${suffix.toUpperCase()}格式文件`);
return;
}
console.log('this.size',this.prohibited.size);
//console.log('this.size',this.prohibited.size);
// 限制文件大小
if (file.size > 1024 * 1024 * Math.abs(this.prohibited.size)) {
this.toast(`附件大小请勿超过${this.prohibited.size}M`)
......@@ -144,7 +144,7 @@
);
xmlRequest.ontimeout = () => {
console.error('请求超时')
//console.error('请求超时')
item.type = 'fail';
this.changeFilesItem(item,true);
return resolve(false);
......@@ -161,7 +161,7 @@
} else if (xmlRequest.status == 0) {
console.error('status = 0 :请检查请求头Content-Type与服务端是否匹配,服务端已正确开启跨域,并且nginx未拦截阻止请求')
}
console.error('--ERROR--:status = ' + xmlRequest.status)
//console.error('--ERROR--:status = ' + xmlRequest.status)
item.type = 'fail';
this.changeFilesItem(item,true);
return resolve(false);
......
......@@ -9,9 +9,10 @@
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script>
<title>CFFP财富中心</title>
<title>银盾家办</title>
<link rel="stylesheet" href="./static/font/iconfont.css">
<link rel="shortcut icon" href="./static/icon.png">
<link rel="shortcut icon" href="./static/iconLong.png">
<!-- <link rel="shortcut icon" href="./static/icon.png"> -->
<!--preload-links-->
<!--app-context-->
<script src="https://res2.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
......
{
"name" : "CFFP财富中心",
"name" : "银盾家办",
"appid" : "__UNI__ED34740",
"description" : "",
"versionCode" : 105,
......@@ -79,7 +79,7 @@
"sdkConfigs" : {
"share" : {
"weixin" : {
"appid" : "wx3ec6ac74a8c074be",
"appid" : "wxe8f4dfed6e50237f",
"UniversalLinks" : "https://mapp.cffp.org.cn/app/"
}
},
......@@ -90,13 +90,13 @@
},
"weixin" : {
"__platform__" : [ "ios", "android" ],
"appid" : "wx3ec6ac74a8c074be",
"appid" : "wxe8f4dfed6e50237f",
"UniversalLinks" : "https://mapp.cffp.org.cn/app/"
}
},
"oauth" : {
"weixin" : {
"appid" : "wx3ec6ac74a8c074be",
"appid" : "wxe8f4dfed6e50237f",
"UniversalLinks" : "https://mapp.cffp.org.cn/app/"
}
},
......
......@@ -1762,7 +1762,6 @@
})
// document.querySelector(id).scrollIntoView({ behavior: "smooth" })
// uni.createSelectorQuery().select(id).boundingClientRect(data => {
// console.log(data);
// // 调用页面滚动的api
// uni.pageScrollTo({
// duration: 300, // 滚动动画过渡时间
......
......@@ -4,19 +4,19 @@
"path": "pages/index/index",
"style": {
"topWindow": false,
"navigationBarTitleText": "CFFP财富中心"
"navigationBarTitleText": "银盾家办"
}
}, {
"path": "components/login/login",
"style": {
"topWindow": false,
"navigationBarTitleText": "CFFP财富中心"
"navigationBarTitleText": "银盾家办"
}
}, {
"path": "pages/courselist/courselist",
"style": {
"topWindow": false,
"navigationBarTitleText": "CFFP财富中心"
"navigationBarTitleText": "银盾家办"
}
}, {
"path": "pages/courseDetail/courseDetail",
......
......@@ -49,7 +49,6 @@
}
api.userAfterSales(param).then(res=>{
if(res['success']){
console.log(res);
this.userCourses = res['data']['userCourses']
}
})
......
......@@ -13,9 +13,9 @@
<text class="line line_pass"></text>
<text class="num actived pass">6</text>
<text class="line line_pass"></text>
<text class="num actived pass">7</text>
<text class="line line_pass"></text>
<text class="num actived pass">8</text>
<text class="num actived pass">7</text>
<!-- <text class="line line_pass"></text>
<text class="num actived pass">8</text> -->
</view>
<view class="wrapper">
<view class="iconfont icon-gou"></view>
......@@ -78,7 +78,6 @@
id: id,
userId: userId
}).then((res) => {
console.log(res)
if (res['success']) {
// this.applyParam = res['data']['data'];
this.approvalStatus = res.data.data.approvalStatus
......
......@@ -9,24 +9,24 @@
<text class="line line_pass"></text>
<text class="num actived pass">2</text>
<text class="line line_pass"></text>
<text class="num actived pass">3</text>
<text class="line line_pass"></text>
<text class="num actived pass">4</text>
<text class="line line_pass"></text>
<text class="num actived">5</text>
<text class="num actived">3</text>
<text class="line"></text>
<text class="num">6</text>
<text class="num">4</text>
<text class="line"></text>
<text class="num">7</text>
<text class="num">5</text>
<text class="line"></text>
<text class="num">6</text>
<text class="line"></text>
<text class="num">8</text>
<text class="num">7</text>
<!-- <text class="line"></text>
<text class="num">8</text> -->
</view>
<view class="wrapper">
<view class="title">
<view>
<text class="line"></text>银行卡号
</view>
<text class="page_mark">5/8</text>
<text class="page_mark">3/7</text>
</view>
<view class="content">
<view class="contentDetail employ">
......@@ -101,7 +101,6 @@
id: id,
userId: userId
}).then((res) => {
console.log(res)
if (res['success']) {
this.applyParam = res['data']['data'];
if (uni.getStorageSync('backForm')) {
......@@ -128,16 +127,16 @@
uni.showLoading({
title: '加载中...'
});
if (this.backForm.bankAccountId == '' || this.sureBankAccountId == '' || this.backForm
.bankAccountOpening == '') {
uni.showToast({
title: '银行卡号与开户行不能为空',
duration: 2000,
icon: 'none'
})
return;
}
if (this.backForm.approvalStatus == 0 || this.backForm.approvalStatus == 2) {
if (this.backForm.bankAccountId == '' || this.sureBankAccountId == '' || this.backForm
.bankAccountOpening == '') {
uni.showToast({
title: '银行卡号与开户行不能为空',
duration: 2000,
icon: 'none'
})
return;
}
if (this.backForm.bankAccountId || this.sureBankAccountId) {
if (Number(this.backForm.bankAccountId) != Number(this.sureBankAccountId)) {
alert('卡号',this.backForm.bankAccountId)
......@@ -176,6 +175,10 @@
})
} else {
uni.hideLoading()
// uni.navigateTo({
// // url:`personal-statement?id=${res['data']['id']}`
// url: `personal-statement`
// });
uni.navigateTo({
// url:`personal-statement?id=${res['data']['id']}`
url: `personal-statement`
......
......@@ -16,10 +16,10 @@
<text class="num">5</text>
<text class="line"></text>
<text class="num">6</text>
<text class="line"></text>
<text class="line"></text>
<text class="num">7</text>
<text class="line"></text>
<text class="num">8</text>
<!-- <text class="line"></text>
<text class="num">8</text> -->
</view>
<view class="wrapper">
<view class="title">
......@@ -27,7 +27,7 @@
<text class="line"></text>
基本资料
</view>
<text class="page_mark">1/8</text>
<text class="page_mark">1/7</text>
</view>
<view class="content">
<view class="contentDetail employ">
......@@ -36,7 +36,7 @@
<input type="text" class="form-control" placeholder="非必填"
v-model="applyParam.inviterInvitationCode" :disabled="this.display" />
</view>
<view class="contentItem">
<!-- <view class="contentItem">
<text>申请身份</text>
<picker @change="changeIdentity" :value="identityIdx" :range="identityArr" range-key="name"
:disabled="this.display">
......@@ -51,7 +51,7 @@
:disabled="this.applyParam.approvalStatus!= 0 && this.applyParam.approvalStatus != 2"
v-model="applyParam.b1Name" placeholder="请输入工作室名称" />
</view>
<view class="contentItem">
<view class="contentItem" >
<text>所属组织</text>
<input type="text" v-if="applyParam.applyType == 1" class="form-control"
v-model="applyParam.areaName" placeholder="请输入工作室名称" :disabled="this.display" />
......@@ -61,7 +61,7 @@
<text class="iconfont icon-youjiantou"></text>
</view>
</picker>
</view>
</view> -->
<view class="contentItem">
<text>姓名</text>
<!-- @blur="checkInput(1,applyParam.name)" -->
......@@ -134,7 +134,7 @@
inviterInvitationCode: '',
name: '',
mobileNumber: '',
partnerLevel: 'A1',
partnerLevel: 'P1',
idType: '',
idNo: '',
birthday: '',
......@@ -219,7 +219,6 @@
resolve(res['success']);
if (res['success']) {
this.idTypesList = this.idTypesList.concat(res['data']['idTypes']);
console.log(this.idTypesList)
}
})
})
......@@ -229,9 +228,7 @@
userId: this.userId,
partnerLevel: this.applyParam.partnerLevel
}
console.log(param)
api.queryOrgList(param).then((res) => {
console.log(res)
if (res['success']) {
this.cffpAreaQuerys = [{
areaId: null,
......@@ -242,7 +239,6 @@
for (let j = 0; j < this.cffpAreaQuerys.length; j++) {
if (this.applyParam.areaId == this.cffpAreaQuerys[j].areaId) {
this.areaIdIdx = j;
console.log(j)
}
}
}
......@@ -251,14 +247,12 @@
changeIdentity: function(e) {
this.identityIdx = e.detail.value;
this.applyParam.partnerLevel = this.identityArr[this.identityIdx]['partnerLevel'];
console.log(this.applyParam.partnerLevel)
this.queryOrgList();
//this.queryOrgList();
this.areaIdIdx = 0;
},
changeIdType: function(e) {
this.idTypeIdx = e.detail.value;
this.applyParam.idType = this.idTypesList[this.idTypeIdx]['name'];
console.log(this.applyParam.idType)
},
bindBirthday: function(e) {
this.applyParam.birthday = e.detail.value;
......@@ -266,7 +260,6 @@
changeArea: function(e) {
this.areaIdIdx = e.detail.value;
this.applyParam.areaId = this.cffpAreaQuerys[this.areaIdIdx]['areaId'];
console.log(this.applyParam.areaId)
},
checkInput(type, code) {
// if (type == 1) {
......@@ -300,7 +293,6 @@
return;
}
this.applyParam.birthday = util.dateFormat(common.IdCodeValid(code).birthDay, 'yyyy-MM-dd');
console.log(this.applyParam)
} else {
if (code && !common.checkTaxNo(code)) {
uni.showToast({
......@@ -325,16 +317,18 @@
if (this.applyParam.inviterInvitationCode) {
this.Invitationcodetype = true
}
this.queryOrgList();
//this.queryOrgList();
for (let m = 0; m < this.identityArr.length; m++) {
if (this.applyParam.partnerLevel == this.identityArr[m].partnerLevel) {
this.identityIdx = m;
break;
}
}
for (let i = 0; i < this.idTypesList.length; i++) {
if (this.idTypesList[i].name == this.applyParam.idType) {
this.idTypeIdx = i;
break;
}
}
if (this.applyParam.approvalStatus != 0 && this.applyParam.approvalStatus != 2 || this
......@@ -342,7 +336,7 @@
this.display = true
}
} else {
this.queryOrgList();
//this.queryOrgList();
}
})
},
......@@ -351,14 +345,14 @@
title: '加载中...'
});
if (this.applyParam.approvalStatus == 0 || this.applyParam.approvalStatus == 2) {
if (!this.applyParam.areaId) {
uni.showToast({
title: '请选择所属组织',
duration: 2000,
icon: 'none'
})
return;
}
// if (!this.applyParam.areaId) {
// uni.showToast({
// title: '请选择所属组织',
// duration: 2000,
// icon: 'none'
// })
// return;
// }
if (!this.applyParam.name) {
uni.showToast({
title: '请输入姓名',
......@@ -427,9 +421,13 @@
}
api.saveApplyInfo(this.applyParam).then((res) => {
if (res['success']) {
// uni.navigateTo({
// // url:`work-experience?id=${res['data']['id']}`
// url: `work-experience`
// });
uni.navigateTo({
// url:`work-experience?id=${res['data']['id']}`
url: `work-experience`
// url:`id-card?id=${res['data']['id']}`
url: `id-card`
});
uni.setStorageSync('applyId', String(res['data']['id']))
} else {
......@@ -443,10 +441,14 @@
uni.hideLoading()
})
} else {
uni.navigateTo({
// url:`work-experience?id=${res['data']['id']}`
url: `work-experience`
});
// uni.navigateTo({
// // url:`work-experience?id=${res['data']['id']}`
// url: `work-experience`
// });
uni.navigateTo({
// url:`id-card?id=${res['data']['id']}`
url: `id-card`
});
uni.hideLoading()
}
}
......
......@@ -13,20 +13,18 @@
<text class="line line_pass"></text>
<text class="num actived pass">4</text>
<text class="line line_pass"></text>
<text class="num actived pass">5</text>
<text class="line line_pass"></text>
<text class="num actived pass">6</text>
<text class="line line_pass"></text>
<text class="num actived">7</text>
<text class="num actived">5</text>
<text class="line"></text>
<text class="num">6</text>
<text class="line"></text>
<text class="num">8</text>
<text class="num">7</text>
</view>
<view class="wrapper">
<view class="title">
<view>
<text class="line"></text>合同文档确认
</view>
<text class="page_mark">7/8</text>
<text class="page_mark">5/7</text>
</view>
<view class="content">
<view class="ulBox">
......@@ -114,10 +112,9 @@
},
getContractList() {
api.listQuery({
systemType: '1'
systemType: '2'
}).then((res) => {
this.contractTermsList = res["data"]["contractDtos"];
console.log(this.contractTermsList)
})
},
saveInfo() {
......@@ -216,7 +213,6 @@
this.contractForm.approvalStatus = this.applyParam.approvalStatus
if (this.contractForm.contractTerms) {
this.contractTermsConfirmsListParm = this.contractForm.contractTerms.split(',');
console.log(this.contractTermsConfirmsListParm)
for (let i = 0; i < this.contractTermsList.length; i++) {
for (let j = 0; j < this.contractTermsConfirmsListParm.length; j++) {
if (this.contractTermsList[i]['termName'] == this
......
......@@ -139,7 +139,6 @@
},
educationLevelQuery() {
api.educationLevelQuery().then((res) => {
console.log(res)
if (res['success']) {
this.educationLevelList = this.educationLevelList.concat(res['data'][
'educationLevelList'
......@@ -157,7 +156,6 @@
}).then((res) => {
if (res['success']) {
this.applyParam = res['data']['data'];
console.log(res, 114)
if (uni.getStorageSync('educationForm')) {
this.educationForm = uni.getStorageSync('educationForm')
} else {
......
......@@ -7,26 +7,26 @@
<view class="page">
<text class="num actived pass">1</text>
<text class="line line_pass"></text>
<text class="num actived pass">2</text>
<text class="line line_pass"></text>
<text class="num actived">3</text>
<text class="num actived">2</text>
<text class="line"></text>
<text class="num">3</text>
<text class="line"></text>
<text class="num">4</text>
<text class="line"></text>
<text class="num">5</text>
<text class="line"></text>
<text class="num">6</text>
<text class="line"></text>
<text class="line"></text>
<text class="num">7</text>
<text class="line"></text>
<text class="num">8</text>
<!-- <text class="line"></text>
<text class="num">8</text> -->
</view>
<view class="wrapper">
<view class="title">
<view>
<text class="line"></text>个人证件资料
</view>
<text class="page_mark">3/8</text>
<text class="page_mark">2/7</text>
</view>
<view class="content" style="padding-bottom: 150rpx;">
<view class="content_wrapper">
......@@ -165,7 +165,6 @@
this.cardForm.idBackPageOssPath = res.data.filePath;
}
uni.setStorageSync('cardForm',this.cardForm)
console.log(this.cardForm.idBackPageOssPath, 151515)
})
}
},
......@@ -201,9 +200,12 @@
api.saveApplyInfo(this.applyParam).then((res) => {
if (res['success']) {
// this.queryById(null, uni.getStorageSync('cffp_userId'))
// uni.navigateTo({
// url: `education`
// });
uni.navigateTo({
// url:`id-card?id=${res['data']['id']}`
url: `education`
// url:`bank-card?id=${res['data']['id']}`
url: `bank-card`
});
} else {
uni.showToast({
......@@ -217,9 +219,11 @@
})
} else {
uni.hideLoading()
// uni.navigateTo({
// url: `education`
// });
uni.navigateTo({
// url:`id-card?id=${res['data']['id']}`
url: `education`
url: `bank-card`
});
}
}
......
......@@ -11,22 +11,22 @@
<text class="line line_pass"></text>
<text class="num actived pass">3</text>
<text class="line line_pass"></text>
<text class="num actived pass">4</text>
<text class="line line_pass"></text>
<text class="num actived pass">5</text>
<text class="line line_pass"></text>
<text class="num actived">6</text>
<text class="num actived actived">4</text>
<text class="line"></text>
<text class="num">7</text>
<text class="num">5</text>
<text class="line"></text>
<text class="num">8</text>
<text class="num">6</text>
<text class="line"></text>
<text class="num">7</text>
<!-- <text class="line"></text>
<text class="num">8</text> -->
</view>
<view class="wrapper">
<view class="title">
<view>
<text class="line"></text>个人声明
</view>
<text class="page_mark">6/8</text>
<text class="page_mark">4/7</text>
</view>
<view class="content">
<view class="ulBox">
......
......@@ -16,16 +16,16 @@
<text class="num actived pass">5</text>
<text class="line line_pass"></text>
<text class="num actived pass">6</text>
<text class="line line_pass"></text>
<text class="num actived pass">7</text>
<text class="line line_pass"></text>
<text class="num actived">8</text>
<text class="line"></text>
<text class="num">7</text>
<!-- <text class="line line_pass"></text>
<text class="num actived">8</text> -->
</view>
<view class="title">
<view>
<text class="line"></text>电子签名<text style="font-size: 20rpx;font-weight: normal;">(请书写工整,字迹清晰)</text>
</view>
<text class="page_mark">8/8</text>
<text class="page_mark">6/7</text>
</view>
<!--这里必须用v-show否则打回重新签名时会获取不到dom元素-->
<view class="signatureContent" v-show="!applyParam.personalSignOssPath">
......@@ -36,7 +36,7 @@
<image src="../../static/clear.png" @click="clearImg" mode="widthFix"></image>
</view>
<view class="fixed" url="bank-card" @click="save()">
{{(this.applyParam.approvalStatus== 0 || this.applyParam.approvalStatus == 2)?'我自愿签订推广人合同书':'下一步'}}
{{(this.applyParam.approvalStatus== 0 || this.applyParam.approvalStatus == 2)?'我自愿签订合伙人合同书':'下一步'}}
</view>
</view>
</template>
......@@ -61,7 +61,6 @@
},
components:{eSignature},
onLoad(options) {
console.log(options, 151515)
this.shareId = options.shareId
},
onShow() {
......@@ -117,7 +116,6 @@
},
getImage(e){
api.saveDigitalSignatures({imgStr:e}).then((res)=>{
console.log(res)
if(res['success']){
// this.applyParam.personalSignOssPath = e;
this.applyParam.personalSignOssPath = res['data']['filePath'];
......
......@@ -208,7 +208,6 @@
CommonUpload(this.dataForm).then(res => {
this.workform.certificate = res.data.filePath;
this.picList.push(this.workform.certificate);
console.log(this.workform, 1111)
uni.setStorageSync('picList', this.picList);
});
},
......
......@@ -57,7 +57,7 @@
<h3>违约金规则</h3>
<i class="iconfont icon-guanbi" @click="closePopup()"></i>
</view>
<view class="">
<!-- <view class="">
1.购买后14天内未点开学习全额退费;
</view>
<view class="">
......@@ -66,6 +66,15 @@
</view>
<view class="">
3.已点开课程学习或购买30天后不予退费。
</view> -->
<view class="">
1.购买后7天内未使用全额退费;
</view>
<view class="">
2.购买后已使用或购买7天后不予退费;
</view>
<view class="">
&nbsp;
</view>
</view>
</uni-popup>
......@@ -110,7 +119,6 @@
// 课程详情页面
courseDetail(){
api.courseDetail({fileId:this.fileId,userId:this.userId}).then(res=>{
console.log('课程详情',res);
if(res['success']){
this.courseInfoItem = res['data']['data'];
}
......@@ -154,7 +162,6 @@
refundReason:this.dropReasons[this.dropIndex]['dropOptionName']
}
api.unifiedRefund(param).then(res=>{
console.log(res, 1515)
if(res['success']){
uni.navigateTo({
url:`/pages/afterSaleDetail/afterSaleDetail?orderNo=${this.dropInfo.orderNo}&afterSalesFlag=3`
......@@ -177,7 +184,6 @@
// 退款原因
dropOptionsQuery(){
api.dropOptionsQuery({code:'REFUND_REASON'}).then(res=>{
console.log(res)
if(res['success']){
this.dropReasons = res['data']['dropMasterInfoList'][0]['dropOptionsInfoList']
}
......
......@@ -113,7 +113,6 @@
userSignupId:userSignupId!='null'?userSignupId:null
}
api.queryCertificateInfo(params).then(res=>{
console.log(res)
if(res['success']){
this.certificateInfo = res['data']['certificateInfo'];
}
......@@ -128,7 +127,6 @@
try {
uni.clearStorageSync();
} catch (e) {
// console.log(e)
// error
}
return false
......
......@@ -73,7 +73,6 @@
this.queryDate = option.queryDate;
},
mounted() {
console.log('mounted')
if(this.type=='1'){
this.typeName = '分享';
this.title = [
......
......@@ -20,12 +20,27 @@
</view>
<!-- 课程banner图 -->
<!-- v-show="!sliceshare" -->
<view class="courseBannerBox" v-if="!sliceshare">
<view class="courseBannerBox" v-if="!sliceshare && bannerViewType == '1'">
<video v-if="isRenderVideo" id="myVideo" :src="courseInfo.filePathOss" :initial-time="viewTime"
object-fit="contain" class="videoBox" :poster="courseInfo.fileFirstImage" :title="courseInfo.fileTitle"
@play="playVideo" @pause="pause" @timeupdate="timeupdate" style="width: 100vw;height: 312.5rpx;"
></video>
</view>
<view class="swiperBox" v-if="bannerViewType == '2'">
<uni-swiper-dot
:dots-styles="{
backgroundColor: 'rgba(255, 255, 255, 0.5)',
selectedBackgroundColor: 'rgba(255, 255, 255, 1)'
}" :info="swiperList" :current="current" mode="default">
<swiper autoplay :interval="3000" circular class="swiper-box" @change="changeSwiper">
<swiper-item v-for="(item,index) in swiperList" :key="index" class="swiper-item-no-gap">
<view class="swiper-item">
<image style="height: 100%;width: 100%;display: block;" :src="item['filePath']" mode="aspectFill"></image>
</view>
</swiper-item>
</swiper>
</uni-swiper-dot>
</view>
<!-- 课程详情图 -->
<view class="courseTitleContent">
......@@ -48,7 +63,7 @@
</view>
</view>
<view class="dataBox">
<strong v-if="courseInfo.status==1 || courseInfo.status==2">{{courseInfo.coursePrice}}</strong>
<strong v-if="courseInfo.status==1 || courseInfo.status==2">{{Number(courseInfo.coursePrice).toFixed(2)}}</strong>
<strong v-if="(courseInfo.status==1 || courseInfo.status==2 )&& courseInfo.coursePrice == 0">免费</strong>
<!-- <text v-if="courseInfo.status==2" style="color: #F15A1F;margin-right: 20rpx;"><i
class="iconfont icon-yifukuan"></i>已购</text> -->
......@@ -157,6 +172,9 @@
},
data() {
return {
bannerViewType: '1',
swiperList: [],
current : 0,
isWeixin: false,
isRenderVideo: false,
fileId: null,
......@@ -220,8 +238,7 @@
this.userId = val
uni.setStorageSync('cffp_userId', this.userId);
this.courseDetail();
console.log(loginTypeSync, 222)
if(loginTypeSync === "visitor"){
if(loginTypeSync == 'codelogin'){
setTimeout(() => {
if(this.courseInfo.status == 1){
this.jumppurchase();
......@@ -432,12 +449,6 @@
}).then(res => {
if (res['success']) {
this.lecturerInfo = res['data']['lecturerInfos'][0];
} else {
uni.showToast({
title: res['message'],
duration: 2000,
icon: 'none'
})
}
})
},
......@@ -450,6 +461,10 @@
}).then(res => {
if (res['success']) {
this.courseInfo = res['data']['data'];
if(this.courseInfo.filePathOss != null && Number(this.courseInfo.filePathOss)){
this.bannerViewType = "2";
this.getBanner(Number(this.courseInfo.filePathOss));
}
//this.courseInfo.serviceContent = res['data']['data']['filePathOss'];
this.lecturerId = res['data']['data']['fileLecturerId'];
this.lecturerQuery();
......@@ -747,6 +762,19 @@
// });
}
})
},
getBanner(itemType) {
//加载轮播图
api.getBanner({ fileCategory: 7, itemType: itemType}).then(res => {
if (res['success']) {
this.swiperList = res['data']['homeItemList']
}
})
},
changeSwiper(e) {
if (e.detail.source == 'touch') {
this.current = e.detail.current
}
}
},
onLoad(option) {
......@@ -837,7 +865,28 @@
page {
padding: 0;
}
.swiperBox {
height: 930rpx;
image {
border-radius: 12rpx;
}
padding: 0 40rpx;
margin-top: 0rpx;
}
.swiper-box {
height: 930rpx;
}
.swiper-item {
/* #ifndef APP-NVUE */
display: flex;
/* #endif */
flex-direction: column;
justify-content: center;
align-items: center;
height: 930rpx;
color: #fff;
}
.courseBannerBox {
// background-color: #ebebeb;
// display: flex;
......
......@@ -58,12 +58,12 @@
api.courseList(param).then(res=>{
if(res['success']){
this.cffpCourseInfos = res['data']['data'];
}else{
uni.showToast({
title: res['message'],
duration: 2000,
icon: 'none'
})
// }else{
// uni.showToast({
// title: res['message'],
// duration: 2000,
// icon: 'none'
// })
}
})
},
......@@ -75,7 +75,6 @@
}
},
getCourseList(res){
console.log("res=========",res)
this.queryName = res;
this.courseList()
}
......
......@@ -3,7 +3,7 @@
<view class="logoContainer">
<image src="/static/downlogo.png" mode="widthFix"></image>
</view>
<view class="logoName">CFFP财富中心</view>
<view class="logoName">银盾家办APP</view>
<view class="downBtn" @click="handleBtnDown">立即下载</view>
<view class="qrcodeContainer">
<image :src="'/static/'+ (iosFlag ? 'iosDownLoadQrcode' : 'androidDownLoadQrcode')+'.png'" mode="widthFix"></image>
......@@ -46,7 +46,6 @@
if (browser.versions.android) {
window.location.href = "https://mdev.anjibao.cn/app.apk";
}else if (browser.versions.ios) {
console.log('ios')
window.location.href = "http://itunes.apple.com/us/app/id399608199";
}
}
......
<template>
<view class="container" style="position: relative;">
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()" style="top:-20rpx;left: 20rpx;"></text>
<view class="record_wrapper" v-if="cffpFortuneDeductionList.length > 0">
<view class="top" >
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()"></text>
<text>兑换记录</text>
</view>
<view class="record_wrapper" v-if="cffpFortuneDeductionList?.length > 0">
<view class="recordContent" v-for="(item,index) in cffpFortuneDeductionList" :key="index">
<image :src="item.deductionUrl" mode="widthFix"></image>
<view class="detail">
......@@ -9,6 +12,18 @@
<view class="">
{{item.deductionDate}}
</view>
<view style="color: #0A2F99;" v-if="item.reviewStatus == 2 && !item.reviewMessage">
兑换失败
</view>
<view style="color: #0A2F99;" v-if="item.reviewStatus == 2 && item.reviewMessage">
兑换失败,原因: {{item.reviewMessage}}
</view>
<view style="color: #0A2F99;" v-else-if="item.reviewStatus == 1">
兑换成功
</view>
<view style="color: #0A2F99;" v-else>
兑换中
</view>
</view>
<view class="score" @click="toWithdralDtl(item)">
-{{item.integralExchange}}积分
......@@ -36,7 +51,6 @@
methods:{
findByUserIdForWithdralHis(){
api.findByUserIdForWithdralHis({userId:this.userId}).then((res)=>{
console.log(res)
if(res['success']){
this.cffpFortuneDeductionList = res['data']['cffpFortuneDeductionList']
}
......@@ -64,8 +78,26 @@
</script>
<style lang="scss">
.container{
height:100%;
.top{
display: flex;
height: 80rpx;
justify-content: space-between;
align-items: center;
position: relative;
width: 100%;
margin: 0 auto;
background: #fff;
text:nth-child(2){
width: 100%;
text-align: center;
position: absolute;
}
}
}
.record_wrapper{
margin-top: 40rpx;
margin-top:0rpx;
.recordContent{
display: flex;
margin-bottom: 20rpx;
......
......@@ -61,7 +61,7 @@
</view>
</view>
<view class="" style="text-align: center;color: #666666;font-size: 24rpx;margin-top: 20rpx;">
江苏赢盾财务顾问有限公司提供
{{companyFullName}}提供
</view>
<!-- <tabBar :currentPage="currentPage"></tabBar> -->
</view>
......@@ -79,9 +79,11 @@
import carousel from '@/components/carousel/carousel.vue';
import search from '@/components/search/search.vue';
import courseItem from "@/components/courseItem/courseItem.vue";
import {companyInfo} from "@/environments/environment";
export default {
data() {
return {
companyFullName : companyInfo.companyFullName,
cffpCourseInfos: [],
x: 0,
y: 0,
......@@ -233,12 +235,6 @@
api.courseList(param).then(res => {
if (res['success']) {
this.cffpCourseInfos = res['data']['data'];
} else {
uni.showToast({
title: res['message'],
duration: 2000,
icon: 'none'
})
}
})
},
......@@ -255,7 +251,6 @@
// #endif
},
featureSelect(featureItem) {
console.log(featureItem)
if (this.loginornot == false && featureItem.name != "学习认证" && featureItem.name != "更多功能") {
uni.showToast({
title: "请登陆个人账户使用该功能",
......@@ -306,7 +301,8 @@
},
queryAreaCenterInfo() {
api.queryAreaCenterInfo({
userId: uni.getStorageSync('cffp_userId')
userId: uni.getStorageSync('cffp_userId'),
companyType: `${companyInfo.companyType}`
}).then((res) => {
if (res['success']) {
this.cffpUserInfo = res['data'];
......@@ -317,12 +313,6 @@
mobile: this.cffpUserInfo['mobile']
}
uni.setStorageSync('cffp_userInfo', JSON.stringify(cffp_userInfo))
} else {
uni.showToast({
title: res['message'],
duration: 2000,
icon: 'none'
})
}
})
},
......@@ -332,7 +322,7 @@
}).then((res) => {
this.announcementInfo = res['data']['announcementInfoList'] ? res['data'][
'announcementInfoList'
][0]['title'] : '江苏赢盾财务顾问有限公司公告'
][0]['title'] : `${companyInfo.companyFullName}`+'公告'
})
},
getIntroduce(type) {
......
......@@ -2,7 +2,7 @@
<view class="container">
<view class="logo">
<view class="" style="width: 120rpx;">
<image src="../../static/cffp_logo.png" alt="" mode="widthFix"></image>
<image src="../../static/cffp_logo.png" alt="" mode="widthFix"></image>
</view>
<text>欢迎使用CFFP</text>
</view>
......@@ -17,10 +17,11 @@
</template>
<script>
import api from "@/api/api"
import {companyInfo} from "@/environments/environment";
export default {
data() {
return {
areaName:'',
areaName: companyInfo.companyName,
invitationName:'',
shareId:'',
levelaName:'',
......@@ -36,25 +37,18 @@
methods:{
getqueryById(){
api.queryById({id:this.shareId}).then(res =>{
this.areaName = res.data.data.areaName
//this.areaName = res.data.data.areaName
this.areaId = res.data.data.areaId
this.invitationName = res.data.data.invitationName
this.name = res.data.data.name
this.mobileNumber = res.data.data.mobileNumber
this.levelaName = res.data.data.partnerLevel == 'B1' ?'工作室': '事业伙伴'
this.levelaName = res.data.data.partnerLevel == 'B1' ?'工作室': '合伙人'
this.partnerLevel = res.data.data.partnerLevel
})
},
ckregister(){
// ' let dataForm = {
// name: this.name,
// mobile: this.mobileNumber,
// id:this.shareId
// };'
uni.navigateTo({
// url:'/pages/invitationRegister/invitationlogin?name=' + this.name+'&mobile=' +this.mobileNumber + '&id=' + this.shareId
url:`/pages/invitationRegister/invitationlogin?name=${this.name}&mobile=${this.mobileNumber}&shareId=${this.shareId}`
})
}
}
......
......@@ -40,6 +40,7 @@
<script>
import api from '../../api/api';
import common from '../../common/common';
import {companyInfo} from "@/environments/environment";
export default {
data() {
return {
......@@ -107,7 +108,6 @@
}, 1000);
},
nextstep(){
console.log(this.form.code, 555)
if(this.form.code =='' ||this.form.code == null ){
uni.showToast({
title: '请输入验证码',
......@@ -118,7 +118,7 @@
}
if(this.agreeFlag == false) {
uni.showToast({
title: '请阅读并勾选江苏赢盾财务顾问有限公司服务协议和隐私条款',
title: '请阅读并勾选'+`${companyInfo.companyFullName}`+'服务协议和隐私条款',
duration: 2000,
icon: 'none'
});
......
......@@ -20,7 +20,7 @@
<text><input v-model="dataForm.mobileNumber" class="uni-input" type="number" maxlength="11"
placeholder="手机号" /></text>
</view>
<view class="liBox">
<!-- <view class="liBox">
<text>申请身份:</text>
<text>
<picker @change="bindPickerChange" :value="applyIdentity" :range="identityArr">
......@@ -52,6 +52,8 @@
</view>
</view>
<view class="describeLabel">晋升机制:当事业伙伴成功邀请加盟人数超过10人时,经过人工审核通过后,即可成功晋升为工作室。</view>
-->
<!-- <view class="liBox" v-if="isCross== true">
<text>所属组织名称:</text>
<text>
......@@ -76,7 +78,7 @@
<text>手机号:</text>
<text>{{item.mobileNumber}}</text>
</view>
<view class="liBox">
<!-- <view class="liBox">
<text>申请身份:</text>
<text>{{item.partnerLevel == 'A1'? '事业伙伴' : '工作室'}}</text>
</view>
......@@ -87,7 +89,7 @@
<view class="liBox">
<text>是否跨区邀请:</text>
<text>{{item.hasCrossDistrict==1 ? '是' : '否'}}</text>
</view>
</view> -->
<view class="liBox">
<text>邀请状态:</text>
<text v-if="item.approvalStatus=='0'">邀请中</text>
......@@ -182,8 +184,9 @@
};
},
onLoad(option) {
this.partnerLevel = option.levelCode
this.getqueryOrgList()
//this.partnerLevel = option.levelCode
this.partnerLevel = 'P1'
//this.getqueryOrgList()
let dataForm = uni.getStorageSync('userinfodataForm')
this.realName = dataForm.realName
this.invitationCode = dataForm.invitationCode
......@@ -253,12 +256,14 @@
},
// 发起邀请事件
shareToggle() {
this.dataForm.partnerLevel = this.applyIdentity == 0 ? 'B1' : 'A1'
//this.dataForm.partnerLevel = this.applyIdentity == 0 ? 'B1' : 'A1'
this.dataForm.partnerLevel = 'P1'
this.dataForm.hasCrossDistrict = this.isCross == true ? '1' : '0'
this.dataForm.areaId = this.isCross == true ? null : this.queryList[this.index].areaId
this.dataForm.userId = this.userId
this.dataForm.areaName = this.isCross == false ? this.queryList[this.index].areaName : this.dataForm
.areaName
// this.dataForm.areaId = this.isCross == true ? null : this.queryList[this.index].areaId
// this.dataForm.areaName = this.isCross == false ? this.queryList[this.index].areaName : this.dataForm.areaName
this.dataForm.areaId = 1;
this.dataForm.areaName = '默认';
if (this.dataForm.name == "" || this.dataForm.mobileNumber == "" || this.dataForm.areaName == '') {
uni.showToast({
title: '请将信息补充完整',
......@@ -282,12 +287,13 @@
this.shareTipsFlag = true;
this.getshareData()
// #endif
}else{
uni.showToast({
title: res['message'],
duration: 2000,
icon: 'none'
});
}
uni.showToast({
title: res['message'],
duration: 2000,
icon: 'none'
});
})
} else {
common.errorDialog(2, '手机号校验错误')
......@@ -296,8 +302,8 @@
},
getshareData() {
let data = {
title: 'CFFP家庭财务策划师联盟邀您加入',
desc: `我是家庭财务策划师${this.realName}正在使用CFFP财富中心,点击即刻加入!`,
title: '银盾家办家庭财务策划师联盟邀您加入',
desc: `我是家庭财务策划师${this.realName}正在使用银盾家办,点击即刻加入!`,
link: "https://" + window.location.host +
"/cffp/pages/invitationRegister/invitationRegister?shareId=" +
this.shareId + '&invitationCode=' + this.invitationCode, //分享链接
......@@ -322,7 +328,7 @@
this.$refs.share.close()
},
reinvite(id) {
debugger;
//debugger;
this.shareId = id
// #ifdef APP-PLUS
this.$refs.share.open()
......@@ -333,14 +339,14 @@
// #endif
},
uniShare(type) {
console.log(`${baseURL}/cffp/static/cffp_logo.jpg`)
//console.log(`${baseURL}/cffp/static/cffp_logo.jpg`)
uni.share({
provider: "weixin",
scene: type === 1 ? "WXSceneSession" : "WXSceneTimeline",
type: 0,
href: `${baseURL}/cffp/pages/invitationRegister/invitationRegister?shareId=${this.shareId}&invitationCode=${this.invitationCode}`,
title: "CFFP家庭财务策划师联盟邀您加入",
summary: `我是家庭财务策划师${this.realName}正在使用CFFP财富中心,点击下载即刻加入!`,
title: "银盾家办家庭财务策划师联盟邀您加入",
summary: `我是家庭财务策划师${this.realName}正在使用银盾家办,点击下载即刻加入!`,
imageUrl: `${baseURL}/cffp/static/cffp_logo.jpg`,
success: function(res) {
console.log("success:" + JSON.stringify(res));
......@@ -356,8 +362,8 @@
// type: 0,
// href: "https://mdev.zuihuibi.cn/cffp/pages/invitationRegister/invitationRegister?shareId=" +
// this.shareId,
// title: "CFFP家庭财务策划师联盟邀您加入",
// summary: `我是家庭财务策划师${this.realName}正在使用CFFP财富中心,点击下载即刻加入!`,
// title: "银盾家办家庭财务策划师联盟邀您加入",
// summary: `我是家庭财务策划师${this.realName}正在使用银盾家办,点击下载即刻加入!`,
// imageUrl: "https://mdev.zuihuibi.cn/cffp/static/cffp_logo.jpg",
// success: function(res) {
// console.log("success:" + JSON.stringify(res));
......
......@@ -121,7 +121,6 @@
api.queryCertificateList({
userId: uni.getStorageSync('cffp_userId')
}).then((res) => {
console.log(res)
if (res['success']) {
this.certificates = res['data']['certificates'];
this.planFaqs = res['data']['planFaqs'];
......
......@@ -153,7 +153,6 @@
userStudyCount(){
api.userStudyCount({userId:this.userId}).then(res=>{
if(res['success']){
console.log(res, 101115)
this.userStudyCountList = res['data'];
this.studyInfos = res['data']['studyInfos'];
let categories=[];
......@@ -175,7 +174,6 @@
})
},
userCoursePackBar(packFileId,orderId,state){
console.log(packFileId,orderId,state, 1141)
if(!packFileId || !orderId){
return false;
}
......
......@@ -55,12 +55,15 @@
<view>获得积分</view>
<view>操作</view>
</view>
<view class="point_content_list" v-for="pointItem in cffpFortuneDeductionList" @click="toPointDetail(pointItem)">
<view>{{pointItem.productTypeName}}</view>
<view>{{pointItem.commissionTypeName}}</view>
<view class="get_point">{{pointItem.commissionAmount}}</view>
<view class="point_detail">{{pointItem.productTypeName!='-'?'查看明细':'-'}}</view>
</view>
<template v-if="cffpFortuneDeductionList && cffpFortuneDeductionList.length > 0">
<view class="point_content_list" v-for="pointItem in cffpFortuneDeductionList" @click="toPointDetail(pointItem)">
<view>{{pointItem.productTypeName}}</view>
<view>{{pointItem.commissionTypeName}}</view>
<view class="get_point">{{pointItem.commissionAmount}}</view>
<view class="point_detail">{{pointItem.productTypeName!='-'?'查看明细':'-'}}</view>
</view>
</template>
<h4 class="noListTip" v-else>{{getName(timeFlag)}}暂无积分数据!</h4>
</view>
</view>
</template>
......@@ -125,7 +128,6 @@
// "timeFlag": "D"
// }
api.findByUserIdForFortuneStatistic(param).then((res)=>{
console.log(res)
if(res['success']){
this.sumCommissionAmount = res['data']['sumCommissionAmount']; //总积分
this.nowSumCommissionAmount = res['data']['nowSumCommissionAmount'] //当前(日月年)积分
......
......@@ -105,7 +105,6 @@
changeCommissionType: function(e) {
this.commissionTypeIdx = e.detail.value;
this.commissionType = this.commissionTypeList[this.commissionTypeIdx]['dropOptionCode'];
console.log(this.commissionType)
this.getDetail();
},
changeProductType: function(e) {
......@@ -133,7 +132,6 @@
api.findForExchangeStatisticDtl(param).then((res)=>{
if(res['success']){
this.cffpFortuneDateList = res['data']['cffpFortuneDateList'];
console.log(this.cffpFortuneDateList)
this.sumCommissionAmount = res['data']['sumCommissionAmount'];
}
});
......@@ -159,7 +157,6 @@
break;
}
}
console.log(this.commissionTypeIdx)
})
},
// 查看订单详情
......
......@@ -38,8 +38,7 @@
<!-- 分享明细 -->
<view class="shareDetailContent">
<h3>分享明细</h3>
<h4 class="noListTip" v-if="!userShareCourses">暂无分享记录!</h4>
<template v-if="userShareCourses">
<template v-if="userShareCourses && userShareCourses.length > 0">
<view class="shareOrderInfoItem" v-for="item in userShareCourses" :key="item.fileId">
<view class="timeBox">{{item.shareDate}}</view>
<view class="courseInfoContent">
......@@ -67,6 +66,7 @@
</view>
</view>
</template>
<h4 class="noListTip" v-else>暂无分享记录!</h4>
</view>
</view>
</template>
......@@ -115,7 +115,6 @@
queryDate: this.queryDate
}
api.userShareCount(params).then(res => {
console.log(res)
if (res['success']) {
this.coursesCountInfos = res['data'] ? res['data'] : this.coursesCountInfos;
Object.keys(this.coursesCountInfos).forEach((item) => {
......@@ -132,7 +131,6 @@
integralCount: 0,
shareSectionCount: 0
};
console.log(this.coursesCountInfos)
}
})
},
......@@ -141,9 +139,7 @@
userId: this.userId,
queryDate: this.queryDate
}
console.log(this.userShareCourses)
api.userShareQuery(params).then(res => {
console.log(res)
if (res['success']) {
this.userShareCourses = res['data']['userShareCourses'];
} else {
......
......@@ -38,7 +38,6 @@
<view class="selectRadio" :class="{'actived':paymentMethod===2}">
<i class="iconfont icon-duihao"></i>
</view>
</view>
<view class="paymentItem" @click="selectPaymentMethod(1)" v-if="deviceType==3">
<view>
......@@ -50,7 +49,7 @@
</view>
</view>
<!-- #ifdef APP-PLUS -->
<view class="paymentItem" @click="selectPaymentMethod(1)">
<!-- <view class="paymentItem" @click="selectPaymentMethod(1)">
<view>
<i class="iconfont icon-py_weixinzhifu"></i>
<text>微信支付</text>
......@@ -58,7 +57,7 @@
<view class="selectRadio" :class="{'actived':paymentMethod===1}">
<i class="iconfont icon-duihao"></i>
</view>
</view>
</view> -->
<!-- #endif -->
</view>
<!-- 底部 -->
......@@ -168,7 +167,7 @@
<script>
import api from "@/api/api";
import courseItem from "@/components/courseItem/courseItem.vue";
import {apiURL} from "@/environments/environment";
import {apiURL,companyInfo} from "@/environments/environment";
import {nextTick} from "vue";
import common from '../../common/common';
export default {
......@@ -239,14 +238,14 @@
integralExchange: this.isDeduction == "true" ? this.deductionCore : 0,
paymentType: '',
isPayOrAuth: '',
fileId: this.fileId
fileId: this.fileId,
companyType: companyInfo.companyType
}
if (this.paymentMethod == 1) {
// APP:微信app支付
// #ifdef APP-PLUS
param.paymentType = 1;
api.unifiedPay(param).then(res => {
//console.log(res)
this.paymentBtnDisabled = false;
if (res['success']) {
const prepayId = res['data']['prepayId'];//统一下单订单号 如果为空,代表0元订单支付成功
......@@ -400,7 +399,6 @@
}
this.payForm = res['data']['aliOrderString'];
this.$nextTick(() => {
console.log(document.forms)
document.forms['punchout_form'].submit();
})
} else {
......@@ -434,7 +432,6 @@
fileId: this.fileId,
userId: this.userId
}).then(res => {
console.log('课程详情', res);
if (res['success']) {
this.courseInfoItem = res['data']['data'];
}
......
......@@ -17,7 +17,8 @@
</view>
</view>
<!-- 退课 -->
<view class="dropClassBox" v-if="Withdrawal=='1' && orderDetail.operationStatus == '1'&& type == 'drop'">
<view class="dropClassBox" v-if="Withdrawal=='1' && orderDetail.isRefund == '1'&& type == 'drop'">
<!-- <view class="dropClassBox" v-if="Withdrawal=='1' && orderDetail.operationStatus == '1'&& type == 'drop'"> -->
<view class="dropBtn" @click="dropClasses()">退课</view>
</view>
</view>
......@@ -158,6 +159,7 @@
orderId: this.orderId,
queryType: this.type == 'drop' ? '1' : '2',
commissionType: this.commissionType,
refundUserId: this.Withdrawal =='1'? uni.getStorageSync('cffp_userId'):null
}
api.userCourseInfo(param).then(res => {
if (res['success']) {
......
......@@ -6,7 +6,7 @@
<view class="header-box-img">
</view>
<view class="" style="text-align: center;">
<p style="font-size: 22px;font-weight: 500;">CFFP财富中心</p>
<p style="font-size: 22px;font-weight: 500;">银盾家办APP</p>
<p style="margin-top: 20rpx;">V1.0</p>
</view>
</view>
......@@ -25,17 +25,18 @@
<view class="" style="display: align-self: end;">
<span><text style="color: #2D56A7;" @click="getFile(1)">《服务协议》 | </text><text style="color: #2D56A7;" @click="getFile(2)">《隐私政策》</text></span>
<p class="footer-text" style="margin: 10px 0;">客服电话:400:921-9290</p>
<p class="footer-text">江苏赢盾财务顾问有限公司提供</p>
<p class="footer-text">{{companyFullName}}提供</p>
</view>
</view>
</view>
</template>
<script>
import {companyInfo} from "@/environments/environment";
export default {
data() {
return {
companyFullName : companyInfo.companyFullName
}
},
created() {
......@@ -105,7 +106,8 @@
width: 124rpx;
height: 124rpx;
margin: 90rpx auto 45rpx auto;
background: url('../../../static/myteam/Group1633.png');
//background: url('../../../static/myteam/Group1633.png');
background: url('../../../static/myteam/logo.png');
background-size: auto 100%;
}
</style>
\ No newline at end of file
......@@ -12,7 +12,6 @@
}
},
onLoad(params) {
console.log(params,777)
// encodeURIComponent 函数可把字符串作为 URI 组件进行编码。decodeURIComponent解码
// 这里的 params.fileUrl 是另一个组件进入到该组件时通过 navigateTo 传进来的pdf文件路径
let fileUrl = decodeURIComponent(params.fileUrl);
......
......@@ -43,7 +43,6 @@
});
},
goteam(item) {
console.log(item)
if(item.type===1){
uni.navigateTo({
url:`/pages/personalCenter/teamMembers/teamMembers`,
......
......@@ -3,7 +3,7 @@
<!-- 头部信息 -->
<view class="basicInfoBox">
<view class="avatar">
<image :src="customerBasicInfo.headPicture?customerBasicInfo.headPicture:'../../static/myteam/Group1633.png'" alt="" srcset="" ></image>
<image :src="customerBasicInfo.headPicture?customerBasicInfo.headPicture:'../../static/myteam/logo.png'" alt="" srcset="" ></image>
</view>
<view class="infoBox">
<view class="firstLineBox">
......@@ -200,7 +200,6 @@
}
},
ckidentity(item){
console.log(item, 15551)
if(item.identity == true && this.customerBasicInfo.partnerType ==null){
uni.showToast({
title: "您本人尚未加盟,您加盟后可邀请加盟",
......@@ -253,16 +252,15 @@
queryInfo(){
api.queryInfo({userId:uni.getStorageSync('cffp_userId')}).then(res=>{
if(res['success']){
console.log(res['data'])
this.customerBasicInfo = res['data'];
this.inviteEqrode = this.customerBasicInfo.invitationCode;
uni.setStorageSync('user_mobile', res.data.mobile)
uni.setStorageSync('userinfodataForm', res.data)
}else{
uni.showToast({
title: res['message'],
duration: 2000
});
// }else{
// uni.showToast({
// title: res['message'],
// duration: 2000
// });
}
})
}
......
......@@ -36,7 +36,6 @@
},
methods: {
goDetail(item) {
console.log(item, 844)
if (item.isShow == true && item.isOpen == true) {
if (item.isTips == true) {
uni.showModal({
......
......@@ -39,7 +39,7 @@ import MenuList from "@/components/menuList/menuList.vue"
isTips: true,
},
{
title: '关于CFFP财富中心',
title: '关于银盾家办APP',
icon: 'myCertify',
link: '/pages/personalCenter/accountoperation/aboutcffp',
isOpen: true,
......
......@@ -56,7 +56,6 @@
},
mounted() {
this.dataList = this.raiseList
console.log(this.raiseList, 77777)
},
methods:{
getList(item,arr){
......
......@@ -5,7 +5,7 @@
<text class="concent-text">{{levelName}}</text>
</view>
</view>
<view style="text-align: right;margin: 20px;">
<view v-if="dataShowType ==1" style="text-align: right;margin: 20px;">
总合计:{{count}}
</view>
......@@ -15,16 +15,18 @@
<span class="">{{item}}</span>
</view> -->
<view class="d-td" style="text-align: left;">
<text>辖下组织/成员</text>
<text v-if="dataShowType ==1">成员</text>
<text v-if="dataShowType == 2">育成团队</text>
</view>
<view class="d-td" style="flex: 1;text-align: center;">
<view class="d-td" style="text-align: center;">
<text>职级</text>
</view>
<view class="d-td" style="flex: 1;text-align: center;">
<text>成员数量</text>
<view class="d-td" style="text-align:center;">
<text v-if="dataShowType ==1">关系</text>
<text v-if="dataShowType == 2">数量</text>
</view>
</view>
<lazy-tree v-if="dataList" :datatitleList="datatitleList" :dataList="dataList" type="2"></lazy-tree>
<lazy-tree v-if="dataList" :datatitleList="datatitleList" :dataList="dataList" type="2" :dataShowType="dataShowType"></lazy-tree>
<!-- <myteam-table :datatitleList="datatitleList" :dataList="dataList" type="1"></myteam-table> -->
</view>
</view>
......@@ -43,6 +45,9 @@
},
count: {
type: Number
},
dataShowType: {
type: String
}
},
components:{
......@@ -62,7 +67,6 @@
// parentId: x.parentId? x.parentId : '0'
// }))
this.dataList = this.directList
console.log(this.dataList, 74852)
}
}
</script>
......@@ -97,19 +101,23 @@
.d-box {
display: flex;
justify-content: space-between;
// padding: 0 20rpx;
font-size: 32rpx;
font-weight: 600;
// .d-header {
// text-align: center;
// font-size: 26rpx;
// }
.d-header {
text-align: center;
font-size: 26rpx;
}
// .d-td {
// align-items: center;
// padding: 5rpx 10rpx;
// }
.d-td {
flex: 1;
align-items: center;
padding: 5rpx 10rpx;
}
}
.table-content{
margin: 10px 20px;
......
<template>
<view class="content">
<view style="text-align: right;margin: 20rpx 40rpx;">
总合计:{{count}}
</view>
<view class="content-box">
<view class="content-box-title" v-for="item in datatitleList">
<text class="title">{{item}}</text>
</view>
</view>
<view class="content-sam-box" v-for="pointItem in otherList">
<span class="content-box-title">{{pointItem.org}}</span>
<span class="content-box-title">{{pointItem.levelName}}</span>
<span class="content-box-title">{{pointItem.name}}</span>
<span class="content-box-title">{{pointItem.levelName}}</span>
<span class="content-box-title">{{pointItem.parentName}}</span>
<span class="content-box-title">{{pointItem.referrer}}</span>
</view>
<!-- <view class="">
......@@ -24,6 +27,9 @@
otherList: {
type: Array,
default: null
},
count: {
type: Number
}
},
// components:{
......@@ -31,7 +37,7 @@
// },
data() {
return {
datatitleList: ['所属组织', '职级', '姓名', '推荐关系'],
datatitleList: ['成员', '职级', '上级', '关系'],
dataList:[],
// dataList: [{
// title: '所属组织1',
......@@ -61,7 +67,6 @@
// name: x.name,
// referrer:x.referrer
// }))
// console.log(this.otherList, 7778878788)
}
}
</script>
......
......@@ -4,26 +4,27 @@
<!-- <text class="iconfont icon-youjiantou zuojiantou" @click="goBack()" style="left: 20rpx;"></text> -->
<!-- tab选项 -->
<view class="tabTitle">
<text :class="{'actived': tabType===1}" @click="switchTab(1)">直辖团队</text>
<text :class="{'actived': tabType===2}" @click="switchTab(2)">所辖团队</text>
<text :class="{'actived': tabType===3}" @click="switchTab(3)">其他</text>
<text :class="{'actived': tabType===3}" @click="switchTab(3)">直辖团队</text>
<text :class="{'actived': tabType===1}" @click="switchTab(1)">所辖团队</text>
<text :class="{'actived': tabType===2}" @click="switchTab(2)">育成团队</text>
</view>
<!-- tab内容 -->
<view class="tabContent">
<view v-if="tabType===1">
<members v-if="directList" :directList="directList" :levelName = "levelName" :count= "count"></members>
<members v-if="directList" :directList="directList" :levelName = "levelName" :count= "count" dataShowType="1"></members>
<view v-else class="zdata" >
<text>暂无数据!</text>
</view>
</view>
<view v-if="tabType===2">
<jurisdiction v-if="raiseList" :raiseList="raiseList"></jurisdiction>
<!-- <jurisdiction v-if="raiseList" :raiseList="raiseList"></jurisdiction> -->
<members v-if="raiseList" :directList="raiseList" :levelName = "levelName" :count= "countRaise" dataShowType="2"></members>
<view v-else class="zdata" style="">
<text>暂无数据!</text>
</view>
</view>
<view class="other" v-if="tabType===3">
<other-team v-if="otherList" :otherList="otherList"></other-team>
<other-team v-if="otherList" :otherList="otherList" :count="countOther"></other-team>
<view v-else class="zdata" style="">
<text>暂无数据!</text>
</view>
......@@ -45,10 +46,12 @@
},
data() {
return {
tabType: 1,
tabType: 3,
userStudyLists: [],
userId: uni.getStorageSync('cffp_userId'),
countOther:0,
count:0,
countRaise:0,
directList: null, //直属团队数组
raiseList: null, //所辖团队数组
otherList: null, // 其他
......@@ -59,7 +62,7 @@
},
mounted() {
this.switchTab(1)
this.switchTab(3)
this.getmyseatem()
},
methods:{
......@@ -70,31 +73,34 @@
},
getmyseatem() {
api.queryMyTeamInfo({
userId: this.userId
userId: this.userId,
type: '2'
}).then(res =>{
if(res['success']){
console.log(res, 11215)
let data = res.data
if(data.orgInfo) {
this.levelName =data.orgInfo.areaCenterName;
this.count = data.orgInfo.count;
//this.levelName =data.orgInfo.areaCenterName;
this.levelName = data.orgInfo.name;
}
if(data.directList.length != 0 && data.directList != null){
if(data.directList && data.directList.length != 0 && data.directList != null){
this.directList = data['directList'];
this.count = this.directList.length;
this.directList.forEach((x)=>{
this.$set(x, 'hasChildren' , true)
this.$set(x, 'children' , [])
})
}
if(data.raiseList.length != 0 && data.raiseList != null) {
if(data.raiseList && data.raiseList.length != 0 && data.raiseList != null) {
this.raiseList = data['raiseList'];
this.countRaise = this.raiseList.length;
this.raiseList.forEach((x)=>{
this.$set(x, 'hasChildren', true)
this.$set(x, 'children' , [])
})
}
if(data.other.length != 0 && data.other != null){
if(data.other && data.other.length != 0 && data.other != null){
this.otherList = data['other'];
this.countOther = this.otherList.length;
}
}
})
......@@ -106,7 +112,6 @@
// if (res['success']) {
// this.userStudyLists = res['data']['userStudyTimeInfos'];
// }
// console.log(res)
// })
// },
switchTab(type) {
......
......@@ -68,6 +68,7 @@
<view v-if="listType == true">
<myteam-table :datatitleList="datatitleList" :dataList="dataList" felTyle="achievement"></myteam-table>
</view>
<h4 class="noListTip" v-else>暂无数据!</h4>
</view>
</template>
......@@ -82,8 +83,10 @@
},
data() {
return {
datatitleList: ['姓名', '所属组织', '单数', '销售额', '销售收入'],
teamList: ['直辖团队', '所辖团队', '其他'],
//datatitleList: ['姓名', '所属组织', '单数', '销售额', '销售收入'],
//teamList: ['直辖团队', '所辖团队', '其他'],
datatitleList: ['姓名', '单数', '销售额', '销售收入'],
teamList: ['直辖团队', '所辖团队', '育成团队'],
teamtype: 0,
montdindex: 0,
array: ['一季度', '二季度', '三季度', '四季度'],
......@@ -116,7 +119,8 @@
startDate: `${new Date().getFullYear()}-${new Date().getMonth() + 1 > 9 ? new Date().getMonth() + 1 : '0'+ (new Date().getMonth() + 1)}`,
endDate: `${new Date().getFullYear()}-${new Date().getMonth() + 1 > 9 ? new Date().getMonth() + 1 : '0'+ (new Date().getMonth() + 1)}`,
queryType: '',
courseOrPolicy: '1'
courseOrPolicy: '1',
type: '2'
},
dataList: []
}
......@@ -165,7 +169,6 @@
if (res['success']) {
this.listType = true
this.dataList = res.data.list || [];
console.log(this.dataList)
this.totalOrder = res.data.totalOrder ? res.data.totalOrder : '0';
this.totalCoursePrice = res.data.totalCoursePrice ? res.data.totalCoursePrice : '0';
this.totalIncome = res.data.totalIncome ? res.data.totalIncome : '0';
......@@ -194,7 +197,6 @@
},
// 这个是时间组件返回的时间值
change(time) {
console.log(time, 88)
this.CffpOrgInfoReqVO.startDate = time
this.getqueryTeamAchievement()
},
......
......@@ -3,8 +3,8 @@
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()" style="left: 20rpx;"></text>
<view class="header">
<view class="headportrait" @click="uploadAvatar()">
<image :src="optionForm.headPicture ? optionForm.headPicture :'../../static/myteam/Group1633.png'"
mode=""></image>
<!-- <image :src="optionForm.headPicture ? optionForm.headPicture :'../../static/myteam/Group1633.png'" mode=""></image> -->
<image :src="optionForm.headPicture ? optionForm.headPicture :'../../static/myteam/logo.png'" mode=""></image>
</view>
</view>
<!-- <view class="linechart">
......@@ -98,14 +98,28 @@
},
// 修改个人资料接口
submitinfo() {
if (!common.nameValid(this.optionForm.realName)) {
uni.showToast({
title: '请输入真实的姓名!',
duration: 2000,
icon: 'none'
})
if(!this.optionForm.realName || this.optionForm.realName.length <= 0){
uni.showToast({title: '请填写真实姓名',duration: 2000,icon: 'none'});
return;
}else if (!common.nameValid(this.optionForm.realName)) {
let that = this;
uni.showModal({
content: '真实姓名不合规,是否继续保存',
confirmText: '保存',
cancelText: '取消',
success: function (res) {
if (res.confirm) {
that.saveUserInfo();
}else{
return;
}
}
});
}else{
this.saveUserInfo();
}
},
saveUserInfo(){
let UserRequestVO = {
id: uni.getStorageSync('cffp_userId'),
realName: this.optionForm.realName,
......@@ -115,20 +129,11 @@
}
api.updateinfo(UserRequestVO).then(res => {
if (res.success) {
uni.showToast({
title: res['message'],
duration: 2000,
icon: 'none'
});
uni.$emit("handClick", {
data: this.optionForm
});
uni.showToast({title: '修改成功',duration: 2000,icon: 'none'});
uni.$emit("handClick", {data: this.optionForm});
setTimeout(() => {
uni.navigateBack({
delta: 1
})
uni.navigateBack({delta: 1});
}, 1000)
}
})
},
......
......@@ -75,7 +75,6 @@
},
queryByUserIdFortuneStatistic(){
api.queryByUserIdFortuneStatistic({userId:uni.getStorageSync('cffp_userId')}).then((res)=>{
console.log(res, 55454)
if(res['success']){
this.yesExchangeFortune = res['data']['yesExchangeFortune'];
this.notExchangeFortune = res['data']['notExchangeFortune'];
......
<template>
<view class="container">
<view class="">根据交易方式不同,退款处理时间不同,请在对应的时间内注意查看到账情况:</view>
<view class="">
微信
<view class="top">
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()"></text>
<text>到账说明</text>
</view>
<view class="">
1.零钱支付的用户,资金是实时到账,退款到微信->钱包; 2.储蓄卡支付的将在1-5个工作日内退款到储蓄卡; 3.信用卡支付的将在2-5个工作日内退款到信用卡(最长15工作日)。
</view>
<view class="">
支付宝
</view>
<view class="">
1.退回支付宝余额:资金是实时到账,请在支付宝中的【账户收支明细】查看; 2.退回到银行卡:一般3-7天入账,请在支付宝中的【进度中心】查看进度; 3.退回余额宝:资金实时入账,请在支付宝中的【余额宝明细】查询。
<view class="returnDetailContainer">
<h4>根据交易方式不同,退款处理时间不同,请在对应的时间内注意查看到账情况:</h4>
<view class="returnInfoContent">
<view>
<h4>微信</h4>
</view>
<view class="">
1、零钱支付的用户,资金是实时到账,退款到微信->钱包;
</view>
<view class="">
2、储蓄卡支付的将在1-5个工作日内退款到储蓄卡;
</view>
<view class="">
3、信用卡支付的将在2-5个工作日内退款到信用卡(最长15工作日)。
</view>
</view>
<view class="returnInfoContent">
<view>
<h4></h4>
</view>
<view>
<h4>支付宝</h4>
</view>
<view class="">
1、退回支付宝余额:资金是实时到账,请在支付宝中的【账户收支明细】查看;
</view>
<view class="">
2、退回到银行卡:一般3-7天入账,请在支付宝中的【进度中心】查看进度;
</view>
<view class="">
3、退回余额宝:资金实时入账,请在支付宝中的【余额宝明细】查询。
</view>
</view>
</view>
</view>
</template>
......@@ -22,19 +47,44 @@
return {
};
},
methods:{
goBack(){
uni.navigateBack({
delta: 1
})
}
}
}
</script>
<style lang="scss">
.container{
height: 100%;
padding: 20rpx 40rpx;
background-color: #fff;
view{
margin-bottom: 10rpx;
color: #333;
font-size: 28rpx;
height:100%;
.top{
display: flex;
height: 80rpx;
justify-content: space-between;
align-items: center;
position: relative;
width: 100%;
margin: 0 auto;
background: #fff;
text:nth-child(2){
width: 100%;
text-align: center;
position: absolute;
}
}
.returnDetailContainer{
background-color: #fff;
padding: 20rpx 40rpx;
margin: 10rpx auto;
h4{
font-size: 32rpx;
color: #333;
margin-bottom: 20rpx;
}
}
}
</style>
......@@ -143,7 +143,6 @@
}
if(this.tabType===1){
api.userCourseList(params).then(res=>{
console.log(res)
if(res['success']){
this.userCourses = res['data']['userCourses'];
this.userCourseCountNum = res['data']['userCourseCount'];
......@@ -179,7 +178,6 @@
},
onShow() {
let app22 = getCurrentPages().length
console.log(app22)
}
}
</script>
......
......@@ -11,7 +11,7 @@
<text>清除未读</text>
</view>
</view>
<view class="content" v-if="system_msgs_list">
<view class="content" v-if="system_msgs_list && system_msgs_list.length > 0">
<view class="announcement_wrapper" v-for="(item,index) in system_msgs_list" :key="index"
@click="goToDetail(item.id)">
<text class="iconfont icon-zizhutuiguang"></text>
......@@ -28,7 +28,7 @@
</view>
</view>
</view>
<view class="content" v-if="!system_msgs_list">
<view class="content" v-else>
<view style="text-align: center;">暂无消息</view>
</view>
</view>
......@@ -70,7 +70,6 @@
})
},
oneKeyRead(){
console.log(this.system_msgs_list, 46)
if( this.system_msgs_list.length == 0){
uni.showToast({
title: '暂无可清除未读消息',
......@@ -98,7 +97,6 @@
}
}
}
</script>
<style lang="scss">
......
......@@ -41,7 +41,6 @@
api.querySystemMessageDetail({systemMessageId:this.id}).then((res)=>{
if(res['success']){
this.systemMsgInfo = res['data']['systemMessageInfo']
console.log(this.systemMsgInfo)
}
})
},
......
......@@ -3,7 +3,7 @@
<view class="content_wrapper">
<h4>劳务报酬税缴纳规则</h4>
<view class="content">
根据国家相关法律法规,提现将由CFFP财富中心官方代缴个税后(按劳务报酬税率计算),付款到用户的微信钱包内。 根据规则,奖实行按月累计扣税,若在当月发起多次提现,本次扣税基数将累计当月全部的提现金额。以下供参考,详细可在国家税务局查询。
根据国家相关法律法规,提现将由银盾家办官方代缴个税后(按劳务报酬税率计算),付款到用户的微信钱包内。 根据规则,奖实行按月累计扣税,若在当月发起多次提现,本次扣税基数将累计当月全部的提现金额。以下供参考,详细可在国家税务局查询。
</view>
<h4 style="text-align: center;">劳务报酬所得预扣率表</h4>
<view style="color:#666;text-align: center;margin-bottom: 20rpx;">
......
......@@ -58,7 +58,7 @@
<navigator class="rule" url="/pages/taxRules/taxRules">《劳务报酬税缴纳规则》;</navigator>
</view>
<view class="">
3、如需帮助,请联系CFFP财富中心客服电话400:921-9290;
3、如需帮助,请联系银盾家办客服电话400:921-9290;
</view>
</view>
<view class="btn" @click="confirmWithdrawal()" :class="{'gray':readonlyFlag}" style="bottom: 30rpx;">
......@@ -86,7 +86,6 @@
onLoad(options){
this.exchangeAmount = options.exchangeAmount;
this.partnerTradeNo = options.partnerTradeNo;
console.log(options)
this.goFortuneWithdrawal()
},
methods:{
......@@ -96,7 +95,6 @@
});
},
goFortuneWithdrawal(){
console.log(1)
const param = {
userId:uni.getStorageSync('cffp_userId'),
// userId:1,
......@@ -104,7 +102,6 @@
partnerTradeNo:this.partnerTradeNo?this.partnerTradeNo:null
}
api.goFortuneWithdrawal(param).then((res)=>{
console.log(res)
if(res['success']){
const data = res['data']
this.exchangeAmount = data.exchangeAmount;
......@@ -155,7 +152,6 @@
userId:uni.getStorageSync('cffp_userId'),
}
//#endif
console.log(aliWithdrawalResVOParam)
api.aliWithdrawal(aliWithdrawalResVOParam).then((res)=>{
this.readonlyFlag = false;
if(res['success']){
......
<template>
<view class="container">
<view class="top">
<text class="iconfont icon-youjiantou zuojiantou" @click="goBack()"></text>
<text>兑换详情</text>
</view>
<view class="recordContent">
<image :src="deductionUrl" mode="widthFix"></image>
<view class="detail">
......@@ -52,10 +56,14 @@
components:{},
onLoad(options){
this.partnerTradeNo = options.partnerTradeNo;
console.log(this.partnerTradeNo)
this.findByUserIdForWithdralDtl();
},
methods:{
goBack(){
uni.navigateBack({
delta: 1
})
},
findByUserIdForWithdralDtl(){
const params = {
partnerTradeNo:this.partnerTradeNo,
......@@ -63,7 +71,6 @@
// userId:1
}
api.findByUserIdForWithdralDtl(params).then((res)=>{
console.log(res)
if(res['success']){
const data = res['data']['cffpFortuneExchangeVO'];
this.productTypeName = data['productTypeName'];
......@@ -84,6 +91,24 @@
</script>
<style lang="scss">
.container{
height:100%;
.top{
display: flex;
height: 80rpx;
justify-content: space-between;
align-items: center;
position: relative;
width: 100%;
margin: 0 auto;
background: #fff;
text:nth-child(2){
width: 100%;
text-align: center;
position: absolute;
}
}
}
.recordContent{
display: flex;
margin-bottom: 20rpx;
......
......@@ -265,10 +265,8 @@
this.isNeedOfficialAccountQrcode= ref(e);
},
onnodeclick(e) {
console.log(e);
},
onchange(e) {
// console.log('onchange:', e);
},
drawLine(){
// 基于准备好的dom,初始化echarts实例
......
......@@ -225,7 +225,6 @@
});
return;
}
console.log(this.policyYearLists)
for(let i=0;i<this.policyYearLists.length;i++){
if(this.policyYearLists[i].cashValue<0 || isNaN(this.policyYearLists[i].cashValue || this.policyYearLists[i].cashValue > 999999999999999)){
uni.showModal({
......
......@@ -93,7 +93,6 @@
},
setup(props,content) {
console.log('子组件拿到值了',props);
const a = reactive({value:props.a});
const b = reactive({value:props.b});
const loanType = ref(props.loanType);
......@@ -101,8 +100,6 @@
const sendData = (e) =>{
content.emit('getData',e);
}
console.log(a);
console.log(b)
return {loanType,sendData,a,b,isReadonly}
},
mounted(){
......@@ -287,7 +284,6 @@
}
// 旧房贷款信息集合
// console.log(this.houseLoanOldList)
const ab = {
a:this.accumulationFundParams,
b:this.commercialLoansParams,
......
......@@ -274,7 +274,7 @@
}, */
getFollowData(e){
this.isNeedOfficialAccountQrcode= ref(e);
console.log('父组件拿到值了',e);
//console.log('父组件拿到值了',e);
},
// 使用说明跳转
instructionForUse(){
......@@ -438,7 +438,7 @@
withdrawalStart:null,
withdrawalEnd:null,
yearWithdrawalAmount:null,}]);
console.log(this.yearWithdrawalInfos)
//console.log(this.yearWithdrawalInfos)
}else{
this.yearWithdrawalInfos = [];
}
......
{
"id": "3749283",
"name": "CFFP财富中心",
"name": "银盾家办",
"font_family": "iconfont",
"css_prefix_text": "icon-",
"description": "",
......
......@@ -61,7 +61,6 @@
hshare(data, url)
},
open(option) {
console.log(option, 155)
this.WXdata = option
this.$refs.sharewx.open()
this.share()
......@@ -90,8 +89,6 @@
console.log(res, 155)
},
fail: function(err) {
alert(err)
alert(JSON.stringify(err))
console.log("fail:" + JSON.stringify(err));
}
});
......
......@@ -27,11 +27,11 @@ class UniShare extends UniImageMenu{
...param.content,
...menus[e.index].share,
success: res=> {
console.log("success:" + JSON.stringify(res));
//console.log("success:" + JSON.stringify(res));
super.hide()
},
fail: function(err) {
console.log("fail:" + JSON.stringify(err));
//console.log("fail:" + JSON.stringify(err));
uni.showModal({
content: JSON.stringify(err),
showCancel: false,
......@@ -48,18 +48,15 @@ class UniShare extends UniImageMenu{
showCancel: false,
confirmText: '知道了'
});
console.error('获取服务供应商失败:' + JSON.stringify(err));
})
}
hide(){
super.hide()
}
copyurl(param) {
console.log('copyurl',param);
uni.setClipboardData({
data: param.content.href,
success: ()=>{
console.log('success');
uni.hideToast() //关闭自带的toast
uni.showToast({
title: '复制成功',
......@@ -77,16 +74,13 @@ class UniShare extends UniImageMenu{
}
// 使用系统分享发送分享消息
shareSystem(param) {
console.log('shareSystem',param);
plus.share.sendWithSystem({
type: 'text',
content: param.content.title + param.content.summary || '',
href: param.content.href,
}, (e)=> {
console.log('分享成功');
super.hide()
}, (err)=> {
console.log('分享失败:' + JSON.stringify(err));
uni.showModal({
title: '获取服务供应商失败:' + JSON.stringify(err),
showCancel: false,
......
......@@ -26,7 +26,6 @@ export default class authorizeUtils {
let compat: any = plus.android.importClass('androidx.core.content.ContextCompat')
let context = plus.android.runtimeMainActivity()
let result = compat.checkSelfPermission(context, authorize)
console.log("result===", result);
if (result === 0) return true
// 如果已经授权直接返回
const contentData = {
......
import {baseURL,apiURL,cffpURL} from "../environments/environment";
import {apiURL,cffpURL} from "../environments/environment";
// 白名单,不需要携带token就允许被访问的接口
const whiteApiList = [`${apiURL}/authorize/obtainToken`, `${apiURL}/authorize/checkToken`, `${cffpURL}/user/loginVerification`,`${apiURL}/appVersion/checkIsUpdate`,
`${cffpURL}/accessLog/accessLogSave`,`${cffpURL}/user/powerQuery`,`${cffpURL}/user/wxLogin`,`${cffpURL}/certificate/officialWebsiteDetail`];
export const interceptor = () => {
uni.addInterceptor('request', {
// 请求拦截器
invoke(args) {
// console.log('请求拦截器',args.url);
// 加载loading
// uni.showLoading({
// title: '加载中...'
// });
// 当本地没有token,并且接口地址没在白名单内,需要重新获取token
if (!uni.getStorageSync('uni-token') && !whiteApiList.includes(args.url)) {
const params = {
ticket:'uni-app',
loginId:null
ticket: 'uni-app',
loginId: null
}
let h5userId = uni.getStorageSync('cffp_userId');
if (h5userId) {
......@@ -29,7 +21,6 @@ export const interceptor = () => {
method: 'POST',
data: params,
success: (res) => {
if (res.statusCode === 200) {
uni.setStorageSync('uni-token', res.data['data']['token']);
let isHas = window.location.href.indexOf('?')==-1?'?':'&';
......@@ -38,8 +29,6 @@ export const interceptor = () => {
}
})
}
// request 触发前拼接 url
//设置请求头及token
args.header = {
'content-type': args.method === 'POST' ? 'application/json' : 'application/x-www-form-urlencoded',
......@@ -48,17 +37,10 @@ export const interceptor = () => {
// 'Access-Control-Allow-Methods': 'POST, GET, OPTIONS',
// 'Access-Control-Max-Age': 86400,
}
// console.log(args.header)
},
// 响应拦截器,可以对数据进行预处理
success(args) {
// uni.hideLoading()
//console.log(args);
if(args && args.data && args.data.errorCode && "T001"==args.data.errorCode){
// uni.redirectTo({
// url:'/components/login/login'
// })
uni.removeStorageSync('isLogin');
uni.switchTab({
url:'/pages/index/index'
......@@ -67,11 +49,8 @@ export const interceptor = () => {
},
fail() {
// console.log('interceptor-fail', err)
// console.log('请求失败')
// uni.hideLoading()
},
complete() {
// uni.hideLoading()
}
})
......
// import {interceptor} from "./interceptor";
// 全局请求封装
export default (url:string, method:any, params?:any) => {
// interceptor();
return new Promise((resolve, reject) => {
// uni.showLoading({
// title: '加载中...'
// });
uni.request({
url: url,
method: method,
......
import request from "./request";
import authorizeUtils from "./authorizeUtils";
import { baseURL, apiURL, cffpURL } from "../environments/environment";
//import request from "./request";
//import authorizeUtils from "./authorizeUtils";
import { apiURL } from "../environments/environment";
// 上传图片事件
export function CommonUpload(psrams) {
let requestVO = psrams
// @ts-ignore
return new Promise((resolve, reject) => {
// 1. 弹窗说明权限用途
//let authFlag = authorizeUtils.showAuthTipModal("android.permission.READ_EXTERNAL_STORAGE");
//let authFlag2 = authorizeUtils.showAuthTipModal("android.permission.CAMERA");
uni.showModal({
title: '权限说明',
content: '我们需要访问您的相机和相册,以便您拍摄或上传图片。',
confirmText: '同意',
cancelText: '拒绝',
success: function (res) {
// #ifdef APP-PLUS
let imageCamera = uni.getStorageSync('imageCamera');
if(!imageCamera || imageCamera != '1'){
uni.showModal({
title: '权限说明',
content: '我们需要访问您的相机和相册,以便您拍摄或上传图片。',
confirmText: '同意',
cancelText: '拒绝',
success: function (res) {
if (res.confirm) {
uni.chooseImage({
count: 1, //默认9
sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
sourceType: ['album','camera'], //从相册选择
success: function(res) {
// res.tempFiles 数组
// for (var i = 0; i < res.tempFiles.length; i++) {
uni.showLoading({
title: '加载中',
mask: true
});
uni.uploadFile({
// /api/file/upload //pc上传代理
// https://mdev.zuihuibi.cn/api/file/upload
url: `${apiURL}/file/upload`, // 后端api接口
filePath: res.tempFilePaths[0], // uni.chooseImage函数调用后获取的本地文件路劲
name: 'file', //后端通过'file'获取上传的文件对象
// formData: this.sendDate,
// header:{"third-session": uni.getStorageSync('thirdSession')},
formData: { //后台所需除图片外的参数可以写在这里面 ,单张多张都可
requestVO: JSON.stringify(requestVO)
},
header: {
// "third-session": uni.getStorageSync('thirdSession')
// 'content-type': 'application/json',
'X-Authorization': uni.getStorageSync('uni-token') ? uni.getStorageSync('uni-token') : ''
},
success: (res) => {
let data = JSON.parse(res.data)
// // 抛出
resolve(data)
uni.hideLoading();
},
fail:(err) =>{
uni.showModal({
content:'上传失败',
showCancel: false
})
uni.hideLoading();
// console.log(data, '发生错误,查看错误日志')
}
});
// }
}
});
} else if (res.cancel) {
console.log('用户点击取消');
}
}
});
uni.setStorageSync('imageCamera', '1');
uni.chooseImage({
count: 1, //默认9
sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
sourceType: ['album','camera'], //从相册选择
success: function(res) {
uni.showLoading({title: '加载中', mask: true});
uni.uploadFile({
url: `${apiURL}/file/upload`, // 后端api接口
filePath: res.tempFilePaths[0], // uni.chooseImage函数调用后获取的本地文件路劲
name: 'file', //后端通过'file'获取上传的文件对象
formData: { requestVO: JSON.stringify(requestVO)},//后台所需除图片外的参数可以写在这里面 ,单张多张都可
header: {'X-Authorization': uni.getStorageSync('uni-token') ? uni.getStorageSync('uni-token') : ''},
success: (res) => {
resolve(JSON.parse(res.data));
uni.hideLoading();
},
fail:(err) =>{
uni.showModal({content:'上传失败', showCancel: false})
uni.hideLoading();
}
});
}
});
}
}
})
}else{
uni.chooseImage({
count: 1, //默认9
sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
sourceType: ['album','camera'], //从相册选择
success: function(res) {
uni.showLoading({title: '加载中', mask: true});
uni.uploadFile({
url: `${apiURL}/file/upload`, // 后端api接口
filePath: res.tempFilePaths[0], // uni.chooseImage函数调用后获取的本地文件路劲
name: 'file', //后端通过'file'获取上传的文件对象
formData: { requestVO: JSON.stringify(requestVO)},//后台所需除图片外的参数可以写在这里面 ,单张多张都可
header: {'X-Authorization': uni.getStorageSync('uni-token') ? uni.getStorageSync('uni-token') : ''},
success: (res) => {
resolve(JSON.parse(res.data));
uni.hideLoading();
},
fail:(err) =>{
uni.showModal({content:'上传失败', showCancel: false})
uni.hideLoading();
}
});
}
});
}
// #endif
// #ifdef H5
uni.chooseImage({
count: 1, //默认9
sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
sourceType: ['album','camera'], //从相册选择
success: function(res) {
uni.showLoading({title: '加载中', mask: true});
uni.uploadFile({
url: `${apiURL}/file/upload`, // 后端api接口
filePath: res.tempFilePaths[0], // uni.chooseImage函数调用后获取的本地文件路劲
name: 'file', //后端通过'file'获取上传的文件对象
formData: { requestVO: JSON.stringify(requestVO)},//后台所需除图片外的参数可以写在这里面 ,单张多张都可
header: {'X-Authorization': uni.getStorageSync('uni-token') ? uni.getStorageSync('uni-token') : ''},
success: (res) => {
resolve(JSON.parse(res.data));
uni.hideLoading();
},
fail:(err) =>{
uni.showModal({content:'上传失败', showCancel: false})
uni.hideLoading();
}
});
}
});
// #endif
})
}
......@@ -82,7 +107,6 @@ export function ckbigImg(params) {
complete: function(res) {},
})
}
// 这个方法用来上传文件
export function uploadFilepdf(params) {
......@@ -93,10 +117,8 @@ export function uploadFilepdf(params) {
count: 1, //默认100
extension: ['.pdf', '.doc'],
success: function(res) {
console.log(res, 5588)
var str = res.tempFiles[0].name; //截取后4位
let a = str.substring(str.length - 3);
console.log(a , 'aaaaaa')
if(a !== 'pdf') {
uni.showToast({
title: '上传文件格式不正确!',
......@@ -106,8 +128,6 @@ export function uploadFilepdf(params) {
return
}
var name = res.tempFiles[0].name
// res.tempFiles 数组
// for (var i = 0; i < res.tempFiles.length; i++) {
uni.showLoading({
title: '加载中',
mask: true
......@@ -119,14 +139,10 @@ export function uploadFilepdf(params) {
formData: {
requestVO: JSON.stringify(requestVO)
},
// header:{"third-session": uni.getStorageSync('thirdSession')},
header: {
// "third-session": uni.getStorageSync('thirdSession')
// 'content-type': 'application/json',
'X-Authorization': uni.getStorageSync('uni-token') ? uni.getStorageSync('uni-token') : ''
},
success: (res) => {
console.log(res, 54854)
let data = JSON.parse(res.data)
if(data.success == true){
data.name = name
......@@ -138,20 +154,10 @@ export function uploadFilepdf(params) {
icon: 'none'
});
}
// urlList.push({
// url: data.data.link,
// recordId: data.data.recordId
// })
// 抛出
uni.hideLoading();
}
});
// }
}
});
})
}
}
\ No newline at end of file
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