|
|
@@ -500,9 +500,139 @@
|
|
500
|
500
|
<ul class="mui-table-view mui-grid-view">
|
|
501
|
501
|
<h4 class="mui-ellipsis size-16 mui_btn1_tit">操作按钮:</h4>
|
|
502
|
502
|
<div class="type1">
|
|
503
|
|
- <li class=" mui-media mui-col-xs-3">
|
|
504
|
|
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block noteBtn">注解</button>
|
|
505
|
|
- </li>
|
|
|
503
|
+ <!--待派单-->
|
|
|
504
|
+ <div class="mui_btn1 dispose1">
|
|
|
505
|
+ <li class=" mui-media mui-col-xs-3 shenpi">
|
|
|
506
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block receiving">办理</button>
|
|
|
507
|
+ </li>
|
|
|
508
|
+ <li class=" mui-media mui-col-xs-3">
|
|
|
509
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block noteBtn">注解</button>
|
|
|
510
|
+ </li>
|
|
|
511
|
+ </div>
|
|
|
512
|
+ <!--待处理-->
|
|
|
513
|
+ <div class="mui_btn1 dispose2">
|
|
|
514
|
+ <li class=" mui-media mui-col-xs-3">
|
|
|
515
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block edit">修改</button>
|
|
|
516
|
+ </li>
|
|
|
517
|
+ <li class=" mui-media mui-col-xs-3">
|
|
|
518
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block sendback">退回</button>
|
|
|
519
|
+ </li>
|
|
|
520
|
+ <li class=" mui-media mui-col-xs-3">
|
|
|
521
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block noteBtn">注解</button>
|
|
|
522
|
+ </li>
|
|
|
523
|
+ </div>
|
|
|
524
|
+ <!--已完成-->
|
|
|
525
|
+ <div class="mui_btn1 dispose3">
|
|
|
526
|
+ <li class=" mui-media mui-col-xs-3">
|
|
|
527
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block edit">修改</button>
|
|
|
528
|
+ </li>
|
|
|
529
|
+ <li class=" mui-media mui-col-xs-3">
|
|
|
530
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block noteBtn">注解</button>
|
|
|
531
|
+ </li>
|
|
|
532
|
+ </div>
|
|
|
533
|
+ <div class="mui_btn1 dispose4">
|
|
|
534
|
+ <!--<li class=" mui-media mui-col-xs-3 itypeQs">
|
|
|
535
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block edit">修改</button>
|
|
|
536
|
+ </li>-->
|
|
|
537
|
+ <li class=" mui-media mui-col-xs-3 shenpi">
|
|
|
538
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block receiving">办理</button>
|
|
|
539
|
+ </li>
|
|
|
540
|
+ <li class=" mui-media mui-col-xs-3">
|
|
|
541
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block noteBtn">注解</button>
|
|
|
542
|
+ </li>
|
|
|
543
|
+ </div>
|
|
|
544
|
+
|
|
|
545
|
+ </div>
|
|
|
546
|
+ <div class="type2">
|
|
|
547
|
+ <!--待派单-->
|
|
|
548
|
+ <div class="mui_btn1 dispose1">
|
|
|
549
|
+ <li class=" mui-media mui-col-xs-3">
|
|
|
550
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block rece">接单</button>
|
|
|
551
|
+ </li>
|
|
|
552
|
+ <li class=" mui-media mui-col-xs-3">
|
|
|
553
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block sendback">退回</button>
|
|
|
554
|
+ </li>
|
|
|
555
|
+ <li class=" mui-media mui-col-xs-3">
|
|
|
556
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block noteBtn">注解</button>
|
|
|
557
|
+ </li>
|
|
|
558
|
+ </div>
|
|
|
559
|
+ <!--待处理-->
|
|
|
560
|
+ <div class="mui_btn1 dispose2">
|
|
|
561
|
+ <li class=" mui-media mui-col-xs-3">
|
|
|
562
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block allot">指派</button>
|
|
|
563
|
+ </li>
|
|
|
564
|
+ <li class=" mui-media mui-col-xs-3">
|
|
|
565
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block abnormal">异常退回</button>
|
|
|
566
|
+ </li>
|
|
|
567
|
+ <li class=" mui-media mui-col-xs-3">
|
|
|
568
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block postpone">申请延期</button>
|
|
|
569
|
+ </li>
|
|
|
570
|
+ <li class=" mui-media mui-col-xs-3">
|
|
|
571
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block noteBtn">注解</button>
|
|
|
572
|
+ </li>
|
|
|
573
|
+ <li class=" mui-media mui-col-xs-3">
|
|
|
574
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block disp">完结</button>
|
|
|
575
|
+ </li>
|
|
|
576
|
+ </div>
|
|
|
577
|
+ </div>
|
|
|
578
|
+ <div class="type3">
|
|
|
579
|
+ <div class="mui_btn1 dispose2">
|
|
|
580
|
+ <li class=" mui-media mui-col-xs-3">
|
|
|
581
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block approva">高层办理</button>
|
|
|
582
|
+ </li>
|
|
|
583
|
+ <li class=" mui-media mui-col-xs-3">
|
|
|
584
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block noteBtn">注解</button>
|
|
|
585
|
+ </li>
|
|
|
586
|
+ </div>
|
|
|
587
|
+ </div>
|
|
|
588
|
+ <div class="type4">
|
|
|
589
|
+ <!--待派单-->
|
|
|
590
|
+ <div class="mui_btn1 ">
|
|
|
591
|
+ <li class=" mui-media mui-col-xs-3">
|
|
|
592
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block receiving">接单</button>
|
|
|
593
|
+ </li>
|
|
|
594
|
+ <li class=" mui-media mui-col-xs-3">
|
|
|
595
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block noteBtn">注解</button>
|
|
|
596
|
+ </li>
|
|
|
597
|
+ </div>
|
|
|
598
|
+ <!--待处理-->
|
|
|
599
|
+ <div class="mui_btn1 dispose2">
|
|
|
600
|
+ <li class=" mui-media mui-col-xs-3">
|
|
|
601
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block daal">处理</button>
|
|
|
602
|
+ </li>
|
|
|
603
|
+ <li class=" mui-media mui-col-xs-3">
|
|
|
604
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block noteBtn">注解</button>
|
|
|
605
|
+ </li>
|
|
|
606
|
+ </div>
|
|
|
607
|
+ </div>
|
|
|
608
|
+ <div class="type5">
|
|
|
609
|
+ <!--待处理-->
|
|
|
610
|
+ <div class="mui_btn1 dispose3">
|
|
|
611
|
+ <li class=" mui-media mui-col-xs-3">
|
|
|
612
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block daal">催单</button>
|
|
|
613
|
+ </li>
|
|
|
614
|
+ <li class=" mui-media mui-col-xs-3">
|
|
|
615
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block noteBtn">注解</button>
|
|
|
616
|
+ </li>
|
|
|
617
|
+ </div>
|
|
|
618
|
+ <!--待处理-->
|
|
|
619
|
+ <div class="mui_btn1 dispose1">
|
|
|
620
|
+ <li class=" mui-media mui-col-xs-3">
|
|
|
621
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block daal">催单</button>
|
|
|
622
|
+ </li>
|
|
|
623
|
+ <li class=" mui-media mui-col-xs-3">
|
|
|
624
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block noteBtn">注解</button>
|
|
|
625
|
+ </li>
|
|
|
626
|
+ </div>
|
|
|
627
|
+ <!--已完成-->
|
|
|
628
|
+ <div class="mui_btn1 dispose2">
|
|
|
629
|
+ <li class=" mui-media mui-col-xs-3">
|
|
|
630
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block comment">评论</button>
|
|
|
631
|
+ </li>
|
|
|
632
|
+ <li class=" mui-media mui-col-xs-3">
|
|
|
633
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary mui-btn-block noteBtn">注解</button>
|
|
|
634
|
+ </li>
|
|
|
635
|
+ </div>
|
|
506
|
636
|
</div>
|
|
507
|
637
|
</ul>
|
|
508
|
638
|
<div id="slider" class="mui-slider">
|
|
|
@@ -599,17 +729,6 @@
|
|
599
|
729
|
<button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary fr showUserPicker" id="showUserPicker">下一步</button>
|
|
600
|
730
|
</div>
|
|
601
|
731
|
</div>
|
|
602
|
|
- <!--注解-->
|
|
603
|
|
- <div class="pop_up_div11">
|
|
604
|
|
- <div class="tit">请输入注解内容</div>
|
|
605
|
|
- <div class="contain">
|
|
606
|
|
- <textarea class="noteReaa"></textarea>
|
|
607
|
|
- </div>
|
|
608
|
|
- <div class="btn">
|
|
609
|
|
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-royal fl">取消</button>
|
|
610
|
|
- <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary fr">确定</button>
|
|
611
|
|
- </div>
|
|
612
|
|
- </div>
|
|
613
|
732
|
<!--//申请延期弹出框-->
|
|
614
|
733
|
<div class="pop_up_div8">
|
|
615
|
734
|
<div class="tit">请输入延期说明</div>
|
|
|
@@ -641,6 +760,49 @@
|
|
641
|
760
|
<button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary fr showUserPicker" id="showUserPicker">确定</button>
|
|
642
|
761
|
</div>
|
|
643
|
762
|
</div>
|
|
|
763
|
+ <!--审批弹窗-->
|
|
|
764
|
+ <div class="pop_up_div9">
|
|
|
765
|
+ <div class="tit">请输入审批意见</div>
|
|
|
766
|
+ <div class="contain">
|
|
|
767
|
+ <textarea class="reasaa" name="" rows="" cols="" style="height: 50px;"></textarea>
|
|
|
768
|
+ </div>
|
|
|
769
|
+ <div class="tit">审批结果</div>
|
|
|
770
|
+ <div class="mui-input-row mui-radio mui-left radio_box order_ty">
|
|
|
771
|
+ <label>同意上报</label>
|
|
|
772
|
+ <input type="radio" type="radio" name="form" checked="checked" value="0" class="size-14" />
|
|
|
773
|
+ </div>
|
|
|
774
|
+ <div class="mui-input-row mui-radio mui-left radio_box order_ty">
|
|
|
775
|
+ <label>驳回修订</label>
|
|
|
776
|
+ <input type="radio" type="radio" name="form" value="1" class="size-14" />
|
|
|
777
|
+ </div>
|
|
|
778
|
+
|
|
|
779
|
+ <div class="btn">
|
|
|
780
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-royal fl">取消</button>
|
|
|
781
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary fr showUserPicker" id="showUserPicker">确定</button>
|
|
|
782
|
+ </div>
|
|
|
783
|
+ </div>
|
|
|
784
|
+ <!--高层审批弹框-->
|
|
|
785
|
+ <div class="pop_up_div10">
|
|
|
786
|
+ <div class="tit">请输入审批意见</div>
|
|
|
787
|
+ <div class="contain">
|
|
|
788
|
+ <textarea class="reaa" name="" rows="" cols="" style="height: 50px;"></textarea>
|
|
|
789
|
+ </div>
|
|
|
790
|
+ <div class="btn">
|
|
|
791
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-royal fl">取消</button>
|
|
|
792
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary fr showUserPicker" id="showUserPicker">确定</button>
|
|
|
793
|
+ </div>
|
|
|
794
|
+ </div>
|
|
|
795
|
+ <!--弹框4-->
|
|
|
796
|
+ <div class="pop_up_div11">
|
|
|
797
|
+ <div class="tit">请输入注解内容</div>
|
|
|
798
|
+ <div class="contain">
|
|
|
799
|
+ <textarea class="noteReaa"></textarea>
|
|
|
800
|
+ </div>
|
|
|
801
|
+ <div class="btn">
|
|
|
802
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-royal fl">取消</button>
|
|
|
803
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary fr">确定</button>
|
|
|
804
|
+ </div>
|
|
|
805
|
+ </div>
|
|
644
|
806
|
<script src="../js/jquery.min.js"></script>
|
|
645
|
807
|
<script src="js/details.js"></script>
|
|
646
|
808
|
<script src="../Script/Common/huayi.config.js"></script>
|
|
|
@@ -651,48 +813,69 @@
|
|
651
|
813
|
<script src="js/city.data-3.js"></script>
|
|
652
|
814
|
<script>
|
|
653
|
815
|
var id = helper.request.queryString("id");
|
|
654
|
|
- var itype = helper.request.queryString("itype");
|
|
|
816
|
+ var itype = helper.request.queryString("itype");
|
|
|
817
|
+ var itypeQs = helper.request.queryString("itype");
|
|
|
818
|
+ var state = helper.request.queryString("state");
|
|
655
|
819
|
var isReply = helper.request.queryString("IsReply"); // 是否已回复 0 未回复 1已回复
|
|
656
|
820
|
var openid = helper.cookies.get("openid");
|
|
657
|
821
|
var UserType = helper.cookies.get("usertype");
|
|
|
822
|
+ console.log(itypeQs)
|
|
658
|
823
|
// var openid = "oXF5e1mWpX5DajW5_yjNLPKb8ThE";
|
|
659
|
|
- if(isReply == 0){
|
|
|
824
|
+ if(isReply == 0) {
|
|
660
|
825
|
$('.btn_reply').show();
|
|
661
|
826
|
}
|
|
662
|
|
-
|
|
663
|
|
- if (UserType==-1) {
|
|
|
827
|
+ if(UserType == -1) {
|
|
664
|
828
|
$(".type1").hide();
|
|
665
|
829
|
$(".type2").hide();
|
|
666
|
|
- $(".type3").hide();
|
|
|
830
|
+ $(".type3").show();
|
|
667
|
831
|
$(".type4").hide();
|
|
668
|
832
|
$(".type5").hide();
|
|
669
|
|
-
|
|
670
|
|
- } else if(UserType==0){
|
|
671
|
|
-// alert(UserType)
|
|
672
|
|
- $(".type1").hide();
|
|
|
833
|
+ } else if(UserType == 0) {
|
|
|
834
|
+ $(".type1").show();
|
|
673
|
835
|
$(".type2").hide();
|
|
674
|
836
|
$(".type3").hide();
|
|
675
|
837
|
$(".type4").hide();
|
|
676
|
838
|
$(".type5").hide();
|
|
677
|
|
- }else if(UserType==1){
|
|
678
|
|
-// alert(UserType)
|
|
|
839
|
+ $(".type6").hide();
|
|
|
840
|
+ $(".type7").hide();
|
|
|
841
|
+ $(".type8").hide();
|
|
|
842
|
+ $(".type9").hide();
|
|
|
843
|
+ } else if(UserType == 1) {
|
|
679
|
844
|
$(".type1").hide();
|
|
680
|
845
|
$(".type2").hide();
|
|
681
|
|
- $(".type3").hide();
|
|
|
846
|
+ $(".type3").show();
|
|
682
|
847
|
$(".type4").hide();
|
|
683
|
848
|
$(".type5").hide();
|
|
684
|
|
- }else if(UserType==2){
|
|
|
849
|
+ } else if(UserType == 2) {
|
|
685
|
850
|
$(".type1").hide();
|
|
686
|
851
|
$(".type2").hide();
|
|
687
|
|
- $(".type3").hide();
|
|
|
852
|
+ $(".type3").show();
|
|
688
|
853
|
$(".type4").hide();
|
|
689
|
854
|
$(".type5").hide();
|
|
690
|
|
- }else if(UserType==3){
|
|
|
855
|
+ $(".type6").hide();
|
|
|
856
|
+ $(".type7").hide();
|
|
|
857
|
+ $(".type8").hide();
|
|
|
858
|
+ $(".type9").hide();
|
|
|
859
|
+ } else if(UserType == 3) {
|
|
691
|
860
|
$(".type1").hide();
|
|
|
861
|
+ $(".type2").show();
|
|
|
862
|
+ $(".type3").hide();
|
|
|
863
|
+ $(".type4").hide();
|
|
|
864
|
+ $(".type5").hide();
|
|
|
865
|
+ $(".type6").hide();
|
|
|
866
|
+ $(".type7").hide();
|
|
|
867
|
+ $(".type8").hide();
|
|
|
868
|
+ $(".type9").hide();
|
|
|
869
|
+ } else if(UserType == 4) {
|
|
|
870
|
+ $(".type1").show();
|
|
692
|
871
|
$(".type2").hide();
|
|
693
|
872
|
$(".type3").hide();
|
|
694
|
873
|
$(".type4").hide();
|
|
695
|
874
|
$(".type5").hide();
|
|
|
875
|
+ $(".type6").hide();
|
|
|
876
|
+ $(".type7").hide();
|
|
|
877
|
+ $(".type8").hide();
|
|
|
878
|
+ $(".type9").hide();
|
|
696
|
879
|
}
|
|
697
|
880
|
Ajax();
|
|
698
|
881
|
flow();
|
|
|
@@ -717,24 +900,123 @@
|
|
717
|
900
|
} else {
|
|
718
|
901
|
$("#source").show();
|
|
719
|
902
|
}
|
|
720
|
|
- $('.type1').show();
|
|
|
903
|
+// $('.type1').show();
|
|
721
|
904
|
var itype=result.F_State;
|
|
722
|
905
|
//
|
|
|
906
|
+ var itype = result.F_State;
|
|
|
907
|
+ if(state == 1) {
|
|
|
908
|
+ // alert(state);
|
|
|
909
|
+ $(".type1").hide();
|
|
|
910
|
+ $(".type2").hide();
|
|
|
911
|
+ $(".type3").hide();
|
|
|
912
|
+ $(".type4").hide();
|
|
|
913
|
+ $(".type5").hide();
|
|
|
914
|
+ $(".type6").hide();
|
|
|
915
|
+ $(".type7").hide();
|
|
|
916
|
+ $(".type8").hide();
|
|
|
917
|
+ $(".type9").hide();
|
|
|
918
|
+ }
|
|
|
919
|
+ if(state == 11) {
|
|
|
920
|
+ // alert(state);
|
|
|
921
|
+ $(".type1").hide();
|
|
|
922
|
+ $(".type2").hide();
|
|
|
923
|
+ $(".type3").hide();
|
|
|
924
|
+ $(".type4").hide();
|
|
|
925
|
+ $(".type5").hide();
|
|
|
926
|
+ $(".type6").hide();
|
|
|
927
|
+ $(".type7").hide();
|
|
|
928
|
+ $(".type8").hide();
|
|
|
929
|
+ $(".type9").hide();
|
|
|
930
|
+ }
|
|
|
931
|
+ console.log(itype)
|
|
|
932
|
+ console.log(UserType)
|
|
723
|
933
|
if(itype == 0) {
|
|
724
|
934
|
$(".dispose1").hide();
|
|
725
|
|
- $(".dispose2").hide();
|
|
726
|
|
- }else if(itype == 1) {
|
|
727
|
|
- //alert(itype)
|
|
728
|
|
- $(".dispose1").hide();
|
|
|
935
|
+ $(".dispose2").show();
|
|
|
936
|
+ } else if(itype == 1) {
|
|
|
937
|
+ $(".dispose1").show();
|
|
|
938
|
+ debugger
|
|
|
939
|
+ if(UserType==4 || UserType==0){
|
|
|
940
|
+ $(".type1").show();
|
|
|
941
|
+ $(".dispose1").show();
|
|
|
942
|
+ $(".shenpi").remove();
|
|
|
943
|
+ }
|
|
|
944
|
+
|
|
729
|
945
|
} else if(itype == 2) {
|
|
|
946
|
+// $(".dispose2").show();
|
|
|
947
|
+ if(UserType==4 ){
|
|
|
948
|
+ $(".type1").show();
|
|
|
949
|
+ $(".dispose1").show();
|
|
|
950
|
+ $(".shenpi").remove();
|
|
|
951
|
+ }else if(UserType==0){
|
|
|
952
|
+ $(".type1").show();
|
|
|
953
|
+ $(".dispose1").show();
|
|
|
954
|
+ $(".shenpi").remove();
|
|
|
955
|
+ }else{
|
|
|
956
|
+ $(".dispose2").show();
|
|
|
957
|
+ }
|
|
730
|
958
|
|
|
731
|
|
- $(".dispose2").hide();
|
|
732
|
959
|
} else if(itype == 3) {
|
|
733
|
|
- $(".dispose3").hide();
|
|
734
|
|
- }else if(itype == 4) {
|
|
|
960
|
+ if(UserType == 3) {
|
|
|
961
|
+ $(".dispose2").show();
|
|
|
962
|
+ }
|
|
|
963
|
+ $(".dispose3").show();
|
|
|
964
|
+ } else if(itype == 4) {
|
|
735
|
965
|
$(".dispose2").hide();
|
|
736
|
|
- }else if(itype == 5) {
|
|
|
966
|
+ $(".dispose1").show();
|
|
|
967
|
+// if(UserType == 3) {
|
|
|
968
|
+// $(".dispose2").show();
|
|
|
969
|
+// }
|
|
|
970
|
+ } else if(itype == 5) {
|
|
737
|
971
|
$(".dispose2").hide();
|
|
|
972
|
+ } else if(itype == 10) {
|
|
|
973
|
+ if(UserType == 2 ) {
|
|
|
974
|
+ $(".dispose1").hide();
|
|
|
975
|
+ $(".dispose2").show();
|
|
|
976
|
+ }else if(UserType == 3 || UserType == 4){
|
|
|
977
|
+ $(".type1").show();
|
|
|
978
|
+ $(".dispose1").show();
|
|
|
979
|
+ $(".shenpi").remove();
|
|
|
980
|
+ }
|
|
|
981
|
+ } else if(itype == 12) {
|
|
|
982
|
+ $(".dispose2").show();
|
|
|
983
|
+ if(UserType == 0) {
|
|
|
984
|
+ $(".dispose2").hide();
|
|
|
985
|
+ $(".dispose4").show();
|
|
|
986
|
+ }
|
|
|
987
|
+
|
|
|
988
|
+ } else if(itype == 16) {
|
|
|
989
|
+ // $(".dispose2").show();
|
|
|
990
|
+ if(UserType == 4) {
|
|
|
991
|
+ if(state==1){
|
|
|
992
|
+ $(".type1").show();
|
|
|
993
|
+ $(".dispose1").show();
|
|
|
994
|
+ $(".shenpi").remove();
|
|
|
995
|
+ }else{
|
|
|
996
|
+ $(".dispose3").show();
|
|
|
997
|
+ $(".shenpi").remove();
|
|
|
998
|
+ }
|
|
|
999
|
+// $(".dispose1").show();
|
|
|
1000
|
+
|
|
|
1001
|
+ } else if(UserType == 0) {
|
|
|
1002
|
+ $(".dispose4").show();
|
|
|
1003
|
+ }
|
|
|
1004
|
+
|
|
|
1005
|
+ }else if(itype == 11){
|
|
|
1006
|
+ $(".type1").show();
|
|
|
1007
|
+ $(".dispose1").show();
|
|
|
1008
|
+ $(".shenpi").remove();
|
|
|
1009
|
+ }
|
|
|
1010
|
+ if(itypeQs == 123) {
|
|
|
1011
|
+
|
|
|
1012
|
+ $(".itypeQs").hide();
|
|
|
1013
|
+ }
|
|
|
1014
|
+ if(itypeQs == 111) {
|
|
|
1015
|
+
|
|
|
1016
|
+ $(".type2").hide();
|
|
|
1017
|
+ }
|
|
|
1018
|
+ if(itypeQs == 333) {
|
|
|
1019
|
+ $(".type3").hide();
|
|
738
|
1020
|
}
|
|
739
|
1021
|
if(result.F_TypeName=='投诉'){
|
|
740
|
1022
|
$('.question_category').text('问题类别3:')
|
|
|
@@ -825,21 +1107,25 @@
|
|
825
|
1107
|
$(".Work_last").text(result.F_DealResult); //处理结果
|
|
826
|
1108
|
$("#Work_workOrderID").text(result.F_DealReasons); //未处理原因
|
|
827
|
1109
|
$("#Work_wor").text(result.F_IsVisit); //是否回访
|
|
828
|
|
- if(result.F_limit != 0) {
|
|
829
|
|
- $("#Work_overtime").text(result.F_limit); //超时时限
|
|
|
1110
|
+ if(result.F_limitTime != 0) {
|
|
|
1111
|
+ $("#Work_overtime").text(result.F_limitTime); //超时时限
|
|
830
|
1112
|
}
|
|
831
|
1113
|
|
|
832
|
1114
|
$("#xq_suggestion").text(result.SuperiorOpinion); //上级处理意见
|
|
833
|
1115
|
$("#Work_detail").text("问题描述:" + result.F_Description); //描述详情
|
|
834
|
1116
|
$("#Work_note").text("注解内容:" + result.F_Annotation); //注解内容
|
|
835
|
1117
|
$("#Work_timeOut").text("超期原因:" + result.F_Reasontimeout); //注解内容
|
|
836
|
|
- if(result.RemainingTime >= 0) {
|
|
837
|
|
- $(".surplusText").html("剩余时间")
|
|
838
|
|
- $("#surplus").text(result.RemainingTime + "小时")
|
|
839
|
|
- } else if(result.RemainingTime < 0) {
|
|
|
1118
|
+// if(result.RemainingTime >= 0) {
|
|
|
1119
|
+// $(".surplusText").html("剩余时间")
|
|
|
1120
|
+// $("#surplus").text(result.RemainingTime + "小时")
|
|
|
1121
|
+// } else if(result.RemainingTime < 0) {
|
|
|
1122
|
+// $(".surplusText").html("超时时间")
|
|
|
1123
|
+// $("#surplus").text(Math.abs(result.RemainingTime) + "小时")
|
|
|
1124
|
+// }
|
|
|
1125
|
+ if(result.RemainingTime) {
|
|
840
|
1126
|
$(".surplusText").html("超时时间")
|
|
841
|
|
- $("#surplus").text(Math.abs(result.RemainingTime) + "小时")
|
|
842
|
|
- }
|
|
|
1127
|
+ $("#surplus").text(result.RemainingTime)
|
|
|
1128
|
+ }
|
|
843
|
1129
|
// 判断数据为空隐藏li
|
|
844
|
1130
|
if($("#Work_gohao").text() == '') { //抽检时间
|
|
845
|
1131
|
$('#Work_gohao').parent().parent().remove();
|
|
|
@@ -1013,7 +1299,7 @@
|
|
1013
|
1299
|
//跳转页面
|
|
1014
|
1300
|
//修改
|
|
1015
|
1301
|
$('.edit').on('tap', function() {
|
|
1016
|
|
- window.location.href = "editWorkolder.html?id=" + id+'&itype='+itype;
|
|
|
1302
|
+ window.location.href = "../client-side/editWorkolder.html?id=" + id+'&itype='+itype;
|
|
1017
|
1303
|
|
|
1018
|
1304
|
});
|
|
1019
|
1305
|
//返回列表
|
|
|
@@ -1297,12 +1583,12 @@
|
|
1297
|
1583
|
//转派弹框
|
|
1298
|
1584
|
$(".allot").click(function() {
|
|
1299
|
1585
|
var areaID = $("#Work_areaname").attr('data-index')
|
|
1300
|
|
- window.location.href = "redeploy.html?id=" + id+'&itype='+itype+'&areaID='+areaID;
|
|
|
1586
|
+ window.location.href = "../client-side/redeploy.html?id=" + id+'&itype='+itype+'&areaID='+areaID;
|
|
1301
|
1587
|
})
|
|
1302
|
1588
|
// 处理提单框
|
|
1303
|
1589
|
$(".disp").click(function() {
|
|
1304
|
1590
|
var areaID = $("#Work_areaname").attr('data-index')
|
|
1305
|
|
- window.location.href = "dispose.html?id=" + id+'&itype='+itype+'&areaID='+areaID;
|
|
|
1591
|
+ window.location.href = "../client-side/dispose.html?id=" + id+'&itype='+itype+'&areaID='+areaID;
|
|
1306
|
1592
|
})
|
|
1307
|
1593
|
//评论工单
|
|
1308
|
1594
|
$(".comment").click(function(){
|
|
|
@@ -1387,7 +1673,7 @@
|
|
1387
|
1673
|
debugger
|
|
1388
|
1674
|
mui.toast('处理成功');
|
|
1389
|
1675
|
|
|
1390
|
|
- window.location.href = "pend_index.html";
|
|
|
1676
|
+ window.location.href = "inquire.html";
|
|
1391
|
1677
|
} else {
|
|
1392
|
1678
|
mui.toast(data.message);
|
|
1393
|
1679
|
}
|
|
|
@@ -1483,7 +1769,7 @@
|
|
1483
|
1769
|
debugger
|
|
1484
|
1770
|
mui.toast('处理成功');
|
|
1485
|
1771
|
|
|
1486
|
|
- window.location.href = "pend_index.html?id=" + id+'&itype='+itype;
|
|
|
1772
|
+ window.location.href = "inquire.html";
|
|
1487
|
1773
|
} else {
|
|
1488
|
1774
|
mui.toast(data.message);
|
|
1489
|
1775
|
}
|
|
|
@@ -1510,7 +1796,7 @@
|
|
1510
|
1796
|
success: function(data) {
|
|
1511
|
1797
|
if(data.state == "success") {
|
|
1512
|
1798
|
mui.toast('操作成功');
|
|
1513
|
|
- window.location.href = "client_index.html?id=" + id+'&itype='+itype;
|
|
|
1799
|
+ window.location.href = "inquire.html";
|
|
1514
|
1800
|
} else {
|
|
1515
|
1801
|
mui.toast(data.message);
|
|
1516
|
1802
|
}
|
|
|
@@ -1541,7 +1827,7 @@
|
|
1541
|
1827
|
// alert(data.state)
|
|
1542
|
1828
|
if(data.state == "success") {
|
|
1543
|
1829
|
mui.toast('接单成功');
|
|
1544
|
|
- window.location.href = "Waiting_list.html";
|
|
|
1830
|
+ window.location.href = "inquire.html";
|
|
1545
|
1831
|
} else {
|
|
1546
|
1832
|
mui.toast(data.message);
|
|
1547
|
1833
|
}
|
|
|
@@ -1554,37 +1840,54 @@
|
|
1554
|
1840
|
})
|
|
1555
|
1841
|
})
|
|
1556
|
1842
|
//审批
|
|
1557
|
|
- $(".receiving").click(function(){
|
|
1558
|
|
- var btnArray = ['否', '是'];
|
|
1559
|
|
- mui.confirm('确定审批?', '提示', btnArray, function(f) {
|
|
1560
|
|
-
|
|
1561
|
|
- if(f.index == 1) {
|
|
1562
|
|
- $.ajax({
|
|
1563
|
|
- type: "get",
|
|
1564
|
|
- dataType: 'json',
|
|
1565
|
|
- url: huayi.config.callcenter_url + 'WxLogin/GetApproval',
|
|
1566
|
|
- async: true,
|
|
1567
|
|
- data: {
|
|
1568
|
|
- orderid: id, //否 strubg 工单编号
|
|
1569
|
|
- OpenId: openid, //微信openid 测试用
|
|
1570
|
|
- AuditCont:"没意见",
|
|
1571
|
|
- IsAudit:1,
|
|
1572
|
|
- AuditState:0,
|
|
1573
|
|
- },
|
|
1574
|
|
- success: function(data) {
|
|
1575
|
|
- if(data.state == "success") {
|
|
1576
|
|
- mui.toast('审批成功');
|
|
1577
|
|
- window.location.href = "client_index.html?id=" + id+'&itype='+itype;
|
|
1578
|
|
- } else {
|
|
1579
|
|
- mui.toast(data.message);
|
|
1580
|
|
- }
|
|
|
1843
|
+ $(".receiving").click(function() {
|
|
|
1844
|
+ $(".pop_up_bj").fadeIn();
|
|
|
1845
|
+ $(".pop_up_div9").fadeIn();
|
|
|
1846
|
+ })
|
|
|
1847
|
+ $(".pop_up_bj").click(function() {
|
|
|
1848
|
+ $(".pop_up_bj").hide();
|
|
|
1849
|
+ $(".pop_up_div9").hide();
|
|
|
1850
|
+ })
|
|
|
1851
|
+ $(".pop_up_div9 .btn .fl").click(function() {
|
|
|
1852
|
+ $(".pop_up_bj").hide();
|
|
|
1853
|
+ $(".pop_up_div9").hide();
|
|
|
1854
|
+ })
|
|
|
1855
|
+ $(".pop_up_div9 .btn .fr").click(function() {
|
|
|
1856
|
+ // $("#cont").text("");
|
|
|
1857
|
+ $(".pop_up_bj").hide();
|
|
|
1858
|
+ $(".pop_up_div9").hide();
|
|
|
1859
|
+ if($(".reasaa").val() == "") {
|
|
|
1860
|
+ mui.alert("请输入审批意见.");
|
|
|
1861
|
+ } else {
|
|
|
1862
|
+ $(".pop_up_bj").hide();
|
|
|
1863
|
+ $(".pop_up_div9").hide();
|
|
|
1864
|
+ $.ajax({
|
|
|
1865
|
+ type: "get",
|
|
|
1866
|
+ dataType: 'json',
|
|
|
1867
|
+ url: huayi.config.callcenter_url + 'WxLogin/GetApproval',
|
|
|
1868
|
+ async: true,
|
|
|
1869
|
+ data: {
|
|
|
1870
|
+ orderid: id, //否 strubg 工单编号
|
|
|
1871
|
+ OpenId: openid,
|
|
|
1872
|
+ AuditCont: $(".reasaa").val(),
|
|
|
1873
|
+ IsAudit: 1,
|
|
|
1874
|
+ AuditState: $('.order_ty').find('input[type="radio"]:checked').val(), //工单类型
|
|
|
1875
|
+
|
|
|
1876
|
+ },
|
|
|
1877
|
+
|
|
|
1878
|
+ success: function(data) {
|
|
|
1879
|
+ debugger
|
|
|
1880
|
+ if(data.state == "success") {
|
|
|
1881
|
+ debugger
|
|
|
1882
|
+ mui.toast('申请成功');
|
|
|
1883
|
+ window.location.href = "inquire.html";
|
|
|
1884
|
+ } else {
|
|
|
1885
|
+ mui.toast(data.message);
|
|
1581
|
1886
|
}
|
|
1582
|
|
- });
|
|
1583
|
|
-
|
|
1584
|
|
- } else {
|
|
1585
|
|
- mui.toast("取消");
|
|
1586
|
|
- }
|
|
1587
|
|
- })
|
|
|
1887
|
+ }
|
|
|
1888
|
+ });
|
|
|
1889
|
+ }
|
|
|
1890
|
+
|
|
1588
|
1891
|
})
|
|
1589
|
1892
|
//退回
|
|
1590
|
1893
|
$(".sendback").click(function(){
|
|
|
@@ -1624,7 +1927,7 @@
|
|
1624
|
1927
|
if(data.state == "success") {
|
|
1625
|
1928
|
debugger
|
|
1626
|
1929
|
mui.toast('退回成功');
|
|
1627
|
|
- window.location.href = "Waiting_list.html?id=" + id+'&itype='+itype;
|
|
|
1930
|
+ window.location.href = "inquire.html";
|
|
1628
|
1931
|
} else {
|
|
1629
|
1932
|
mui.toast(data.message);
|
|
1630
|
1933
|
}
|
|
|
@@ -1674,7 +1977,7 @@
|
|
1674
|
1977
|
if(data.state == "success") {
|
|
1675
|
1978
|
debugger
|
|
1676
|
1979
|
mui.toast('申请成功');
|
|
1677
|
|
- window.location.href = "haveorder_list.html?id=" + id+'&itype='+itype;
|
|
|
1980
|
+ window.location.href = "inquire.html";
|
|
1678
|
1981
|
} else {
|
|
1679
|
1982
|
mui.toast(data.message);
|
|
1680
|
1983
|
}
|
|
|
@@ -1721,7 +2024,7 @@
|
|
1721
|
2024
|
if(data.state == "success") {
|
|
1722
|
2025
|
debugger
|
|
1723
|
2026
|
mui.toast('退回成功');
|
|
1724
|
|
- window.location.href = "Waiting_list.html?id=" + id+'&itype='+itype;
|
|
|
2027
|
+ window.location.href = "inquire.html";
|
|
1725
|
2028
|
} else {
|
|
1726
|
2029
|
mui.toast(data.message);
|
|
1727
|
2030
|
}
|
|
|
@@ -1748,11 +2051,7 @@
|
|
1748
|
2051
|
if(data.state == "success") {
|
|
1749
|
2052
|
debugger
|
|
1750
|
2053
|
mui.toast('删除成功');
|
|
1751
|
|
- if (itype==2) {
|
|
1752
|
|
- window.location.href = "pend_index.html";
|
|
1753
|
|
- } else if(itype==3){
|
|
1754
|
|
- window.location.href = "finsh_index.html";
|
|
1755
|
|
- }
|
|
|
2054
|
+ window.location.href = "inquire.html";
|
|
1756
|
2055
|
|
|
1757
|
2056
|
} else {
|
|
1758
|
2057
|
mui.toast(data.message);
|
|
|
@@ -1801,7 +2100,7 @@
|
|
1801
|
2100
|
if(data.state == "success") {
|
|
1802
|
2101
|
debugger
|
|
1803
|
2102
|
mui.toast('催单成功');
|
|
1804
|
|
- window.location.href = "pend_index.html?id=" + id+'&itype='+itype;
|
|
|
2103
|
+ window.location.href = "inquire.html";
|
|
1805
|
2104
|
} else {
|
|
1806
|
2105
|
mui.toast(data.message);
|
|
1807
|
2106
|
}
|