提交 a07418b9 authored 作者: 黄旭新's avatar 黄旭新

xin

...@@ -213,6 +213,7 @@ ...@@ -213,6 +213,7 @@
tabIndex: 1, // tab栏(现货类型拼团有tab栏,价差类型没有tab栏(tabIndex=3),并且电客只能帮普通会员参加价差拼包) tabIndex: 1, // tab栏(现货类型拼团有tab栏,价差类型没有tab栏(tabIndex=3),并且电客只能帮普通会员参加价差拼包)
contractElectricity: '', // 已拼团电量 contractElectricity: '', // 已拼团电量
limit: '', // 拼团电量上限;如果为null,则表示为空,后台没有进行设置 limit: '', // 拼团电量上限;如果为null,则表示为空,后台没有进行设置
remindId: null, // 需要提醒企业认证的企业id
} }
}, },
methods: { methods: {
...@@ -287,6 +288,7 @@ ...@@ -287,6 +288,7 @@
}, },
// 选择企业 // 选择企业
checkEnterprise(enterpriseId, contractId, userType, i) { checkEnterprise(enterpriseId, contractId, userType, i) {
this.remindId = enterpriseId
this.isSatisfy = true this.isSatisfy = true
// userType=3是为中级会员, 中级会员没有合同 // userType=3是为中级会员, 中级会员没有合同
if (userType == 3) { if (userType == 3) {
...@@ -336,7 +338,7 @@ ...@@ -336,7 +338,7 @@
handleClcik() { handleClcik() {
if (this.btnText == '提醒企业认证') { if (this.btnText == '提醒企业认证') {
get(api.remindAuthenticate, { get(api.remindAuthenticate, {
userId: this.userId userId: this.remindId
}).then(res => { }).then(res => {
if (res.code == 200) { if (res.code == 200) {
uni.showToast({ uni.showToast({
......
...@@ -243,8 +243,12 @@ ...@@ -243,8 +243,12 @@
that.getSalesInformation() that.getSalesInformation()
}, },
onShow() { onShow() {
this.getAllPackageCompanies() // //获取所有正在参与拼包的企业
this.getStatistics() // that.getAllPackageCompanies()
// //获取企业/用电量/电客数据
// that.getStatistics()
// //获取行业资讯列表
// that.getSalesInformation()
//获取推荐套餐 电客 高级会员 游客才能看见 //获取推荐套餐 电客 高级会员 游客才能看见
if (this.isEstablish) { if (this.isEstablish) {
this.getRecommendedPackageList() this.getRecommendedPackageList()
......
...@@ -187,11 +187,11 @@ ...@@ -187,11 +187,11 @@
url = url + '&culiangcontractId=' + url = url + '&culiangcontractId=' +
that.culiangcontractId that.culiangcontractId
} }
uni.reLaunch({ uni.navigateTo({
url: url url: url
}) })
} else { } else {
uni.reLaunch({ uni.navigateTo({
url: '/pages/register/register' url: '/pages/register/register'
}) })
} }
......
...@@ -608,22 +608,22 @@ ...@@ -608,22 +608,22 @@
that.statusBarHeight = statusBarHeight * 2 that.statusBarHeight = statusBarHeight * 2
} }
if (that.userId && that.userId != null) { // if (that.userId && that.userId != null) {
// 获取用户信息(企业与电客) // // 获取用户信息(企业与电客)
that.getUesrInfo() // that.getUesrInfo()
// 获取待处理合同数量 // // 获取待处理合同数量
that.getMyContractWaitHandleCount() // that.getMyContractWaitHandleCount()
// 获取拼包记录 // // 获取拼包记录
that.getMyJoinPackageCount() // that.getMyJoinPackageCount()
// 获取企业会员的电客信息 // // 获取企业会员的电客信息
that.getMyElectricI() // that.getMyElectricI()
//获取收益 // //获取收益
that.getAllIncome() // that.getAllIncome()
} // }
} }
}, },
methods: { methods: {
......
...@@ -113,9 +113,7 @@ ...@@ -113,9 +113,7 @@
this.tabbar = true this.tabbar = true
} }
this.getEnterpriseOrder() this.getEnterpriseOrder()
this.getSataus() // this.getSataus()
}, },
components: { components: {
pickerAddress pickerAddress
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论