工会报销移动端

This commit is contained in:
=
2025-09-10 17:30:58 +08:00
parent 5d01ca6aad
commit 5f332883db
28 changed files with 176 additions and 199 deletions
@@ -153,9 +153,9 @@ layout("/layouts/platform.html"){
<el-descriptions-item label="活动类型" v-if="formData.reimburseProject === 'UNION_REIMBURSE_PROJECT_2'">
<el-form-item label="活动类型" prop="activityType">
<el-select v-model="formData.activityType" placeholder="请选择活动类型" style="width: 100%">
<el-option label="分工会活动" value="1"></el-option>
<el-option label="校工会活动" value="2"></el-option>
<el-option label="协会(社团)活动" value="3"></el-option>
<el-option label="分工会活动" value="分工会活动"></el-option>
<el-option label="校工会活动" value="校工会活动"></el-option>
<el-option label="协会(社团)活动" value="协会(社团)活动"></el-option>
</el-select>
</el-form-item>
</el-descriptions-item>
@@ -216,7 +216,7 @@ layout("/layouts/platform.html"){
<el-form-item prop="files" label="附件">
<file-upload
:value.sync="formData.files"
:upload_number="5"
:upload_number="10"
upload_result_category="array"
complete_result
upload_mode="drag"
@@ -251,7 +251,6 @@ layout("/layouts/platform.html"){
paymentWay: [{required: true, message: '请选择支付方式', trigger: ["change", "blur"]}],
reimburseProject: [{required: true, message: '请选择报销项目', trigger: ["change", "blur"]}],
reimburseFundSource: [{required: true, message: '请选择经费来源', trigger: ["change", "blur"]}],
mobile: [{required: true, message: '请填写联系方式', trigger: ["change", "blur"]}],
bankUserName: [{required: true, message: '请填写户名', trigger: ["change", "blur"]}],
bankCardNumber: [{required: true, message: '请填写银行账号', trigger: ["change", "blur"]}],
bankOfDeposit: [{required: true, message: '请填写开户行', trigger: ["change", "blur"]}],
@@ -349,7 +348,7 @@ layout("/layouts/platform.html"){
this.$axios.post('/platform/unionReimburse/apply/save', {data: JSON.stringify(this.formData)}).then(res => {
if (res.code === 0) {
this.$message.success(res.msg)
window.location.href = '/platform/unionReimburse/mine'
window.location.href = '/platform/unionReimburse/mine/index'
}
})
})
@@ -375,7 +374,7 @@ layout("/layouts/platform.html"){
}).then(res => {
if (res.code === 0) {
this.$message.success("提交成功")
window.location.href = '/platform/unionReimburse/mine'
window.location.href = '/platform/unionReimburse/mine/index'
}
})
})
@@ -402,7 +401,7 @@ layout("/layouts/platform.html"){
}).then(res => {
if (res.code === 0) {
this.$message.success("提交成功")
window.location.href = '/platform/unionReimburse/mine'
window.location.href = '/platform/unionReimburse/mine/index'
}
})
})
@@ -126,6 +126,7 @@ layout("/layouts/platform.html"){
},
data() {
return {
pageDataUrl: "/platform/unionReimburse/collect/pageData",
unionOptions: [],
unitOptions: [],
userOptions: [],
@@ -175,7 +176,7 @@ layout("/layouts/platform.html"){
})
},
onExport() {
this.$downLoad(loc() + '/onExport', this.pageForm)
this.$downLoad('/platform/unionReimburse/collect/onExport', this.pageForm)
},
onRevoke(row) {
this.$confirm("您确定要撤回吗?", "提示", {
@@ -126,6 +126,7 @@ layout("/layouts/platform.html"){
},
data() {
return {
pageDataUrl: "/platform/unionReimburse/mine/pageData",
unionOptions: [],
unitOptions: [],
userOptions: [],
@@ -161,7 +162,7 @@ layout("/layouts/platform.html"){
})
},
onEdit(row) {
window.location.href = '/platform/unionReimburse/apply?taskId=' + (row.startTaskId || '') + "&bizId=" + row.id
window.location.href = '/platform/unionReimburse/apply/index?taskId=' + (row.startTaskId || '') + "&bizId=" + row.id
},
onRevoke(row) {
this.$confirm("您确定要撤回吗?", "提示", {
@@ -150,6 +150,7 @@ layout("/layouts/platform.html"){
},
data() {
return {
pageDataUrl: "/platform/unionReimburse/review/pageData",
pageForm: {
approval: false
},
@@ -172,7 +172,7 @@ layout("/layouts/platform.html"){
return age >= 0 ? age : '未出生';
},
openEdit(row) {
window.location.href = '/platform/childManage/write?bizId=' + row.id + '&manage=1'
window.location.href = '/platform/childManage/write/index?bizId=' + row.id + '&manage=1'
},
doDelete(id) {
this.$confirm("您确定要删除吗?", "提示", {
@@ -119,7 +119,7 @@ layout("/layouts/platform.html"){
return age >= 0 ? age : '未出生';
},
openEdit(row) {
window.location.href = '/platform/childManage/write?bizId=' + row.id
window.location.href = '/platform/childManage/write/index?bizId=' + row.id
},
doDelete(id) {
this.$confirm("您确定要删除吗?", "提示", {
@@ -309,9 +309,9 @@ layout("/layouts/platform.html"){
if (res.code === 0) {
this.$message.success(res.msg)
if (GetQueryString('manage') === '1') {
window.location.href = '/platform/childManage/manage'
window.location.href = '/platform/childManage/manage/index'
}else {
window.location.href = '/platform/childManage/mine'
window.location.href = '/platform/childManage/mine/index'
}
}
})
@@ -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')
}
})
})