|
|
@@ -21,7 +21,7 @@
|
|
21
|
21
|
<i class="syIcon"></i>位置:
|
|
22
|
22
|
<a href="javaScript:;" id="ReIndex">首页</a>>
|
|
23
|
23
|
|
|
24
|
|
- <a href="" class="nowPosition">已办待回访</a>
|
|
|
24
|
+ <a href="" class="nowPosition">已办待审核</a>
|
|
25
|
25
|
</sapn>
|
|
26
|
26
|
</div>
|
|
27
|
27
|
<div class="dhRight">
|
|
|
@@ -854,6 +854,56 @@
|
|
854
|
854
|
area: ["50%", "40%"], //宽高
|
|
855
|
855
|
});
|
|
856
|
856
|
}
|
|
|
857
|
+ //审核通过
|
|
|
858
|
+ function approved(str) {
|
|
|
859
|
+
|
|
|
860
|
+ layer.confirm('确认审核通过吗?', {
|
|
|
861
|
+ btn: ['是', '否'] // 按钮
|
|
|
862
|
+ }, function () {
|
|
|
863
|
+
|
|
|
864
|
+ layer.confirm('是否发送短信?', {
|
|
|
865
|
+ btn: ['是', '否'] // 按钮
|
|
|
866
|
+ }, function () {
|
|
|
867
|
+ toExamineWorkOrder(str,1)
|
|
|
868
|
+ },function(){
|
|
|
869
|
+ toExamineWorkOrder(str,0)
|
|
|
870
|
+ });
|
|
|
871
|
+
|
|
|
872
|
+ });
|
|
|
873
|
+ }
|
|
|
874
|
+ function toExamineWorkOrder(str,issmsAudit){
|
|
|
875
|
+ $.post(huayi.config.callcenter_url + 'WorkOrder/ToExamineWorkOrder', {
|
|
|
876
|
+ workorderid: str,
|
|
|
877
|
+ nexttype: 0, // 0审核通过 1审核不通过 2审核通过转办
|
|
|
878
|
+ issms:issmsAudit,
|
|
|
879
|
+ "token": $.cookie("token")
|
|
|
880
|
+ }, function(result) {
|
|
|
881
|
+ result = JSON.parse(result);
|
|
|
882
|
+ if(result.state.toLowerCase() == "success") {
|
|
|
883
|
+ layer.msg("操作成功");
|
|
|
884
|
+ $("#orderlist").bootstrapTable('refresh');
|
|
|
885
|
+ }
|
|
|
886
|
+ })
|
|
|
887
|
+ }
|
|
|
888
|
+
|
|
|
889
|
+ //审核不通过
|
|
|
890
|
+ function auditFailed(str) {
|
|
|
891
|
+ layer.open({
|
|
|
892
|
+ type: 2,
|
|
|
893
|
+ content: "../CommonHtml/haveDoneToAuditOperation.html?wid=" + str + "&nexttype=1", //iframe的url,no代表不显示滚动条
|
|
|
894
|
+ title: "审核不通过",
|
|
|
895
|
+ area: ["50%", "50%"], //宽高
|
|
|
896
|
+ });
|
|
|
897
|
+ }
|
|
|
898
|
+ //审核通过转办
|
|
|
899
|
+ function approvedComplaint(str) {
|
|
|
900
|
+ layer.open({
|
|
|
901
|
+ type: 2,
|
|
|
902
|
+ content: "../CommonHtml/haveDoneToAuditOperation.html?wid=" + str + "&nexttype=2", //iframe的url,no代表不显示滚动条
|
|
|
903
|
+ title: "审核通过转办",
|
|
|
904
|
+ area: ["50%", "50%"], //宽高
|
|
|
905
|
+ });
|
|
|
906
|
+ }
|
|
857
|
907
|
//修改
|
|
858
|
908
|
function editProcessingResult(str) {
|
|
859
|
909
|
layer.open({
|