Commit 5afefb0b authored by denghr's avatar denghr

修改正式环境

parent 96b4f098
module.exports = { module.exports = {
NODE_ENV: '"production"', NODE_ENV: '"production"',
// BASE_API: '"http://113.105.137.152:9800"', // BASE_API: '"http://113.105.137.152:9800"',
BASE_API: '"https://xxfcmgmt.upyuns.com"', BASE_API: '"https://mgmt.dfangche.com"',
APP_ORIGIN: '"https://wallstreetcn.com"' APP_ORIGIN: '"https://wallstreetcn.com"'
}; };
...@@ -357,7 +357,7 @@ ...@@ -357,7 +357,7 @@
res.data.list.forEach(function (item) { res.data.list.forEach(function (item) {
item.price = item.price / 1000 + ",000"; item.price = item.price / 1000 + ",000";
item.width = (item.total - item.balance) / item.total * 100 + "px"; item.width = (item.total - item.balance) / item.total * 100 + "px";
item.companyPic = "https://xxfcmgmt.upyuns.com/vehicle/branchCompany/stock/download/companyPic?realFileRelPath=" + item.companyPic; item.companyPic = "https://mgmt.dfangche.com/vehicle/branchCompany/stock/download/companyPic?realFileRelPath=" + item.companyPic;
allList.push(item); allList.push(item);
}); });
this.lastPage = res.data.lastPage; this.lastPage = res.data.lastPage;
...@@ -394,7 +394,7 @@ ...@@ -394,7 +394,7 @@
res.data.list.forEach(function (item) { res.data.list.forEach(function (item) {
item.price = item.price / 1000 + ",000"; item.price = item.price / 1000 + ",000";
item.width = (item.total - item.balance) / item.total * 100 + "px"; item.width = (item.total - item.balance) / item.total * 100 + "px";
item.companyPic = "https://xxfcmgmt.upyuns.com/vehicle/branchCompany/stock/download/companyPic?realFileRelPath=" + item.companyPic; item.companyPic = "https://mgmt.dfangche.com/vehicle/branchCompany/stock/download/companyPic?realFileRelPath=" + item.companyPic;
allList.push(item); allList.push(item);
}); });
this.list = allList; this.list = allList;
......
...@@ -231,7 +231,7 @@ ...@@ -231,7 +231,7 @@
res.data.list.forEach(function (item) { res.data.list.forEach(function (item) {
item.price = item.price / 10000; item.price = item.price / 10000;
item.width = (item.total - item.balance) / item.total * 100 + "px"; item.width = (item.total - item.balance) / item.total * 100 + "px";
item.companyPic = "https://xxfcmgmt.upyuns.com/vehicle/branchCompany/stock/download/companyPic?realFileRelPath=" + item.companyPic; item.companyPic = "https://mgmt.dfangche.com/vehicle/branchCompany/stock/download/companyPic?realFileRelPath=" + item.companyPic;
allList.push(item); allList.push(item);
}); });
if(res.data.list.length< this.listQuery.limit && allList.length>0){ if(res.data.list.length< this.listQuery.limit && allList.length>0){
......
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