Commit c98bba05 authored by 黄奎's avatar 黄奎

页面修改

parent 319f2eaf
...@@ -6,6 +6,7 @@ import md5 from 'js-md5' ...@@ -6,6 +6,7 @@ import md5 from 'js-md5'
Vue.prototype.domainManager = function () { Vue.prototype.domainManager = function () {
let domainUrl = ''; let domainUrl = '';
domainUrl = "http://192.168.2.214:8082"; domainUrl = "http://192.168.2.214:8082";
//domainUrl="http://192.168.0.110";
let locationName = window.location.hostname; let locationName = window.location.hostname;
if (locationName.indexOf('testerp.oytour') !== -1) { if (locationName.indexOf('testerp.oytour') !== -1) {
domainUrl = "http://testapi.oytour.com"; domainUrl = "http://testapi.oytour.com";
......
...@@ -61,6 +61,7 @@ ...@@ -61,6 +61,7 @@
this.baseinfo.name = jObj.Config.Name; this.baseinfo.name = jObj.Config.Name;
this.baseinfo.nav.navs = jObj.HeaderList; this.baseinfo.nav.navs = jObj.HeaderList;
this.baseinfo.nav.bg = jObj.Config.BgColor; this.baseinfo.nav.bg = jObj.Config.BgColor;
this.dataList=jObj;
} else { } else {
this.getData(); this.getData();
} }
...@@ -89,7 +90,7 @@ ...@@ -89,7 +90,7 @@
}, },
getData() { getData() {
this.apipost( this.apipost(
"ws_get_GetHomePage", { "ws_get_GetWebSiteConfig", {
RB_Group_Id: this.RB_Group_Id RB_Group_Id: this.RB_Group_Id
}, },
res => { res => {
......
...@@ -30,8 +30,8 @@ ...@@ -30,8 +30,8 @@
}, },
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
if (res.data.data.PlugList) { if (res.data.data) {
this.AboutData = res.data.data.PlugList; this.AboutData = res.data.data;
console.log("AboutData", this.AboutData); console.log("AboutData", this.AboutData);
} }
} }
......
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