事业部评价人可能存在多人评价,如果未全部完成评价显示可以保存,所有项全部评价完成才可以提交
This commit is contained in:
parent
2c52b486ed
commit
9a4c6e2eb0
|
|
@ -21,7 +21,12 @@
|
||||||
sub_name,pro_id,pro_name,title_id,score)values
|
sub_name,pro_id,pro_name,title_id,score)values
|
||||||
<foreach collection="list" item="item" separator=",">
|
<foreach collection="list" item="item" separator=",">
|
||||||
(#{item.parentId},#{item.templateId},#{item.evaluateId},#{item.deptId},#{item.userId},
|
(#{item.parentId},#{item.templateId},#{item.evaluateId},#{item.deptId},#{item.userId},
|
||||||
#{item.subId},#{item.subName},#{item.proId},#{item.proName},#{item.titleId},#{item.score})
|
#{item.subId},#{item.subName},#{item.proId},#{item.proName},#{item.titleId},
|
||||||
|
<choose>
|
||||||
|
<when test="item.score == ''">NULL</when>
|
||||||
|
<otherwise>#{item.score}</otherwise>
|
||||||
|
</choose>
|
||||||
|
)
|
||||||
</foreach>
|
</foreach>
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="insertEvaluateChildData">
|
<insert id="insertEvaluateChildData">
|
||||||
|
|
|
||||||
|
|
@ -514,7 +514,7 @@
|
||||||
function getTableData() {
|
function getTableData() {
|
||||||
|
|
||||||
|
|
||||||
for (var i = 0; i < tableRowList.length; i++) {
|
/* for (var i = 0; i < tableRowList.length; i++) {
|
||||||
var item = tableRowList[i];
|
var item = tableRowList[i];
|
||||||
for (var key in item) {
|
for (var key in item) {
|
||||||
if (key.indexOf("-") !== -1) {
|
if (key.indexOf("-") !== -1) {
|
||||||
|
|
@ -524,7 +524,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
|
|
||||||
// //获取表格填写的数据
|
// //获取表格填写的数据
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue