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

bug修复

上级 01f85102
...@@ -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
......
const erp = erp || {}; //wxb21370ac25ee51b0,//wx45bb68de16ddddb7 const erp = erp || {}; //wxb21370ac25ee51b0,//wx45bb68de16ddddb7
const DOMAIN = 'http://192.168.1.107:9099/'; // 峰煜 // const DOMAIN = 'http://192.168.1.107:9099/'; // 峰煜
// const DOMAIN = 'https://dev.diaosaas.com/diaoyun/' //测试 const DOMAIN = 'https://dev.diaosaas.com/diaoyun/' //测试
// const DOMAIN = 'http://192.168.1.178:9099/' // 国禄 // const DOMAIN = 'http://192.168.1.178:9099/' // 国禄
// const DOMAIN = 'http://192.168.1.197:9099/' // 志就 // const DOMAIN = 'http://192.168.1.197:9099/' // 志就
// const DOMAIN = 'https://fire.huoshitou.net/diaoyun/' // 正式 // 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 = ...@@ -16505,8 +16505,8 @@ Object.defineProperty(exports, "__esModule", { value: true });exports.default =
"use strict"; "use strict";
Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var erp = erp || {}; //wxb21370ac25ee51b0,//wx45bb68de16ddddb7 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 = 'http://192.168.1.107:9099/'; // 峰煜
// const DOMAIN = 'https://dev.diaosaas.com/diaoyun/' //测试 var DOMAIN = 'https://dev.diaosaas.com/diaoyun/'; //测试
// const DOMAIN = 'http://192.168.1.178:9099/' // 国禄 // const DOMAIN = 'http://192.168.1.178:9099/' // 国禄
// const DOMAIN = 'http://192.168.1.197:9099/' // 志就 // const DOMAIN = 'http://192.168.1.197:9099/' // 志就
// const DOMAIN = 'https://fire.huoshitou.net/diaoyun/' // 正式 // const DOMAIN = 'https://fire.huoshitou.net/diaoyun/' // 正式
......
...@@ -372,7 +372,8 @@ var _api = _interopRequireDefault(__webpack_require__(/*! ../../static/util/api. ...@@ -372,7 +372,8 @@ var _api = _interopRequireDefault(__webpack_require__(/*! ../../static/util/api.
contractId: null, // 普通会员--合同id,中级会员没有合同 contractId: null, // 普通会员--合同id,中级会员没有合同
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: {
...@@ -447,6 +448,7 @@ var _api = _interopRequireDefault(__webpack_require__(/*! ../../static/util/api. ...@@ -447,6 +448,7 @@ var _api = _interopRequireDefault(__webpack_require__(/*! ../../static/util/api.
}, },
// 选择企业 // 选择企业
checkEnterprise: function checkEnterprise(enterpriseId, contractId, userType, i) { checkEnterprise: function checkEnterprise(enterpriseId, contractId, userType, i) {
this.remindId = enterpriseId;
this.isSatisfy = true; this.isSatisfy = true;
// userType=3是为中级会员, 中级会员没有合同 // userType=3是为中级会员, 中级会员没有合同
if (userType == 3) { if (userType == 3) {
...@@ -496,7 +498,7 @@ var _api = _interopRequireDefault(__webpack_require__(/*! ../../static/util/api. ...@@ -496,7 +498,7 @@ var _api = _interopRequireDefault(__webpack_require__(/*! ../../static/util/api.
handleClcik: function handleClcik() {var _this = this; handleClcik: function handleClcik() {var _this = this;
if (this.btnText == '提醒企业认证') { if (this.btnText == '提醒企业认证') {
(0, _fun.get)(_api.default.remindAuthenticate, { (0, _fun.get)(_api.default.remindAuthenticate, {
userId: this.userId }). userId: this.remindId }).
then(function (res) { then(function (res) {
if (res.code == 200) { if (res.code == 200) {
uni.showToast({ uni.showToast({
......
...@@ -404,8 +404,12 @@ var _fun = __webpack_require__(/*! ../../static/util/fun.js */ 50);var _methods; ...@@ -404,8 +404,12 @@ var _fun = __webpack_require__(/*! ../../static/util/fun.js */ 50);var _methods;
that.getSalesInformation(); that.getSalesInformation();
}, },
onShow: function onShow() { onShow: function onShow() {
this.getAllPackageCompanies(); // //获取所有正在参与拼包的企业
this.getStatistics(); // that.getAllPackageCompanies()
// //获取企业/用电量/电客数据
// that.getStatistics()
// //获取行业资讯列表
// that.getSalesInformation()
//获取推荐套餐 电客 高级会员 游客才能看见 //获取推荐套餐 电客 高级会员 游客才能看见
if (this.isEstablish) { if (this.isEstablish) {
this.getRecommendedPackageList(); this.getRecommendedPackageList();
......
...@@ -319,11 +319,11 @@ var _default = { onLoad: function onLoad(options) {uni.hideHomeButton();var that ...@@ -319,11 +319,11 @@ var _default = { onLoad: function onLoad(options) {uni.hideHomeButton();var that
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' });
} }
......
...@@ -740,22 +740,22 @@ var app = getApp();var _default = { data: function data() {return { contractNum: ...@@ -740,22 +740,22 @@ var app = getApp();var _default = { data: function data() {return { contractNum:
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: {
......
...@@ -277,9 +277,7 @@ var _fun = __webpack_require__(/*! @/static/util/fun */ 50);function _interopReq ...@@ -277,9 +277,7 @@ var _fun = __webpack_require__(/*! @/static/util/fun */ 50);function _interopReq
this.tabbar = true; this.tabbar = true;
} }
this.getEnterpriseOrder(); this.getEnterpriseOrder();
this.getSataus(); // this.getSataus()
}, },
components: { components: {
pickerAddress: pickerAddress }, pickerAddress: pickerAddress },
......
const erp = erp || {}; //wxb21370ac25ee51b0,//wx45bb68de16ddddb7 const erp = erp || {}; //wxb21370ac25ee51b0,//wx45bb68de16ddddb7
const DOMAIN = 'http://192.168.1.107:9099/'; // 峰煜 // const DOMAIN = 'http://192.168.1.107:9099/'; // 峰煜
// const DOMAIN = 'https://dev.diaosaas.com/diaoyun/' //测试 const DOMAIN = 'https://dev.diaosaas.com/diaoyun/' //测试
// const DOMAIN = 'http://192.168.1.178:9099/' // 国禄 // const DOMAIN = 'http://192.168.1.178:9099/' // 国禄
// const DOMAIN = 'http://192.168.1.197:9099/' // 志就 // const DOMAIN = 'http://192.168.1.197:9099/' // 志就
// const DOMAIN = 'https://fire.huoshitou.net/diaoyun/' // 正式 // const DOMAIN = 'https://fire.huoshitou.net/diaoyun/' // 正式
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论