src/screen/flow.vue
@@ -7,7 +7,7 @@ <span>选择系统</span> </div> <div class="top-name">金川水电站生态流量监测系统</div> <div class="top-modal"> <div class="top-modal" v-if="text"> 公告弹窗提示 <el-switch v-model="openWarn" /> </div> @@ -74,10 +74,13 @@ // 获取报警内容 const getWarnList = () => { let errorCode = [10, 20] let str = '' warnHistory({limit: 10, page: 1, monitorType: 2}).then(res => { res.data.list?.forEach((item)=>{ str += item.description + ',' if(errorCode.includes(item.isConfirm)){ str += item.description + ',' } }) text.value = str })