安全隐患整改列表
parent
6491e9d05d
commit
c093e4dd91
|
@ -67,4 +67,11 @@ public interface SmzSspProblemmodifyMapper
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
List<SmzSspProblemmodify> getListCount(SmzSspProblemmodify where);
|
List<SmzSspProblemmodify> getListCount(SmzSspProblemmodify where);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分组查询 全部数据、待整改、待复检、整改完成、整改超时的数量
|
||||||
|
* @param where
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
List<SmzSspProblemmodify> selectList(SmzSspProblemmodify where);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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) <= curdate()
|
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) <= curdate()
|
||||||
<include refid="countUserWhere"></include>
|
<include refid="countUserWhere"></include>
|
||||||
</select>
|
</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) <= curdate()
|
||||||
|
</if>
|
||||||
|
<include refid="countUserWhere"></include>
|
||||||
|
</select>
|
||||||
</mapper>
|
</mapper>
|
|
@ -43,10 +43,18 @@ public class SmzSspProblemmodifyController extends BaseController
|
||||||
*/
|
*/
|
||||||
@RequiresPermissions("trouble:problemmodify:list")
|
@RequiresPermissions("trouble:problemmodify:list")
|
||||||
@GetMapping("/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();
|
startPage();
|
||||||
List<SmzSspProblemmodify> list = smzSspProblemmodifyService.selectSmzSspProblemmodifyList(smzSspProblemmodify);
|
List<SmzSspProblemmodify> list = smzSspProblemmodifyService.selectList(where);
|
||||||
return getDataTable(list);
|
return getDataTable(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -69,4 +69,11 @@ public interface ISmzSspProblemmodifyService
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
List<SmzSspProblemmodify> getListCount(SmzSspProblemmodify where);
|
List<SmzSspProblemmodify> getListCount(SmzSspProblemmodify where);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分组查询 全部数据、待整改、待复检、整改完成、整改超时的数量
|
||||||
|
* @param where
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
List<SmzSspProblemmodify> selectList(SmzSspProblemmodify where);
|
||||||
}
|
}
|
||||||
|
|
|
@ -124,4 +124,14 @@ public class SmzSspProblemmodifyServiceImpl implements ISmzSspProblemmodifyServi
|
||||||
public List<SmzSspProblemmodify> getListCount(SmzSspProblemmodify where) {
|
public List<SmzSspProblemmodify> getListCount(SmzSspProblemmodify where) {
|
||||||
return smzSspProblemmodifyMapper.getListCount(where);
|
return smzSspProblemmodifyMapper.getListCount(where);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分组查询 全部数据、待整改、待复检、整改完成、整改超时的数量
|
||||||
|
* @param where
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<SmzSspProblemmodify> selectList(SmzSspProblemmodify where) {
|
||||||
|
return smzSspProblemmodifyMapper.selectList(where);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,8 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-checkbox v-model="loginForm.rememberMe" style="margin:0px 0px 25px 0px;">记住密码</el-checkbox>
|
<el-checkbox v-model="loginForm.rememberMe" style="margin:0px 0px 25px 0px;">记住密码</el-checkbox>
|
||||||
<el-form-item style="width:100%;">
|
<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-if="!loading">登 录</span>
|
||||||
<span v-else>登 录 中...</span>
|
<span v-else>登 录 中...</span>
|
||||||
</el-button>
|
</el-button>
|
||||||
|
@ -149,8 +150,10 @@ getCookie();
|
||||||
margin: 0px auto 30px auto;
|
margin: 0px auto 30px auto;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #707070;
|
color: #707070;
|
||||||
|
font-size: 28px;
|
||||||
}
|
}
|
||||||
.login-form-bg{
|
|
||||||
|
.login-form-bg {
|
||||||
background-image: url("../assets/images/loginbg3.png");
|
background-image: url("../assets/images/loginbg3.png");
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0%;
|
top: 0%;
|
||||||
|
@ -161,26 +164,33 @@ getCookie();
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
filter: opacity(0.8);
|
filter: opacity(0.8);
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-form {
|
.login-form {
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
background-image: url("../assets/images/loginbg2.png");
|
background-image: url("../assets/images/loginbg2.png");
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
width: 360px;
|
width: 420px;
|
||||||
padding: 50px 25px 5px 25px;
|
padding: 50px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
height: 480px;
|
height: 560px;
|
||||||
right: 10%;
|
right: 10%;
|
||||||
.el-form-item{
|
|
||||||
|
.el-form-item {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -62px;
|
top: -68px;
|
||||||
color: #336699;
|
color: #336699;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.el-form-item--default {
|
||||||
|
margin-bottom: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
.el-input {
|
.el-input {
|
||||||
height: 30px;
|
height: 30px;
|
||||||
|
|
||||||
|
@ -188,9 +198,10 @@ getCookie();
|
||||||
background: #113356;
|
background: #113356;
|
||||||
box-shadow: 0px 0px 0px 1px #1262b5;
|
box-shadow: 0px 0px 0px 1px #1262b5;
|
||||||
border-radius: 15px;
|
border-radius: 15px;
|
||||||
.el-input__prefix-inner{
|
|
||||||
svg{
|
.el-input__prefix-inner {
|
||||||
fill:#45C4DD;
|
svg {
|
||||||
|
fill: #45C4DD;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -219,14 +230,16 @@ getCookie();
|
||||||
height: 30px;
|
height: 30px;
|
||||||
float: right;
|
float: right;
|
||||||
position: relative;
|
position: relative;
|
||||||
.login-code-bg{
|
|
||||||
position:absolute;
|
.login-code-bg {
|
||||||
|
position: absolute;
|
||||||
background: #113356;
|
background: #113356;
|
||||||
box-shadow: 0px 0px 0px 1px #1262b5;
|
box-shadow: 0px 0px 0px 1px #1262b5;
|
||||||
width: 70px;
|
width: 70px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
left: 20px;
|
left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
@ -234,23 +247,27 @@ getCookie();
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.el-checkbox__inner{
|
|
||||||
|
.el-checkbox__inner {
|
||||||
background: #113356;
|
background: #113356;
|
||||||
border: solid 1px #1262b5;
|
border: solid 1px #1262b5;
|
||||||
}
|
}
|
||||||
.el-checkbox__input+.el-checkbox__label
|
|
||||||
{
|
.el-checkbox__input+.el-checkbox__label {
|
||||||
color:#aaa;
|
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;
|
color: var(--el-checkbox-checked-text-color) !important;
|
||||||
}
|
}
|
||||||
.btn-login{
|
|
||||||
|
.btn-login {
|
||||||
background: #113356;
|
background: #113356;
|
||||||
border: solid 1px #1262b5;
|
border: solid 1px #1262b5;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
line-height: 36px;
|
line-height: 36px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-login-footer {
|
.el-login-footer {
|
||||||
height: 40px;
|
height: 40px;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
|
|
Loading…
Reference in New Issue