风险预警列表

This commit is contained in:
shijingjing
2022-03-24 10:40:30 +08:00
parent 79236440f9
commit 314d9217d5
3 changed files with 223 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
<template>
<div class="AppWarningMonitoring">
<component v-if="refresh" :is="component" @change="onChange" :params="params"></component>
</div>
</template>
<script>
import riskList from './riskList'
export default {
name: 'AppWarningMonitoring',
appName: '预警监控',
data() {
return {
component: 'riskList',
params: {},
refresh: true
}
},
components: {riskList},
methods: {
onChange(e) {
this.params = e.params
this.component = e.type
},
onShow() {
document.title = "预警监控"
this.refresh = false
this.$nextTick(() => {
this.refresh = true
})
}
},
}
</script>
<style lang="scss" scoped>
uni-page-body {
height: 100%;
}
.AppSpecialPeople {
height: 100%;
}
</style>