2021-12-16 11:48:24 +08:00
|
|
|
<template>
|
|
|
|
|
<div class="AppSpecialPeople">
|
|
|
|
|
<component
|
2021-12-31 10:28:36 +08:00
|
|
|
v-if="refresh"
|
2021-12-16 11:48:24 +08:00
|
|
|
:is="component"
|
|
|
|
|
@change="onChange"
|
|
|
|
|
:params="params">
|
|
|
|
|
</component>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
2022-03-10 14:18:17 +08:00
|
|
|
import Detail from './components/detail'
|
2021-12-16 11:48:24 +08:00
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: 'AppSpecialPeople',
|
|
|
|
|
appName: '特殊人群',
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
2022-03-10 14:18:17 +08:00
|
|
|
component: Detail,
|
2021-12-31 10:28:36 +08:00
|
|
|
params: {},
|
|
|
|
|
refresh: true
|
2021-12-16 11:48:24 +08:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
onChange(e) {
|
|
|
|
|
this.params = e.params
|
|
|
|
|
this.component = e.type
|
2021-12-24 19:57:02 +08:00
|
|
|
},
|
|
|
|
|
onShow() {
|
|
|
|
|
document.title = "特殊人群"
|
2021-12-31 10:28:36 +08:00
|
|
|
this.refresh = false
|
|
|
|
|
this.$nextTick(() => {
|
|
|
|
|
this.refresh = true
|
|
|
|
|
})
|
2021-12-16 11:48:24 +08:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
2021-12-31 10:28:36 +08:00
|
|
|
.AppSpecialPeople {
|
2022-03-15 15:00:05 +08:00
|
|
|
min-height: 100%;
|
2021-12-16 11:48:24 +08:00
|
|
|
}
|
2021-12-31 10:28:36 +08:00
|
|
|
</style>
|