This commit is contained in:
@jyuhsin
2025-09-18 10:01:59 +08:00
parent d377676758
commit b05de4830c
113 changed files with 2305 additions and 682 deletions
@@ -127,7 +127,7 @@ layout("/layouts/platform.html"){
this.$axios.post("/platform/club/evaluate/apply/save", { data: JSON.stringify(this.formData) }).then((res) => {
if (res.code === 0) {
this.$message.success(res.msg)
location.href = '/platform/club/evaluate/mine'
commonUtil.pjaxPush('/platform/club/evaluate/mine')
}
})
},
@@ -149,7 +149,7 @@ layout("/layouts/platform.html"){
})
if (resp.code === 0) {
this.$message.success(resp.msg)
location.href = '/platform/club/evaluate/mine'
commonUtil.pjaxPush('/platform/club/evaluate/mine')
} else {
this.$message.warning(resp.msg)
}
@@ -170,7 +170,7 @@ layout("/layouts/platform.html"){
}).then(res => {
if (res.code === 0) {
this.$message.success(res.msg)
window.location.href = '/platform/club/evaluate/mine'
commonUtil.pjaxPush('/platform/club/evaluate/mine')
}
})
})
@@ -114,7 +114,7 @@ layout("/layouts/platform.html"){
})
},
onEdit(row) {
window.location.href = '/platform/club/evaluate/apply?taskId=' + (row.startTaskId || '') + "&bizId=" + row.id
commonUtil.pjaxPush('/platform/club/evaluate/apply?taskId=' + (row.startTaskId || '') + "&bizId=" + row.id)
},
async onDelete(id) {
const confirm = await this.$confirm("此操作将永久删除, 是否继续?", "提示", {
@@ -376,7 +376,7 @@ layout("/layouts/platform.html"){
}).then((res) => {
if (res.code === 0) {
this.$message.success(res.msg)
location.href = '/platform/club/examine/mine'
commonUtil.pjaxPush('/platform/club/examine/mine')
}
})
},
@@ -394,7 +394,7 @@ layout("/layouts/platform.html"){
})
if (resp.code === 0) {
this.$message.success(resp.msg)
location.href = '/platform/club/examine/mine'
commonUtil.pjaxPush('/platform/club/examine/mine')
} else {
this.$message.warning(resp.msg)
}
@@ -414,7 +414,7 @@ layout("/layouts/platform.html"){
}).then(res => {
if (res.code === 0) {
this.$message.success(res.msg)
window.location.href = '/platform/club/examine/mine'
commonUtil.pjaxPush('/platform/club/examine/mine')
}
})
})
@@ -106,7 +106,7 @@ layout("/layouts/platform.html"){
})
},
onEdit(row) {
window.location.href = '/platform/club/examine/apply?taskId=' + (row.startTaskId || '') + "&bizId=" + row.id
commonUtil.pjaxPush('/platform/club/examine/apply?taskId=' + (row.startTaskId || '') + "&bizId=" + row.id)
},
async onDelete(id) {
const confirm = await this.$confirm("此操作将永久删除, 是否继续?", "提示", {
@@ -165,7 +165,7 @@ layout("/layouts/platform.html"){
this.$axios.post('/platform/club/join/apply/save', {data: JSON.stringify(this.formData)}).then(res => {
if (res.code === 0) {
this.$message.success(res.msg)
location.href = '/platform/club/join/mine'
commonUtil.pjaxPush('/platform/club/join/mine')
}
})
})
@@ -180,7 +180,7 @@ layout("/layouts/platform.html"){
this.$confirm("您确定要提交申请吗?", "提示", { type: "warning" }).then(() => {
this.$axios.post("/platform/club/join/apply/submit", this.formData).then((res) => {
if (res.code === 0) {
location.href = '/platform/club/join/mine'
commonUtil.pjaxPush('/platform/club/join/mine')
this.$message.success(res.msg)
}
})
@@ -202,7 +202,7 @@ layout("/layouts/platform.html"){
}).then(res => {
if (res.code === 0) {
this.$message.success(res.msg)
location.href = '/platform/club/join/mine'
commonUtil.pjaxPush('/platform/club/join/mine')
}
})
})
@@ -114,7 +114,7 @@ layout("/layouts/platform.html"){
async doSubmit(row) {
this.$axios.post("/platform/club/join/apply/checkApplyClub", { clubId: row.id }).then((res) => {
if (res.code === 0) {
location.href = '/platform/club/join/apply?clubId=' + row.id
commonUtil.pjaxPush('/platform/club/join/apply?clubId=' + row.id)
}
})
},
@@ -92,7 +92,7 @@ layout("/layouts/platform.html"){
})
},
onEdit(row) {
location.href = '/platform/club/join/apply?taskId=' + (row.startTaskId || '') + "&bizId=" + row.id
commonUtil.pjaxPush('/platform/club/join/apply?taskId=' + (row.startTaskId || '') + "&bizId=" + row.id)
},
onDelete(id) {
this.$confirm("确定要删除此申请吗?", "提示", {
@@ -157,7 +157,7 @@ layout("/layouts/platform.html"){
})
if (resp.code === 0) {
this.$message.success(resp.msg)
location.href = '/platform/club/register/clubMyApply'
commonUtil.pjaxPush('/platform/club/register/clubMyApply')
}
} catch (e) {
console.log(e)
@@ -102,7 +102,7 @@ layout("/layouts/platform.html"){
})
},
openAdd() {
location.href = '/platform/club/register/clubRegisterApply'
commonUtil.pjaxPush('/platform/club/register/clubRegisterApply')
},
openView(row) {
this.$refs.guava.view(() => {
@@ -110,7 +110,7 @@ layout("/layouts/platform.html"){
})
},
onEdit(row) {
window.location.href = '/platform/club/register/clubRegisterApply?taskId=' + (row.startTaskId || '') + "&bizId=" + row.id
commonUtil.pjaxPush('/platform/club/register/clubRegisterApply?taskId=' + (row.startTaskId || '') + "&bizId=" + row.id)
},
async onDelete(id) {
const confirm = await this.$confirm("此操作将永久删除, 是否继续?", "提示", {