bug修复: 3693 班组评价中班组数据未回显

This commit is contained in:
gaowdong 2025-01-02 09:16:33 +08:00
parent d8b8dcbe74
commit 7996dda8a6
3 changed files with 5 additions and 9 deletions

View File

@ -20,8 +20,7 @@
COUNT(DISTINCT IF(bste.`level` = '2',TRUE,NULL)) AS bLevelNumber, COUNT(DISTINCT IF(bste.`level` = '2',TRUE,NULL)) AS bLevelNumber,
COUNT(DISTINCT IF(bste.`level` = '3',TRUE,NULL)) AS cLevelNumber, COUNT(DISTINCT IF(bste.`level` = '3',TRUE,NULL)) AS cLevelNumber,
COUNT(DISTINCT IF(bste.`level` = '4',TRUE,NULL)) AS dLevelNumber, COUNT(DISTINCT IF(bste.`level` = '4',TRUE,NULL)) AS dLevelNumber,
IF(bste.create_time IS NULL,NULL,bste.create_time) AS conEvaTime, IF(bste.create_time IS NULL,NULL,bste.create_time) AS conEvaTime
bst.team_name
FROM FROM
bm_sub_contract bsc bm_sub_contract bsc
LEFT JOIN bm_project bp ON bsc.pro_id = bp.id LEFT JOIN bm_project bp ON bsc.pro_id = bp.id
@ -30,7 +29,6 @@
LEFT JOIN bm_sub_relation bsr1 ON bsc.id = bsr1.sub_contract_id AND bsr1.type = '3' LEFT JOIN bm_sub_relation bsr1 ON bsc.id = bsr1.sub_contract_id AND bsr1.type = '3'
LEFT JOIN bm_sub_team_eva bste ON bsr1.v = bste.team_id LEFT JOIN bm_sub_team_eva bste ON bsr1.v = bste.team_id
LEFT JOIN sys_user su ON bsr.`value` = su.id LEFT JOIN sys_user su ON bsr.`value` = su.id
LEFT JOIN bm_sub_team bst on bste.team_id = bst.id
WHERE bsc.is_complete = '1' and bsr1.id is not null WHERE bsc.is_complete = '1' and bsr1.id is not null
GROUP BY bsc.id GROUP BY bsc.id
limit #{offset},#{limit} limit #{offset},#{limit}

View File

@ -92,9 +92,8 @@ function init() {
return c; return c;
} }
}, },
{"data": "contractName", "defaultContent": "","width":"12%"}, {"data": "contractName", "defaultContent": "","width":"15%"},
{"data": "subName", "defaultContent": "","width":"8%"}, {"data": "subName", "defaultContent": "","width":"10%"},
{"data": "teamName", "defaultContent": "","width":"8%"},
{"data": "proName", "defaultContent": "","width":"10%"}, {"data": "proName", "defaultContent": "","width":"10%"},
{"data": "corePersonName","defaultContent":"","width":"6%"}, {"data": "corePersonName","defaultContent":"","width":"6%"},
{"data": "teamNumber", "defaultContent": "","width":"4%"}, {"data": "teamNumber", "defaultContent": "","width":"4%"},
@ -125,7 +124,7 @@ function init() {
} }
}, },
{ {
"width":"6%", "width":"8%",
"render": function (data, type, row) { "render": function (data, type, row) {
let isFinish = row['finish']; let isFinish = row['finish'];
let html = ''; let html = '';

View File

@ -59,14 +59,13 @@
<th>序号</th> <th>序号</th>
<th>分包合同名称</th> <th>分包合同名称</th>
<th>分包商名称</th> <th>分包商名称</th>
<th>班组名称</th>
<th>工程名称</th> <th>工程名称</th>
<th>现场负责人</th> <th>现场负责人</th>
<th>备案班组数量</th> <th>备案班组数量</th>
<th>已评价</th> <th>已评价</th>
<th>未评价</th> <th>未评价</th>
<th>评价结果</th> <th>评价结果</th>
<th>是否全部<br/>完成评价</th> <th>是否全部完成评价</th>
<th>合同履行完成时间</th> <th>合同履行完成时间</th>
<th>评价完成时间</th> <th>评价完成时间</th>
<th>操作</th> <th>操作</th>