Authored by qinchao

工单处理

... ... @@ -113,11 +113,15 @@
return '其他';
}
},
width: "10%"
}, {
title: "当前状态",
field: "currentStatusCn",
width: "15%"
}, {
title: "时间",
field: "createTime",
width: "20%"
width: "10%"
}, {
title: "操作",
formatter: function (value, rowData, rowIndex) {
... ...
... ... @@ -152,7 +152,7 @@
<button type="button" class="btn btn-success" onclick="editWork(${pendingJob.id},'${pendingJob.type}',2)">发起</button>
</c:when>
<c:when test="${ pendingJob.currentStatus == 5 && pendingJob.type=='release' }">
<button type="button" class="btn btn-success" onclick="editWork(${pendingJob.id},'${pendingJob.type}',2)">发布完成</button>
<button id="btn_release" type="button" class="btn btn-success" disabled onclick="editWork(${pendingJob.id},'${pendingJob.type}',2)">发布完成</button>
</c:when>
<c:otherwise>
... ... @@ -188,6 +188,7 @@
* 新打开一个窗口,然后发布工单
*/
function openReaseWorkJob(){
$("#btn_release").removeAttr("disabled");
var platform="${workJob.platform}";
var workJobId="${workJob.id}";
if("JAVA"==platform){
... ...