diff --git a/src/main/java/com/budwk/app/zhgh/staffbenefit/difficulthelp/controller/DifficultHelpApplyController.java b/src/main/java/com/budwk/app/zhgh/staffbenefit/difficulthelp/controller/DifficultHelpApplyController.java
index 7b141906..585b4ec8 100644
--- a/src/main/java/com/budwk/app/zhgh/staffbenefit/difficulthelp/controller/DifficultHelpApplyController.java
+++ b/src/main/java/com/budwk/app/zhgh/staffbenefit/difficulthelp/controller/DifficultHelpApplyController.java
@@ -3,12 +3,10 @@ package com.budwk.app.zhgh.staffbenefit.difficulthelp.controller;
import cn.dev33.satoken.annotation.SaCheckPermission;
import cn.hutool.core.lang.Dict;
import cn.hutool.core.util.ObjectUtil;
-import cn.hutool.core.util.StrUtil;
import com.budwk.app.base.annotation.SLog;
import com.budwk.app.base.constant.RoleConstant;
import com.budwk.app.base.page.Pagination;
import com.budwk.app.base.result.Result;
-import com.budwk.app.base.utils.PageUtil;
import com.budwk.app.flow.constant.FlowConst;
import com.budwk.app.flow.engine.FlowEngine;
import com.budwk.app.flow.entity.ProcessInstance;
@@ -19,9 +17,6 @@ import com.budwk.app.web.commons.auth.utils.AuthUtil;
import com.budwk.app.web.commons.auth.utils.SecurityUtil;
import com.budwk.app.zhgh.staffbenefit.difficulthelp.models.DifficultHelpInfo;
import com.budwk.app.zhgh.staffbenefit.difficulthelp.service.DifficultHelpCommonService;
-import com.budwk.app.zhgh.staffbenefit.difficulthelp.vo.DifficultHelpPageParam;
-import com.budwk.app.zhgh.staffmanage.member.models.MemberChangeRecord;
-import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import org.nutz.aop.interceptor.ioc.TransAop;
import org.nutz.dao.Cnd;
@@ -33,12 +28,10 @@ import org.nutz.ioc.aop.Aop;
import org.nutz.ioc.loader.annotation.Inject;
import org.nutz.ioc.loader.annotation.IocBean;
import org.nutz.lang.Strings;
-import org.nutz.lang.util.NutMap;
import org.nutz.mvc.annotation.At;
import org.nutz.mvc.annotation.Ok;
import org.nutz.mvc.annotation.Param;
-import javax.validation.Valid;
import java.util.Date;
import java.util.List;
@@ -76,6 +69,11 @@ public class DifficultHelpApplyController {
public void form() {
}
+ @At
+ @SaCheckPermission("h5.difficultHelp.apply")
+ @Ok("beetl:/platform/zhghh5/staffbenefit/difficulthelp/apply/index.html")
+ public void h5() {
+ }
@At
@ApiOperation("保存申请")
diff --git a/src/main/java/com/budwk/app/zhgh/staffbenefit/difficulthelp/controller/DifficultHelpMineController.java b/src/main/java/com/budwk/app/zhgh/staffbenefit/difficulthelp/controller/DifficultHelpMineController.java
index b014de26..a6a0b5fa 100644
--- a/src/main/java/com/budwk/app/zhgh/staffbenefit/difficulthelp/controller/DifficultHelpMineController.java
+++ b/src/main/java/com/budwk/app/zhgh/staffbenefit/difficulthelp/controller/DifficultHelpMineController.java
@@ -52,6 +52,12 @@ public class DifficultHelpMineController {
public void index() {
}
+ @At
+ @SaCheckPermission("h5.difficultHelp.mine")
+ @Ok("beetl:/platform/zhghh5/staffbenefit/difficulthelp/mine/index.html")
+ public void h5() {
+ }
+
@At
@ApiOperation("困难补助申请,我的申请列表")
diff --git a/src/main/java/com/budwk/app/zhgh/staffbenefit/difficulthelp/h5controller/H5DifficultHelpController.java b/src/main/java/com/budwk/app/zhgh/staffbenefit/difficulthelp/h5controller/H5DifficultHelpController.java
new file mode 100644
index 00000000..80ccb62f
--- /dev/null
+++ b/src/main/java/com/budwk/app/zhgh/staffbenefit/difficulthelp/h5controller/H5DifficultHelpController.java
@@ -0,0 +1,33 @@
+package com.budwk.app.zhgh.staffbenefit.difficulthelp.h5controller;
+
+import cn.dev33.satoken.annotation.SaCheckPermission;
+import io.swagger.annotations.Api;
+import org.nutz.ioc.loader.annotation.IocBean;
+import org.nutz.mvc.annotation.At;
+import org.nutz.mvc.annotation.Ok;
+
+/**
+ * @version 1.0
+ * @Author zzr
+ * @name:H5DifficultHelpController
+ * @Date 2025/9/6 14:21
+ * @注释
+ */
+@IocBean
+@Ok("json:full")
+@Api("h5困难帮扶")
+@At("/platform/h5/difficultHelp")
+public class H5DifficultHelpController {
+
+ @At
+ @SaCheckPermission("difficultHelp.h5.apply")
+ @Ok("beetl:/platform/zhghh5/staffbenefit/difficulthelp/apply/index.html")
+ public void apply() {
+ }
+
+ @At
+ @SaCheckPermission("difficultHelp.h5.mine")
+ @Ok("beetl:/platform/zhghh5/staffbenefit/difficulthelp/mine/index.html")
+ public void mine() {
+ }
+}
diff --git a/src/main/java/com/budwk/app/zhgh/staffmanage/member/controller/apply/MemberApplyMineController.java b/src/main/java/com/budwk/app/zhgh/staffmanage/member/controller/apply/MemberApplyMineController.java
index ec32bbae..38c139fa 100644
--- a/src/main/java/com/budwk/app/zhgh/staffmanage/member/controller/apply/MemberApplyMineController.java
+++ b/src/main/java/com/budwk/app/zhgh/staffmanage/member/controller/apply/MemberApplyMineController.java
@@ -67,6 +67,7 @@ public class MemberApplyMineController {
info.userState,
info.preparedBy,
info.personType,
+ info.applyDateTime,
info.sign,
ins.id AS instanceId,
ins.businessNo,
diff --git a/src/main/resources/views/platform/zhgh/staffmanage/member/apply/common/info.js b/src/main/resources/views/platform/zhgh/staffmanage/member/apply/common/info.js
index 6fc3ae2d..1e88f3a6 100644
--- a/src/main/resources/views/platform/zhgh/staffmanage/member/apply/common/info.js
+++ b/src/main/resources/views/platform/zhgh/staffmanage/member/apply/common/info.js
@@ -105,26 +105,26 @@ const INFO = {
dicts: ["PROCESS_TASK_SUBMIT_TYPE"],
data() {
return {
- transmitData: {},
+ row: {},
viewData: {},
doneTasks: []
}
},
methods: {
- onOpen(transmitData) {
- this.transmitData = transmitData
+ onOpen(row) {
+ this.row = row
this.info()
this.getDoneTasks()
},
info() {
- this.$axios.post("/platform/member/apply/mine/findMemberApplyRecord", { id: this.transmitData.id }).then((res) => {
+ this.$axios.post("/platform/member/apply/mine/findMemberApplyRecord", { id: this.row.id }).then((res) => {
if (res.code === 0) {
this.viewData = res.data
}
})
},
getDoneTasks() {
- this.$axios.post("/flow/common/doneTasks", { bizId: this.transmitData.id }).then((res) => {
+ this.$axios.post("/flow/common/doneTasks", { bizId: this.row.id }).then((res) => {
if (res.code === 0) {
this.doneTasks = res.data
}
@@ -132,7 +132,7 @@ const INFO = {
},
// 查看流程图
openChart(){
- this.$refs.snakerChartRef.onOpenFull(this.transmitData.instanceProcessDefineId, this.transmitData.instanceId)
+ this.$refs.snakerChartRef.onOpenFull(this.row.instanceProcessDefineId, this.row.instanceId)
}
}
}
diff --git a/src/main/resources/views/platform/zhgh/staffmanage/member/apply/submit/index.html b/src/main/resources/views/platform/zhgh/staffmanage/member/apply/submit/index.html
index dcd73d8e..102664a7 100644
--- a/src/main/resources/views/platform/zhgh/staffmanage/member/apply/submit/index.html
+++ b/src/main/resources/views/platform/zhgh/staffmanage/member/apply/submit/index.html
@@ -351,7 +351,6 @@ layout("/layouts/platform.html"){
} else {
user = this.$store.state.user
}
- this.member = user.member
if (this.id) {
const res = await this.$axios.post("/platform/member/apply/submit/findApplyById", { id: this.id })
diff --git a/src/main/resources/views/platform/zhghh5/staffbenefit/difficulthelp/apply/index.html b/src/main/resources/views/platform/zhghh5/staffbenefit/difficulthelp/apply/index.html
new file mode 100644
index 00000000..1aa752e4
--- /dev/null
+++ b/src/main/resources/views/platform/zhghh5/staffbenefit/difficulthelp/apply/index.html
@@ -0,0 +1,614 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/resources/views/platform/zhghh5/staffbenefit/difficulthelp/branchunionapproval/index.html b/src/main/resources/views/platform/zhghh5/staffbenefit/difficulthelp/branchunionapproval/index.html
new file mode 100644
index 00000000..1f4de2b7
--- /dev/null
+++ b/src/main/resources/views/platform/zhghh5/staffbenefit/difficulthelp/branchunionapproval/index.html
@@ -0,0 +1,104 @@
+
+
+
+
+
+
+ 搜索
+
+
+
+
+
+
+
+
+
+
+ {{row.userName + '(' + row.loginName + ')'}}
+ {{row.unionName}}
+ {{row.unitName}}
+ {{row.subsidyStandards}}
+ {{row.applyTime}}
+ {{row.taskName}}
+
+
+
+
+ 查看
+
+
+
+ 编辑
+
+
+
+ 撤回
+
+
+
+
+
+
+
+
+
+
+
{{formData.taskName}}
+
+
+
+
+
+ 退回到发起人
+ 拒绝申请
+ 同意申请
+
+
+
+
+
+
+
diff --git a/src/main/resources/views/platform/zhghh5/staffbenefit/difficulthelp/common/info.js b/src/main/resources/views/platform/zhghh5/staffbenefit/difficulthelp/common/info.js
new file mode 100644
index 00000000..3e405bc5
--- /dev/null
+++ b/src/main/resources/views/platform/zhghh5/staffbenefit/difficulthelp/common/info.js
@@ -0,0 +1,39 @@
+const INFO = {
+ template: /*language=HTML*/`
+ `,
+ data() {
+ return {
+ row: {},
+ viewData: {},
+ doneTasks: [],
+ }
+ },
+ methods: {
+ // 打开
+ onOpen(row) {
+ this.row = row
+ this.info()
+ this.getDoneTasks()
+ },
+ // 获取申请信息
+ info() {
+ this.$axios.post("/platform/difficultHelp/mine/findOne", { id: this.row.id }).then((res) => {
+ if (res.code === 0) {
+ this.viewData = res.data
+ }
+ })
+ },
+ // 获取已办任务审批记录
+ getDoneTasks() {
+ this.$axios.post("/flow/common/doneTasks", { bizId: this.row.id }).then((res) => {
+ if (res.code === 0) {
+ this.doneTasks = res.data
+ }
+ })
+ },
+ // 查看流程图
+ openChart(){
+ this.$refs.snakerChartRef.onOpenFull(this.row.instanceProcessDefineId, this.row.instanceId)
+ }
+ },
+}
diff --git a/src/main/resources/views/platform/zhghh5/staffbenefit/difficulthelp/mine/index.html b/src/main/resources/views/platform/zhghh5/staffbenefit/difficulthelp/mine/index.html
new file mode 100644
index 00000000..96bcfc18
--- /dev/null
+++ b/src/main/resources/views/platform/zhghh5/staffbenefit/difficulthelp/mine/index.html
@@ -0,0 +1,185 @@
+
+
+
+
+
+
+ 搜索
+
+
+
+
+
+
+
+
+
+
+ {{row.userName + '(' + row.loginName + ')'}}
+ {{row.unionName}}
+ {{row.unitName}}
+ {{row.subsidyStandards}}
+ {{row.applyTime}}
+ {{row.taskName}}
+
+
+
+
+ 查看
+
+
+
+ 编辑
+
+
+
+ 撤回
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/resources/views/platform/zhghh5/staffbenefit/difficulthelp/schoolunionapproval/index.html b/src/main/resources/views/platform/zhghh5/staffbenefit/difficulthelp/schoolunionapproval/index.html
new file mode 100644
index 00000000..917ece4b
--- /dev/null
+++ b/src/main/resources/views/platform/zhghh5/staffbenefit/difficulthelp/schoolunionapproval/index.html
@@ -0,0 +1,10 @@
+
+
+
+
+ Title
+
+
+
+
+
diff --git a/src/main/resources/views/platform/zhghh5/staffmanage/member/apply/branch/index.html b/src/main/resources/views/platform/zhghh5/staffmanage/member/apply/branch/index.html
deleted file mode 100644
index 449f5acd..00000000
--- a/src/main/resources/views/platform/zhghh5/staffmanage/member/apply/branch/index.html
+++ /dev/null
@@ -1,405 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- |
- {{item.username + '(' + item.loginname + ')'}}
-
-
-
-
-
-
-
- 所属工会:
- {{item.unionName}}
-
-
- 工作单位:
- {{item.unitName}}
-
-
-
-
- 在职状态:
- {{item.userState}}
-
-
- 人事编制:
- {{item.preparedBy}}
-
-
-
-
- 人员类型:
- {{item.personType}}
-
-
- 申报类型:
- {{ '入会申请' }}
-
-
-
-
-
-
-
-
- 当前状态:
- {{item.processInstanceNodeName}}
-
-
- 查看
-
- 审核
-
-
- 撤回
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
{{formData.processInstanceNodeName}}
-
-
- 退回
- 建议撤销
- 同意
-
-
-
-
-
-
diff --git a/src/main/resources/views/platform/zhghh5/staffmanage/member/apply/branchunionapproval/index.html b/src/main/resources/views/platform/zhghh5/staffmanage/member/apply/branchunionapproval/index.html
new file mode 100644
index 00000000..d99b5162
--- /dev/null
+++ b/src/main/resources/views/platform/zhghh5/staffmanage/member/apply/branchunionapproval/index.html
@@ -0,0 +1,234 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{row.loginName}}
+ {{row.userName}}
+ {{row.unionName}}
+ {{row.unitName}}
+ {{row.userState}}
+ {{row.personType}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{{formData.taskName}}
+
+
+
+
+
+ 退回到发起人
+ 拒绝申请
+ 同意申请
+
+
+
+
+
+
+
diff --git a/src/main/resources/views/platform/zhghh5/staffmanage/member/apply/common/info.js b/src/main/resources/views/platform/zhghh5/staffmanage/member/apply/common/info.js
new file mode 100644
index 00000000..5b7967fa
--- /dev/null
+++ b/src/main/resources/views/platform/zhghh5/staffmanage/member/apply/common/info.js
@@ -0,0 +1,152 @@
+const INFO = {
+ template: /*language=HTML*/ `
+
+
+
+
+
+
+ 申请信息 点击查看流程图
+
+
+ {{clickUpOrDown ? '点击收起' : '点击展开'}}
+
+
+
+
+
+
+ {{ viewData.loginname }}
+ {{ viewData.username }}
+ {{ viewData.sex }}
+
+ {{ viewData.nation }}
+ {{ $moment(viewData.birthday).format("YYYY年MM月DD日") }}
+ {{ viewData.political }}
+
+ {{ viewData.education }}
+ {{ viewData.academicDegree }}
+ {{ viewData.position }}
+
+ {{ viewData.unitName }}
+ {{ viewData.unionName }}
+ {{ viewData.campus }}
+
+ {{ viewData.idCard }}
+ {{ viewData.mobile }}
+ {{ viewData.email }}
+
+ {{ viewData.userState }}
+ {{ viewData.personType }}
+ {{ viewData.preparedBy || '暂无' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | {{ index + 1 }} |
+ {{ item.relation }} |
+ {{ item.name }} |
+ {{ item.unit }} |
+ {{ item.remark }} |
+
+
+
+
+
+
+
+
+ 无数据
+
+
+
+
+
+
+
+
+
+
+
+
+
+ `,
+ data() {
+ return {
+ row: {},
+ viewData: {},
+ doneTasks: [],
+
+ activeName: 'basicInfo',
+ clickUpOrDown: true,
+ }
+ },
+ methods: {
+ onOpen(row) {
+ this.row = row
+ this.info()
+ this.getDoneTasks()
+ },
+ info() {
+ this.$axios.post("/platform/member/apply/mine/findMemberApplyRecord", { id: this.row.id }).then((res) => {
+ if (res.code === 0) {
+ this.viewData = res.data
+ }
+ })
+ },
+ getDoneTasks() {
+ this.$axios.post("/flow/common/doneTasks", { bizId: this.row.id }).then((res) => {
+ if (res.code === 0) {
+ this.doneTasks = res.data
+ }
+ })
+ },
+ // 查看流程图
+ openChart(){
+ this.$refs.snakerChartRef.onOpenFull(this.row.instanceProcessDefineId, this.row.instanceId)
+ }
+ },
+ style: /*language=CSS*/ `
+ .column-cell {
+ flex-direction: column;
+ }
+ .family-table {
+ width: 100%;
+ max-width: 100%;
+ border-collapse: collapse;
+ table-layout: auto;
+ text-align: center;
+ font-family: 'Arial', sans-serif;
+ margin: 20px 0;
+ }
+ .table-header {
+ background-color: gray;
+ color: white;
+ font-weight: bold;
+ text-transform: uppercase;
+ }
+ .table-row {
+ background-color: #f9f9f9;
+ transition: background-color 0.3s;
+ }
+ .table-row:hover {
+ background-color: #f1f1f1;
+ }
+ .table-cell {
+ padding: 10px 20px;
+ border: 1px solid #ddd;
+ text-align: center;
+ }
+ `
+}
diff --git a/src/main/resources/views/platform/zhghh5/staffmanage/member/apply/mine/index.html b/src/main/resources/views/platform/zhghh5/staffmanage/member/apply/mine/index.html
index 48c30291..6b236425 100644
--- a/src/main/resources/views/platform/zhghh5/staffmanage/member/apply/mine/index.html
+++ b/src/main/resources/views/platform/zhghh5/staffmanage/member/apply/mine/index.html
@@ -1,146 +1,20 @@
-
-
-
+
+
+ @search="doSearch">
+
+ 搜索
+
+
-
-
-
-
-
-
-
-
- |
- {{item.username + '(' + item.loginname + ')'}}
-
-
-
-
-
-
-
- 所属工会:
- {{item.unionName}}
-
-
- 工作单位:
- {{item.unitName}}
-
-
-
-
- 在职状态:
- {{item.userState}}
-
-
- 人事编制:
- {{item.preparedBy}}
-
-
-
-
- 人员类型:
- {{item.personType}}
-
-
- 申报类型:
- {{ '入会申请' }}
-
-
-
-
-
-
-
-
- 当前状态:
- {{item.processInstanceNodeName}}
-
-
- 查看
-
- 编辑
-
-
- 撤销
-
-
- 删除
-
-
-
-
-
-
-
-
-
+
+
+
+
+ {{row.loginName}}
+ {{row.unionName}}
+ {{row.unitName}}
+ {{row.applyDateTime}}
+ {{row.taskName}}
+
+
+
+
+ 查看
+
+
+
+ 编辑
+
+
+
+ 撤回
+
+
+
+ 删除
+
+
+
+
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- |
- {{item.username + '(' + item.loginname + ')'}}
-
-
-
-
-
-
-
- 所属工会:
- {{item.unionName}}
-
-
- 工作单位:
- {{item.unitName}}
-
-
-
-
- 在职状态:
- {{item.userState}}
-
-
- 人事编制:
- {{item.preparedBy}}
-
-
-
-
- 人员类型:
- {{item.personType}}
-
-
- 申报类型:
- {{ '入会申请' }}
-
-
-
-
-
-
-
-
- 当前状态:
- {{item.processInstanceNodeName}}
-
-
- 查看
-
- 审核
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
{{formData.processInstanceNodeName}}
-
-
- 退回重新填写
- 建议撤销
- 同意
-
-
-
-
-
-
diff --git a/src/main/resources/views/platform/zhghh5/staffmanage/member/apply/schoolunionapproval/index.html b/src/main/resources/views/platform/zhghh5/staffmanage/member/apply/schoolunionapproval/index.html
new file mode 100644
index 00000000..2aa5dc78
--- /dev/null
+++ b/src/main/resources/views/platform/zhghh5/staffmanage/member/apply/schoolunionapproval/index.html
@@ -0,0 +1,241 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{row.loginName}}
+ {{row.userName}}
+ {{row.unionName}}
+ {{row.unitName}}
+ {{row.userState}}
+ {{row.personType}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{{formData.taskName}}
+
+
+
+
+
+ 退回到发起人
+ 拒绝申请
+ 同意申请
+
+
+
+
+
+
+
diff --git a/src/main/resources/views/platform/zhghh5/staffmanage/member/apply/submit/index.html b/src/main/resources/views/platform/zhghh5/staffmanage/member/apply/submit/index.html
index fab6dac3..64458c13 100644
--- a/src/main/resources/views/platform/zhghh5/staffmanage/member/apply/submit/index.html
+++ b/src/main/resources/views/platform/zhghh5/staffmanage/member/apply/submit/index.html
@@ -2,357 +2,429 @@
layout("/layouts/platform_h5.html"){
#-->
-
-
-
-
-
-
- 返 回
- 保存申请
- 提交申请
-
-
+
+
+
+
+
+
+
+
+
+ {formData.nation = v;showNationPicker = false}"
+ >
+
+
+
+
+
+
+
+ {formData.political = v;showPoliticalPicker = false}"
+ >
+
+
+
+ {formData.education = v;showEducationPicker = false}"
+ >
+
+
+
+ {formData.academicDegree = v;showAcademicDegreePicker = false}"
+ >
+
+
+
+
+
+
+
+ {formData.campus = v;showCampusPicker = false}"
+ @cancel="showCampusPicker = false"
+ >
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 成员{{toChinesNum(i+1)}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 我自愿申请加入学校工会,并委托学校按规定代为扣缴工会会员会费。
+
+
+
+
+ 我将严格遵守工会章程,认真执行工会决议,积极参与工会活动,主动融入“学校健康幸福家”建设,为营造温暖、和谐、奋进的校园氛围贡献力量,以实际行动助力学校各项事业发展。
+
+
+
+
+
+ 保存
+ 提交
+ 提交1
+
+