提交 dd3a86a2 authored 作者: 彭涛's avatar 彭涛

bug修复

上级 01f85102
......@@ -213,6 +213,7 @@
tabIndex: 1, // tab栏(现货类型拼团有tab栏,价差类型没有tab栏(tabIndex=3),并且电客只能帮普通会员参加价差拼包)
contractElectricity: '', // 已拼团电量
limit: '', // 拼团电量上限;如果为null,则表示为空,后台没有进行设置
remindId: null, // 需要提醒企业认证的企业id
}
},
methods: {
......@@ -287,6 +288,7 @@
},
// 选择企业
checkEnterprise(enterpriseId, contractId, userType, i) {
this.remindId = enterpriseId
this.isSatisfy = true
// userType=3是为中级会员, 中级会员没有合同
if (userType == 3) {
......@@ -336,7 +338,7 @@
handleClcik() {
if (this.btnText == '提醒企业认证') {
get(api.remindAuthenticate, {
userId: this.userId
userId: this.remindId
}).then(res => {
if (res.code == 200) {
uni.showToast({
......
......@@ -243,8 +243,12 @@
that.getSalesInformation()
},
onShow() {
this.getAllPackageCompanies()
this.getStatistics()
// //获取所有正在参与拼包的企业
// that.getAllPackageCompanies()
// //获取企业/用电量/电客数据
// that.getStatistics()
// //获取行业资讯列表
// that.getSalesInformation()
//获取推荐套餐 电客 高级会员 游客才能看见
if (this.isEstablish) {
this.getRecommendedPackageList()
......
......@@ -187,11 +187,11 @@
url = url + '&culiangcontractId=' +
that.culiangcontractId
}
uni.reLaunch({
uni.navigateTo({
url: url
})
} else {
uni.reLaunch({
uni.navigateTo({
url: '/pages/register/register'
})
}
......
......@@ -608,22 +608,22 @@
that.statusBarHeight = statusBarHeight * 2
}
if (that.userId && that.userId != null) {
// 获取用户信息(企业与电客)
that.getUesrInfo()
// if (that.userId && that.userId != null) {
// // 获取用户信息(企业与电客)
// that.getUesrInfo()
// 获取待处理合同数量
that.getMyContractWaitHandleCount()
// // 获取待处理合同数量
// that.getMyContractWaitHandleCount()
// 获取拼包记录
that.getMyJoinPackageCount()
// // 获取拼包记录
// that.getMyJoinPackageCount()
// 获取企业会员的电客信息
that.getMyElectricI()
// // 获取企业会员的电客信息
// that.getMyElectricI()
//获取收益
that.getAllIncome()
}
// //获取收益
// that.getAllIncome()
// }
}
},
methods: {
......
......@@ -113,9 +113,7 @@
this.tabbar = true
}
this.getEnterpriseOrder()
this.getSataus()
// this.getSataus()
},
components: {
pickerAddress
......
const erp = erp || {}; //wxb21370ac25ee51b0,//wx45bb68de16ddddb7
const DOMAIN = 'http://192.168.1.107:9099/'; // 峰煜
// const DOMAIN = 'https://dev.diaosaas.com/diaoyun/' //测试
// const DOMAIN = 'http://192.168.1.107:9099/'; // 峰煜
const DOMAIN = 'https://dev.diaosaas.com/diaoyun/' //测试
// const DOMAIN = 'http://192.168.1.178:9099/' // 国禄
// const DOMAIN = 'http://192.168.1.197:9099/' // 志就
// const DOMAIN = 'https://fire.huoshitou.net/diaoyun/' // 正式
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -16505,8 +16505,8 @@ Object.defineProperty(exports, "__esModule", { value: true });exports.default =
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var erp = erp || {}; //wxb21370ac25ee51b0,//wx45bb68de16ddddb7
var DOMAIN = 'http://192.168.1.107:9099/'; // 峰煜
// const DOMAIN = 'https://dev.diaosaas.com/diaoyun/' //测试
// const DOMAIN = 'http://192.168.1.107:9099/'; // 峰煜
var DOMAIN = 'https://dev.diaosaas.com/diaoyun/'; //测试
// const DOMAIN = 'http://192.168.1.178:9099/' // 国禄
// const DOMAIN = 'http://192.168.1.197:9099/' // 志就
// const DOMAIN = 'https://fire.huoshitou.net/diaoyun/' // 正式
......
......@@ -372,7 +372,8 @@ var _api = _interopRequireDefault(__webpack_require__(/*! ../../static/util/api.
contractId: null, // 普通会员--合同id,中级会员没有合同
tabIndex: 1, // tab栏(现货类型拼团有tab栏,价差类型没有tab栏(tabIndex=3),并且电客只能帮普通会员参加价差拼包)
contractElectricity: '', // 已拼团电量
limit: '' // 拼团电量上限;如果为null,则表示为空,后台没有进行设置
limit: '', // 拼团电量上限;如果为null,则表示为空,后台没有进行设置
remindId: null // 需要提醒企业认证的企业id
};
},
methods: {
......@@ -447,6 +448,7 @@ var _api = _interopRequireDefault(__webpack_require__(/*! ../../static/util/api.
},
// 选择企业
checkEnterprise: function checkEnterprise(enterpriseId, contractId, userType, i) {
this.remindId = enterpriseId;
this.isSatisfy = true;
// userType=3是为中级会员, 中级会员没有合同
if (userType == 3) {
......@@ -496,7 +498,7 @@ var _api = _interopRequireDefault(__webpack_require__(/*! ../../static/util/api.
handleClcik: function handleClcik() {var _this = this;
if (this.btnText == '提醒企业认证') {
(0, _fun.get)(_api.default.remindAuthenticate, {
userId: this.userId }).
userId: this.remindId }).
then(function (res) {
if (res.code == 200) {
uni.showToast({
......
......@@ -404,8 +404,12 @@ var _fun = __webpack_require__(/*! ../../static/util/fun.js */ 50);var _methods;
that.getSalesInformation();
},
onShow: function onShow() {
this.getAllPackageCompanies();
this.getStatistics();
// //获取所有正在参与拼包的企业
// that.getAllPackageCompanies()
// //获取企业/用电量/电客数据
// that.getStatistics()
// //获取行业资讯列表
// that.getSalesInformation()
//获取推荐套餐 电客 高级会员 游客才能看见
if (this.isEstablish) {
this.getRecommendedPackageList();
......
......@@ -319,11 +319,11 @@ var _default = { onLoad: function onLoad(options) {uni.hideHomeButton();var that
url = url + '&culiangcontractId=' +
that.culiangcontractId;
}
uni.reLaunch({
uni.navigateTo({
url: url });
} else {
uni.reLaunch({
uni.navigateTo({
url: '/pages/register/register' });
}
......
......@@ -740,22 +740,22 @@ var app = getApp();var _default = { data: function data() {return { contractNum:
that.statusBarHeight = statusBarHeight * 2;
}
if (that.userId && that.userId != null) {
// 获取用户信息(企业与电客)
that.getUesrInfo();
// if (that.userId && that.userId != null) {
// // 获取用户信息(企业与电客)
// that.getUesrInfo()
// 获取待处理合同数量
that.getMyContractWaitHandleCount();
// // 获取待处理合同数量
// that.getMyContractWaitHandleCount()
// 获取拼包记录
that.getMyJoinPackageCount();
// // 获取拼包记录
// that.getMyJoinPackageCount()
// 获取企业会员的电客信息
that.getMyElectricI();
// // 获取企业会员的电客信息
// that.getMyElectricI()
//获取收益
that.getAllIncome();
}
// //获取收益
// that.getAllIncome()
// }
}
},
methods: {
......
......@@ -277,9 +277,7 @@ var _fun = __webpack_require__(/*! @/static/util/fun */ 50);function _interopReq
this.tabbar = true;
}
this.getEnterpriseOrder();
this.getSataus();
// this.getSataus()
},
components: {
pickerAddress: pickerAddress },
......
const erp = erp || {}; //wxb21370ac25ee51b0,//wx45bb68de16ddddb7
const DOMAIN = 'http://192.168.1.107:9099/'; // 峰煜
// const DOMAIN = 'https://dev.diaosaas.com/diaoyun/' //测试
// const DOMAIN = 'http://192.168.1.107:9099/'; // 峰煜
const DOMAIN = 'https://dev.diaosaas.com/diaoyun/' //测试
// const DOMAIN = 'http://192.168.1.178:9099/' // 国禄
// const DOMAIN = 'http://192.168.1.197:9099/' // 志就
// const DOMAIN = 'https://fire.huoshitou.net/diaoyun/' // 正式
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论