Compare commits

..

2 Commits

Author SHA1 Message Date
liuwu 99e789c551 Merge remote-tracking branch 'origin/master' 2023-09-12 10:03:47 +08:00
liuwu 74c5b319b3 修改页面和接口 2023-09-12 10:03:35 +08:00
11 changed files with 161 additions and 25 deletions

View File

@ -50,6 +50,16 @@ public class TAmentPartyAffairs extends BaseEntity
@Excel(name = "评分细则") @Excel(name = "评分细则")
private String detailed; private String detailed;
private String degree;
public String getDegree() {
return degree;
}
public void setDegree(String degree) {
this.degree = degree;
}
/** 达标分 */ /** 达标分 */
@Excel(name = "达标分") @Excel(name = "达标分")
private String score; private String score;

View File

@ -50,6 +50,13 @@
<textarea required name="detailed" class="form-control"></textarea> <textarea required name="detailed" class="form-control"></textarea>
</div> </div>
</div> </div>
<div class="form-group">
<label class="col-sm-3 control-label" id="degree">重点工作:</label>
<div class="col-sm-8">
<label class="radio-box"> <input type="radio" name="degree" value="0" th:checked="true"/>非重点工作</label>
<label class="radio-box"> <input type="radio" name="degree" value="1" />重点工作</label>
</div>
</div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label" id="score">达标分:</label> <label class="col-sm-3 control-label" id="score">达标分:</label>
<div class="col-sm-8"> <div class="col-sm-8">

View File

