diff --git a/src/views/projectAdmin/fourEngin/command/rightThree.vue b/src/views/projectAdmin/fourEngin/command/rightThree.vue index 26a7c1ba..1c84ef7e 100644 --- a/src/views/projectAdmin/fourEngin/command/rightThree.vue +++ b/src/views/projectAdmin/fourEngin/command/rightThree.vue @@ -2,12 +2,12 @@
-
-

{{item.content}}

- -
+
@@ -20,67 +20,67 @@ export default { components: { Card }, data() { return { - list:[{content:''}] + list: [{ content: '' }] } }, created() { - this.getData() + this.getData() }, methods: { - getData(){ - getEpidemicBroadcastApi().then((res)=>{ - if(res.code == 200){ + getData() { + getEpidemicBroadcastApi({adCode: this.$store.state.currentProDetail.cityCode }).then(res => { + if (res.code == 200) { this.list[0].content = res.result } // console.log('疫情',res) }) }, - toMore(){ + toMore() { let dom = document.getElementById('more') - dom.addEventListener('click', function (e) { + dom.addEventListener('click', function(e) { if (e.target.id == 'more') { - window.open("http://wjw.gz.gov.cn/ztzl/xxfyyqfk/yqtb/index.html","_blank") + window.open('http://wjw.gz.gov.cn/ztzl/xxfyyqfk/yqtb/index.html', '_blank') } - }) + }) } } }