cy
2022-06-21 129904537f66509f97b285e7eb4f42b3dc349dd0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!doctype html>
<html>
<head>
[#include "/business/wechat/include/title.html" /]
[#include "/business/wechat/include/wheader.html" /]
</head>
 
<body>
<header class="kltit">
    <a href="javascript:history.go(-1);"><span></span></a>工单回退
 
</header>
<section class="wlresponse">
    <p>
        <span class="long">回退原因说明</span>
        <i class="long"><textarea name="backNote" id="backNote" cols="" rows="3" class="event-text"></textarea></i>
    </p>
    <button class="bluebtn bluebtnsmal2" onclick="checkSubmit();">确定</button>
</section>
</body>
<script type="text/javascript">
    function checkSubmit(){
        var backNote = $.trim($("#backNote").val());
        if(backNote == ""){
            popupTips('请填写回退原因说明!');
            return;
        }
        $.post("${base}/ewyw/ewHealth/ewHealthSendback.html",{'orderId':'${orderId}','nodeId':'${nodeId}','backNote':backNote,'lastNodeTemplateId':'${lastNodeTemplateId}','flowId':'${flowId}'},function(data,textStatus) {
            if(data == '1') {
                popupTips("操作成功", 2000);
                window.location.href = "${base}/ewyw/ewIncident/ewoption.html?wt=3";
            } else {
                popupTips("操作失败", 2000);
            }
        });
    }
</script>
</html>