Commit 71d966a5 authored by 华国豪's avatar 华国豪 🙄

优化客户地图

parent 2a094b52
......@@ -140,10 +140,11 @@ export default {
this.apipost('financestatistics_post_GetCustomerInfoForB2BKB', {CustomerId: item.CustomerId}, res=>{
if(res.data.resultCode == 1) {
const infoWindow = new BMap.InfoWindow(`
<p>联系人:${res.data.data.Contact}</p>
<p>联系电话:${res.data.data.ContactNumber}</p>
<p>门店名称:${res.data.data.CustomerName}</p>
<p>门店地址:${res.data.data.Address}</p>
<p style="font-size: 14px;">联系人:${res.data.data.Contact}</p>
<p style="font-size: 14px;">联系电话:${res.data.data.ContactNumber}</p>
<p style="font-size: 14px;">门店名称:${res.data.data.CustomerName}</p>
<p style="font-size: 14px;">门店地址:${res.data.data.Address}</p>
<p style="font-size: 14px;">关联销售:${res.data.data.EmName}</p>
`)
this.map.openInfoWindow(infoWindow, point);
}
......
......@@ -14,8 +14,8 @@ export default {
Vue.prototype.domainManager = function() {
// var domainUrl = "http://test_reborn.oytour.com";//主域名
//var domainUrl = "http://reborn.oytour.com"; //主域名
var domainUrl = "http://reborn.oytour.com";//主域名
// var domainUrl = "http://192.168.2.65:8025";//主域名
// var domainUrl = "http://reborn.oytour.com";//主域名
var domainUrl = "http://192.168.2.16:8083";//主域名
if (this.isOnline()) {
domainUrl = "http://reborn.oytour.com";
}
......
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