提交代码

dev_xds
姜玉琦 2024-04-14 23:54:46 +08:00
parent ed2f1aba5f
commit fb1bb46ca1
10 changed files with 22 additions and 4 deletions

View File

@ -24,7 +24,7 @@ spring:
# 国际化资源文件路径 # 国际化资源文件路径
basename: i18n/messages basename: i18n/messages
profiles: profiles:
active: druid active: prod
# 文件上传 # 文件上传
servlet: servlet:
multipart: multipart:

View File

@ -21,7 +21,9 @@
:filter-node-method="filterNode" :filter-node-method="filterNode"
ref="tree" ref="tree"
node-key="id" node-key="id"
default-expand-all accordion
default-expanded-keys=[100]
default-expand-all="false"
highlight-current highlight-current
@node-click="handleNodeClick" @node-click="handleNodeClick"
/> />
@ -440,6 +442,9 @@ export default {
], ],
// //
rules: { rules: {
deptId: [
{ required: true, message: "用户部门不能为空", trigger: "blur" }
],
userName: [ userName: [
{ required: true, message: "登录账号不能为空", trigger: "blur" }, { required: true, message: "登录账号不能为空", trigger: "blur" },
{ min: 2, max: 20, message: '登录账号长度必须介于 2 和 20 之间', trigger: 'blur' } { min: 2, max: 20, message: '登录账号长度必须介于 2 和 20 之间', trigger: 'blur' }
@ -451,6 +456,9 @@ export default {
{ required: true, message: "用户密码不能为空", trigger: "blur" }, { required: true, message: "用户密码不能为空", trigger: "blur" },
{ min: 5, max: 20, message: '用户密码长度必须介于 5 和 20 之间', trigger: 'blur' } { min: 5, max: 20, message: '用户密码长度必须介于 5 和 20 之间', trigger: 'blur' }
], ],
roleIds: [
{ required: true, message: "用户角色不能为空", trigger: "blur" }
],
email: [ email: [
{ {
type: "email", type: "email",

View File

@ -34,6 +34,8 @@ public class ProjectCheckingController extends BaseController {
if(surProjectChecking.getDeptId()==0){ if(surProjectChecking.getDeptId()==0){
surProjectChecking.setDeptId(null); surProjectChecking.setDeptId(null);
} }
//启用分页
startPage();
return success(surProjectCheckingService.selectSurProjectCheckingList(surProjectChecking)); return success(surProjectCheckingService.selectSurProjectCheckingList(surProjectChecking));
} }

View File

@ -34,6 +34,8 @@ public class ProjectDetectionController extends BaseController {
if(surProjectCheckDetection.getDeptId()==0){ if(surProjectCheckDetection.getDeptId()==0){
surProjectCheckDetection.setDeptId(null); surProjectCheckDetection.setDeptId(null);
} }
//启用分页
startPage();
return success(surProjectCheckDetectionService.selectSurProjectCheckDetectionList(surProjectCheckDetection)); return success(surProjectCheckDetectionService.selectSurProjectCheckDetectionList(surProjectCheckDetection));
} }

View File

@ -33,6 +33,8 @@ public class ProjectMaterialSealController extends BaseController {
if(surProjectMaterialSeal.getDeptId()==0){ if(surProjectMaterialSeal.getDeptId()==0){
surProjectMaterialSeal.setDeptId(null); surProjectMaterialSeal.setDeptId(null);
} }
//启用分页
startPage();
return success(surProjectMaterialSealService.selectSurProjectMaterialSealList(surProjectMaterialSeal)); return success(surProjectMaterialSealService.selectSurProjectMaterialSealList(surProjectMaterialSeal));
} }

View File

@ -34,6 +34,8 @@ public class ProjectMeasureController extends BaseController {
if(surProjectMeasure.getDeptId()==0){ if(surProjectMeasure.getDeptId()==0){
surProjectMeasure.setDeptId(null); surProjectMeasure.setDeptId(null);
} }
//启用分页
startPage();
return success(surProjectMeasureService.selectSurProjectMeasureList(surProjectMeasure)); return success(surProjectMeasureService.selectSurProjectMeasureList(surProjectMeasure));
} }

View File

@ -80,7 +80,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test='activeName == "jxz"'> and (spcd.approve_status != '4' or spcd.approve_status is null)</if> <if test='activeName == "jxz"'> and (spcd.approve_status != '4' or spcd.approve_status is null)</if>
<if test='activeName == "ywc"'> and spcd.approve_status = '4'</if> <if test='activeName == "ywc"'> and spcd.approve_status = '4'</if>
</where> </where>
order by spcd.approve_status, spcd.check_time desc order by spcd.approve_status, spcd.id desc
</select> </select>
<select id="queryGroupCount" parameterType="SurProjectCheckDetection" resultType="map"> <select id="queryGroupCount" parameterType="SurProjectCheckDetection" resultType="map">

View File

@ -93,7 +93,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test='activeName == "jxz"'> and spc.approve_status != '4'</if> <if test='activeName == "jxz"'> and spc.approve_status != '4'</if>
<if test='activeName == "ywc"'> and spc.approve_status = '4'</if> <if test='activeName == "ywc"'> and spc.approve_status = '4'</if>
</where> </where>
order by checking_date desc order by soc.approve_status, spc.id desc
</select> </select>
<select id="selectBgscreenProjectCheckingList" parameterType="SurProjectChecking" resultMap="SurProjectCheckingResult"> <select id="selectBgscreenProjectCheckingList" parameterType="SurProjectChecking" resultMap="SurProjectCheckingResult">

View File

@ -71,6 +71,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test='activeName == "jxz"'> and spme.approve_status != '4'</if> <if test='activeName == "jxz"'> and spme.approve_status != '4'</if>
<if test='activeName == "ywc"'> and spme.approve_status = '4'</if> <if test='activeName == "ywc"'> and spme.approve_status = '4'</if>
</where> </where>
order by spme.approve_status, spme.id desc
</select> </select>
<select id="findGroupCountByProjectId" parameterType="Long" resultType="map"> <select id="findGroupCountByProjectId" parameterType="Long" resultType="map">

View File

@ -77,6 +77,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test='activeName == "jxz"'> and spm.approve_status != '4'</if> <if test='activeName == "jxz"'> and spm.approve_status != '4'</if>
<if test='activeName == "ywc"'> and spm.approve_status = '4'</if> <if test='activeName == "ywc"'> and spm.approve_status = '4'</if>
</where> </where>
order by spm.approve_status, spm.id desc
</select> </select>
<select id="findGroupCountByProjectId" parameterType="Long" resultType="map"> <select id="findGroupCountByProjectId" parameterType="Long" resultType="map">