diff --git a/src/main/java/com/budwk/app/zhgh/activity/basic/models/ActivityUserScope.java b/src/main/java/com/budwk/app/zhgh/activity/basic/models/ActivityUserScope.java index 4e368cc4..e2517cd0 100644 --- a/src/main/java/com/budwk/app/zhgh/activity/basic/models/ActivityUserScope.java +++ b/src/main/java/com/budwk/app/zhgh/activity/basic/models/ActivityUserScope.java @@ -3,7 +3,6 @@ package com.budwk.app.zhgh.activity.basic.models; import com.budwk.app.base.model.BaseModel; import lombok.Data; import lombok.EqualsAndHashCode; -import lombok.experimental.Accessors; import org.nutz.dao.entity.annotation.*; import java.io.Serial; @@ -16,9 +15,13 @@ import java.io.Serializable; */ @EqualsAndHashCode(callSuper = true) -@Table +@Table("activity_user_scope") @Data @Comment("活动人员范围设置") +@TableIndexes({ + @Index(name = "INDEX_ACTIVITY_USER_SCOPE_GROUPID", fields = {"groupId"}, unique = false), + @Index(name = "INDEX_ACTIVITY_USER_SCOPE_USERID", fields = {"userId"}, unique = false) +}) public class ActivityUserScope extends BaseModel implements Serializable { @Serial diff --git a/src/main/java/com/budwk/app/zhgh/activity/culture/controller/ActivityCultureApplyActivityController.java b/src/main/java/com/budwk/app/zhgh/activity/culture/controller/ActivityCultureApplyActivityController.java index 6594ad30..73bbd01a 100644 --- a/src/main/java/com/budwk/app/zhgh/activity/culture/controller/ActivityCultureApplyActivityController.java +++ b/src/main/java/com/budwk/app/zhgh/activity/culture/controller/ActivityCultureApplyActivityController.java @@ -5,7 +5,6 @@ import cn.dev33.satoken.annotation.SaCheckPermission; import cn.dev33.satoken.annotation.SaMode; import cn.hutool.core.date.DateUtil; import cn.hutool.core.lang.Dict; -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.result.Result; @@ -22,7 +21,6 @@ import com.budwk.app.zhgh.activity.culture.models.ActivityTissue; import com.budwk.app.zhgh.activity.culture.service.ActivityCultureService; import com.budwk.app.zhgh.club.model.SysClub; import com.budwk.app.zhgh.club.service.SysClubService; -import com.budwk.app.zhgh.unionReimburse.model.UnionReimburse; import io.swagger.annotations.ApiOperation; import org.nutz.aop.interceptor.ioc.TransAop; import org.nutz.dao.Cnd; diff --git a/src/main/java/com/budwk/app/zhgh/activity/culture/controller/ActivityCultureUserStatisticsController.java b/src/main/java/com/budwk/app/zhgh/activity/culture/controller/ActivityCultureUserStatisticsController.java index ef6daba6..e40a2342 100644 --- a/src/main/java/com/budwk/app/zhgh/activity/culture/controller/ActivityCultureUserStatisticsController.java +++ b/src/main/java/com/budwk/app/zhgh/activity/culture/controller/ActivityCultureUserStatisticsController.java @@ -6,7 +6,6 @@ import cn.afterturn.easypoi.excel.entity.enmus.ExcelType; import cn.afterturn.easypoi.excel.entity.params.ExcelExportEntity; import cn.dev33.satoken.annotation.SaCheckPermission; import cn.dev33.satoken.annotation.SaMode; -import cn.hutool.core.collection.CollUtil; import cn.hutool.core.util.ObjectUtil; import cn.hutool.core.util.StrUtil; import com.budwk.app.base.constant.RoleConstant; @@ -161,7 +160,9 @@ public class ActivityCultureUserStatisticsController { } } // 只查询流程实例状态为20的数据(已完成状态) - cnd.and("ins.state", "=", 20); + if (!List.of(40001).contains(activity_type)) { + cnd.and("ins.state", "=", 20); + } cnd.andEX("YEAR(tissue.startTime)", "=", year).desc("tissue.startTime"); sql.setCondition(cnd); return Result.success(activityCultureApplyUserService.list(sql)); diff --git a/src/main/java/com/budwk/app/zhgh/dayofficework/asset/controller/AssetStocktakingController.java b/src/main/java/com/budwk/app/zhgh/dayofficework/asset/controller/AssetStocktakingController.java index 38e089d9..2f7fd956 100644 --- a/src/main/java/com/budwk/app/zhgh/dayofficework/asset/controller/AssetStocktakingController.java +++ b/src/main/java/com/budwk/app/zhgh/dayofficework/asset/controller/AssetStocktakingController.java @@ -1,6 +1,7 @@ package com.budwk.app.zhgh.dayofficework.asset.controller; import cn.dev33.satoken.annotation.SaCheckPermission; +import cn.dev33.satoken.annotation.SaMode; import com.budwk.app.base.annotation.SLog; import com.budwk.app.base.page.Pagination; import com.budwk.app.base.result.Result; @@ -39,11 +40,16 @@ public class AssetStocktakingController { @SaCheckPermission("asset.stocktaking") public void index() { } + @At("/h5") + @Ok("beetl:/platform/zhghh5/dayofficework/asset/stocktaking/index.html") + @SaCheckPermission("h5.asset.stocktaking") + public void h5Index() { + } @At @ApiOperation("分页查询") - @SaCheckPermission("asset.stocktaking") + @SaCheckPermission(value = {"asset.stocktaking","h5.asset.stocktaking"}, mode = SaMode.OR) public Result pageData(AssetPageForm pageForm) { Sql sql = assetStocktakingService.getSql(pageForm); Pagination pagination = assetStocktakingService.listPageMap(pageForm.getPageNumber(), pageForm.getPageSize(), sql); @@ -54,7 +60,7 @@ public class AssetStocktakingController { @ApiOperation("资产盘点提交") @Aop(TransAop.READ_COMMITTED) @SLog(type = "AssetStocktaking", tag = "资产盘点", msg = "提交了一条资产盘点信息") - @SaCheckPermission("asset.stocktaking") + @SaCheckPermission(value = {"asset.stocktaking","h5.asset.stocktaking"}, mode = SaMode.OR) public Result doSubmit(AssetStocktaking assetStocktaking) { assetStocktakingService.doSubmit(assetStocktaking); @@ -66,7 +72,7 @@ public class AssetStocktakingController { @ApiOperation("删除资产盘点") @Aop(TransAop.READ_COMMITTED) @SLog(type = "AssetStocktaking", tag = "资产盘点", msg = "删除了一条资产盘点信息") - @SaCheckPermission("asset.stocktaking") + @SaCheckPermission(value = {"asset.stocktaking","h5.asset.stocktaking"}, mode = SaMode.OR) public Result doDelete(String id,String assetStocktakingPlanId) { assetStocktakingService.doDelete(id,assetStocktakingPlanId); return Result.success(); diff --git a/src/main/java/com/budwk/app/zhgh/dayofficework/site/controller/SiteApplyController.java b/src/main/java/com/budwk/app/zhgh/dayofficework/site/controller/SiteApplyController.java index 12b95a88..ddebdc18 100644 --- a/src/main/java/com/budwk/app/zhgh/dayofficework/site/controller/SiteApplyController.java +++ b/src/main/java/com/budwk/app/zhgh/dayofficework/site/controller/SiteApplyController.java @@ -170,7 +170,7 @@ public class SiteApplyController { @At @ApiOperation("查询可以预约的日期") @SaCheckPermission(value = {"site.apply", "h5.site.apply"}, mode = SaMode.OR) - public Result queryAllowTime(String siteId, String startTime, String endTime) { + public Result queryAllowDay(String siteId, String startTime, String endTime) { if(StrUtil.isBlank(siteId)) { return Result.success(new ArrayList<>()); } diff --git a/src/main/java/com/budwk/app/zhgh/dayofficework/site/controller/SiteMineController.java b/src/main/java/com/budwk/app/zhgh/dayofficework/site/controller/SiteMineController.java index 1112b39b..3339a677 100644 --- a/src/main/java/com/budwk/app/zhgh/dayofficework/site/controller/SiteMineController.java +++ b/src/main/java/com/budwk/app/zhgh/dayofficework/site/controller/SiteMineController.java @@ -58,7 +58,7 @@ public class SiteMineController { public void index() {} @At("/h5") - @Ok("beetl:/platform/zhgh/dayofficework/site/mine/index.html") + @Ok("beetl:/platform/zhghh5/dayofficework/site/mine/index.html") @SaCheckPermission("h5.site.mine") public void h5Index() {} diff --git a/src/main/java/com/budwk/app/zhgh/unionReimburse/controller/UnionReimburseApplyController.java b/src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/controller/UnionReimburseApplyController.java similarity index 76% rename from src/main/java/com/budwk/app/zhgh/unionReimburse/controller/UnionReimburseApplyController.java rename to src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/controller/UnionReimburseApplyController.java index 975393d6..9269b096 100644 --- a/src/main/java/com/budwk/app/zhgh/unionReimburse/controller/UnionReimburseApplyController.java +++ b/src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/controller/UnionReimburseApplyController.java @@ -1,7 +1,8 @@ -package com.budwk.app.zhgh.unionReimburse.controller; +package com.budwk.app.zhgh.dayofficework.unionReimburse.controller; import cn.dev33.satoken.annotation.SaCheckLogin; import cn.dev33.satoken.annotation.SaCheckPermission; +import cn.dev33.satoken.annotation.SaMode; import cn.hutool.core.date.DateUtil; import cn.hutool.core.lang.Dict; import cn.hutool.core.util.StrUtil; @@ -22,11 +23,12 @@ import com.budwk.app.zhgh.dayofficework.outlay.outlayManage.club.model.OutlayMan import com.budwk.app.zhgh.dayofficework.outlay.outlayManage.school.model.OutlayManageSchool; import com.budwk.app.zhgh.dayofficework.outlay.outlayManage.union.model.OutlayManageUnion; import com.budwk.app.zhgh.staffbenefit.condolence.service.CondolenceTypeService; -import com.budwk.app.zhgh.unionReimburse.model.UnionReimburse; +import com.budwk.app.zhgh.dayofficework.unionReimburse.model.UnionReimburse; import com.budwk.app.zhgh.staffbenefit.condolence.model.CondolenceType; -import com.budwk.app.zhgh.unionReimburse.service.UnionReimburseService; +import com.budwk.app.zhgh.dayofficework.unionReimburse.service.UnionReimburseService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; +import lombok.extern.slf4j.Slf4j; import org.nutz.aop.interceptor.ioc.TransAop; import org.nutz.dao.Cnd; import org.nutz.dao.Dao; @@ -51,6 +53,7 @@ import java.util.List; @At("/platform/unionReimburse/apply") @Api("工会报销申请") @Ok("json:full") +@Slf4j public class UnionReimburseApplyController { @Inject @@ -65,26 +68,32 @@ public class UnionReimburseApplyController { private CondolenceTypeService typeService; - @At("") - @Ok("beetl:/platform/zhgh/unionReimburse/apply/index.html") - @SaCheckLogin - public void index() {} + @At("/index") + @Ok("beetl:/platform/zhgh/dayofficework/unionReimburse/apply/index.html") + @SaCheckPermission("unionReimburse.apply") + public void index() { + } + @At("/h5") + @Ok("beetl:/platform/zhghh5/dayofficework/unionReimburse/apply/index.html") + @SaCheckPermission("h5.unionReimburse.apply") + public void h5Index() { + } @At @ApiOperation("保存申请") - @SaCheckPermission("unionReimburse.apply") + @SaCheckPermission(value = {"unionReimburse.apply", "h5.unionReimburse.apply"}, mode = SaMode.OR) @SLog(type = "unionReimburse", tag = "工会报销-报销申请", msg = "保存报销申请") public Result save(@Param("data") UnionReimburse unionReimburse) { - if(StrUtil.isBlank(unionReimburse.getId())) unionReimburse.setCreateTime(DateUtil.now()); + if (StrUtil.isBlank(unionReimburse.getId())) unionReimburse.setCreateTime(DateUtil.now()); dao.insertOrUpdate(unionReimburse); return Result.success(); } @At - @SaCheckLogin @ApiOperation("提交申请") + @SaCheckPermission(value = {"unionReimburse.apply", "h5.unionReimburse.apply"}, mode = SaMode.OR) public Result submit(@Param("data") UnionReimburse unionReimburse) { - if(StrUtil.isBlank(unionReimburse.getId())) unionReimburse.setCreateTime(DateUtil.now()); + if (StrUtil.isBlank(unionReimburse.getId())) unionReimburse.setCreateTime(DateUtil.now()); dao.insertOrUpdate(unionReimburse); // 开启流程实例 @@ -102,11 +111,11 @@ public class UnionReimburseApplyController { } @At - @SaCheckLogin @ApiOperation("重新提交申请") @Aop(TransAop.READ_COMMITTED) + @SaCheckPermission(value = {"unionReimburse.apply", "h5.unionReimburse.apply"}, mode = SaMode.OR) public Result submitAgain(@Param("data") UnionReimburse unionReimburse, @Param("taskId") Long taskId) { - if(StrUtil.isBlank(unionReimburse.getId())) unionReimburse.setCreateTime(DateUtil.now()); + if (StrUtil.isBlank(unionReimburse.getId())) unionReimburse.setCreateTime(DateUtil.now()); dao.insertOrUpdate(unionReimburse); @@ -133,25 +142,25 @@ public class UnionReimburseApplyController { @At @ApiOperation("查询用户") - @SaCheckPermission("unionReimburse.apply") + @SaCheckPermission(value = {"unionReimburse.apply", "h5.unionReimburse.apply"}, mode = SaMode.OR) @SLog(type = "unionReimburse", tag = "查询用户", msg = "查询用户") public Object listUser(String keyword) { Sql sql = Sqls.create(""" - select - id, - username as userName, - loginname as loginName, - sex, - mobile, - technicalTitle, - IFNULL(unitname, '暂无') as unitName, - unitid as unitId, - unionid as unionId, - unionname as unionName - from - vw_user - $condition - """); + select + id, + username as userName, + loginname as loginName, + sex, + mobile, + technicalTitle, + IFNULL(unitname, '暂无') as unitName, + unitid as unitId, + unionid as unionId, + unionname as unionName + from + vw_user + $condition + """); Cnd cnd = Cnd.NEW(); if (StrUtil.isNotBlank(keyword)) { SqlExpressionGroup seg = new SqlExpressionGroup(); @@ -159,8 +168,8 @@ public class UnionReimburseApplyController { seg.or(View_user::getUsername, "like", "%" + keyword + "%"); cnd.and(seg); } - if(!AuthUtil.hasRoleOr(RoleConstant.SYSADMIN.name(), RoleConstant.SCHOOL_UNION_ADMIN.name())) { - if(AuthUtil.hasRoleOr(RoleConstant.BRANCH_UNION_ADMIN.name(), RoleConstant.BRANCH_UNION_CHAIRMAN.name())) { + if (!AuthUtil.hasRoleOr(RoleConstant.SYSADMIN.name(), RoleConstant.SCHOOL_UNION_ADMIN.name())) { + if (AuthUtil.hasRoleOr(RoleConstant.BRANCH_UNION_ADMIN.name(), RoleConstant.BRANCH_UNION_CHAIRMAN.name())) { cnd.and(View_user::getUnionId, "=", SecurityUtil.getUnionId()); } else { cnd.and(View_user::getId, "=", SecurityUtil.getUserId()); @@ -174,7 +183,7 @@ public class UnionReimburseApplyController { @At @ApiOperation("查询职工慰问类型") - @SaCheckLogin + @SaCheckPermission(value = {"unionReimburse.apply", "h5.unionReimburse.apply"}, mode = SaMode.OR) public Result queryCondolenceType() { List list = typeService.query(Cnd.NEW().desc(CondolenceType::getCode)); return Result.success(list); @@ -182,7 +191,7 @@ public class UnionReimburseApplyController { @At @ApiOperation("查询校工会经费余额") - @SaCheckPermission("unionReimburse.apply") + @SaCheckPermission(value = {"unionReimburse.apply", "h5.unionReimburse.apply"}, mode = SaMode.OR) public Result getSchoolBudget() { OutlayManageSchool outlayManageSchool = dao.fetch(OutlayManageSchool.class, Cnd.where("year", "=", DateUtil.year(new Date()))); @@ -197,7 +206,7 @@ public class UnionReimburseApplyController { @At @ApiOperation("查询分工会经费余额") - @SaCheckPermission("unionReimburse.apply") + @SaCheckPermission(value = {"unionReimburse.apply", "h5.unionReimburse.apply"}, mode = SaMode.OR) public Result getUnionBalance() { OutlayManageUnion outlayManageUnion = dao.fetch(OutlayManageUnion.class, Cnd.where("unionId", "=", SecurityUtil.getUnionId()).and("year", "=", DateUtil.year(new Date()))); @@ -211,7 +220,7 @@ public class UnionReimburseApplyController { @At @ApiOperation("查询社团经费余额") - @SaCheckPermission("unionReimburse.apply") + @SaCheckPermission(value = {"unionReimburse.apply", "h5.unionReimburse.apply"}, mode = SaMode.OR) public Result getClubBudget(@Param("clubId") String clubId) { // 检查clubId参数是否为空 if (StrUtil.isBlank(clubId)) { @@ -233,6 +242,4 @@ public class UnionReimburseApplyController { } - - } diff --git a/src/main/java/com/budwk/app/zhgh/unionReimburse/controller/UnionReimburseCollectController.java b/src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/controller/UnionReimburseCollectController.java similarity index 90% rename from src/main/java/com/budwk/app/zhgh/unionReimburse/controller/UnionReimburseCollectController.java rename to src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/controller/UnionReimburseCollectController.java index d2bb005e..939e2b28 100644 --- a/src/main/java/com/budwk/app/zhgh/unionReimburse/controller/UnionReimburseCollectController.java +++ b/src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/controller/UnionReimburseCollectController.java @@ -1,10 +1,11 @@ -package com.budwk.app.zhgh.unionReimburse.controller; +package com.budwk.app.zhgh.dayofficework.unionReimburse.controller; import cn.afterturn.easypoi.excel.ExcelExportUtil; import cn.afterturn.easypoi.excel.entity.ExportParams; import cn.afterturn.easypoi.excel.entity.enmus.ExcelType; import cn.dev33.satoken.annotation.SaCheckLogin; import cn.dev33.satoken.annotation.SaCheckPermission; +import cn.dev33.satoken.annotation.SaMode; import cn.hutool.core.util.StrUtil; import com.budwk.app.base.page.Pagination; import com.budwk.app.base.param.PageForm; @@ -13,10 +14,11 @@ import com.budwk.app.base.utils.CommonDownloadUtil; import com.budwk.app.flow.engine.FlowEngine; import com.budwk.app.sys.models.Sys_dict; import com.budwk.app.sys.services.SysDictService; -import com.budwk.app.zhgh.unionReimburse.service.UnionReimburseService; -import com.budwk.app.zhgh.unionReimburse.vo.UnionReimburseCollectExcelVO; +import com.budwk.app.zhgh.dayofficework.unionReimburse.service.UnionReimburseService; +import com.budwk.app.zhgh.dayofficework.unionReimburse.vo.UnionReimburseCollectExcelVO; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; +import lombok.extern.slf4j.Slf4j; import org.apache.poi.ss.usermodel.Workbook; import org.nutz.dao.Cnd; import org.nutz.dao.Dao; @@ -36,6 +38,7 @@ import java.util.List; @At("/platform/unionReimburse/collect") @Ok("json:full") @Api("查询统计") +@Slf4j public class UnionReimburseCollectController { @Inject @@ -49,14 +52,20 @@ public class UnionReimburseCollectController { @Inject private UnionReimburseService unionReimburseService; - @At("") - @Ok("beetl:/platform/zhgh/unionReimburse/collect/index.html") - @SaCheckLogin - public void index() {} + @At("/index") + @Ok("beetl:/platform/zhgh/dayofficework/unionReimburse/collect/index.html") + @SaCheckPermission("unionReimburse.collect") + public void index() { + } + @At("/h5") + @Ok("beetl:/platform/zhghh5/dayofficework/unionReimburse/collect/index.html") + @SaCheckPermission("h5.unionReimburse.collect") + public void h5Index() { + } @At @ApiOperation("分页查询") - @SaCheckPermission("unionReimburse.collect") + @SaCheckPermission(value = {"unionReimburse.collect", "h5.unionReimburse.collect"}, mode = SaMode.OR) public Result pageData(PageForm pageForm, @Param(value = "year") Integer year, @Param(value = "unionId") String unionId, @@ -115,7 +124,7 @@ public class UnionReimburseCollectController { @At @Ok("void") - @SaCheckPermission("unionReimburse.collect") + @SaCheckPermission(value = {"unionReimburse.collect", "h5.unionReimburse.collect"}, mode = SaMode.OR) @ApiOperation("导出报销汇总表") public void onExport(@Param(value = "year") Integer year, @Param(value = "unionId") String unionId, diff --git a/src/main/java/com/budwk/app/zhgh/unionReimburse/controller/UnionReimburseMineController.java b/src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/controller/UnionReimburseMineController.java similarity index 83% rename from src/main/java/com/budwk/app/zhgh/unionReimburse/controller/UnionReimburseMineController.java rename to src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/controller/UnionReimburseMineController.java index 5cdbbc95..894c4810 100644 --- a/src/main/java/com/budwk/app/zhgh/unionReimburse/controller/UnionReimburseMineController.java +++ b/src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/controller/UnionReimburseMineController.java @@ -1,7 +1,8 @@ -package com.budwk.app.zhgh.unionReimburse.controller; +package com.budwk.app.zhgh.dayofficework.unionReimburse.controller; import cn.dev33.satoken.annotation.SaCheckLogin; import cn.dev33.satoken.annotation.SaCheckPermission; +import cn.dev33.satoken.annotation.SaMode; import cn.hutool.core.util.StrUtil; import com.budwk.app.base.annotation.SLog; import com.budwk.app.base.page.Pagination; @@ -9,15 +10,14 @@ import com.budwk.app.base.param.PageForm; import com.budwk.app.base.result.Result; import com.budwk.app.flow.engine.FlowEngine; import com.budwk.app.web.commons.auth.utils.SecurityUtil; -import com.budwk.app.zhgh.staffbenefit.condolence.model.Condolence; -import com.budwk.app.zhgh.unionReimburse.service.UnionReimburseService; +import com.budwk.app.zhgh.dayofficework.unionReimburse.service.UnionReimburseService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; +import lombok.extern.slf4j.Slf4j; import org.nutz.aop.interceptor.ioc.TransAop; import org.nutz.dao.Cnd; import org.nutz.dao.Sqls; import org.nutz.dao.sql.Sql; -import org.nutz.dao.util.cri.SqlExpressionGroup; import org.nutz.ioc.aop.Aop; import org.nutz.ioc.loader.annotation.Inject; import org.nutz.ioc.loader.annotation.IocBean; @@ -37,6 +37,7 @@ import org.nutz.mvc.annotation.Param; @At("/platform/unionReimburse/mine") @Api("工会报销我的") @Ok("json:full") +@Slf4j public class UnionReimburseMineController { @Inject @@ -44,14 +45,21 @@ public class UnionReimburseMineController { @Inject private FlowEngine flowEngine; - @At("") - @Ok("beetl:/platform/zhgh/unionReimburse/mine/index.html") - @SaCheckLogin - public void index() {} + + @At("/index") + @Ok("beetl:/platform/zhgh/dayofficework/unionReimburse/mine/index.html") + @SaCheckPermission("unionReimburse.mine") + public void index() { + } + @At("/h5") + @Ok("beetl:/platform/zhghh5/dayofficework/unionReimburse/mine/index.html") + @SaCheckPermission("h5.unionReimburse.mine") + public void h5Index() { + } @At @ApiOperation("分页查询") - @SaCheckPermission("unionReimburse.mine") + @SaCheckPermission(value = {"unionReimburse.mine", "h5.unionReimburse.mine"}, mode = SaMode.OR) public Result pageData(PageForm pageForm, @Param(value = "year") Integer year, @Param(value = "unionId") String unionId, @@ -108,8 +116,8 @@ public class UnionReimburseMineController { @At @ApiOperation("删除") @Aop(TransAop.READ_COMMITTED) - @SaCheckPermission("unionReimburse.mine") - @SLog(type = "unionReimburse", tag = "删除工会报销", msg = "删除工会报销") + @SaCheckPermission(value = {"unionReimburse.mine", "h5.unionReimburse.mine"}, mode = SaMode.OR) + @SLog( tag = "删除工会报销", msg = "删除工会报销") public Result delete(@Param("id") String id) { unionReimburseService.delete(id); flowEngine.processInstanceService().deleteProcessInstanceByBusinessKey(id); diff --git a/src/main/java/com/budwk/app/zhgh/unionReimburse/controller/UnionReimburseReviewController.java b/src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/controller/UnionReimburseReviewController.java similarity index 86% rename from src/main/java/com/budwk/app/zhgh/unionReimburse/controller/UnionReimburseReviewController.java rename to src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/controller/UnionReimburseReviewController.java index 915015b0..1fc76ddf 100644 --- a/src/main/java/com/budwk/app/zhgh/unionReimburse/controller/UnionReimburseReviewController.java +++ b/src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/controller/UnionReimburseReviewController.java @@ -1,8 +1,9 @@ -package com.budwk.app.zhgh.unionReimburse.controller; +package com.budwk.app.zhgh.dayofficework.unionReimburse.controller; import cn.dev33.satoken.annotation.SaCheckLogin; import cn.dev33.satoken.annotation.SaCheckPermission; +import cn.dev33.satoken.annotation.SaMode; import cn.hutool.core.util.StrUtil; import com.budwk.app.base.page.Pagination; import com.budwk.app.base.param.PageForm; @@ -10,9 +11,10 @@ import com.budwk.app.base.result.Result; import com.budwk.app.base.utils.PageUtil; import com.budwk.app.flow.enums.ProcessTaskStateEnum; import com.budwk.app.web.commons.auth.utils.SecurityUtil; -import com.budwk.app.zhgh.unionReimburse.service.UnionReimburseService; +import com.budwk.app.zhgh.dayofficework.unionReimburse.service.UnionReimburseService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; +import lombok.extern.slf4j.Slf4j; import org.nutz.dao.Cnd; import org.nutz.dao.Sqls; import org.nutz.dao.sql.Sql; @@ -21,7 +23,6 @@ import org.nutz.ioc.loader.annotation.IocBean; 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 java.util.List; @@ -29,19 +30,27 @@ import java.util.List; @At("/platform/unionReimburse/review") @Ok("json:full") @Api("审核报销") +@Slf4j public class UnionReimburseReviewController { @Inject private UnionReimburseService unionReimburseService; - @At("") - @Ok("beetl:/platform/zhgh/unionReimburse/review/index.html") - @SaCheckLogin - public void index() {} + + @At("/index") + @Ok("beetl:/platform/zhgh/dayofficework/unionReimburse/review/index.html") + @SaCheckPermission("unionReimburse.review") + public void index() { + } + @At("/h5") + @Ok("beetl:/platform/zhghh5/dayofficework/unionReimburse/review/index.html") + @SaCheckPermission("h5.unionReimburse.review") + public void h5Index() { + } @At @ApiOperation("分页查询") - @SaCheckPermission("unionReimburse.review") + @SaCheckPermission(value = {"unionReimburse.review", "h5.unionReimburse.review"}, mode = SaMode.OR) public Result pageData(PageForm pageForm, boolean approval, Integer year, diff --git a/src/main/java/com/budwk/app/zhgh/unionReimburse/interceptor/UnionReimburseFundSourceInterceptor.java b/src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/interceptor/UnionReimburseFundSourceInterceptor.java similarity index 97% rename from src/main/java/com/budwk/app/zhgh/unionReimburse/interceptor/UnionReimburseFundSourceInterceptor.java rename to src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/interceptor/UnionReimburseFundSourceInterceptor.java index a0b5de08..ec1234e4 100644 --- a/src/main/java/com/budwk/app/zhgh/unionReimburse/interceptor/UnionReimburseFundSourceInterceptor.java +++ b/src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/interceptor/UnionReimburseFundSourceInterceptor.java @@ -1,4 +1,4 @@ -package com.budwk.app.zhgh.unionReimburse.interceptor; +package com.budwk.app.zhgh.dayofficework.unionReimburse.interceptor; import cn.hutool.core.date.DateUtil; import com.budwk.app.base.exception.BaseException; @@ -11,7 +11,7 @@ import com.budwk.app.zhgh.dayofficework.outlay.outlayManage.club.model.OutlayMan import com.budwk.app.zhgh.dayofficework.outlay.outlayManage.model.OutlayUseDetail; import com.budwk.app.zhgh.dayofficework.outlay.outlayManage.school.model.OutlayManageSchool; import com.budwk.app.zhgh.dayofficework.outlay.outlayManage.union.model.OutlayManageUnion; -import com.budwk.app.zhgh.unionReimburse.model.UnionReimburse; +import com.budwk.app.zhgh.dayofficework.unionReimburse.model.UnionReimburse; import org.nutz.dao.Cnd; import org.nutz.dao.Dao; import org.nutz.json.Json; diff --git a/src/main/java/com/budwk/app/zhgh/unionReimburse/model/UnionReimburse.java b/src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/model/UnionReimburse.java similarity index 97% rename from src/main/java/com/budwk/app/zhgh/unionReimburse/model/UnionReimburse.java rename to src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/model/UnionReimburse.java index b29966ef..1785783c 100644 --- a/src/main/java/com/budwk/app/zhgh/unionReimburse/model/UnionReimburse.java +++ b/src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/model/UnionReimburse.java @@ -1,4 +1,4 @@ -package com.budwk.app.zhgh.unionReimburse.model; +package com.budwk.app.zhgh.dayofficework.unionReimburse.model; import cn.hutool.db.DaoTemplate; import cn.hutool.json.JSONObject; @@ -187,8 +187,8 @@ public class UnionReimburse extends BaseModel { @Column @Comment("活动类型(1.分工会,2.校工会,3.社团)") - @ColDefine(type = ColType.INT, width = 2) - private Integer activityType; + @ColDefine(type = ColType.VARCHAR, width = 32) + private String activityType; @Column @Comment("活动人数") diff --git a/src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/service/UnionReimburseService.java b/src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/service/UnionReimburseService.java new file mode 100644 index 00000000..7d581d2a --- /dev/null +++ b/src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/service/UnionReimburseService.java @@ -0,0 +1,7 @@ +package com.budwk.app.zhgh.dayofficework.unionReimburse.service; + +import com.budwk.app.base.service.BaseService; +import com.budwk.app.zhgh.dayofficework.unionReimburse.model.UnionReimburse; + +public interface UnionReimburseService extends BaseService { +} diff --git a/src/main/java/com/budwk/app/zhgh/unionReimburse/service/impl/UnionReimburseServiceImpl.java b/src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/service/impl/UnionReimburseServiceImpl.java similarity index 62% rename from src/main/java/com/budwk/app/zhgh/unionReimburse/service/impl/UnionReimburseServiceImpl.java rename to src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/service/impl/UnionReimburseServiceImpl.java index cdd72184..dd44c8b0 100644 --- a/src/main/java/com/budwk/app/zhgh/unionReimburse/service/impl/UnionReimburseServiceImpl.java +++ b/src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/service/impl/UnionReimburseServiceImpl.java @@ -1,10 +1,9 @@ -package com.budwk.app.zhgh.unionReimburse.service.impl; +package com.budwk.app.zhgh.dayofficework.unionReimburse.service.impl; -import com.budwk.app.base.service.BaseService; import com.budwk.app.base.service.impl.BaseServiceImpl; -import com.budwk.app.zhgh.unionReimburse.model.UnionReimburse; -import com.budwk.app.zhgh.unionReimburse.service.UnionReimburseService; +import com.budwk.app.zhgh.dayofficework.unionReimburse.model.UnionReimburse; +import com.budwk.app.zhgh.dayofficework.unionReimburse.service.UnionReimburseService; import lombok.extern.slf4j.Slf4j; import org.nutz.dao.Dao; import org.nutz.ioc.loader.annotation.IocBean; diff --git a/src/main/java/com/budwk/app/zhgh/unionReimburse/vo/UnionReimburseCollectExcelVO.java b/src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/vo/UnionReimburseCollectExcelVO.java similarity index 94% rename from src/main/java/com/budwk/app/zhgh/unionReimburse/vo/UnionReimburseCollectExcelVO.java rename to src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/vo/UnionReimburseCollectExcelVO.java index f0b1f451..379cd7df 100644 --- a/src/main/java/com/budwk/app/zhgh/unionReimburse/vo/UnionReimburseCollectExcelVO.java +++ b/src/main/java/com/budwk/app/zhgh/dayofficework/unionReimburse/vo/UnionReimburseCollectExcelVO.java @@ -1,4 +1,4 @@ -package com.budwk.app.zhgh.unionReimburse.vo; +package com.budwk.app.zhgh.dayofficework.unionReimburse.vo; import cn.afterturn.easypoi.excel.annotation.Excel; import lombok.Data; diff --git a/src/main/java/com/budwk/app/zhgh/staffmanage/childManage/controller/ChildManageManageController.java b/src/main/java/com/budwk/app/zhgh/staffmanage/childManage/controller/ChildManageManageController.java index a5e1fe86..16666db5 100644 --- a/src/main/java/com/budwk/app/zhgh/staffmanage/childManage/controller/ChildManageManageController.java +++ b/src/main/java/com/budwk/app/zhgh/staffmanage/childManage/controller/ChildManageManageController.java @@ -6,6 +6,7 @@ import cn.afterturn.easypoi.excel.entity.ExportParams; import cn.afterturn.easypoi.excel.entity.enmus.ExcelType; import cn.afterturn.easypoi.excel.entity.params.ExcelExportEntity; import cn.dev33.satoken.annotation.SaCheckPermission; +import cn.dev33.satoken.annotation.SaMode; import com.budwk.app.base.annotation.SLog; import com.budwk.app.base.page.Pagination; import com.budwk.app.base.param.PageForm; @@ -51,14 +52,21 @@ public class ChildManageManageController { @Inject private SysDictService sysDictService; - @At("") + + @At("/index") @Ok("beetl:/platform/zhgh/staffmanage/childManage/manage/index.html") - @SaCheckPermission - public void index() {} + @SaCheckPermission("childManage.manage") + public void index() { + } + @At("/h5") + @Ok("beetl:/platform/zhghh5/staffmanage/childManage/manage/index.html") + @SaCheckPermission("h5.childManage.manage") + public void h5Index() { + } @At @ApiOperation("分页查询") - @SaCheckPermission("childManage.manage") + @SaCheckPermission(value = {"childManage.manage", "h5.childManage.manage"}, mode = SaMode.OR) public Result pageData(PageForm pageForm, Integer year, String searchName, @@ -114,7 +122,7 @@ public class ChildManageManageController { @At @ApiOperation("删除子女信息") @Aop(TransAop.READ_COMMITTED) - @SaCheckPermission("childManage.manage") + @SaCheckPermission(value = {"childManage.manage", "h5.childManage.manage"}, mode = SaMode.OR) @SLog(tag = "子女信息-我的填报", msg = "删除id: ${args[0]}") public Result doDelete(String id) { childManageService.dao().delete(ChildManage.class, id); @@ -123,7 +131,7 @@ public class ChildManageManageController { @At @Ok("void") - @SaCheckPermission("childManage.manage") + @SaCheckPermission(value = {"childManage.manage", "h5.childManage.manage"}, mode = SaMode.OR) public void doExportExcel(@Param("data") ChildManagePageForm pageForm, HttpServletResponse response) { try { Sql sql = childManageService.getSql(pageForm); diff --git a/src/main/java/com/budwk/app/zhgh/staffmanage/childManage/controller/ChildManageMineController.java b/src/main/java/com/budwk/app/zhgh/staffmanage/childManage/controller/ChildManageMineController.java index 8167c07f..324d5c35 100644 --- a/src/main/java/com/budwk/app/zhgh/staffmanage/childManage/controller/ChildManageMineController.java +++ b/src/main/java/com/budwk/app/zhgh/staffmanage/childManage/controller/ChildManageMineController.java @@ -2,6 +2,7 @@ package com.budwk.app.zhgh.staffmanage.childManage.controller; import cn.dev33.satoken.annotation.SaCheckPermission; +import cn.dev33.satoken.annotation.SaMode; import com.budwk.app.base.annotation.SLog; import com.budwk.app.base.page.Pagination; import com.budwk.app.base.param.PageForm; @@ -32,14 +33,20 @@ public class ChildManageMineController { @Inject private ChildManageService childManageService; - @At("") + @At("/index") @Ok("beetl:/platform/zhgh/staffmanage/childManage/mine/index.html") - @SaCheckPermission - public void index() {} + @SaCheckPermission("childManage.mine") + public void index() { + } + @At("/h5") + @Ok("beetl:/platform/zhghh5/staffmanage/childManage/mine/index.html") + @SaCheckPermission("h5.childManage.mine") + public void h5Index() { + } @At @ApiOperation("分页查询") - @SaCheckPermission("childManage.mine") + @SaCheckPermission(value = {"childManage.mine", "h5.childManage.mine"}, mode = SaMode.OR) public Result pageData(PageForm pageForm, Integer year) { Sql sql = Sqls.create(""" SELECT @@ -62,8 +69,8 @@ public class ChildManageMineController { @At @ApiOperation("删除子女信息") @Aop(TransAop.READ_COMMITTED) - @SaCheckPermission("childManage.mine") - @SLog(tag = "子女信息-我的填报", msg = "删除id: ${args[0]}") + @SaCheckPermission(value = {"childManage.mine", "h5.childManage.mine"}, mode = SaMode.OR) + @SLog(tag = "子女信息-我的填报", msg = "删除id: ${args[0]}") public Result doDelete(String id) { childManageService.dao().delete(ChildManage.class, id); return Result.success(); diff --git a/src/main/java/com/budwk/app/zhgh/staffmanage/childManage/controller/ChildManageWriteController.java b/src/main/java/com/budwk/app/zhgh/staffmanage/childManage/controller/ChildManageWriteController.java index 3959cd1e..fdee6cb2 100644 --- a/src/main/java/com/budwk/app/zhgh/staffmanage/childManage/controller/ChildManageWriteController.java +++ b/src/main/java/com/budwk/app/zhgh/staffmanage/childManage/controller/ChildManageWriteController.java @@ -3,6 +3,7 @@ package com.budwk.app.zhgh.staffmanage.childManage.controller; import cn.dev33.satoken.annotation.SaCheckLogin; import cn.dev33.satoken.annotation.SaCheckPermission; +import cn.dev33.satoken.annotation.SaMode; import cn.hutool.core.date.DateUtil; import cn.hutool.core.util.StrUtil; import com.budwk.app.base.annotation.SLog; @@ -41,14 +42,20 @@ public class ChildManageWriteController { private ChildManageService childManageService; - @At("") + @At("/index") @Ok("beetl:/platform/zhgh/staffmanage/childManage/write/index.html") - @SaCheckPermission - public void index() {} + @SaCheckPermission("childManage.write") + public void index() { + } + @At("/h5") + @Ok("beetl:/platform/zhghh5/staffmanage/childManage/write/index.html") + @SaCheckPermission("h5.childManage.write") + public void h5Index() { + } @At @ApiOperation("保存子女信息") - @SaCheckPermission("childManage.write") + @SaCheckPermission(value = {"childManage.write", "h5.childManage.write"}, mode = SaMode.OR) @SLog(tag = "子女信息管理-信息填写", msg = "保存子女信息") public Result save(@Param("data") ChildManage childManage) { if(StrUtil.isBlank(childManage.getId())) childManage.setApplyTime(DateUtil.now()); @@ -58,7 +65,7 @@ public class ChildManageWriteController { @At @ApiOperation("查询用户") - @SaCheckPermission("childManage.write") + @SaCheckPermission(value = {"childManage.write", "h5.childManage.write"}, mode = SaMode.OR) @SLog(tag = "查询用户", msg = "查询用户") public Object listUser(String keyword) { Sql sql = Sqls.create(""" @@ -98,7 +105,7 @@ public class ChildManageWriteController { } @At - @SaCheckLogin + @SaCheckPermission(value = {"childManage.write", "h5.childManage.write"}, mode = SaMode.OR) @ApiOperation("查询身份证是否重复") public Result getIsRepeatByIdCard(String idCard, String id) { int count = childManageService.dao().count(ChildManage.class, diff --git a/src/main/java/com/budwk/app/zhgh/staffmanage/childManage/h5controller/H5ChildManageManageController.java b/src/main/java/com/budwk/app/zhgh/staffmanage/childManage/h5controller/H5ChildManageManageController.java deleted file mode 100644 index de8949ea..00000000 --- a/src/main/java/com/budwk/app/zhgh/staffmanage/childManage/h5controller/H5ChildManageManageController.java +++ /dev/null @@ -1,20 +0,0 @@ -package com.budwk.app.zhgh.staffmanage.childManage.h5controller; - - -import cn.dev33.satoken.annotation.SaCheckPermission; -import lombok.extern.slf4j.Slf4j; -import org.nutz.ioc.loader.annotation.IocBean; -import org.nutz.mvc.annotation.At; -import org.nutz.mvc.annotation.Ok; - -@IocBean -@At("/platform/h5/childManage/manage") -@Ok("json:full") -@Slf4j -public class H5ChildManageManageController { - - @At("") - @Ok("beetl:/platform/zhghh5/staffmanage/childManage/manage/index.html") - @SaCheckPermission("h5.childManage.manage") - public void index() {} -} diff --git a/src/main/java/com/budwk/app/zhgh/staffmanage/childManage/h5controller/H5ChildManageMineController.java b/src/main/java/com/budwk/app/zhgh/staffmanage/childManage/h5controller/H5ChildManageMineController.java deleted file mode 100644 index a9605406..00000000 --- a/src/main/java/com/budwk/app/zhgh/staffmanage/childManage/h5controller/H5ChildManageMineController.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.budwk.app.zhgh.staffmanage.childManage.h5controller; - - -import cn.dev33.satoken.annotation.SaCheckPermission; -import com.budwk.app.zhgh.staffmanage.childManage.service.ChildManageService; -import lombok.extern.slf4j.Slf4j; -import org.nutz.ioc.loader.annotation.Inject; -import org.nutz.ioc.loader.annotation.IocBean; -import org.nutz.mvc.annotation.At; -import org.nutz.mvc.annotation.Ok; - -@IocBean -@At("/platform/h5/childManage/mine") -@Ok("json:full") -@Slf4j -public class H5ChildManageMineController { - - @Inject - private ChildManageService childManageService; - - @At("") - @Ok("beetl:/platform/zhghh5/staffmanage/childManage/mine/index.html") - @SaCheckPermission("h5.childManage.mine") - public void index() {} - - -} diff --git a/src/main/java/com/budwk/app/zhgh/staffmanage/childManage/h5controller/H5ChildManageWriteController.java b/src/main/java/com/budwk/app/zhgh/staffmanage/childManage/h5controller/H5ChildManageWriteController.java deleted file mode 100644 index d66ea421..00000000 --- a/src/main/java/com/budwk/app/zhgh/staffmanage/childManage/h5controller/H5ChildManageWriteController.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.budwk.app.zhgh.staffmanage.childManage.h5controller; - -import cn.dev33.satoken.annotation.SaCheckPermission; -import lombok.extern.slf4j.Slf4j; -import org.nutz.dao.Dao; -import org.nutz.ioc.loader.annotation.Inject; -import org.nutz.ioc.loader.annotation.IocBean; -import org.nutz.mvc.annotation.At; -import org.nutz.mvc.annotation.Ok; - -/** - * @version 1.0 - * @Author hqw - * @name:H5ChildManageController - * @Date 2025/9/4 8:52 - * @注释 - */ -@Slf4j -@IocBean -@Ok("json") -@At("/platform/h5/childManage/write") -public class H5ChildManageWriteController { - - @At("") - @Ok("beetl:/platform/zhghh5/staffmanage/childManage/write/index.html") - @SaCheckPermission("h5.childManage.write") - public void index() { - } - -} diff --git a/src/main/java/com/budwk/app/zhgh/unionReimburse/service/UnionReimburseService.java b/src/main/java/com/budwk/app/zhgh/unionReimburse/service/UnionReimburseService.java deleted file mode 100644 index ba2502b9..00000000 --- a/src/main/java/com/budwk/app/zhgh/unionReimburse/service/UnionReimburseService.java +++ /dev/null @@ -1,7 +0,0 @@ -package com.budwk.app.zhgh.unionReimburse.service; - -import com.budwk.app.base.service.BaseService; -import com.budwk.app.zhgh.unionReimburse.model.UnionReimburse; - -public interface UnionReimburseService extends BaseService { -} diff --git a/src/main/resources/views/platform/zhgh/dayofficework/site/apply/apply.js b/src/main/resources/views/platform/zhgh/dayofficework/site/apply/apply.js index fbb8ba28..ca5b687f 100644 --- a/src/main/resources/views/platform/zhgh/dayofficework/site/apply/apply.js +++ b/src/main/resources/views/platform/zhgh/dayofficework/site/apply/apply.js @@ -105,7 +105,7 @@ const apply = { watch: { applyTime() { this.$nextTick(async () => { - await this.queryAllowTime() + await this.queryAllowDay() }) }, }, @@ -166,7 +166,7 @@ const apply = { }, async onOpen(row, applyRow = null) { this.row = row - await this.queryAllowTime() + await this.queryAllowDay() if(applyRow) { this.taskId = applyRow.taskId this.bizId = applyRow.bizId @@ -231,11 +231,11 @@ const apply = { } }, // 查询哪些天是开放的 - async queryAllowTime() { + async queryAllowDay() { const days = Array.from(document.querySelectorAll('.div-Calendar')) .map(el => el.getAttribute('data-day')) .sort() - const {data} = await this.$axios.post("/platform/site/apply/queryAllowTime", { + const {data} = await this.$axios.post("/platform/site/apply/queryAllowDay", { siteId: this.row.id, startTime: days[0], endTime: days[days.length - 1], @@ -254,17 +254,17 @@ const apply = { }, }, style: /*language=CSS*/ ` - .div-Calendar { + ::v-deep .div-Calendar { box-sizing: border-box; height: 100%; } - .div-Calendar p { + ::v-deep .div-Calendar p { margin: 0; } - .el-calendar-day:has(.not-allow-day) { + ::v-deep .el-calendar-day:has(.not-allow-day) { background-color: #F5F5F5; } - .el-dialog__body { + ::v-deep .el-dialog__body { padding-top: 0; } ` diff --git a/src/main/resources/views/platform/zhgh/dayofficework/site/apply/index.html b/src/main/resources/views/platform/zhgh/dayofficework/site/apply/index.html index b220eddf..e2eceb9b 100644 --- a/src/main/resources/views/platform/zhgh/dayofficework/site/apply/index.html +++ b/src/main/resources/views/platform/zhgh/dayofficework/site/apply/index.html @@ -3,19 +3,7 @@ layout("/layouts/platform.html"){ #-->
diff --git a/src/main/resources/views/platform/zhgh/dayofficework/site/manage/basicForm.js b/src/main/resources/views/platform/zhgh/dayofficework/site/manage/basicForm.js index 1dd7c4f8..75aac066 100644 --- a/src/main/resources/views/platform/zhgh/dayofficework/site/manage/basicForm.js +++ b/src/main/resources/views/platform/zhgh/dayofficework/site/manage/basicForm.js @@ -140,7 +140,7 @@ const basicForm = { style="width: 100%" placeholder="开始时间" v-model="row.startTime" - :picker-options="{ start: '00:00',step: '00:30',end: '24:00'}"> + :picker-options="{ start: '00:00',step: '00:30',end: '23:59'}"> @@ -150,7 +150,7 @@ const basicForm = { style="width: 100%" placeholder="结束时间" v-model="row.endTime" - :picker-options="{start: '00:00',step: '00:30',end: '24:00',minTime: row.start_time }"> + :picker-options="{start: '00:00',step: '00:30',end: '23:59',minTime: row.start_time }"> diff --git a/src/main/resources/views/platform/zhgh/unionReimburse/apply/index.html b/src/main/resources/views/platform/zhgh/dayofficework/unionReimburse/apply/index.html similarity index 99% rename from src/main/resources/views/platform/zhgh/unionReimburse/apply/index.html rename to src/main/resources/views/platform/zhgh/dayofficework/unionReimburse/apply/index.html index 7a36e9cb..8ba2a2f1 100644 --- a/src/main/resources/views/platform/zhgh/unionReimburse/apply/index.html +++ b/src/main/resources/views/platform/zhgh/dayofficework/unionReimburse/apply/index.html @@ -153,9 +153,9 @@ layout("/layouts/platform.html"){ - - - + + + @@ -216,7 +216,7 @@ layout("/layouts/platform.html"){ { 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' } }) }) diff --git a/src/main/resources/views/platform/zhgh/unionReimburse/collect/index.html b/src/main/resources/views/platform/zhgh/dayofficework/unionReimburse/collect/index.html similarity index 98% rename from src/main/resources/views/platform/zhgh/unionReimburse/collect/index.html rename to src/main/resources/views/platform/zhgh/dayofficework/unionReimburse/collect/index.html index 098c7132..60581bf8 100644 --- a/src/main/resources/views/platform/zhgh/unionReimburse/collect/index.html +++ b/src/main/resources/views/platform/zhgh/dayofficework/unionReimburse/collect/index.html @@ -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("您确定要撤回吗?", "提示", { diff --git a/src/main/resources/views/platform/zhgh/unionReimburse/info.js b/src/main/resources/views/platform/zhgh/dayofficework/unionReimburse/info.js similarity index 100% rename from src/main/resources/views/platform/zhgh/unionReimburse/info.js rename to src/main/resources/views/platform/zhgh/dayofficework/unionReimburse/info.js diff --git a/src/main/resources/views/platform/zhgh/unionReimburse/mine/index.html b/src/main/resources/views/platform/zhgh/dayofficework/unionReimburse/mine/index.html similarity index 98% rename from src/main/resources/views/platform/zhgh/unionReimburse/mine/index.html rename to src/main/resources/views/platform/zhgh/dayofficework/unionReimburse/mine/index.html index 5880dc25..bf48d3f9 100644 --- a/src/main/resources/views/platform/zhgh/unionReimburse/mine/index.html +++ b/src/main/resources/views/platform/zhgh/dayofficework/unionReimburse/mine/index.html @@ -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("您确定要撤回吗?", "提示", { diff --git a/src/main/resources/views/platform/zhgh/unionReimburse/review/index.html b/src/main/resources/views/platform/zhgh/dayofficework/unionReimburse/review/index.html similarity index 99% rename from src/main/resources/views/platform/zhgh/unionReimburse/review/index.html rename to src/main/resources/views/platform/zhgh/dayofficework/unionReimburse/review/index.html index b3dc2914..7212302b 100644 --- a/src/main/resources/views/platform/zhgh/unionReimburse/review/index.html +++ b/src/main/resources/views/platform/zhgh/dayofficework/unionReimburse/review/index.html @@ -150,6 +150,7 @@ layout("/layouts/platform.html"){ }, data() { return { + pageDataUrl: "/platform/unionReimburse/review/pageData", pageForm: { approval: false }, diff --git a/src/main/resources/views/platform/zhgh/staffmanage/childManage/manage/index.html b/src/main/resources/views/platform/zhgh/staffmanage/childManage/manage/index.html index 31163cb2..dd7f0466 100644 --- a/src/main/resources/views/platform/zhgh/staffmanage/childManage/manage/index.html +++ b/src/main/resources/views/platform/zhgh/staffmanage/childManage/manage/index.html @@ -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("您确定要删除吗?", "提示", { diff --git a/src/main/resources/views/platform/zhgh/staffmanage/childManage/mine/index.html b/src/main/resources/views/platform/zhgh/staffmanage/childManage/mine/index.html index 1edfdbe0..16b71fc7 100644 --- a/src/main/resources/views/platform/zhgh/staffmanage/childManage/mine/index.html +++ b/src/main/resources/views/platform/zhgh/staffmanage/childManage/mine/index.html @@ -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("您确定要删除吗?", "提示", { diff --git a/src/main/resources/views/platform/zhgh/staffmanage/childManage/write/index.html b/src/main/resources/views/platform/zhgh/staffmanage/childManage/write/index.html index 97452d26..8ce9675a 100644 --- a/src/main/resources/views/platform/zhgh/staffmanage/childManage/write/index.html +++ b/src/main/resources/views/platform/zhgh/staffmanage/childManage/write/index.html @@ -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' } } }) diff --git a/src/main/resources/views/platform/zhghh5/activity/culture/applyUser.html b/src/main/resources/views/platform/zhghh5/activity/culture/applyUser.html index 70ccb58e..7817a123 100644 --- a/src/main/resources/views/platform/zhghh5/activity/culture/applyUser.html +++ b/src/main/resources/views/platform/zhghh5/activity/culture/applyUser.html @@ -8,8 +8,8 @@ layout("/layouts/platform_h5.html"){ } .list-card-body { - width: calc(100% - 140px); - display: flex; + /* width: calc(100% - 140px); + display: flex;*/ flex-direction: column; justify-content: space-between; } @@ -35,6 +35,9 @@ layout("/layouts/platform_h5.html"){ padding: 5px; border-radius: 5px; } + .list-card-img img{ + width: 100%; + }
@@ -44,6 +47,7 @@ layout("/layouts/platform_h5.html"){ + @@ -115,12 +119,13 @@ layout("/layouts/platform_h5.html"){ loading: false, refreshing: false, pageForm: { - state: 2, + state: 1, isEnrolledText: 0, year: new Date().getFullYear(), pageNumber: 1, pageSize: 5, - totalCount: 0 + totalCount: 0, + activity_type: 40001 }, yearList: [], isEnrolledOptions: [ @@ -134,7 +139,12 @@ layout("/layouts/platform_h5.html"){ ], subLoading: false, viewShow: false, - viewData: {} + viewData: {}, + activityTypeOptions: [ + { value: 40001, text: "校文化活动" }, + { value: 40002, text: "分工会文化活动" }, + { value: 40003, text: "协会文化活动" }, + ] } }, components: { diff --git a/src/main/resources/views/platform/zhghh5/activity/culture/signUp.html b/src/main/resources/views/platform/zhghh5/activity/culture/signUp.html index e6d1cab7..dab7902c 100644 --- a/src/main/resources/views/platform/zhghh5/activity/culture/signUp.html +++ b/src/main/resources/views/platform/zhghh5/activity/culture/signUp.html @@ -301,7 +301,6 @@ layout("/layouts/platform_h5.html"){ 取消报名 {{viewData.applyEndTime}}截止报名
-
活动已结束
diff --git a/src/main/resources/views/platform/zhghh5/dayofficework/asset/stocktaking/index.html b/src/main/resources/views/platform/zhghh5/dayofficework/asset/stocktaking/index.html new file mode 100644 index 00000000..ea205d82 --- /dev/null +++ b/src/main/resources/views/platform/zhghh5/dayofficework/asset/stocktaking/index.html @@ -0,0 +1,168 @@ + + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + diff --git a/src/main/resources/views/platform/zhghh5/dayofficework/asset/stocktaking/info.js b/src/main/resources/views/platform/zhghh5/dayofficework/asset/stocktaking/info.js new file mode 100644 index 00000000..d1192e05 --- /dev/null +++ b/src/main/resources/views/platform/zhghh5/dayofficework/asset/stocktaking/info.js @@ -0,0 +1,124 @@ +const H5_ASSET_INFO = { + template: /*language=HTML*/ ` + + + + + + + + +
+ + + {{ viewData.assetNumber }} + + + {{ viewData.assetName }} + + + {{viewData.assetCategoryName}}({{viewData.assetDepreciationYear}}年) + + + {{viewData.assetSpecs}} + + + {{viewData.assetSupplierName}} + + + {{viewData.assetFundingSubjectName}} + + + {{viewData.assetUnitPrice}} + + + {{viewData.assetQuantity}} + + + {{viewData.assetTypeCode===1?'校工会资产':'分工会资产'}} + + + {{$moment(viewData.assetUsedDate).format('YYYY-MM-DD')}} + + + {{$moment(viewData.assetRetiredAssetsDate).format('YYYY-MM-DD')}} + + + {{viewData.assetUseUserName}} + + + {{viewData.assetUseUnionName}} + + + {{viewData.assetStorageLocation}} + + + {{viewData.assetUsageStateName}} + + +
{{viewData.assetNotes}}
+
+
+
+ +
+ + +
+
+ `, + data() { + return { + visible: false, + viewData: {}, + row: null, + activeName: "1", + actionSheetRef: null + } + }, + methods: { + // 打开 + onOpen(row) { + this.activeName = "1" + this.row = row + this.visible = true + this.getInfo() + }, + // 获取申请信息 + getInfo() { + this.$axios.post('/platform/asset/manage/fondOneAsset', {id: this.row.id}).then((res) => { + if (res.code === 0) { + this.viewData = res.data + } + }) + }, + + } +} diff --git a/src/main/resources/views/platform/zhghh5/dayofficework/asset/stocktaking/stocktakingForm.js b/src/main/resources/views/platform/zhghh5/dayofficework/asset/stocktaking/stocktakingForm.js new file mode 100644 index 00000000..487730de --- /dev/null +++ b/src/main/resources/views/platform/zhghh5/dayofficework/asset/stocktaking/stocktakingForm.js @@ -0,0 +1,192 @@ +let H5_ASSET_STOCKTAKING_FORM = { + template: /*language=HTML*/ ` + +
+
+ + + + + + + + + + +
+ +
+ +
+ + + + + + + + +
+ + + + + + + + + +
+ 提交 +
+
+
+
+
+ `, + dicts: ["ASSET_USAGE_STATE"], + data() { + return { + visible: false, + viewData: {}, + row: null, + formData: {}, + assetUsageStateNameOption:[], + showAssetUsageStateNamePopup:false, + + assetUseUserOption:[], + assetUseNameShow:false, + searchKeyword:"" + } + }, + methods: { + // 打开 + async onOpen(row) { + this.row = row + this.$set(this.formData, "assetId", row.id) + this.$set(this.formData, "assetStocktakingPlanId", row.assetStocktakingPlanId) + this.$set(this.formData, "assetNumber", row.assetNumber) + this.$set(this.formData, "assetName", row.assetName) + this.$set(this.formData, "assetUsedDate", row.assetUsedDate) + this.$set(this.formData, "assetStorageLocation", row.assetStorageLocation) + this.assetUsageStateNameOption = await this.$businessTool.getDictOptions("ASSET_USAGE_STATE") + this.visible = true + }, + onAssetUsageStateNameConfirm(value,index){ + this.formData.assetUsageStateName = this.assetUsageStateNameOption[index].name + this.showAssetUsageStateNamePopup=false + }, + onUserSelect(o){ + this.$set(this.formData, "assetUseUserId", o.id) + this.$set(this.formData, "assetUseName", o.username) + this.assetUseNameShow = false + }, + searchAssetUseUser(val) { + $.get("/platform/asset/manage/searchAssetUseUser", {query: val}).then(resp => { + if (resp.code === 0) { + this.assetUseUserOption = resp.data + } + }) + }, + onSubmit() { + this.$refs.formRef.validate().then(() => { + this.$dialog.confirm({ + title: "提示", + message: "您确定要提交吗?" + }).then(() => { + let formData = clone(this.formData) + if (formData.assetFiles) { + formData.assetFiles = JSON.stringify(formData.assetFiles) + } + this.$axios.post("/platform/asset/stocktaking/doSubmit", formData).then(res => { + if (res.code === 0) { + this.$toast(res.msg) + this.visible = false + this.$emit("save_success") + } + }) + }) + }) + }, + } +} diff --git a/src/main/resources/views/platform/zhghh5/dayofficework/enrollmentRegistration/apply/index.html b/src/main/resources/views/platform/zhghh5/dayofficework/enrollmentRegistration/apply/index.html index c59b3358..98962b9b 100644 --- a/src/main/resources/views/platform/zhghh5/dayofficework/enrollmentRegistration/apply/index.html +++ b/src/main/resources/views/platform/zhghh5/dayofficework/enrollmentRegistration/apply/index.html @@ -403,7 +403,7 @@ layout("/layouts/platform_h5.html"){ }).then(res => { if (res.code === 0) { this.$toast.success("提交成功") - pjaxReplace("/platform/h5/enrollmentRegistration/apply/mine") + pjaxReplace("/platform/enrollmentRegistration/applyList/h5") } }) }).catch(() => { @@ -427,7 +427,7 @@ layout("/layouts/platform_h5.html"){ }).then(res => { if (res.code === 0) { this.$toast.success("提交成功") - pjaxReplace("/platform/h5/enrollmentRegistration/apply/mine") + pjaxReplace("/platform/enrollmentRegistration/applyList/h5") } }) }).catch(() => { @@ -454,7 +454,7 @@ layout("/layouts/platform_h5.html"){ }).then(res => { if (res.code === 0) { this.$toast.success("提交成功") - pjaxReplace("/platform/h5/enrollmentRegistration/apply/mine") + pjaxReplace("/platform/enrollmentRegistration/applyList/h5") } }) }).catch(() => { diff --git a/src/main/resources/views/platform/zhghh5/dayofficework/enrollmentRegistration/mine/index.html b/src/main/resources/views/platform/zhghh5/dayofficework/enrollmentRegistration/mine/index.html index 3b6f3a85..7fd2ac7f 100644 --- a/src/main/resources/views/platform/zhghh5/dayofficework/enrollmentRegistration/mine/index.html +++ b/src/main/resources/views/platform/zhghh5/dayofficework/enrollmentRegistration/mine/index.html @@ -79,7 +79,7 @@ layout("/layouts/platform_h5.html"){ this.$refs.h5EnrollmentRegistrationInfoRef.onOpen(row) }, onEdit(row) { - pjaxReplace('/platform/h5/enrollmentRegistration/apply/index?taskId=' + (row.startTaskId || '') + "&bizId=" + row.id) + pjaxReplace('/platform/enrollmentRegistration/apply/h5?taskId=' + (row.startTaskId || '') + "&bizId=" + row.id) }, onDelete(id) { this.$dialog.confirm({ diff --git a/src/main/resources/views/platform/zhghh5/dayofficework/site/apply/index.html b/src/main/resources/views/platform/zhghh5/dayofficework/site/apply/index.html index ee46bea9..902db8eb 100644 --- a/src/main/resources/views/platform/zhghh5/dayofficework/site/apply/index.html +++ b/src/main/resources/views/platform/zhghh5/dayofficework/site/apply/index.html @@ -36,22 +36,26 @@ layout("/layouts/platform_h5.html"){ 查看 -
+
预约
+ +
+ + diff --git a/src/main/resources/views/platform/zhghh5/dayofficework/site/schoolUnionAudit/index.html b/src/main/resources/views/platform/zhghh5/dayofficework/site/schoolUnionAudit/index.html new file mode 100644 index 00000000..bcdf091a --- /dev/null +++ b/src/main/resources/views/platform/zhghh5/dayofficework/site/schoolUnionAudit/index.html @@ -0,0 +1,189 @@ + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+
{{formData.taskName}}
+ + + +
+ 退回 + 不同意 + 同意 +
+
+
+
+ + + + diff --git a/src/main/resources/views/platform/zhghh5/dayofficework/unionReimburse/apply/index.html b/src/main/resources/views/platform/zhghh5/dayofficework/unionReimburse/apply/index.html new file mode 100644 index 00000000..8ea09234 --- /dev/null +++ b/src/main/resources/views/platform/zhghh5/dayofficework/unionReimburse/apply/index.html @@ -0,0 +1,942 @@ + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 取消 +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ 保存 + 提交 + 提交1 +
+
+
+
+ + diff --git a/src/main/resources/views/platform/zhghh5/dayofficework/unionReimburse/collect/index.html b/src/main/resources/views/platform/zhghh5/dayofficework/unionReimburse/collect/index.html new file mode 100644 index 00000000..9081c921 --- /dev/null +++ b/src/main/resources/views/platform/zhghh5/dayofficework/unionReimburse/collect/index.html @@ -0,0 +1,149 @@ + + +
+ + + + + + + + + + + + + + + + +
+ + + + diff --git a/src/main/resources/views/platform/zhghh5/dayofficework/unionReimburse/info.js b/src/main/resources/views/platform/zhghh5/dayofficework/unionReimburse/info.js new file mode 100644 index 00000000..97a5641f --- /dev/null +++ b/src/main/resources/views/platform/zhghh5/dayofficework/unionReimburse/info.js @@ -0,0 +1,163 @@ +const UNION_REIMBURSE_INFO = { + template: + /*language=HTML*/` + +
+ + {{ viewData.userName }} + {{ viewData.loginName }} + {{ viewData.unitName }} + {{ viewData.unionName }} + + + + + + + + + + + + + {{ viewData.mobile }} + {{ viewData.clubName }} + {{ viewData.fundBalance }} + {{ viewData.bankUserName }} + {{ viewData.bankCardNumber }} + {{ viewData.bankOfDeposit }} + {{ viewData.condolenceName }} + {{ viewData.condolenceMobile }} + {{ viewData.typeName }} + {{ viewData.money }} + {{ viewData.condolenceTime }} + {{ viewData.activityName }} + {{ viewData.activityType }} + {{ viewData.activityNumber }} + {{ viewData.activityPlace }} + {{ viewData.money }} + {{ viewData.activityTime }} + {{ viewData.invoiceNumber }} + {{ viewData.invoice }} + {{ viewData.paymentNotes }} + +
+ +
+
+
+ + + +
+ +
+ `, + dicts: ["UNION_REIMBURSE_TYPE", "UNION_REIMBURSE_PAYMENT_WAY", "UNION_REIMBURSE_FUND_SOURCE","UNION_REIMBURSE_PROJECT","PROCESS_TASK_SUBMIT_TYPE"], + data() { + return { + visible:false, + viewData: {}, + doneTasks: [], + row: null, + } + }, + methods: { + // 获取文件名 + getFileName(url) { + if (!url) return ''; + const fileName = url.split('/').pop(); + return fileName.length > 15 ? fileName.substring(0, 15) + '...' : fileName; + }, + + //预览文件 + previewOptionImg(files, index) { + const file = files[index]; + if (!file || !file.url) return; + + // 所有文件都在新窗口打开 + window.open(file.url, '_blank'); + }, + onOpen(row) { + this.row = row + this.visible = true + this.getInfo() + this.getDoneTasks() + }, + // 关闭 + onClose(){ + this.visible = false + }, + // 获取申请信息 + getInfo() { + this.$axios.post("/platform/unionReimburse/apply/info", {id: this.row.id}).then((res) => { + if (res.code === 0) { + this.viewData = res.data + } + }) + }, + // 查看 + openView(id) { + this.$nextTick(() => { + this.$refs.infoDialogRef.onOpen(id) + }) + }, + // 获取已办任务审批记录 + getDoneTasks() { + this.$axios.post("/flow/common/doneTasks", {bizId: this.row.id}).then((res) => { + if (res.code === 0) { + this.doneTasks = res.data + } + }) + }, + }, + +} diff --git a/src/main/resources/views/platform/zhghh5/dayofficework/unionReimburse/mine/index.html b/src/main/resources/views/platform/zhghh5/dayofficework/unionReimburse/mine/index.html new file mode 100644 index 00000000..1f7a895e --- /dev/null +++ b/src/main/resources/views/platform/zhghh5/dayofficework/unionReimburse/mine/index.html @@ -0,0 +1,141 @@ + + +
+ + + + + + + + + + + + + + + +
+ + + + diff --git a/src/main/resources/views/platform/zhghh5/dayofficework/unionReimburse/review/index.html b/src/main/resources/views/platform/zhghh5/dayofficework/unionReimburse/review/index.html new file mode 100644 index 00000000..7aba0b38 --- /dev/null +++ b/src/main/resources/views/platform/zhghh5/dayofficework/unionReimburse/review/index.html @@ -0,0 +1,175 @@ + + +
+ + + + + + + + + + + + + + + + +
+
+ 校工会审核 +
+
+ + + + + + + + + + +
+ 退回到发起人 + 拒绝申请 + 同意申请 +
+
+
+
+
+ +
+ + + + diff --git a/src/main/resources/views/platform/zhghh5/staffbenefit/condolence/branchUnionApproval/index.html b/src/main/resources/views/platform/zhghh5/staffbenefit/condolence/branchUnionApproval/index.html index 683c9637..b3af14b4 100644 --- a/src/main/resources/views/platform/zhghh5/staffbenefit/condolence/branchUnionApproval/index.html +++ b/src/main/resources/views/platform/zhghh5/staffbenefit/condolence/branchUnionApproval/index.html @@ -95,7 +95,6 @@ layout("/layouts/platform_h5.html"){ pageSize: 10, totalCount: 0, searchKeyword: '', - name: null, approvalText: "0", approval: false, year: new Date().getFullYear(), diff --git a/src/main/resources/views/platform/zhghh5/staffbenefit/condolence/schoolUnionApproval/index.html b/src/main/resources/views/platform/zhghh5/staffbenefit/condolence/schoolUnionApproval/index.html index 800b23e1..6e14ebf5 100644 --- a/src/main/resources/views/platform/zhghh5/staffbenefit/condolence/schoolUnionApproval/index.html +++ b/src/main/resources/views/platform/zhghh5/staffbenefit/condolence/schoolUnionApproval/index.html @@ -95,7 +95,6 @@ layout("/layouts/platform_h5.html"){ pageSize: 10, totalCount: 0, searchKeyword: '', - name: null, approvalText: "0", approval: false, year: new Date().getFullYear(), diff --git a/src/main/resources/views/platform/zhghh5/staffmanage/childmanage/manage/index.html b/src/main/resources/views/platform/zhghh5/staffmanage/childmanage/manage/index.html index 5991bddb..667ef40f 100644 --- a/src/main/resources/views/platform/zhghh5/staffmanage/childmanage/manage/index.html +++ b/src/main/resources/views/platform/zhghh5/staffmanage/childmanage/manage/index.html @@ -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({ diff --git a/src/main/resources/views/platform/zhghh5/staffmanage/childmanage/mine/index.html b/src/main/resources/views/platform/zhghh5/staffmanage/childmanage/mine/index.html index 270b000e..42fabc88 100644 --- a/src/main/resources/views/platform/zhghh5/staffmanage/childmanage/mine/index.html +++ b/src/main/resources/views/platform/zhghh5/staffmanage/childmanage/mine/index.html @@ -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() diff --git a/src/main/resources/views/platform/zhghh5/staffmanage/childmanage/write/index.html b/src/main/resources/views/platform/zhghh5/staffmanage/childmanage/write/index.html index d26a915d..83843e4e 100644 --- a/src/main/resources/views/platform/zhghh5/staffmanage/childmanage/write/index.html +++ b/src/main/resources/views/platform/zhghh5/staffmanage/childmanage/write/index.html @@ -22,7 +22,7 @@ layout("/layouts/platform_h5.html"){ name="childrenGrade" label="就读年级" readonly - placeholder="请点击就读年级" + placeholder="请选择就读年级" @click="showChildrenGradePicker = true" clickable > @@ -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') } }) })