Authored by xuhongyun

去掉旧版本shops.yohobuy.com域名后,支持新版本跳转

... ... @@ -51,7 +51,7 @@
listUpdateTime: '--:--',
overViewUpdateTime: '--:--',
grid:{
url:'/report/getOrdersGoodsRptList',
url:'/oldshops/report/getOrdersGoodsRptList',
columns:[
{display:'图片',render(item){
return item.imageUrl?'<img src="'+item.imageUrl+'?imageView/0/w/78/h/78">':"";
... ... @@ -91,7 +91,7 @@
//获取店铺的经营指标:一个自然日内有效订单商品件数、有效订单商品金额
fetchData1: function() {
var self = this;
this.$http.post("/report/getShopBusinessOverview", {
this.$http.post("/oldshops/report/getShopBusinessOverview", {
dateId: util.dateFormat(new Date(),"YYYYMMdd")
}).then(function (response) {
var rs = response.data;
... ... @@ -108,7 +108,7 @@
day.setDate(day.getDate()-1); //前一天
self.rankDate = util.dateFormat(day, "MM月dd日");
this.$http.post("/report/getShopBrandRank", {
this.$http.post("/oldshops/report/getShopBrandRank", {
dateId: util.dateFormat(day,"YYYYMMdd")
}).then(function (response) {
var rs = response.data;
... ...
... ... @@ -63,7 +63,7 @@
sortList: []
},
grid: {
url: '/report/getReturnGoodsRptList',
url: '/oldshops/report/getReturnGoodsRptList',
columns: [
{
name: 'imageUrl', display: '图片', render: function (item) {
... ...
... ... @@ -62,7 +62,7 @@
sortList: []
},
grid: {
url: '/report/getOrdersGoodsRptList',
url: '/oldshops/report/getOrdersGoodsRptList',
columns: [
{
name: 'imageUrl', display: '图片', render: function (item) {
... ...
... ... @@ -55,7 +55,7 @@
{name:"请退出库总金额(元)",value:"0"}
],
grid:{
url:'/report/getStorageOutRptList',
url:'/oldshops/report/getStorageOutRptList',
columns:[
{display:'图片',render(item){
return item.imageUrl?'<img src="'+item.imageUrl+'?imageView/0/w/78/h/78">':"";
... ...
... ... @@ -55,7 +55,7 @@
{name:"发货入库总金额(元)",value:"0"}
],
grid:{
url:'/report/getStorageInRptList',
url:'/oldshops/report/getStorageInRptList',
columns:[
{display:'图片',render(item){
return item.imageUrl?'<img src="'+item.imageUrl+'?imageView/0/w/78/h/78">':"";
... ...
... ... @@ -64,7 +64,7 @@
sortList: []
},
grid: {
url: '/bigdata/getStorageStatisticsList',
url: '/oldshops/bigdata/getStorageStatisticsList',
columns: [
{
display: '图片', render(item){
... ...
... ... @@ -120,7 +120,7 @@
},
fetchAllSortList(){
this.$http.post("/product/class/queryAllProductSortList").then(function (response) {
this.$http.post("/oldshops/product/class/queryAllProductSortList").then(function (response) {
var rs = response.data;
this.levelContent.$set(0,rs.data);
}, function (response) {
... ...
... ... @@ -202,13 +202,13 @@ tabTree.prototype= {
if (p.status) {
url = '/sale/product/queryPSNotTreeWhenLevelAndStatus';
} else {
url = '/product/class/queryAllProductSortList';
url = '/oldshops/product/class/queryAllProductSortList';
}
} else {
if (p.status) {
url = '/sale/product/queryPSListByParentIdWhenStatus';
} else {
url = '/product/class/queryProductSortList';
url = '/oldshops/product/class/queryProductSortList';
}
}
... ...