@ -109,16 +109,26 @@
}, },
{ {
field: 'target', field: 'target',
title: '目标项' title: '目标项',
width:150,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);
}
}, },
{ {
field: 'shotName', field: 'shotName',
title: '简写' title: '简写',
width:100,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);
}
}, },
{ {
field: 'demand', field: 'demand',
title: '目标要求', title: '目标要求',
width:200, width:180,
align: 'center', align: 'center',
formatter: function(value, row, index) { formatter: function(value, row, index) {
return $.table.tooltip(value); return $.table.tooltip(value);
@ -127,7 +137,7 @@
{ {
field: 'detailed', field: 'detailed',
title: '工作任务', title: '工作任务',
width:200, width:180,
align: 'center', align: 'center',
formatter: function(value, row, index) { formatter: function(value, row, index) {
return $.table.tooltip(value); return $.table.tooltip(value);
@ -144,7 +154,7 @@
{ {
field: 'method', field: 'method',
title: '考核方式', title: '考核方式',
width:200, width:180,
align: 'center', align: 'center',
formatter: function(value, row, index) { formatter: function(value, row, index) {
return $.table.tooltip(value); return $.table.tooltip(value);
@ -166,6 +176,19 @@
field: 'remark', field: 'remark',
title: '备注' title: '备注'
}, },
{
field: 'degree',
title: '',
width:50,
align: 'center',
formatter: function(value, row, index) {
if (row.degree === '0'){
return ''
}else {
return '<font style="color: red">重点</font>'
}
}
},
{ {
title: '操作', title: '操作',
align: 'center', align: 'center',

View File

@ -161,16 +161,26 @@
}, },
{ {
field: 'target', field: 'target',
title: '考核内容' title: '考核内容',
width:150,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);
}
}, },
{ {
field: 'shotName', field: 'shotName',
title: '简写' title: '简写',
width:100,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);
}
}, },
{ {
field: 'demand', field: 'demand',
title: '考核目标', title: '考核目标',
width:200, width:180,
align: 'center', align: 'center',
formatter: function(value, row, index) { formatter: function(value, row, index) {
return $.table.tooltip(value); return $.table.tooltip(value);
@ -179,7 +189,7 @@
{ {
field: 'method', field: 'method',
title: '标准要求', title: '标准要求',
width:200, width:180,
align: 'center', align: 'center',
formatter: function(value, row, index) { formatter: function(value, row, index) {
return $.table.tooltip(value); return $.table.tooltip(value);
@ -188,7 +198,7 @@
{ {
field: 'detailed', field: 'detailed',
title: '工作任务', title: '工作任务',
width:200, width:180,
align: 'center', align: 'center',
formatter: function(value, row, index) { formatter: function(value, row, index) {
return $.table.tooltip(value); return $.table.tooltip(value);
@ -226,6 +236,19 @@
field: 'remark', field: 'remark',
title: '备注' title: '备注'
}, },
{
field: 'degree',
title: '',
width:50,
align: 'center',
formatter: function(value, row, index) {
if (row.degree === '0'){
return ''
}else {
return '<font style="color: red">重点</font>'
}
}
},
{ {
title: '操作', title: '操作',
align: 'center', align: 'center',

View File

@ -51,6 +51,19 @@
<textarea name="detailed" readonly="true" class="form-control">[[*{detailed}]]</textarea> <textarea name="detailed" readonly="true" class="form-control">[[*{detailed}]]</textarea>
</div> </div>
</div> </div>
<div class="form-group">
<label class="col-sm-3 control-label">重点工作:</label>
<div class="col-sm-8">
<div class="radio-box">
<input type="radio" id="radio1" th:field="*{degree}" name="degree" value="0">
<label for="radio1">非重点工作</label>
</div>
<div class="radio-box">
<input type="radio" id="radio2" th:field="*{degree}" name="degree" value="1">
<label for="radio2">重点工作</label>
</div>
</div>
</div>
<div class="form-group"> <div class="form-group">
<label class="col-sm-3 control-label">达标分:</label> <label class="col-sm-3 control-label">达标分:</label>
<div class="col-sm-8"> <div class="col-sm-8">

View File

@ -91,7 +91,12 @@
}, },
{ {
field: 'shotName', field: 'shotName',
title: '指标' title: '指标',
width:100,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);
}
}, },
{ {
field: 'finish_date', field: 'finish_date',

View File

@ -105,7 +105,7 @@
{ {
field: 'target', field: 'target',
title: '责任类别', title: '责任类别',
width:200, width:150,
align: 'center', align: 'center',
formatter: function(value, row, index) { formatter: function(value, row, index) {
return $.table.tooltip(value); return $.table.tooltip(value);
@ -113,12 +113,17 @@
}, },
{ {
field: 'shotName', field: 'shotName',
title: '简写' title: '简写',
width:100,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);
}
}, },
{ {
field: 'demand', field: 'demand',
title: '目标要求', title: '目标要求',
width:200, width:180,
align: 'center', align: 'center',
formatter: function(value, row, index) { formatter: function(value, row, index) {
return $.table.tooltip(value); return $.table.tooltip(value);
@ -127,7 +132,7 @@
{ {
field: 'detailed', field: 'detailed',
title: '工作任务', title: '工作任务',
width:200, width:180,
align: 'center', align: 'center',
formatter: function(value, row, index) { formatter: function(value, row, index) {
return $.table.tooltip(value); return $.table.tooltip(value);
@ -144,7 +149,7 @@
{ {
field: 'method', field: 'method',
title: '考核方式', title: '考核方式',
width:200, width:180,
align: 'center', align: 'center',
formatter: function(value, row, index) { formatter: function(value, row, index) {
return $.table.tooltip(value); return $.table.tooltip(value);
@ -166,6 +171,19 @@
field: 'remark', field: 'remark',
title: '备注' title: '备注'
}, },
{
field: 'degree',
title: '',
width:50,
align: 'center',
formatter: function(value, row, index) {
if (row.degree === '0'){
return ''
}else {
return '<font style="color: red">重点</font>'
}
}
},
{ {
title: '操作', title: '操作',
align: 'center', align: 'center',

View File

@ -120,7 +120,12 @@
}, },
{ {
field: 'target', field: 'target',
title: '指标' title: '指标',
width:150,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);
}
}, },
{ {
field: 'commitTime', field: 'commitTime',

View File

@ -155,16 +155,26 @@
}, },
{ {
field: 'target', field: 'target',
title: '考核内容' title: '考核内容',
width:150,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);
}
}, },
{ {
field: 'shotName', field: 'shotName',
title: '简写' title: '简写',
width:100,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);
}
}, },
{ {
field: 'demand', field: 'demand',
title: '考核目标', title: '考核目标',
width:200, width:180,
align: 'center', align: 'center',
formatter: function(value, row, index) { formatter: function(value, row, index) {
return $.table.tooltip(value); return $.table.tooltip(value);
@ -173,7 +183,7 @@
{ {
field: 'method', field: 'method',
title: '标准要求', title: '标准要求',
width:200, width:180,
align: 'center', align: 'center',
formatter: function(value, row, index) { formatter: function(value, row, index) {
return $.table.tooltip(value); return $.table.tooltip(value);
@ -182,7 +192,7 @@
{ {
field: 'detailed', field: 'detailed',
title: '评分办法', title: '评分办法',
width:200, width:180,
align: 'center', align: 'center',
formatter: function(value, row, index) { formatter: function(value, row, index) {
return $.table.tooltip(value); return $.table.tooltip(value);
@ -220,6 +230,19 @@
field: 'remark', field: 'remark',
title: '备注' title: '备注'
}, },
{
field: 'degree',
title: '',
width:50,
align: 'center',
formatter: function(value, row, index) {
if (row.degree === '0'){
return ''
}else {
return '<font style="color: red">重点</font>'
}
}
},
{ {
title: '操作', title: '操作',
align: 'center', align: 'center',

View File

@ -94,7 +94,12 @@
}, },
{ {
field: 'target', field: 'target',
title: '指标' title: '指标',
width:150,
align: 'center',
formatter: function(value, row, index) {
return $.table.tooltip(value);
}
}, },
{ {
field: 'remark', field: 'remark',

View File

@ -13,6 +13,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="status" column="status" /> <result property="status" column="status" />
<result property="demand" column="demand" /> <result property="demand" column="demand" />
<result property="detailed" column="detailed" /> <result property="detailed" column="detailed" />
<result property="degree" column="degree" />
<result property="score" column="score" /> <result property="score" column="score" />
<result property="nowScore" column="now_score" /> <result property="nowScore" column="now_score" />
<result property="method" column="method" /> <result property="method" column="method" />
@ -31,7 +32,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap> </resultMap>
<sql id="selectTAmentPartyAffairsVo"> <sql id="selectTAmentPartyAffairsVo">
select id, type,shot_name ,files, unit, target, status, demand, detailed, score,now_score, method, head, reviewed, finish_date, per_id, dept_id, branch_id, create_by, create_time, update_by, update_time, remark from t_ament_party_affairs select id, type,shot_name ,files, unit, target, status, demand, detailed, degree, score,now_score, method, head, reviewed, finish_date, per_id, dept_id, branch_id, create_by, create_time, update_by, update_time, remark from t_ament_party_affairs
</sql> </sql>
<select id="selectTAmentPartyAffairsList" parameterType="TAmentPartyAffairs" resultMap="TAmentPartyAffairsResult"> <select id="selectTAmentPartyAffairsList" parameterType="TAmentPartyAffairs" resultMap="TAmentPartyAffairsResult">
@ -174,7 +175,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
a.type a.type
FROM FROM
t_ament_party_affairs a t_ament_party_affairs a
where a.type in ('党风廉政建设','党务意识形态') where a.degree = 1
group by a.type,a.shot_name group by a.type,a.shot_name
</select> </select>
@ -335,6 +336,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="shotName != null">shot_name,</if> <if test="shotName != null">shot_name,</if>
<if test="demand != null">demand,</if> <if test="demand != null">demand,</if>
<if test="detailed != null">detailed,</if> <if test="detailed != null">detailed,</if>
<if test="degree != null">degree,</if>
<if test="score != null">score,</if> <if test="score != null">score,</if>
<if test="method != null">method,</if> <if test="method != null">method,</if>
<if test="head != null">head,</if> <if test="head != null">head,</if>
@ -357,6 +359,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="shotName != null">#{shotName},</if> <if test="shotName != null">#{shotName},</if>
<if test="demand != null">#{demand},</if> <if test="demand != null">#{demand},</if>
<if test="detailed != null">#{detailed},</if> <if test="detailed != null">#{detailed},</if>
<if test="degree != null">#{degree},</if>
<if test="score != null">#{score},</if> <if test="score != null">#{score},</if>
<if test="method != null">#{method},</if> <if test="method != null">#{method},</if>
<if test="head != null">#{head},</if> <if test="head != null">#{head},</if>
@ -382,6 +385,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="target != null">target = #{target},</if> <if test="target != null">target = #{target},</if>
<if test="demand != null">demand = #{demand},</if> <if test="demand != null">demand = #{demand},</if>
<if test="detailed != null">detailed = #{detailed},</if> <if test="detailed != null">detailed = #{detailed},</if>
<if test="degree != null">degree = #{degree},</if>
<if test="score != null">score = #{score},</if> <if test="score != null">score = #{score},</if>
<if test="nowScore != null">now_score = #{nowScore},</if> <if test="nowScore != null">now_score = #{nowScore},</if>
<if test="method != null">method = #{method},</if> <if test="method != null">method = #{method},</if>