From 69b48258b9ccca77bb978fb5d048149360e3c521 Mon Sep 17 00:00:00 2001
From: yjl <1490736767@qq.com>
Date: Sat, 17 Dec 2022 11:46:32 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=AD=E5=BB=BA=E5=9B=9B?=
=?UTF-8?q?=E5=B1=80bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../fourEngin/command/rightThree.vue | 75 +++++++++----------
1 file changed, 36 insertions(+), 39 deletions(-)
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 @@
@@ -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')
}
- })
+ })
}
}
}