| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <script src="../Script/Common/huayi.load.js"></script>
- <script src="../Script/Common/huayi.config.js"></script>
- <link href="../css/layer/need/layer.css" />
- <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
- <link rel="stylesheet" href="../css/init.css" />
- <title>转派</title>
- <style>
-
- #main{
- width: 788.8px;
- margin: 0 auto;
- -webkit-box-shadow: 1px 1px 9px 2px #D2D2D2;
- box-shadow: 1px 1px 9px 2px #D2D2D2;
- background-color: #fff;
- padding: 30px 60px 40px 60px;
- }
- .alignC{
- text-align: center;
- }
- .alignC h2{
- font-family: "宋体";
- font-weight: bold;
- font-size: 22pt;
- letter-spacing: -1px;
- }
- .company {
- text-align: left;
- margin-bottom: 10px;
- }
- .company span{
- font-size: 14pt;
- padding-top: 20px;
- text-align: left;
- font-weight: normal;
- margin-left: 48px;
- vertical-align: middle;
- }
- #main table{
- margin: 0 auto;
- width: 600px;
- border-collapse: collapse;
- font-size: 13pt;
- font-family: "仿宋";
- }
- tbody td{
- min-width: 10%;
- padding: 6px 0 6px 0;
- }
-
- .btn{
- margin-top: 4px;
- margin-bottom: 4px ;
- background: #00a1cb;
- color: #fff;
- }
- .lxr,.mmdj,.jbyj,.cbyj,.ldps,.bljg{
- white-space:normal;
- word-break:break-all;
- }
- .inpBox {
- border: 1px solid #a9a9a9;
- height: 27px;
- width: 470px;
- display: inline-block;
- position: relative;
- vertical-align: middle;
- }
- .inpBox select{
- width: 100%;
- padding-left: 1%;
- height: 24px;
- line-height: 24px;
- border: none;
- }
- .inpBox select option{
-
-
- }
- .addTree {
- background: #fff;
- position: absolute;
- width: 100%;
- border: 1px solid darkgrey;
- right: 0;
- top: 26px;
- display: none;
- z-index: 5;
- }
- .menuContent{
- background: #fff;
- position: absolute;
- width: 100%;
- border: 1px solid darkgrey;
- right: 0;
- top: 26px;
- display: none;
- z-index: 5;
- }
- .addTree a,
- .addTree span,
- .ztree a,
- .ztree span{
- font-size: 16px;
- }
- .xl {
- display: inline-block;
- background: url(../../img/dropDown.png) no-repeat;
- height: 100%;
- background-position: center center;
- width: 20px;
- position: absolute;
- right: 0;
- top: 0px;
- /* background-color: #f7bc8b; */
- cursor: pointer;
- }
- ul.ztree {
- margin-top: 10px;
- width: 466px;
- height: 260px;
- overflow-y:scroll;
- overflow-x:auto;
- }
- .ztree li span {
- border: none;
- padding: 0;
- margin-left: 0;
- }
-
- .inps {
- width: 468px;
- height: 24px;
- outline: none;
- border: 0;
- border-image-width: 0;
- padding: 0;
- padding-left: 3px;
- font-size: 16px;
- }
-
- .xl {
- display: inline-block;
- background: url(../img/dropDown.png) no-repeat;
- height: 100%;
- background-position: center center;
- width: 20px;
- position: absolute;
- right: 0;
- top: 0px;
- /* background-color: #f7bc8b; */
- cursor: pointer;
- }
- /* .ztree>li>span.chk{
- display: none;
- }
- .ztree>li>ul>li>span.chk{
- display: none;
- }*/
- </style>
- </head>
- <body>
- <div id="main">
- <div class="alignC headerAlign">
- <br />
- <h2 style="margin-bottom: 15px;">
- 安阳市12345政务服务热线办公室工作转派单
- </h2>
- <div class="company">
- <span>转派单位:</span>
- <div class="inpBox" id="selectST">
- <select name="" id="selList">
- <!--<option value="永城市">永城市</option>
- <option value="虞城县">虞城县</option>
- <option value="民权县">民权县</option>
- <option value="夏邑县">夏邑县</option>
- <option value="柘城县">柘城县</option>
- <option value="睢县">睢县</option>-->
- </select>
- </div>
- </div>
- </div>
- <table class="alignC" border="1" cellpadding="4" cellspacing="0" bordercolor="#cbcbcb">
- <tbody>
- <tr style="min-height: 49px;">
- <td rowspan="2" width="10%">编号
- </td>
- <td rowspan="2" width="22%">
- <span class="gdbhs"></span>
- </td>
- <td rowspan="2" width="13%">受理时间
- </td>
- <td rowspan="2" width="16%">
- <span class="tssj"></span>
- </td>
- <td width="13%">签收时间
- </td>
- <td>
- <span class="QSHJ"></span>
- </td>
- </tr>
- <tr style="min-height: 49px;">
- <td>
- 办理时限
- </td>
- <td>
- <input type="text" id="startTime" class="laydate-icon" style="height: 32px;width: 96%;">
- </td>
- </tr>
- <tr style="min-height: 49px;">
- <td>
- 来电人
- </td>
- <td>
- <span class="gdbh"></span>
- </td>
- <td>
- 联系电话
- </td>
- <td>
- <span class="lxdh"></span>
- </td>
- <td>
- 秘密等级
- </td>
- <td>
- <span class="MJ"></span>
- </td>
- </tr>
- <tr style="min-height: 49px;">
- <td>
- 地址
- </td>
- <td colspan="5" style="text-align: left;text-indent: .3em; padding: 4px;">
- <span class="mmdj"></span>
- </td>
- </tr>
- <tr style="height: 180px;">
- <td class="style1">内容<br/>摘要
- </td>
- <td colspan="5" style="text-align:justify; padding:4px;text-indent: 2em;">
- <span class="lxr"></span>
- </td>
- </tr>
- <tr style="height: 110px;">
- <td>
- <span>调度<br/>意见</span>
- </td>
- <td colspan="5"><textarea data-adaptheight id="assignedopinion" name="" rows="4" cols="" style="width: 97%;resize:none;padding-left: 6px; padding-right: 6px;"></textarea></td>
- <input type="hidden" id="ID" />
- <input type="hidden" id="PID" />
- <input type="hidden" id="Dpment" />
- </tr>
-
- </tbody>
- </table>
- <div class="btn_box" style="text-align: center;">
- <button class="btns Submit">转派</button>
- </div>
- </div>
- <script src="../css/laydate/laydate.js"></script>
- <script src="../js/zTree/jquery.ztree.core.js"></script>
- <script src="../js/zTree/jquery.ztree.excheck.min.js"></script>
- <script src="../js/adjustHeight.js"></script>
- <script>
- var wid = helper.request.queryString("wid");
- var State = 0;
- var a = $("#ID").val();
- var saveArrs = [];
- $(document).ready(function() {
- if (wid) {
- $.getJSON(huayi.config.callcenter_url + 'WorkOrder/GetWorkOrder', { workorderid: wid, "token": $.cookie("token") }, function (result) {
- if (result.state.toLowerCase() == "success") {
- var content = result.data;
- //console.log( content);
- $(".gdbhs").text(content.data[0].F_WorkOrderId);//工单
- $(".tsfs").text(content.data[0].SourceName);
- $(".lxr").text(content.data[0].F_CusName);
- $('.lxdh').text(content.data[0].F_CusPhone);
- $(".lxr ").text(content.data[0].F_ComContent);//内容
- var T= content.data[0].F_CreateTime;//受理时间
- if(T){
- var S=T.substring(0, T.indexOf(' '));
- $('.tssj').text(S);
- }
- if(content.jbdata.length > 0){
- var qst = content.jbdata[0].F_SureTime;//签收时间
- if(qst){
- var qs = qst.substring(0,qst.indexOf(' '));
- $('.QSHJ').text(qs);
- }
- }
- $(".gdbh").text(content.data[0].F_CusName);//来电人
- $(".mmdj").text(content.data[0].F_SourceAddress);//地址
- $(".tslx").text(content.data[0].TypeName1);//偶投诉类型
- $(".bljg").text(content.data[0].F_Result);
-
- //密级程度
- if(content.data[0].F_IsProtect == 0) {
- $('.MJ').text("普通");
- } else {
- $('.MJ').text("保密");
- }
-
- var n=content.psdata.length;
- if (n > 0) {
- var ldps = content.psdata[n - 1].F_SuperOpinion;
- $(".ldps").html(ldps);
- }
- }
- })
- }
-
- laydate.skin('blue');
- laydate({
- elem: '#startTime',
- event: 'focus'
- });
- //保存
-
- $('.BC').click(function() {
-
- if(xianCode == ""){
- layer.msg("转派单位不能为空");
- }else if($("#startTime").val() == ""){
- layer.msg("办理时限不能为空");
- }else if($("#assignedopinion").val() == "") {
- layer.msg("调度意见不能为空");
- } else {
- State = 0;
- JA();
- }
- });
- //保存并提交
- $('.Submit').click(function() {
- xianName=$("#selectST").find("option:selected").text();
- xianCode=$("#selList").find("option:selected").val();
- alert(xianCode);
-
- if(xianCode == ""){
- layer.msg("承办单位不能为空");
- }else if($("#startTime").val() == ""){
- layer.msg("办理时限不能为空");
- }else if($("#assignedopinion").val() == "") {
- layer.msg("调度意见不能为空");
- } else {
- State = 1;
- JA();
- }
- });
- //交办
- function JA() {
- $.post(huayi.config.callcenter_url + '/WorkOrder/TurnWorkOrder', {
- workorderid: wid,
- citycode: xianCode, //承办单位
- token: $.cookie("token")
- }, function(result) {
- result = JSON.parse(result);
- debugger
- if(result.state.toLowerCase() == "success") {
- var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
- //console.log(index);
- parent.layer.close(index); //再执行关闭
- parent.load();
- // var savemsgs = State==0 ? '保存成功':'交办成功';
- parent.layer.msg("转派成功");
- }
- })
- }
- RPLY();
- function RPLY() {
- $.post(huayi.config.callcenter_url + 'WorkOrder/GetCityList', {
- token: $.cookie("token")
- }, function(result) {
- result = JSON.parse(result);
- if(result.state.toLowerCase() == "success") {
- var county = result.data;
- for(var i = 0; i < county.length; i++) {
- $('<option value="'+county[i].F_Code+'">'+county[i].F_Name+'</option>'
- ).appendTo('#selList');
- };
- }
- })
- }
-
- });
-
-
- </script>
- </body>
- </html>
|