commit
This commit is contained in:
@@ -136,6 +136,8 @@ layout("/layouts/platform_h5.html"){
|
|||||||
],
|
],
|
||||||
infoVisible: false,
|
infoVisible: false,
|
||||||
infoRow: {},
|
infoRow: {},
|
||||||
|
|
||||||
|
id: GetQueryString('id')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -151,8 +153,18 @@ layout("/layouts/platform_h5.html"){
|
|||||||
}
|
}
|
||||||
this.$pjaxReplace('/platform/family/apply/list/h5?id=' + row.id)
|
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() {
|
onReady() {
|
||||||
this.doSearch()
|
this.doSearch()
|
||||||
|
if(this.id) {
|
||||||
|
this.fetchOne()
|
||||||
|
}
|
||||||
},
|
},
|
||||||
doSearch() {
|
doSearch() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
|
|||||||
@@ -116,6 +116,8 @@ layout("/layouts/platform_h5.html"){
|
|||||||
],
|
],
|
||||||
infoVisible: false,
|
infoVisible: false,
|
||||||
infoRow: {},
|
infoRow: {},
|
||||||
|
|
||||||
|
id: GetQueryString('id')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -131,8 +133,18 @@ layout("/layouts/platform_h5.html"){
|
|||||||
}
|
}
|
||||||
this.$pjaxReplace('/platform/trainSignUp/apply/list/h5?id=' + row.id)
|
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() {
|
onReady() {
|
||||||
this.doSearch()
|
this.doSearch()
|
||||||
|
if(this.id) {
|
||||||
|
this.fetchOne()
|
||||||
|
}
|
||||||
},
|
},
|
||||||
doSearch() {
|
doSearch() {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
@@ -142,6 +154,9 @@ layout("/layouts/platform_h5.html"){
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
mounted() {
|
||||||
|
|
||||||
|
}
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user