-
+
+
+
生活费信息
+

+
+
+
+
+
+
福利机构信息
+

+
+
@@ -27,38 +107,12 @@ export default {
appName: "儿童信息详情",
data() {
return {
- list: [
- {
- title: '基本信息',
- isView: true,
- infoList: [
- {
- label: '儿童类别',
- value: '事实无人抚养儿童'
- },
- {
- label: '儿童类别',
- value: '事实无人抚养儿童'
- }
- ]
- },
- {
- title: '基本信息',
- isView: true,
- infoList: [
- {
- label: '儿童类别',
- value: '事实无人抚养儿童'
- },
- {
- label: '儿童类别',
- value: '事实无人抚养儿童'
- }
- ]
- }
- ],
childType: '',
- synId: ''
+ synId: '',
+ info: {},
+ isShowBasic: false,
+ isShowLifeMoney: false,
+ isShowInstitution: false
}
},
onLoad(option) {
@@ -76,8 +130,14 @@ export default {
})
},
methods: {
- view(index) {
- this.list[index].isView = !this.list[index].isView
+ view(type) {
+ if(!type) {
+ this.isShowBasic = !this.isShowBasic
+ }else if(type == 1) {
+ this.isShowLifeMoney = !this.isShowLifeMoney
+ }else {
+ this.isShowInstitution = !this.isShowInstitution
+ }
},
toView() {
uni.navigateTo({url: `./AppChildrenDetailView`})
@@ -88,6 +148,7 @@ export default {
withoutToken: true
}).then((res) => {
if (res.code == 200) {
+
this.info = {...res.data}
}else {
this.$u.toast(res.msg)
diff --git a/src/project/hljjm/AppChildrenInfo/AppChildrenList.vue b/src/project/hljjm/AppChildrenInfo/AppChildrenList.vue
index ce7e2800..fdf0d2ae 100644
--- a/src/project/hljjm/AppChildrenInfo/AppChildrenList.vue
+++ b/src/project/hljjm/AppChildrenInfo/AppChildrenList.vue
@@ -14,6 +14,7 @@
{{item.age}}岁