Authored by qinchao

工单处理

@@ -113,11 +113,15 @@ @@ -113,11 +113,15 @@
113 return '其他'; 113 return '其他';
114 } 114 }
115 }, 115 },
  116 + width: "10%"
  117 + }, {
  118 + title: "当前状态",
  119 + field: "currentStatusCn",
116 width: "15%" 120 width: "15%"
117 }, { 121 }, {
118 title: "时间", 122 title: "时间",
119 field: "createTime", 123 field: "createTime",
120 - width: "20%" 124 + width: "10%"
121 }, { 125 }, {
122 title: "操作", 126 title: "操作",
123 formatter: function (value, rowData, rowIndex) { 127 formatter: function (value, rowData, rowIndex) {
@@ -152,7 +152,7 @@ @@ -152,7 +152,7 @@
152 <button type="button" class="btn btn-success" onclick="editWork(${pendingJob.id},'${pendingJob.type}',2)">发起</button> 152 <button type="button" class="btn btn-success" onclick="editWork(${pendingJob.id},'${pendingJob.type}',2)">发起</button>
153 </c:when> 153 </c:when>
154 <c:when test="${ pendingJob.currentStatus == 5 && pendingJob.type=='release' }"> 154 <c:when test="${ pendingJob.currentStatus == 5 && pendingJob.type=='release' }">
155 - <button type="button" class="btn btn-success" onclick="editWork(${pendingJob.id},'${pendingJob.type}',2)">发布完成</button> 155 + <button id="btn_release" type="button" class="btn btn-success" disabled onclick="editWork(${pendingJob.id},'${pendingJob.type}',2)">发布完成</button>
156 156
157 </c:when> 157 </c:when>
158 <c:otherwise> 158 <c:otherwise>
@@ -188,6 +188,7 @@ @@ -188,6 +188,7 @@
188 * 新打开一个窗口,然后发布工单 188 * 新打开一个窗口,然后发布工单
189 */ 189 */
190 function openReaseWorkJob(){ 190 function openReaseWorkJob(){
  191 + $("#btn_release").removeAttr("disabled");
191 var platform="${workJob.platform}"; 192 var platform="${workJob.platform}";
192 var workJobId="${workJob.id}"; 193 var workJobId="${workJob.id}";
193 if("JAVA"==platform){ 194 if("JAVA"==platform){