This commit is contained in:
@jyuhsin
2025-09-25 21:58:03 +08:00
parent 82b8d4a125
commit f2f61d351a
2 changed files with 27 additions and 0 deletions
@@ -136,6 +136,8 @@ layout("/layouts/platform_h5.html"){
],
infoVisible: false,
infoRow: {},
id: GetQueryString('id')
}
},
methods: {
@@ -151,8 +153,18 @@ layout("/layouts/platform_h5.html"){
}
this.$pjaxReplace('/platform/family/apply/list/h5?id=' + row.id)
},
fetchOne() {
this.$axios.post('/platform/family/manage/findOne', {id: this.id}).then((res) => {
if(res.code === 0) {
this.onApply(res.data)
}
})
},
onReady() {
this.doSearch()
if(this.id) {
this.fetchOne()
}
},
doSearch() {
this.$nextTick(() => {
@@ -116,6 +116,8 @@ layout("/layouts/platform_h5.html"){
],
infoVisible: false,
infoRow: {},
id: GetQueryString('id')
}
},
methods: {
@@ -131,8 +133,18 @@ layout("/layouts/platform_h5.html"){
}
this.$pjaxReplace('/platform/trainSignUp/apply/list/h5?id=' + row.id)
},
fetchOne() {
this.$axios.post('/platform/trainSignUp/manage/findOne', {id: this.id}).then((res) => {
if(res.code === 0) {
this.onApply(res.data)
}
})
},
onReady() {
this.doSearch()
if(this.id) {
this.fetchOne()
}
},
doSearch() {
this.$nextTick(() => {
@@ -142,6 +154,9 @@ layout("/layouts/platform_h5.html"){
})
}
},
mounted() {
}
})
</script>