|
|
@@ -531,6 +531,17 @@
|
|
531
|
531
|
<button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary fr">确定</button>
|
|
532
|
532
|
</div>
|
|
533
|
533
|
</div>
|
|
|
534
|
+ <!--退回弹窗-->
|
|
|
535
|
+ <div class="pop_up_div7" style="display: none;">
|
|
|
536
|
+ <div class="tit">请输入处理内容</div>
|
|
|
537
|
+ <div class="contain">
|
|
|
538
|
+ <textarea class="textcont" id="deal_conton"></textarea>
|
|
|
539
|
+ </div>
|
|
|
540
|
+ <div class="btn">
|
|
|
541
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-royal fl">取消</button>
|
|
|
542
|
+ <button type="button" data-loading-text="提交中" class="mui-btn mui-btn-primary fr">确定</button>
|
|
|
543
|
+ </div>
|
|
|
544
|
+ </div>
|
|
534
|
545
|
<!--弹框4-->
|
|
535
|
546
|
<div class="pop_up_div4">
|
|
536
|
547
|
<div class="tit">请输入处理内容</div>
|
|
|
@@ -1560,7 +1571,7 @@
|
|
1560
|
1571
|
$(".pop_up_bj").hide();
|
|
1561
|
1572
|
$(".pop_up_div10").hide();
|
|
1562
|
1573
|
if($(".reaa").val()=="") {
|
|
1563
|
|
- mui.alert("请输入审批意见.11");
|
|
|
1574
|
+ mui.alert("请输入审批意见");
|
|
1564
|
1575
|
}else{
|
|
1565
|
1576
|
$(".pop_up_bj").hide();
|
|
1566
|
1577
|
$(".pop_up_div10").hide();
|
|
|
@@ -1593,25 +1604,25 @@
|
|
1593
|
1604
|
//退回
|
|
1594
|
1605
|
$(".sendback").click(function(){
|
|
1595
|
1606
|
$(".pop_up_bj").fadeIn();
|
|
1596
|
|
- $(".pop_up_div6").fadeIn();
|
|
|
1607
|
+ $(".pop_up_div7").fadeIn();
|
|
1597
|
1608
|
})
|
|
1598
|
1609
|
$(".pop_up_bj" ).click(function(){
|
|
1599
|
1610
|
$(".pop_up_bj").hide();
|
|
1600
|
|
- $(".pop_up_div6").hide();
|
|
|
1611
|
+ $(".pop_up_div7").hide();
|
|
1601
|
1612
|
})
|
|
1602
|
|
- $(".pop_up_div6 .btn .fl" ).click(function(){
|
|
|
1613
|
+ $(".pop_up_div7 .btn .fl" ).click(function(){
|
|
1603
|
1614
|
$(".pop_up_bj").hide();
|
|
1604
|
|
- $(".pop_up_div6").hide();
|
|
|
1615
|
+ $(".pop_up_div7").hide();
|
|
1605
|
1616
|
})
|
|
1606
|
|
- $(".pop_up_div6 .btn .fr" ).click(function(){
|
|
|
1617
|
+ $(".pop_up_div7 .btn .fr" ).click(function(){
|
|
1607
|
1618
|
// $("#cont").text("");
|
|
1608
|
1619
|
$(".pop_up_bj").hide();
|
|
1609
|
|
- $(".pop_up_div6").hide();
|
|
1610
|
|
- if($("#deal_cont").val()=="") {
|
|
|
1620
|
+ $(".pop_up_div7").hide();
|
|
|
1621
|
+ if($("#deal_conton").val()=="") {
|
|
1611
|
1622
|
mui.alert("请输入处理内容");
|
|
1612
|
1623
|
}else{
|
|
1613
|
1624
|
$(".pop_up_bj").hide();
|
|
1614
|
|
- $(".pop_up_div6").hide();
|
|
|
1625
|
+ $(".pop_up_div7").hide();
|
|
1615
|
1626
|
$.ajax({
|
|
1616
|
1627
|
type: "get",
|
|
1617
|
1628
|
dataType: 'json',
|
|
|
@@ -1619,8 +1630,8 @@
|
|
1619
|
1630
|
async: true,
|
|
1620
|
1631
|
data: {
|
|
1621
|
1632
|
orderid: id, //否 strubg 工单编号
|
|
1622
|
|
- type: 0, //否 int 你看一下前端是什么参数
|
|
1623
|
|
- cont: $("#deal_cont").val(), //否 int 处理内容
|
|
|
1633
|
+ type: 0, // 0退回 1异常退回
|
|
|
1634
|
+ cont: $("#deal_conton").val(), //否 int 处理内容
|
|
1624
|
1635
|
openid: openid, //微信openid 测试用
|
|
1625
|
1636
|
},
|
|
1626
|
1637
|
|
|
|
@@ -1716,7 +1727,7 @@
|
|
1716
|
1727
|
async: true,
|
|
1717
|
1728
|
data: {
|
|
1718
|
1729
|
orderid: id, //否 strubg 工单编号
|
|
1719
|
|
- type: 1, //否 int 你看一下前端是什么参数
|
|
|
1730
|
+ type: 1, // 0退回 1异常退回
|
|
1720
|
1731
|
cont: $("#deal_cont").val(), //否 int 处理内容
|
|
1721
|
1732
|
openid: openid, //微信openid 测试用
|
|
1722
|
1733
|
},
|
|
|
@@ -1724,7 +1735,7 @@
|
|
1724
|
1735
|
debugger
|
|
1725
|
1736
|
if(data.state == "success") {
|
|
1726
|
1737
|
debugger
|
|
1727
|
|
- mui.toast('退回成功');
|
|
|
1738
|
+ mui.toast('异常退回成功');
|
|
1728
|
1739
|
window.location.href = "Waiting_list.html?id=" + id+'&itype='+itype;
|
|
1729
|
1740
|
} else {
|
|
1730
|
1741
|
mui.toast(data.message);
|