安全隐患整改列表

dev_xd
haha 2025-03-01 16:11:25 +08:00
parent 6491e9d05d
commit c093e4dd91
6 changed files with 93 additions and 23 deletions

View File

@ -67,4 +67,11 @@ public interface SmzSspProblemmodifyMapper
* @return
*/
List<SmzSspProblemmodify> getListCount(SmzSspProblemmodify where);
/**
*
* @param where
* @return
*/
List<SmzSspProblemmodify> selectList(SmzSspProblemmodify where);
}

View File

@ -244,4 +244,25 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select 'e' projectName, count(1) id,'整改超时' remark from smz_ssp_problemmodify where projectId=#{projectId} and comId=#{comId} and infoType=#{infoType} and isDel=0 and checkState not in (4) and date(nickedTime) &lt;= curdate()
<include refid="countUserWhere"></include>
</select>
<select id="selectList" parameterType="SmzSspProblemmodify" resultMap="SmzSspProblemmodifyResult">
<include refid="selectSmzSspProblemmodifyVo"/>
where isDel=0 and projectId=#{projectId} and comId=#{comId} and infoType=#{infoType}
<if test="projectName==1">
</if>
<if test="projectName==2">
and checkState in (0,3)
</if>
<if test="projectName==3">
and checkState in (1)
</if>
<if test="projectName==4">
and checkState in (4)
</if>
<if test="projectName==5">
and checkState not in (4) and date(nickedTime) &lt;= curdate()
</if>
<include refid="countUserWhere"></include>
</select>
</mapper>

View File

@ -43,10 +43,18 @@ public class SmzSspProblemmodifyController extends BaseController
*/
@RequiresPermissions("trouble:problemmodify:list")
@GetMapping("/list")
public TableDataInfo list(SmzSspProblemmodify smzSspProblemmodify)
public TableDataInfo list(SmzSspProblemmodify where)
{
SysUser user=SecurityUtils.getLoginUser().getSysUser();
where.setProjectId(user.getActiveProjectId());
where.setComId(user.getActiveComId());
if(SecurityUtils.isAdmin(SecurityUtils.getUserId()) || SecurityUtils.isGSAdmin()) {
where.setCurrentUserId(null);
}else{
where.setCurrentUserId(user.getUserId());
}
startPage();
List<SmzSspProblemmodify> list = smzSspProblemmodifyService.selectSmzSspProblemmodifyList(smzSspProblemmodify);
List<SmzSspProblemmodify> list = smzSspProblemmodifyService.selectList(where);
return getDataTable(list);
}

View File

@ -69,4 +69,11 @@ public interface ISmzSspProblemmodifyService
* @return
*/
List<SmzSspProblemmodify> getListCount(SmzSspProblemmodify where);
/**
*
* @param where
* @return
*/
List<SmzSspProblemmodify> selectList(SmzSspProblemmodify where);
}

View File

@ -124,4 +124,14 @@ public class SmzSspProblemmodifyServiceImpl implements ISmzSspProblemmodifyServi
public List<SmzSspProblemmodify> getListCount(SmzSspProblemmodify where) {
return smzSspProblemmodifyMapper.getListCount(where);
}
/**
*
* @param where
* @return
*/
@Override
public List<SmzSspProblemmodify> selectList(SmzSspProblemmodify where) {
return smzSspProblemmodifyMapper.selectList(where);
}
}

View File

@ -25,7 +25,8 @@
</el-form-item>
<el-checkbox v-model="loginForm.rememberMe" style="margin:0px 0px 25px 0px;"></el-checkbox>
<el-form-item style="width:100%;">
<el-button :loading="loading" class="btn-login" size="large" type="primary" style="width:100%;" @click.prevent="handleLogin">
<el-button :loading="loading" class="btn-login" size="large" type="primary" style="width:100%;"
@click.prevent="handleLogin">
<span v-if="!loading"> </span>
<span v-else> ...</span>
</el-button>
@ -149,8 +150,10 @@ getCookie();
margin: 0px auto 30px auto;
text-align: center;
color: #707070;
font-size: 28px;
}
.login-form-bg{
.login-form-bg {
background-image: url("../assets/images/loginbg3.png");
position: absolute;
top: 0%;
@ -161,26 +164,33 @@ getCookie();
background-repeat: no-repeat;
filter: opacity(0.8);
}
.login-form {
border-radius: 6px;
background-image: url("../assets/images/loginbg2.png");
background-size: 100% 100%;
width: 360px;
padding: 50px 25px 5px 25px;
width: 420px;
padding: 50px;
position: absolute;
height: 480px;
height: 560px;
right: 10%;
.el-form-item{
.el-form-item {
position: relative;
z-index: 10;
}
.title {
position: relative;
top: -62px;
top: -68px;
color: #336699;
font-weight: bold;
}
.el-form-item--default {
margin-bottom: 40px;
}
.el-input {
height: 30px;
@ -188,9 +198,10 @@ getCookie();
background: #113356;
box-shadow: 0px 0px 0px 1px #1262b5;
border-radius: 15px;
.el-input__prefix-inner{
svg{
fill:#45C4DD;
.el-input__prefix-inner {
svg {
fill: #45C4DD;
}
}
}
@ -219,14 +230,16 @@ getCookie();
height: 30px;
float: right;
position: relative;
.login-code-bg{
position:absolute;
.login-code-bg {
position: absolute;
background: #113356;
box-shadow: 0px 0px 0px 1px #1262b5;
width: 70px;
height: 30px;
left: 20px;
height: 30px;
left: 20px;
}
img {
position: relative;
z-index: 10;
@ -234,23 +247,27 @@ getCookie();
vertical-align: middle;
}
}
.el-checkbox__inner{
.el-checkbox__inner {
background: #113356;
border: solid 1px #1262b5;
}
.el-checkbox__input+.el-checkbox__label
{
color:#aaa;
.el-checkbox__input+.el-checkbox__label {
color: #aaa;
}
.el-checkbox__input.is-checked+.el-checkbox__label{
.el-checkbox__input.is-checked+.el-checkbox__label {
color: var(--el-checkbox-checked-text-color) !important;
}
.btn-login{
.btn-login {
background: #113356;
border: solid 1px #1262b5;
height: 36px;
line-height: 36px;
}
.el-login-footer {
height: 40px;
line-height: 40px;