Browse Source

党群议事页面调整

master
liuchuang 6 years ago
parent
commit
507bfd1bf7
  1. 6
      public/index.html
  2. 3
      src/views/main-sidebar.vue

6
public/index.html

@ -33,13 +33,13 @@
<!-- 开发环境 -->
<% if (process.env.VUE_APP_NODE_ENV === 'dev') { %>
<script>
window.SITE_CONFIG['apiURL'] = 'http://219.146.91.110:9094/epdc-api'
window.SITE_CONFIG['apiURL'] = 'http://localhost:9094/epdc-api'
</script>
<% } %>
<!-- 集成测试环境 -->
<% if (process.env.VUE_APP_NODE_ENV === 'prod:sit') { %>
<script>
window.SITE_CONFIG['apiURL'] = 'http://219.146.91.110:9094'
window.SITE_CONFIG['apiURL'] = 'http://219.146.91.110:9094/epdc-api'
</script>
<% } %>
<!-- 验收测试环境 -->
@ -51,7 +51,7 @@
<!-- 生产环境 -->
<% if (process.env.VUE_APP_NODE_ENV === 'prod') { %>
<script>
window.SITE_CONFIG['apiURL'] = 'https://epdc-api.elinkchina.com.cn'
window.SITE_CONFIG['apiURL'] = 'https://epdc-api.elinkchina.com.cn/epdc-api'
</script>
<% } %>
</head>

3
src/views/main-sidebar.vue

@ -99,6 +99,9 @@ export default {
console.log('Connected: ' + frame)
let topic = '/userMenuNotice/menuNoticeQueue/menu/getResponse'
this.stompClient.subscribe(topic, this.onSubscribe)
//
this.$http.get('/events/epdcevents/initMenuNotice').then(({ data: res }) => {}).catch(() => {
})
},
onSubscribe (value) {
this.pid = 0

Loading…
Cancel
Save