特殊人群
This commit is contained in:
@@ -9,12 +9,14 @@
|
||||
<script>
|
||||
import List from './components/List.vue'
|
||||
import Detail from './components/Detail.vue'
|
||||
import Add from './components/Add.vue'
|
||||
|
||||
export default {
|
||||
name: 'AppSpecialDisabled',
|
||||
name: 'AppSpecialMental',
|
||||
label: '精神病人',
|
||||
|
||||
components: {
|
||||
Add,
|
||||
List,
|
||||
Detail
|
||||
},
|
||||
@@ -40,7 +42,13 @@
|
||||
this.params = data.params
|
||||
}
|
||||
|
||||
if (data.type === 'list') {
|
||||
if (data.type === 'Add') {
|
||||
this.component = 'Add'
|
||||
this.isShowDetail = true
|
||||
this.params = data.params
|
||||
}
|
||||
|
||||
if (data.type === 'List') {
|
||||
this.component = 'List'
|
||||
this.params = data.params
|
||||
|
||||
|
||||
Reference in New Issue
Block a user