This commit is contained in:
Paidax
2025-09-11 09:22:54 +08:00
56 changed files with 3162 additions and 246 deletions
@@ -94,7 +94,7 @@ layout("/layouts/platform_h5.html"){
})
},
onEdit(row) {
window.location.href = '/platform/h5/childManage/write?bizId=' + row.id
window.location.href = '/platform/childManage/write/h5?bizId=' + row.id
},
onDelete(id) {
this.$dialog.confirm({
@@ -87,14 +87,14 @@ layout("/layouts/platform_h5.html"){
})
},
onEdit(row) {
window.location.href = '/platform/h5/childManage/write?bizId=' + row.id
window.location.href = '/platform/childManage/write/h5?bizId=' + row.id
},
onDelete(id) {
onDelete(row) {
this.$dialog.confirm({
title: '温馨提示',
message: '您确定要删除吗?',
}).then(() => {
this.$axios.post("/platform/childManage/mine/doDelete", {id}).then((res) => {
this.$axios.post("/platform/childManage/mine/doDelete", {id: row.id}).then((res) => {
if (res.code === 0) {
this.$toast.success(res.msg)
this.doSearch()
@@ -22,7 +22,7 @@ layout("/layouts/platform_h5.html"){
name="childrenGrade"
label="就读年级"
readonly
placeholder="请点击就读年级"
placeholder="请选择就读年级"
@click="showChildrenGradePicker = true"
clickable
></van-field>
@@ -208,7 +208,7 @@ layout("/layouts/platform_h5.html"){
this.$axios.post("/platform/childManage/write/save", { data: JSON.stringify(submitData) }).then(res => {
if (res.code === 0) {
this.$toast(res.msg)
this.$pjaxReplace('/platform/h5/childManage/mine')
this.$pjaxReplace('/platform/childManage/mine/h5')
}
})
})