Files
dvcp_v2_wxcp_app/src/apps/AppSpecialPeople/AppSpecialPeople.vue

46 lines
764 B
Vue
Raw Normal View History

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>
import Detail from './components/detail'
2021-12-16 11:48:24 +08:00
export default {
name: 'AppSpecialPeople',
appName: '特殊人群',
data() {
return {
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>