Browse Source

Merge branch 'shibei_master' of http://git.elinkit.com.cn:7070/r/epmet-oper-gov into shibei_master

shibei_master
dai 4 years ago
parent
commit
3f655eb619
  1. 2
      .env.production.uat
  2. 2
      public/index.html
  3. 5
      src/views/modules/visual/heart/index.vue

2
.env.production.uat

@ -1,4 +1,4 @@
NODE_ENV=production
VUE_APP_API_SERVER = https://epmet-test.elinkservice.cn/api
VUE_APP_API_SERVER = http://120.27.18.76:/api
VUE_APP_NODE_ENV=prod:uat
VUE_APP_PUBLIC_PATH=epmet-oper

2
public/index.html

@ -57,7 +57,7 @@
<!-- 验收测试环境 aliyun -->
<% if (process.env.VUE_APP_NODE_ENV==='prod:uat' ) { %>
<script>
window.SITE_CONFIG['apiURL'] = 'https://epmet-test.elinkservice.cn/api'
window.SITE_CONFIG['apiURL'] = 'http://120.27.18.76/api'
</script>
<% } %>
<!-- 生产环境 -->

5
src/views/modules/visual/heart/index.vue

@ -229,7 +229,8 @@ export default {
//
async getTb1() {
const { agencyId, areaCode } = this;
const url = "/data/report/screen/index/advancedbranchrank";
//const url = "/data/report/screen/index/advancedbranchrank";
const url = "/data/report/screen/index/advancedbranchrank-shibei";
let params = {
agencyId,
areaCode,
@ -243,7 +244,7 @@ export default {
if (code === 0) {
this.tb1.list = data.map((item) => {
return [{ type: "index" }, item.name, item.scroe];
return [{ type: "index" }, item.name, item.score];
});
this.tb1.srcList = data;
} else {

Loading…
Cancel
Save