123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335 |
- <%--
- Created by IntelliJ IDEA.
- User: Administrator
- Date: 2015/8/8
- Time: 14:06
- To change this template use File | Settings | File Templates.
- --%>
- <%@ page contentType="text/html;charset=UTF-8" language="java"%>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
- <c:set var="ctx" value="${pageContext.request.contextPath}" />
- <!DOCTYPE html>
- <html>
- <head>
- <link href="${ctx}/static/easyui/themes/gray/easyui.css" rel="stylesheet" />
- <link rel="stylesheet" type="text/css" href="${ctx}/static/xt/css/main.css"/>
- <link rel="stylesheet" type="text/css" href="${ctx}/static/xt/css/style.css"/>
- <link rel="stylesheet" type="text/css" href="${ctx}/static/easyui/themes/icon.css">
- <link rel="stylesheet" type="text/css" href="${ctx}/static/DatePicker/skin/WdatePicker.css"/>
- <link href="${ctx}/static/xt/css/style.css" rel="stylesheet" />
- <style type="text/css">
- td {
- height:28px;
- }
- .aline {
- background: 0 0;
- color: #1e70bf;
- }
- .aline:hover {
- color: #FF0000;
- text-decoration: underline;
- }
- .aline:active, aline:hover {
- outline: 0;
- }
- .alineSmall {
- font-size:14px;
- background: 0 0;
- color: #1e70bf;
- }
- .alineSmall:hover {
- color: #FF0000;
- text-decoration: underline;
- }
- .alineSmall:active, aline:hover {
- outline: 0;
- }
- .divbtn {
- float:left;margin:0px 0px 10px 8px;padding:5px 0px 0px 0px;color:white;cursor:pointer;
- width:75px;height:22px;background-color:#FFBF51;text-align:center;border-radius:3px;
- }
- .divbtnSmall {
- float:left;margin:5px 0px 10px 8px;padding:3px 0px 0px 0px;color:white;cursor:pointer;
- width:42px;height:22px;background-color:#FFBF51;text-align:center;border-radius:3px;
- }
- </style>
- <script type="text/javascript" src="${ctx}/static/easyui/jquery.min.js"></script>
- <script type="text/javascript"
- src="${ctx}/static/easyui/jquery.easyui.min.js"></script>
- <script type="text/javascript"
- src="${ctx}/static/easyui/locale/easyui-lang-zh_CN.js"></script>
- <script type="text/javascript" src="${ctx}/static/layer/layer.js"></script>
- <script type="text/javascript" src="${ctx}/static/DatePicker/WdatePicker.js"></script>
- <script type="text/javascript">
- var basePath = '${ctx}';
- var taskId = '${taskVo.id}';
- var operFlg = "${operFlg}";
- var tjNames = '${ljghVo.tjNames}';
- var tjPoints = '${ljghVo.tjPoints}';
- var strategy = '${ljghVo.strategy}';
- var routeStr = '${routeJson}';
- </script>
- <script type="text/javascript"
- src="${ctx}/static/xt/js/command/task.js"></script>
- <title>任务信息</title>
- </head>
- <body style="overflow: hidden">
- <form id="taskform" method="post" enctype="multipart/form-data">
- <input id="id" name="id" type="hidden" value="${taskVo.id}"/>
- <input id="recordStatus" type="hidden" value="${taskVo.recordStatus}"/>
- <div id="divContent" style="height:475px;overflow-x:hidden;overflow-y:auto;">
- <table style="margin-left:0px" id="tabTask">
- <tr>
- <td style="width: 90px;">任务代号</td>
- <td><input id="taskName" name="taskName" value="${taskVo.taskName}"
- id="qy" style="width:250px;height:25px;" maxlength="50"/></td>
- </tr><tr>
- <td><label style="" onclick="">执行终端</label></td>
- <td>
- <input type="hidden" name="userIds" id="userIds" value="${taskVo.userIds}"/>
- <input type="hidden" name="userNames" id="userNames" value="${taskVo.userNames}">
- <input type="hidden" name="chatIds" id="chatIds" value="${taskVo.chatIds}">
- <div id="divUsers" style="width:252px;padding-top:5px;float:left;min-height:28px;border:1px solid #A9A9A9;"></div>
- <div class="divbtnSmall" style="background-color: #FFBF51;margin:3px 0px 3px 8px;"
- onclick="selectUser();">选择</div>
- </td>
- </tr><tr>
- <td style="width: 90px;">执 行 人</td>
- <td><input id="execuser" name="execuser" value="${taskVo.execuser}"
- id="execuser" style="width:250px;height:25px;" maxlength="200"/></td>
- </tr><tr>
- <td>执行时间</td>
- <td style="">
- <input type="text" class="tdinput" style="width:250px;height:25px;"
- readonly="readonly" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm'})"
- data-options="validType:'date'" id="taskTime"
- name="taskTime" value="${taskVo.taskTime}" />
- </td>
- </tr><tr class="line-search-start">
- <td style="width: 90px;">起    点</td>
- <td class="line-search-input">
- <input type="text" placeholder="请输入起点" autocomplete="off" value="${ljghVo.startName}"
- style="width:250px;height:25px;" maxlength="200">
- <div style="float:right;padding-top:6px;padding-right:45px;padding-left:3px;">
- <img id="imgAddTjd" class="icon-addtjd" style="padding-bottom:2px;"
- src="${ctx}/static/xt/images/ljgh/add.png" title="增加途经点" onclick="addPoint()"/>
- <img id="imgPhone" class="icon-addtjd" style="width:24px;height:24px;"
- src="${ctx}/assets/images/basic/terminal.png" title="获取终端位置" onclick="getTerminalPos()"/>
- </div>
- <input type="hidden" value="${ljghVo.startPoint}">
- <input type="hidden" value="${ljghVo.startAdcode}">
- </td>
- </tr><tr class="line-search-point">
- <td style="width: 90px;">途 经 点</td>
- <td class="line-search-input">
- <input type="text" placeholder="请输入途经点" autocomplete="off"
- style="width:250px;height:25px;" maxlength="200">
- <div style="float:right;padding-top:6px;padding-right:76px;">
- <img class="icon-reducetjd" src="${ctx}/static/xt/images/ljgh/reduce.png" onclick="reducePoint(this)">
- </div>
- <input type="hidden"><input type="hidden">
- </td>
- </tr><tr class="line-search-point">
- <td style="width: 90px;">途 经 点</td>
- <td class="line-search-input">
- <input type="text" placeholder="请输入途经点" autocomplete="off"
- style="width:250px;height:25px;" maxlength="200">
- <div style="float:right;padding-top:6px;padding-right:76px;">
- <img class="icon-reducetjd" src="${ctx}/static/xt/images/ljgh/reduce.png" onclick="reducePoint(this)">
- </div>
- <input type="hidden"><input type="hidden">
- </td>
- </tr><tr class="line-search-point">
- <td style="width: 90px;">途 经 点</td>
- <td class="line-search-input">
- <input type="text" placeholder="请输入途经点" autocomplete="off"
- style="width:250px;height:25px;" maxlength="200">
- <div style="float:right;padding-top:6px;padding-right:76px;">
- <img class="icon-reducetjd" src="${ctx}/static/xt/images/ljgh/reduce.png" onclick="reducePoint(this)">
- </div>
- <input type="hidden"><input type="hidden">
- </td>
- </tr><tr class="line-search-end">
- <td style="width: 90px;">终    点</td>
- <td class="line-search-input">
- <input type="text" placeholder="请输入终点" autocomplete="off" value="${ljghVo.endName}"
- style="width:250px;height:25px;" maxlength="200">
- <input type="hidden" value="${ljghVo.endPoint}">
- <input type="hidden" value="${ljghVo.endAdcode}">
- </td>
- </tr><tr>
- <td style="width: 90px;">避让道路</td>
- <td><input id="avoidRoad" name="avoidRoad" value="${ljghVo.avoidRoad}"
- id="qy" style="width:250px;height:25px;" maxlength="50"/></td>
- </tr><tr>
- <td style="width: 90px;">线路规划</td>
- <td colspan="1">
- <div style="padding-top:6px;padding-left:0px;float:left;width:250px;font-size: 20px;color:#1e70bf">
- <input type="radio" class="radRoute" name="strategy" checked="checked" value="0" /><span style="background-color:#3F7F5F;"><font size="2" color="#FFFFFF">速度优先</font></span>
- <input type="radio" class="radRoute" name="strategy" value="2" /><span style="background-color:#7D37CC;"><font size="2" color="#FFFFFF">距离最短</font></span>
- <input type="radio" class="radRoute" name="strategy" value="4" /><span style="background-color:#BAB6A7;"><font size="2" color="#FFFFFF">躲避拥堵</font></span>
- </div>
- <div class="divbtnSmall" style="float:left;margin:3px 3px 3px 8px;background-color:#40A9F7;" onclick="searchWay()">查询</div>
- <div class="divbtnSmall" style="float:left;margin:3px 3px 3px 5px;background-color:#FE0202;" onclick="clearWay()">清除</div>
- </td>
- </tr><tr>
- <td>备    注</td>
- <td style="padding-top:5px;"><textarea name="remark" id="remark" rows="3" style="width:248px;"
- maxlength="1000">${taskVo.remark}</textarea></td>
- </tr>
- <!-- <tr>
- <td colspan="2">
- <div class="divbtn" style="background-color:#FFBF51;margin-left:0px;width:120px;"
- onclick="addRoadRoute()">添加公路线路</div>
- <div class="divbtn" style="background-color:#FFBF51;margin-left:20px;width:120px;"
- onclick="addWaterRoute()">添加水路线路</div>
- <div class="divbtn" style="background-color:#FFBF51;margin-left:20px;width:120px;"
- onclick="clearRoute()">取消添加线路</div>
- <a href="javascript:void(0)" class="alineSmall" onclick="addAirRoute()">航 空</a>
- <a href="javascript:void(0)" class="alineSmall" onclick="addWaterRoute()">水 路</a>
- <a href="javascript:void(0)" class="alineSmall" onclick="addRailwayRoute()">铁 路</a>
- <!-- <a href="javascript:void(0)" class="alineSmall" onclick="addRoadRoute()">公 路</a>
- <a href="javascript:void(0)" class="alineSmall" onclick="clearRoute()">取消线路</a>
- </td>
- </tr> -->
- <tr id="tr_101">
- <td>航    班</td>
- <td><input type="hidden" name="routeValue" id="air_101">
- <input name="routeNames" id="airNames_101"
- style="width: 250px; height: 25px; float: left;"> <input
- type="hidden" id="routeType_101" name="routeType" value="air">
- <img id="imgAddTjd" class="icon-addtjd" style="padding:6px 0px 0px 3px;"
- src="${ctx}/static/xt/images/ljgh/add.png" title="增加" onclick="addAirRoute()">
- </td>
-
- <tr id="tr_102">
- <td>船    舶</td>
- <td><input type="hidden" name="routeValue" id="water_102">
- <input name="routeNames" id="waterNames_102"
- style="width: 250px; height: 25px; float: left;"
- readonly="readonly"> <input type="hidden" id="routeType_102" name="routeType"
- value="waterway">
- <div style="float:left"><img id="imgAddTjd" class="icon-addtjd" style="padding:6px 0px 0px 3px;"
- src="${ctx}/static/xt/images/ljgh/add.png" title="增加" onclick="addWaterRoute()"></div>
- <div class="divbtnSmall" style="background-color: #FFBF51;margin:5px 0px 3px 8px;"
- onclick="chooseShip('waterway', '102');">选择</div>
- </td>
- </tr>
- <tr id="tr_103">
- <td>车    次</td>
- <td><input type="hidden" name="routeValue" id="railway_103">
- <input name="routeNames" id="railwayNames_103"
- style="width: 250px; height: 25px; float: left;"> <input
- type="hidden" id="routeType_103" name="routeType" value="railway">
- <img id="imgAddTjd" class="icon-addtjd" style="padding:6px 0px 0px 3px;"
- src="${ctx}/static/xt/images/ljgh/add.png" title="增加" onclick="addRailwayRoute()">
- </td>
- </tr>
- <%-- <c:forEach items="${routeList}" var="route" varStatus="status">
- <c:if test="${route.type=='roadway' }">
- <tr id="tr_${ status.index + 1}">
- <td>公    路</td>
- <td>
- <input type="hidden" name="routeValue" id="road_${ status.index + 1}" value="${route.coordinate}"/>
- <input name="routeNames" id="roadNames_${ status.index + 1}" value="${route.names}"
- style="width: 200px; height: 25px;float:left;" readonly="readonly"/>
- <input type="hidden" name="routeType" value="${route.type}"/>
- <input type="button" value="确定" onclick="confirmRoad('${route.type}', '${ status.index + 1}');"/>
- <input type="button" value="重置" onclick="clearRoad('${route.type}', '${ status.index + 1}');"/>
- <input type="button" value="删除" onclick="deleteTr('${route.type}', '${ status.index + 1}');"/>
- <div class="divbtnSmall" style="background-color:#FFBF51;" onclick="confirmRoad('${route.type}', '${ status.index + 1}');">确定</div>
- <div class="divbtnSmall" style="background-color:#40A9F7;" onclick="clearRoad('${route.type}', '${ status.index + 1}');">重置</div>
- <div class="divbtnSmall" style="background-color:#FE0202;" onclick="deleteTr('${route.type}', '${ status.index + 1}');">删除</div>
- </td>
- </tr>
- </c:if>
- <c:if test="${route.type=='waterway' }">
- <tr id="tr_${ status.index + 1}">
- <td>船    舶</td>
- <td>
- <input type="hidden" name="routeValue" id="water_${ status.index + 1}" value="${route.coordinate}"/>
- <input name="routeNames" id="waterNames_${ status.index + 1}" value="${route.names}"
- style="width: 200px; height: 25px;float:left;" readonly="readonly"/>
- <input type="hidden" name="routeType" value="${route.type}">
- <div class="divbtnSmall" style="background-color:#FFBF51;" onclick="chooseShip('${route.type}', '${ status.index + 1}');">选择</div>
- <input type="button" value="确定" onclick="confirmWater('${route.type}', '${ status.index + 1}');"/>
- <input type="button" value="重置" onclick="clearWater('${route.type}', '${ status.index + 1}');"/>
- <input type="button" value="删除" onclick="deleteTr('${route.type}', '${ status.index + 1}');"/>
- <div class="divbtnSmall" style="background-color:#FFBF51;" onclick="confirmWater('${route.type}', '${ status.index + 1}');">确定</div>
- <div class="divbtnSmall" style="background-color:#40A9F7;" onclick="clearWater('${route.type}', '${ status.index + 1}');">重置</div>
- <div class="divbtnSmall" style="background-color:#FE0202;" onclick="deleteTr('${route.type}', '${ status.index + 1}');">删除</div>
- </td>
- </tr>
- </c:if>
- <c:if test="${route.type=='air' }">
- <tr id="tr_${ status.index + 1}">
- <td>航    班</td>
- <td>
- <input type="hidden" name="routeValue" id="air_${ status.index + 1}" value="${route.coordinate}"/>
- <input name="routeNames" id="airNames_${ status.index + 1}" value="${route.names}"
- style="width: 200px; height: 25px;float:left;"/>
- <input type="hidden" name="routeType" value="${route.type}">
- <input type="button" value="确定" onclick="confirmair('${route.type}', '${ status.index + 1}');"/>
- <input type="button" value="重置" onclick="clearair('${route.type}', '${ status.index + 1}');"/>
- <input type="button" value="删除" onclick="deleteTr('${route.type}', '${ status.index + 1}');"/>
- <div class="divbtnSmall" style="background-color:#FFBF51;" onclick="confirmAir('${route.type}', '${ status.index + 1}');">确定</div>
- <div class="divbtnSmall" style="background-color:#40A9F7;" onclick="clearAir('${route.type}', '${ status.index + 1}');">重置</div>
- <div class="divbtnSmall" style="background-color:#FE0202;" onclick="deleteTr('${route.type}', '${ status.index + 1}');">删除</div>
- </td>
- </tr>
- </c:if>
- <c:if test="${route.type=='railway' }">
- <tr id="tr_${ status.index + 1}">
- <td>车    次</td>
- <td>
- <input type="hidden" name="routeValue" id="railway_${ status.index + 1}" value="${route.coordinate}"/>
- <input name="routeNames" id="railwayNames_${ status.index + 1}" value="${route.names}"
- style="width: 200px; height: 25px;float:left;"/>
- <input type="hidden" name="routeType" value="${route.type}">
- <input type="button" value="确定" onclick="confirmair('${route.type}', '${ status.index + 1}');"/>
- <input type="button" value="重置" onclick="clearair('${route.type}', '${ status.index + 1}');"/>
- <input type="button" value="删除" onclick="deleteTr('${route.type}', '${ status.index + 1}');"/>
- <div class="divbtnSmall" style="background-color:#FFBF51;" onclick="confirmRailway('${route.type}', '${ status.index + 1}');">确定</div>
- <div class="divbtnSmall" style="background-color:#40A9F7;" onclick="clearRailway('${route.type}', '${ status.index + 1}');">重置</div>
- <div class="divbtnSmall" style="background-color:#FE0202;" onclick="deleteTr('${route.type}', '${ status.index + 1}');">删除</div>
- </td>
- </tr>
- </c:if>
- </c:forEach> --%>
- <tr>
- <td>
- <div class="swgl_btn_tools" style="vertical-align: center;text-align:center;">
- <div style="vertical-align: center;margin-top:-2px;text-align:center;">
- <img alt="" width="22px;" height="22px" title="上传" src="${ctx}/static/xt/images/icon/fj.png">
- <span>添加附件</span>
- </div>
- <input type="file" name="file" id="fjid"
- style="position:absolute;cursor:pointer;opacity:0;filter:alpha(opacity:0);top:0px;right:0px;height:100%;z-index:999;"
- onchange="submitFile()">
- </div>
- </td>
- <td>
- <div id="fjxq">
- <c:forEach items="${fjList}" var="fj">
- <span id="${fj.id }">
- <input value="${fj.id }" name="${fj.id }" type='hidden'>
- <a class="main_title" href="${ctx}/accessory/download?id=${fj.id}">${fj.name }
- </a>
- <a onclick="delFile('${fj.id }')" >
- <img src="${ctx}/static/xt/images/icon/swgl_icon_8.png">
- </a>
- </span>
- </c:forEach>
- </div>
- </td>
- </tr>
- </table>
- </div>
- <div style="text-align:center;margin-top:5px;margin-left:110px;">
- <div id="btnSave" class="divbtn" style="background-color:#FFBF51;margin-left:20px;" onclick="saveTask('save')">保存</div>
- <div id="btnExecute" class="divbtn" style="background-color:#FFBF51;" onclick="saveTask('execute')">下发</div>
- <div id="btnClose" class="divbtn" style="background-color:#B5B5B5;" onclick="closeTaskWin()">关闭</div>
- </div>
- </form>
- </body>
- </html>
|