机具库存收藏修改
This commit is contained in:
parent
43be14b4f6
commit
6d0deb9dbc
|
|
@ -8,204 +8,204 @@
|
||||||
<c:forEach items="${page.results}" var="ma" varStatus="index">
|
<c:forEach items="${page.results}" var="ma" varStatus="index">
|
||||||
<tr ondblclick="setChecked(${ma.id})">
|
<tr ondblclick="setChecked(${ma.id})">
|
||||||
<th style="vertical-align:middle;" class="center">${(page.pageNum-1)*page.pageSize+index.index+1}</th>
|
<th style="vertical-align:middle;" class="center">${(page.pageNum-1)*page.pageSize+index.index+1}</th>
|
||||||
<%-- <th style="vertical-align:middle;" class="center">
|
<%-- <th style="vertical-align:middle;" class="center">
|
||||||
${ma.unitName}
|
${ma.unitName}
|
||||||
</th>
|
</th>
|
||||||
|
<th style="vertical-align:middle;" class="center">
|
||||||
|
${ma.projectName}
|
||||||
|
</th>
|
||||||
|
<th style="vertical-align:middle;" class="center">
|
||||||
|
${ma.number}
|
||||||
|
</th> --%>
|
||||||
<th style="vertical-align:middle;" class="center">
|
<th style="vertical-align:middle;" class="center">
|
||||||
${ma.projectName}
|
${ma.processName}-${ma.definitionName}
|
||||||
</th>
|
|
||||||
<th style="vertical-align:middle;" class="center">
|
|
||||||
${ma.number}
|
|
||||||
</th> --%>
|
|
||||||
<th style="vertical-align:middle;" class="center">
|
|
||||||
${ma.processName}-${ma.definitionName}
|
|
||||||
</th>
|
</th>
|
||||||
<th style="vertical-align:middle;" class="center">${ma.operationTime}</th>
|
<th style="vertical-align:middle;" class="center">${ma.operationTime}</th>
|
||||||
<%-- <th style="vertical-align:middle;" class="center">
|
<%-- <th style="vertical-align:middle;" class="center">
|
||||||
<c:choose>
|
<c:choose>
|
||||||
<c:when test="${ma.definitionId == 1}">
|
<c:when test="${ma.definitionId == 1}">
|
||||||
管理员
|
管理员
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:when test="${ma.definitionId == 2}">
|
<c:when test="${ma.definitionId == 2}">
|
||||||
<c:choose>
|
<c:choose>
|
||||||
<c:when test="${ma.isExamine2 == 0 && ma.isApproval2 == 0}">
|
<c:when test="${ma.isExamine2 == 0 && ma.isApproval2 == 0}">
|
||||||
吴堃
|
吴堃
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:when test="${ma.isExamine2 == 1 && ma.isApproval2 == 0}">
|
<c:when test="${ma.isExamine2 == 1 && ma.isApproval2 == 0}">
|
||||||
管理员
|
管理员
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:when test="${ma.isExamine2 == 1 && ma.isApproval2 == 1}">
|
<c:when test="${ma.isExamine2 == 1 && ma.isApproval2 == 1}">
|
||||||
${ma.responer2}
|
${ma.responer2}
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:otherwise>
|
<c:otherwise>
|
||||||
暂无人员
|
暂无人员
|
||||||
</c:otherwise>
|
</c:otherwise>
|
||||||
</c:choose>
|
</c:choose>
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:when test="${ma.definitionId == 5}">
|
<c:when test="${ma.definitionId == 5}">
|
||||||
管理员
|
管理员
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:when test="${ma.definitionId == 6}">
|
<c:when test="${ma.definitionId == 6}">
|
||||||
吴堃
|
吴堃
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:when test="${ma.definitionId == 7}">
|
<c:when test="${ma.definitionId == 7}">
|
||||||
管理员
|
管理员
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:when test="${ma.definitionId == 8}">
|
<c:when test="${ma.definitionId == 8}">
|
||||||
<c:choose>
|
<c:choose>
|
||||||
<c:when test="${ma.responer8 eq null}">
|
<c:when test="${ma.responer8 eq null}">
|
||||||
暂无人员
|
暂无人员
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:otherwise>
|
<c:otherwise>
|
||||||
${ma.responer8}
|
${ma.responer8}
|
||||||
</c:otherwise>
|
</c:otherwise>
|
||||||
</c:choose>
|
</c:choose>
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:when test="${ma.definitionId == 11}">
|
<c:when test="${ma.definitionId == 11}">
|
||||||
<c:choose>
|
<c:choose>
|
||||||
<c:when test="${ma.responer8 eq null}">
|
<c:when test="${ma.responer8 eq null}">
|
||||||
暂无人员
|
暂无人员
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:otherwise>
|
<c:otherwise>
|
||||||
${ma.responer8}
|
${ma.responer8}
|
||||||
</c:otherwise>
|
</c:otherwise>
|
||||||
</c:choose>
|
</c:choose>
|
||||||
${ma.responer11}
|
${ma.responer11}
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:when test="${ma.definitionId == 12}">
|
<c:when test="${ma.definitionId == 12}">
|
||||||
<c:choose>
|
<c:choose>
|
||||||
<c:when test="${ma.checkStatus12 ==2 && ma.checkStatus12 == 3}">
|
<c:when test="${ma.checkStatus12 ==2 && ma.checkStatus12 == 3}">
|
||||||
${ma.checker12}
|
${ma.checker12}
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:when test="${ma.checkStatus12 ==1}">
|
<c:when test="${ma.checkStatus12 ==1}">
|
||||||
管理员
|
管理员
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:when test="${ma.checkStatus12 ==4}">
|
<c:when test="${ma.checkStatus12 ==4}">
|
||||||
<c:choose>
|
<c:choose>
|
||||||
<c:when test="${ma.isExamine12 == 0 && ma.isApproval12 == 0}">
|
<c:when test="${ma.isExamine12 == 0 && ma.isApproval12 == 0}">
|
||||||
吴堃
|
吴堃
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:when test="${ma.isExamine12 == 1 && ma.isApproval12 == 0}">
|
<c:when test="${ma.isExamine12 == 1 && ma.isApproval12 == 0}">
|
||||||
管理员
|
管理员
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:when test="${ma.isExamine12 == 1 && ma.isApproval12 == 1}">
|
<c:when test="${ma.isExamine12 == 1 && ma.isApproval12 == 1}">
|
||||||
${ma.responer12}
|
${ma.responer12}
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:otherwise>
|
<c:otherwise>
|
||||||
暂无人员
|
暂无人员
|
||||||
</c:otherwise>
|
</c:otherwise>
|
||||||
</c:choose>
|
</c:choose>
|
||||||
|
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:otherwise>
|
<c:otherwise>
|
||||||
暂无人员
|
暂无人员
|
||||||
</c:otherwise>
|
</c:otherwise>
|
||||||
|
|
||||||
</c:choose>
|
</c:choose>
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:when test="${ma.definitionId == 18}">
|
<c:when test="${ma.definitionId == 18}">
|
||||||
<c:choose>
|
<c:choose>
|
||||||
<c:when test="${ma.responer18 eq null}">
|
<c:when test="${ma.responer18 eq null}">
|
||||||
暂无人员
|
暂无人员
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:otherwise>
|
<c:otherwise>
|
||||||
${ma.responer18}
|
${ma.responer18}
|
||||||
</c:otherwise>
|
</c:otherwise>
|
||||||
</c:choose>
|
</c:choose>
|
||||||
|
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:when test="${ma.definitionId == 19}">
|
<c:when test="${ma.definitionId == 19}">
|
||||||
<c:choose>
|
<c:choose>
|
||||||
<c:when test="${ma.responer19 eq null}">
|
<c:when test="${ma.responer19 eq null}">
|
||||||
暂无人员
|
暂无人员
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:otherwise>
|
<c:otherwise>
|
||||||
${ma.responer19}
|
${ma.responer19}
|
||||||
</c:otherwise>
|
</c:otherwise>
|
||||||
</c:choose>
|
</c:choose>
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:when test="${ma.definitionId == 20}">
|
<c:when test="${ma.definitionId == 20}">
|
||||||
<c:choose>
|
<c:choose>
|
||||||
<c:when test="${ma.responer20 eq null}">
|
<c:when test="${ma.responer20 eq null}">
|
||||||
暂无人员
|
暂无人员
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:otherwise>
|
<c:otherwise>
|
||||||
${ma.responer20}
|
${ma.responer20}
|
||||||
</c:otherwise>
|
</c:otherwise>
|
||||||
</c:choose>
|
</c:choose>
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:when test="${ma.definitionId == 21}">
|
<c:when test="${ma.definitionId == 21}">
|
||||||
<c:choose>
|
<c:choose>
|
||||||
<c:when test="${ma.responer21 eq null}">
|
<c:when test="${ma.responer21 eq null}">
|
||||||
暂无人员
|
暂无人员
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:otherwise>
|
<c:otherwise>
|
||||||
${ma.responer21}
|
${ma.responer21}
|
||||||
</c:otherwise>
|
</c:otherwise>
|
||||||
</c:choose>
|
</c:choose>
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:when test="${ma.definitionId == 22}">
|
<c:when test="${ma.definitionId == 22}">
|
||||||
<c:choose>
|
<c:choose>
|
||||||
<c:when test="${ma.responer22 eq null}">
|
<c:when test="${ma.responer22 eq null}">
|
||||||
暂无人员
|
暂无人员
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:otherwise>
|
<c:otherwise>
|
||||||
${ma.responer22}
|
${ma.responer22}
|
||||||
</c:otherwise>
|
</c:otherwise>
|
||||||
</c:choose>
|
</c:choose>
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:when test="${ma.definitionId == 23}">
|
<c:when test="${ma.definitionId == 23}">
|
||||||
<c:choose>
|
<c:choose>
|
||||||
<c:when test="${ma.responer23 eq null}">
|
<c:when test="${ma.responer23 eq null}">
|
||||||
暂无人员
|
暂无人员
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:otherwise>
|
<c:otherwise>
|
||||||
${ma.responer23}
|
${ma.responer23}
|
||||||
</c:otherwise>
|
</c:otherwise>
|
||||||
</c:choose>
|
</c:choose>
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:when test="${ma.definitionId == 24}">
|
<c:when test="${ma.definitionId == 24}">
|
||||||
<c:choose>
|
<c:choose>
|
||||||
<c:when test="${ma.responer24 eq null}">
|
<c:when test="${ma.responer24 eq null}">
|
||||||
暂无人员
|
暂无人员
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:otherwise>
|
<c:otherwise>
|
||||||
${ma.responer24}
|
${ma.responer24}
|
||||||
</c:otherwise>
|
</c:otherwise>
|
||||||
</c:choose>
|
</c:choose>
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:when test="${ma.definitionId == 25}">
|
<c:when test="${ma.definitionId == 25}">
|
||||||
<c:choose>
|
<c:choose>
|
||||||
<c:when test="${ma.responer25 eq null}">
|
<c:when test="${ma.responer25 eq null}">
|
||||||
暂无人员
|
暂无人员
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:otherwise>
|
<c:otherwise>
|
||||||
${ma.responer25}
|
${ma.responer25}
|
||||||
</c:otherwise>
|
</c:otherwise>
|
||||||
</c:choose>
|
</c:choose>
|
||||||
|
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:otherwise>
|
<c:otherwise>
|
||||||
暂无人员
|
暂无人员
|
||||||
</c:otherwise>
|
</c:otherwise>
|
||||||
</c:choose>
|
</c:choose>
|
||||||
|
|
||||||
|
|
||||||
</th> --%>
|
</th> --%>
|
||||||
<th style="vertical-align:middle;" class="center">${ma.number}</th>
|
<th style="vertical-align:middle;color:red" onclick="topage()" class="center">${ma.number}</th>
|
||||||
<th style="vertical-align:middle;" class="center">${ma.creatorName}</th>
|
<th style="vertical-align:middle;" class="center">${ma.creatorName}</th>
|
||||||
<th style="vertical-align:middle;color:red" class="center">
|
<th style="vertical-align:middle;color:red" class="center">
|
||||||
<c:choose>
|
<c:choose>
|
||||||
<c:when test="${page.isFinish == 0}">
|
<c:when test="${page.isFinish == 0}">
|
||||||
任务未完成
|
任务未完成
|
||||||
</c:when>
|
</c:when>
|
||||||
<%-- <c:otherwise>
|
<%-- <c:otherwise>
|
||||||
任务已完成
|
任务已完成
|
||||||
</c:otherwise> --%>
|
</c:otherwise> --%>
|
||||||
</c:choose>
|
</c:choose>
|
||||||
</th>
|
</th>
|
||||||
<%-- <th style="vertical-align:middle;" class="center"><a href='#' title='查看' onclick="edit(${ma.id} ,${ma.definitionId})" class='aBtnNoTD' ><i class='icon-zoom-in color-p bigger-140'></i></a></th>
|
<%-- <th style="vertical-align:middle;" class="center"><a href='#' title='查看' onclick="edit(${ma.id} ,${ma.definitionId})" class='aBtnNoTD' ><i class='icon-zoom-in color-p bigger-140'></i></a></th>
|
||||||
--%> </tr>
|
--%> </tr>
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
<tr><td colspan="7" class="center"><%@include file="../paging.jsp" %></td>
|
<tr><td colspan="7" class="center"><%@include file="../paging.jsp" %></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
@ -215,6 +215,34 @@
|
||||||
</c:otherwise>
|
</c:otherwise>
|
||||||
</c:choose>
|
</c:choose>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
var uname = localStorage.getItem("uname");
|
||||||
|
var pwd = localStorage.getItem("pwd");
|
||||||
|
function topage() {
|
||||||
|
$.ajax({
|
||||||
|
type: "post",
|
||||||
|
url: "http://127.0.0.1:21522/gz-car/login/userLogin",
|
||||||
|
data: {
|
||||||
|
username: uname,
|
||||||
|
password: pwd
|
||||||
|
},
|
||||||
|
success: function(data) {
|
||||||
|
|
||||||
|
if(data.code == "200") {
|
||||||
|
localStorage.setItem("token", data.token);
|
||||||
|
localStorage.setItem("name", name);
|
||||||
|
//window.open("http://192.168.0.14:21625/gz-gqj/index.html")
|
||||||
|
window.open("http://localhost:63343/gz_car_ui/index.html#/page/car_demand_plan/dispatch_car_list.html")
|
||||||
|
|
||||||
|
} else {
|
||||||
|
alert("没有权限!");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
error: function(XMLHttpRequest, textStatus, errorThrown) {
|
||||||
|
alert("未连接到服务器,请检查网络!"+XMLHttpRequest.status);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
Loading…
Reference in New Issue