diff --git a/src/App.vue b/src/App.vue index 4921e91..d14d250 100644 --- a/src/App.vue +++ b/src/App.vue @@ -12,7 +12,7 @@ import testRes from './components/baozuo-demo/testbak' const queryParams = new URLSearchParams(window.location.search); const dataTypeParam = queryParams.get('q'); export default { - name: 'app', + name: 'app', data() { return { dataType: '', @@ -29,17 +29,26 @@ export default { created() { this.dataType = dataTypeParam; + + if (this.dataType == '6') { + api.post2('/api/web/getBiData', ["yx_v_llzj", "yx_v_cpzj", "yx_v_zlkb", "yx_v_cpzj", "yx_v_byblv", "yx_v_byblzb"]).then(res => { + console.log(res); + + }); + } + + if (this.dataType == '3') { this.init(); } else { - window.htd_bidata = testRes; + window.htd_bidata = testRes; if (this.dataType == '4') { this.currentComponent = 'datav2'; } else if (this.dataType == '5') { this.currentComponent = 'datav3'; - } else if (this.dataType == '6'){ + } else if (this.dataType == '6') { this.currentComponent = 'datav2'; - } else{ + } else { this.currentComponent = 'datav'; } } diff --git a/src/api.js b/src/api.js index ba2254f..6fbc9ba 100644 --- a/src/api.js +++ b/src/api.js @@ -8,10 +8,18 @@ const api = { baseURL3: 'http://36.139.158.169:9261', - // baseURL: 'http://ppjlar.demo.natool.cn', + baseURL: 'http://xynzix.demo.natool.cn', - baseURL: 'http://39.101.165.228:9009', + //堡座 + baseURL4: 'http://39.101.165.228:9009', + + //尚博 + baseURL5: 'http://39.101.203.37:9001', + baseURL6: 'http://127.0.0.1:9162', + + // baseURL: '', + get (url) { return new Promise((resolve, reject) => { axios({ diff --git a/src/assets/index.html b/src/assets/index.html new file mode 100644 index 0000000..414eee2 --- /dev/null +++ b/src/assets/index.html @@ -0,0 +1,100 @@ + + +
BASIC INFORMATION
总人数:
-{{resData.info.PersonNumber}}人
-负责人:
-{{item.Name}}:{{ item.Phone }}
+ +{{item.name}}:
+{{ item.content }}