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

xin

上级 6fbe79ee
<template>
<!-- 售电公司 -->
<view class="electriCompany">
<view class="electriCompany_item" v-for="(item, index) in electriCompanyList" :key="index" @click="linktoElectriCompanyDetail">
<view class="electriCompany_item" v-for="(item, index) in electriCompanyList" :key="index" @click="linktoElectriCompanyDetail(item.userId,item.eName,item.enterpriseCount)">
<view class="electriCompany_item_info">
<text class="electriCompany_item_info_companyName">{{item.companyName}}</text>
<text class="electriCompany_item_info_relevantEnterprise">已与{{item.relevantEnterprise}}家企业签订合同</text>
<text class="electriCompany_item_info_activityNum">{{item.activityNum}}个套餐进行中</text>
<text class="electriCompany_item_info_companyName">{{item.eName}}</text>
<text class="electriCompany_item_info_relevantEnterprise">已与{{item.enterpriseCount}}家企业签订合同</text>
<view class="electriCompany_item_info_activityNum">
<image src="https://fire.huoshitou.net/profile/icon/san.png"></image>
<text>{{item.packageCount}}个套餐进行中</text>
</view>
</view>
<view class="electriCompany_item_img">
<image :src="item.img" mode=""></image>
<image src="https://fire.huoshitou.net/profile/icon/dw.png" mode=""></image>
</view>
<view class="border_botton"></view>
</view>
......@@ -16,40 +19,34 @@
</template>
<script>
import {
post,
get
} from '@/static/util/fun.js'
import api from '@/static/util/api.js'
export default {
data() {
return {
electriCompanyList: [{
companyName: '广东售电公司',
relevantEnterprise: 200,
activityNum: 12,
img: '../../static/images/index/group.png'
},
{
companyName: '广东售电公司',
relevantEnterprise: 200,
activityNum: 12,
img: '../../static/images/index/group.png'
},
{
companyName: '广东售电公司',
relevantEnterprise: 200,
activityNum: 12,
img: '../../static/images/index/group.png'
},
{
companyName: '广东售电公司',
relevantEnterprise: 200,
activityNum: 12,
img: '../../static/images/index/group.png'
electriCompanyList: []
}
},
]
created() {
let that=this
get(api.electricitySalesCompanies).then(res=>{
if(res.code==200){
that.electriCompanyList=res.data
}else{
uni.showToast({
title:res.msg,
icon:'none'
})
}
})
},
methods:{
linktoElectriCompanyDetail(){
linktoElectriCompanyDetail(userId,eName,Count){
uni.navigateTo({
url: '/pagesA/electriCompany/electriCompanyDetail'
url: '/pagesA/electriCompany/electriCompanyDetail?userId='+userId+'&eName='+eName+'&Count='+Count
})
}
}
......@@ -96,6 +93,15 @@
line-height: 24rpx;
color: #F63939;
opacity: 1;
display: flex;
flex-direction: row;
align-items: flex-start;
image{
width: 30rpx;
height: 31rpx;
margin-right: 16rpx;
display: block;
}
}
}
......@@ -109,8 +115,9 @@
left: 0;
bottom: 0rpx;
width: 686rpx;
height: 2rpx;
border: 1rpx solid #000000;
height: 1rpx;
background-color: #000;
transform: scaleY(.5);
opacity: 0.2;
}
......
......@@ -4,11 +4,11 @@
<!-- 售电公司详情标题start -->
<view class="electriCompanyDetail_top">
<view class="electriCompanyDetail_top_img">
<image src="../../static/images/index/group.png" mode=""></image>
<image src="https://fire.huoshitou.net/profile/icon/dw.png" mode=""></image>
</view>
<view class="electriCompanyDetail_top_info">
<text>广东火电新能源建设有限公司</text>
<text style="font-size: 24rpx; color: #666;">已有两百家企业签订合同</text>
<text>{{eName}}</text>
<text style="font-size: 24rpx; color: #666;">已有{{Count}}家企业签订合同</text>
</view>
</view>
<!-- 售电公司详情标题end -->
......@@ -31,9 +31,9 @@
<view class="top_text">
<text class="text_one">{{item.name}}</text>
<text>
最高月竞分成比例:<text class="text_item">20%</text>
最高月竞分成比例:<text class="text_item">{{item.maxShareRatio}}</text>
</text>
<!-- <text v-if="item.type == 1">
<text v-if="item.type == 1">
最高月竞分成比例:<text class="text_item">{{item.maxShareRatio}}%</text>
</text>
<text v-if="item.type == 2">
......@@ -43,16 +43,16 @@
<text v-if="rangli&&(item.type==4||item.type==5)">
居间让利上限: <text class="text_item">{{item.intermediateProfitCeiling}}</text>
</text>
<view v-if="!rangli&&(item.type==4||item.type==5)" style="height: 38rpx;"></view> -->
<!-- <text style="margin-bottom: 0;">{{item.year}}
<view v-if="!rangli&&(item.type==4||item.type==5)" style="height: 38rpx;"></view>
<text style="margin-bottom: 0;">{{item.year}}
<text v-if="!remainder2[index]||remainder2[index] == 0"
class="count">拼团已结束</text>
<text v-else
class="count">结束倒计时:{{remainder2[index]?remainder2[index]:''}}</text>
</text> -->
<text style="margin-bottom: 0;">2021
<text class="count">结束倒计时:00:00:00</text>
</text>
<!-- <text style="margin-bottom: 0;">{{item.year}}
<text class="count">结束倒计时:00:00:00</text>
</text> -->
</view>
</view>
<view
......@@ -109,16 +109,16 @@
基本信息
</view>
<view class="electriCompanyDetail_info_item">
公司名称<text>光烁新能源</text>
公司名称<text>{{eName}}</text>
</view>
<view class="electriCompanyDetail_info_item">
所在区域<text>广东省广州市天河区</text>
所在区域<text>{{companydata.eRegion}}</text>
</view>
<view class="electriCompanyDetail_info_item">
售电资质代码<text>SD335</text>
售电资质代码<text>{{companydata.eCode}}</text>
</view>
<view class="electriCompanyDetail_info_item">
营业执照<image src="../../static/images/index/group.png" mode=""></image>
营业执照<image :src="companydata.eBusinessLicense" mode=""></image>
</view>
<view class="electriCompanyDetail_info_item">
最近一次全月现货结算综合批发均价<text>46.09厘</text>
......@@ -129,7 +129,7 @@
公司介绍
</view>
<view class="electriCompanyDetail_info_introduce_richText">
<rich-text nodes=""></rich-text>
<rich-text :nodes="companydata.briefIntroduction"></rich-text>
</view>
</view>
</view>
......@@ -145,39 +145,73 @@
</template>
<script>
import {
post,
get
} from '@/static/util/fun.js'
import api from '@/static/util/api.js'
export default {
data() {
return {
companydata:'',
userId:'',//公司id
eName:'',//公司名字
Count:'',//签订合同数量
tabIndex: 1, // tab栏索引
moreIndex: null, // 展开索引
moreShow: false, // 显示更多
setmealList: [{
id: 1,
userId: 2,
ename: '电量拼包大优惠',
type: 4,
name: '电量拼包大优惠',
intermediateProfitCeiling: 20,
packageSettingsList: [{
electricityFull: '100000',
reduce: 10
},
{
electricityFull: '200000',
reduce: 20
},
{
electricityFull: '300000',
reduce: 30
setmealList: []
}
},
]
}]
onLoad(options) {
let that=this
if(options){
that.eName=options.eName
that.Count=options.Count
that.userId=options.userId
that.companyPackageList(that.userId)
}
},
methods: {
// tab栏切换
tabClick(i) {
let that=this
this.tabIndex = i
if(i==2){
that.companyProfile()
}
},
//查询售电公司拼团套餐
companyPackageList(userId){
let that=this
get(api.companyPackageList,{
userId:userId
}).then(res=>{
if(res.code==200){
that.setmealList=res.data
}else{
uni.showToast({
title:res.msg,
icon:'none'
})
}
})
},
//查询公司简介
companyProfile(){
let that=this
get(api.companyProfile,{
userId:this.userId
}).then(res=>{
if(res.code==200){
that.companydata=res.data
}else{
uni.showToast({
title:res.msg,
icon:'none'
})
}
})
},
// 图标旋转
getMore(i) {
......@@ -203,7 +237,7 @@
// 独立询价
linktoInquiry(){
uni.navigateTo({
url:'/pagesA/enquiry/Demand'
url:'/pagesA/enquiry/Demand?userId='+this.userId
})
}
}
......@@ -217,6 +251,10 @@
width: 100%;
height: 100%;
.electriCompanyDetail_info{
padding-bottom: 200rpx;
}
// 售电公司头部
.electriCompanyDetail_top {
display: flex;
......@@ -407,15 +445,19 @@
// 售电公司独立询价按钮
.electriCompanyDetail_inquiry {
position: absolute;
position: fixed;
left: 0;
bottom: 64rpx;
bottom: 0;
width: 100%;
height: 100rpx;
height: 180rpx;
background-color: #fff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
.electriCompanyDetail_inquiry_btn {
margin-left: 32rpx;
width: 686rpx;
height: 100%;
height: 100rpx;
line-height: 100rpx;
text-align: center;
color: #FFFFFF;
......
......@@ -97,6 +97,12 @@
userType:'0',//企业类型
}
},
onLoad(options) {
//从售电公司详情进来的
if(options.userId){
}
},
created() {
let that = this
that.yearlist=getyearlist()
......
const erp = erp || {}; //wxb21370ac25ee51b0,//wx45bb68de16ddddb7
// const DOMAIN = 'http://192.168.1.163:9099/'; // 峰煜
// const DOMAIN = 'https://dev.diaosaas.com/diaoyun/' //测试
const DOMAIN = 'http://192.168.1.178:9099/' // 国禄
// 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/' // 正式
const HOST = DOMAIN + 'api/'
......@@ -139,5 +139,8 @@ erp.isParticipate = HOST + 'common/isParticipate' // 是否参与拼包套餐
erp.quitPackage = HOST + 'common/quitPackage' // 退出拼团
erp.getRetailSettlementContactForm = HOST + 'common/getRetailSettlementContactForm' // 零售结算联系单
erp.uploadCourierDetail = HOST + 'common/uploadCourierDetail' // 查看上传快递单数据
erp.electricitySalesCompanies = HOST + 'common/electricitySalesCompanies' // 入驻公司列表
erp.companyProfile = HOST + 'common/companyProfile' // 入驻公司公司简介
erp.companyPackageList = HOST + 'common/companyPackageList' // 售电公司详情---拼团套餐
export default erp;
......@@ -16440,9 +16440,9 @@ 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
// const DOMAIN = 'http://192.168.1.163:9099/'; // 峰煜
// const DOMAIN = 'https://dev.diaosaas.com/diaoyun/' //测试
var DOMAIN = 'http://192.168.1.178:9099/'; // 国禄
// 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/' // 正式
var HOST = DOMAIN + 'api/';
......@@ -16580,6 +16580,9 @@ erp.isParticipate = HOST + 'common/isParticipate'; // 是否参与拼包套餐
erp.quitPackage = HOST + 'common/quitPackage'; // 退出拼团
erp.getRetailSettlementContactForm = HOST + 'common/getRetailSettlementContactForm'; // 零售结算联系单
erp.uploadCourierDetail = HOST + 'common/uploadCourierDetail'; // 查看上传快递单数据
erp.electricitySalesCompanies = HOST + 'common/electricitySalesCompanies'; // 入驻公司列表
erp.companyProfile = HOST + 'common/companyProfile'; // 入驻公司公司简介
erp.companyPackageList = HOST + 'common/companyPackageList'; // 售电公司详情---拼团套餐
var _default =
erp;exports.default = _default;
......
......@@ -130,7 +130,32 @@ __webpack_require__.r(__webpack_exports__);
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; //
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;
var _fun = __webpack_require__(/*! @/static/util/fun.js */ 50);
var _api = _interopRequireDefault(__webpack_require__(/*! @/static/util/api.js */ 49));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} //
//
//
//
......@@ -147,41 +172,13 @@ __webpack_require__.r(__webpack_exports__);
//
//
//
var _default =
{
data: function data() {
return {
electriCompanyList: [{
companyName: '广东售电公司',
relevantEnterprise: 200,
activityNum: 12,
img: '../../static/images/index/group.png' },
{
companyName: '广东售电公司',
relevantEnterprise: 200,
activityNum: 12,
img: '../../static/images/index/group.png' },
{
companyName: '广东售电公司',
relevantEnterprise: 200,
activityNum: 12,
img: '../../static/images/index/group.png' },
{
companyName: '广东售电公司',
relevantEnterprise: 200,
activityNum: 12,
img: '../../static/images/index/group.png' }] };
},
methods: {
linktoElectriCompanyDetail: function linktoElectriCompanyDetail() {
//
//
//
var _default = { data: function data() {return { electriCompanyList: [] };}, created: function created() {var that = this;(0, _fun.get)(_api.default.electricitySalesCompanies).then(function (res) {if (res.code == 200) {that.electriCompanyList = res.data;} else {uni.showToast({ title: res.msg, icon: 'none' });}});}, methods: {
linktoElectriCompanyDetail: function linktoElectriCompanyDetail(userId, eName, Count) {
uni.navigateTo({
url: '/pagesA/electriCompany/electriCompanyDetail' });
url: '/pagesA/electriCompany/electriCompanyDetail?userId=' + userId + '&eName=' + eName + '&Count=' + Count });
} } };exports.default = _default;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
......
<view class="electriCompany"><block wx:for="{{electriCompanyList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['linktoElectriCompanyDetail',['$event']]]]]}}" class="electriCompany_item" bindtap="__e"><view class="electriCompany_item_info"><text class="electriCompany_item_info_companyName">{{item.companyName}}</text><text class="electriCompany_item_info_relevantEnterprise">{{"已与"+item.relevantEnterprise+"家企业签订合同"}}</text><text class="electriCompany_item_info_activityNum">{{item.activityNum+"个套餐进行中"}}</text></view><view class="electriCompany_item_img"><image src="{{item.img}}" mode></image></view><view class="border_botton"></view></view></block></view>
\ No newline at end of file
<view class="electriCompany"><block wx:for="{{electriCompanyList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['linktoElectriCompanyDetail',['$0','$1','$2'],[[['electriCompanyList','',index,'userId']],[['electriCompanyList','',index,'eName']],[['electriCompanyList','',index,'enterpriseCount']]]]]]]}}" class="electriCompany_item" bindtap="__e"><view class="electriCompany_item_info"><text class="electriCompany_item_info_companyName">{{item.eName}}</text><text class="electriCompany_item_info_relevantEnterprise">{{"已与"+item.enterpriseCount+"家企业签订合同"}}</text><view class="electriCompany_item_info_activityNum"><image src="https://fire.huoshitou.net/profile/icon/san.png"></image><text>{{item.packageCount+"个套餐进行中"}}</text></view></view><view class="electriCompany_item_img"><image src="https://fire.huoshitou.net/profile/icon/dw.png" mode></image></view><view class="border_botton"></view></view></block></view>
\ No newline at end of file
......@@ -62,6 +62,22 @@
line-height: 24rpx;
color: #F63939;
opacity: 1;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-webkit-flex-direction: row;
flex-direction: row;
-webkit-box-align: start;
-webkit-align-items: flex-start;
align-items: flex-start;
}
.electriCompany .electriCompany_item .electriCompany_item_info .electriCompany_item_info_activityNum image {
width: 30rpx;
height: 31rpx;
margin-right: 16rpx;
display: block;
}
.electriCompany .electriCompany_item .electriCompany_item_img {
width: 128rpx;
......@@ -72,8 +88,10 @@
left: 0;
bottom: 0rpx;
width: 686rpx;
height: 2rpx;
border: 1rpx solid #000000;
height: 1rpx;
background-color: #000;
-webkit-transform: scaleY(0.5);
transform: scaleY(0.5);
opacity: 0.2;
}
......@@ -159,7 +159,158 @@ __webpack_require__.r(__webpack_exports__);
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; //
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;
var _fun = __webpack_require__(/*! @/static/util/fun.js */ 50);
var _api = _interopRequireDefault(__webpack_require__(/*! @/static/util/api.js */ 49));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} //
//
//
//
......@@ -305,52 +456,18 @@ __webpack_require__.r(__webpack_exports__);
//
//
//
var _default =
{
data: function data() {
return {
var _default = { data: function data() {return { companydata: '', userId: '', //公司id
eName: '', //公司名字
Count: '', //签订合同数量
tabIndex: 1, // tab栏索引
moreIndex: null, // 展开索引
moreShow: false, // 显示更多
setmealList: [{
id: 1,
userId: 2,
ename: '电量拼包大优惠',
type: 4,
name: '电量拼包大优惠',
intermediateProfitCeiling: 20,
packageSettingsList: [{
electricityFull: '100000',
reduce: 10 },
{
electricityFull: '200000',
reduce: 20 },
{
electricityFull: '300000',
reduce: 30 }] }] };
},
methods: {
// tab栏切换
tabClick: function tabClick(i) {
this.tabIndex = i;
},
// 图标旋转
getMore: function getMore(i) {
this.moreIndex = i;
this.moreShow = !this.moreShow;
},
// 套餐详情
linkToGroupInfo: function linkToGroupInfo(id) {
uni.navigateTo({
url: '/pages/group/groupInfo?id=' + id });
// if (this.limit) {
setmealList: [] };}, onLoad: function onLoad(options) {var that = this;if (options) {that.eName = options.eName;that.Count = options.Count;that.userId = options.userId;that.companyPackageList(that.userId);}}, methods: { // tab栏切换
tabClick: function tabClick(i) {var that = this;this.tabIndex = i;if (i == 2) {that.companyProfile();}}, //查询售电公司拼团套餐
companyPackageList: function companyPackageList(userId) {var that = this;(0, _fun.get)(_api.default.companyPackageList, { userId: userId }).then(function (res) {if (res.code == 200) {that.setmealList = res.data;} else {uni.showToast({ title: res.msg, icon: 'none' });}});}, //查询公司简介
companyProfile: function companyProfile() {var that = this;(0, _fun.get)(_api.default.companyProfile, { userId: this.userId }).then(function (res) {if (res.code == 200) {that.companydata = res.data;} else {uni.showToast({ title: res.msg, icon: 'none' });}});}, // 图标旋转
getMore: function getMore(i) {this.moreIndex = i;this.moreShow = !this.moreShow;}, // 套餐详情
linkToGroupInfo: function linkToGroupInfo(id) {uni.navigateTo({ url: '/pages/group/groupInfo?id=' + id }); // if (this.limit) {
// uni.navigateTo({
// url: '/pages/group/groupInfo?id=' + id
// })
......@@ -360,13 +477,8 @@ var _default =
// icon: 'none'
// })
// }
},
// 独立询价
linktoInquiry: function linktoInquiry() {
uni.navigateTo({
url: '/pagesA/enquiry/Demand' });
} } };exports.default = _default;
}, // 独立询价
linktoInquiry: function linktoInquiry() {uni.navigateTo({ url: '/pagesA/enquiry/Demand?userId=' + this.userId });} } };exports.default = _default;
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
/***/ }),
......
......@@ -30,6 +30,9 @@
width: 100%;
height: 100%;
}
.electriCompanyDetail .electriCompanyDetail_info {
padding-bottom: 200rpx;
}
.electriCompanyDetail .electriCompanyDetail_top {
display: -webkit-box;
display: -webkit-flex;
......@@ -199,16 +202,29 @@
height: 98rpx;
}
.electriCompanyDetail .electriCompanyDetail_inquiry {
position: absolute;
position: fixed;
left: 0;
bottom: 64rpx;
bottom: 0;
width: 100%;
height: 100rpx;
height: 180rpx;
background-color: #fff;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-webkit-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
-webkit-box-pack: center;
-webkit-justify-content: center;
justify-content: center;
}
.electriCompanyDetail .electriCompanyDetail_inquiry .electriCompanyDetail_inquiry_btn {
margin-left: 32rpx;
width: 686rpx;
height: 100%;
height: 100rpx;
line-height: 100rpx;
text-align: center;
color: #FFFFFF;
......
......@@ -280,7 +280,8 @@ var _default = { data: function data() {return { companys: [], //存放查询出
enterpriseId: '', //用户企业id
electricId: '', //电客id
userType: '0' //企业类型
};}, created: function created() {var _this = this;var that = this;that.yearlist = (0, _fun.getyearlist)();that.type = uni.getStorageSync('type'); // type - 用户类型(1: 企业, 2: 电客)
};}, onLoad: function onLoad(options) {//从售电公司详情进来的
if (options.userId) {}}, created: function created() {var _this = this;var that = this;that.yearlist = (0, _fun.getyearlist)();that.type = uni.getStorageSync('type'); // type - 用户类型(1: 企业, 2: 电客)
that.electricId = uni.getStorageSync('user').electricId;that.enterpriseId = uni.getStorageSync('user').enterpriseId;var user = uni.getStorageSync('user');if (that.type == 1) {// userType - 企业类型(1:游客;2:存量企业;3:普通会员;4:中级会员;5:高级会员)
that.userType = user.userType;console.log('userType:' + that.userType);} //查询售电公司列表
(0, _fun.get)(_api.default.electricitySalesCompaniesList).then(function (res) {if (res.code == 200) {_this.companys = res.data;_this.companyOptions = res.data.map(function (item) {return item.eName;});}});}, methods: { //询价类型
......@@ -290,7 +291,12 @@ var _default = { data: function data() {return { companys: [], //存放查询出
chooseImg: function chooseImg(index) {var that = this;uni.chooseImage({ count: 1, sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
success: function success(res) {var tempFilePaths = res.tempFilePaths; // let token = uni.getStorageSync('token');
uni.uploadFile({ url: _api.default.uploadFile, //接口地址
filePath: tempFilePaths[0], name: 'file', success: function success(res) {var url = JSON.parse(res.data).url;if (index == -1) {that.informImglist.push(url);} else {
filePath: tempFilePaths[0], name: 'file',
success: function success(res) {
var url = JSON.parse(res.data).url;
if (index == -1) {
that.informImglist.push(url);
} else {
that.informImglist[index] = url;
that.$forceUpdate();
}
......
......@@ -11,7 +11,7 @@
},
"compileType": "miniprogram",
"libVersion": "",
"appid": "wxb21370ac25ee51b0",
"appid": "wx45bb68de16ddddb7",
"projectname": "gangshi",
"condition": {
"search": {
......
......@@ -195,6 +195,12 @@
{
"name": "收益说明",
"pathName": "pages/Benefits/Benefits",
"query": "",
"scene": null
},
{
"name": "售电公司列表",
"pathName": "pagesA/electriCompany/electriCompany",
"scene": null
}
]
......
const erp = erp || {}; //wxb21370ac25ee51b0,//wx45bb68de16ddddb7
// const DOMAIN = 'http://192.168.1.163:9099/'; // 峰煜
// const DOMAIN = 'https://dev.diaosaas.com/diaoyun/' //测试
const DOMAIN = 'http://192.168.1.178:9099/' // 国禄
// 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/' // 正式
const HOST = DOMAIN + 'api/'
......@@ -139,5 +139,8 @@ erp.isParticipate = HOST + 'common/isParticipate' // 是否参与拼包套餐
erp.quitPackage = HOST + 'common/quitPackage' // 退出拼团
erp.getRetailSettlementContactForm = HOST + 'common/getRetailSettlementContactForm' // 零售结算联系单
erp.uploadCourierDetail = HOST + 'common/uploadCourierDetail' // 查看上传快递单数据
erp.electricitySalesCompanies = HOST + 'common/electricitySalesCompanies' // 入驻公司列表
erp.companyProfile = HOST + 'common/companyProfile' // 入驻公司公司简介
erp.companyPackageList = HOST + 'common/companyPackageList' // 售电公司详情---拼团套餐
export default erp;
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论