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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!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>挂起原因</span>
        <label>
        <select id="solveWay" class="select" style="width:142px;height:26px;">
            <option value="">请选择</option>
            [#if ways?? && ways?size>0]
                   [#list ways as re]
                      <option value="${re.DATAKEY}" class="${re.DATAKEY}" [#if re_index==0]selected[/#if]>${re.DATAVALUE}</option>
                  [/#list]
               [/#if]
           </select>
           </label>
    </p>
    <p>
        <span>备注</span>
        <i><textarea name="content" id="content" cols="" rows="3" class="event-text"></textarea></i>
    </p>
    <button class="bluebtn bluebtnsmal2" onclick="checkSubmit();">确定</button>
</section>
 
<script type="text/javascript">
          
 
function checkSubmit(){
        var solveWay = $("#solveWay").val();
        var content = $.trim($("#content").val());
        if(solveWay == ""){
            popupTips('请选择挂起原因!');
            return;
        }
        if(content == ""){
            popupTips('请填写备注信息!');
            return;
        }
        var solveWayName = $("."+solveWay).text();
        $.post("${base}/ewyw/ewQuestion/ewquestiongq.html",{'solveWay':solveWay,'solveWayName':solveWayName,'content':content,'flowId':'${flowId}','orderId':'${orderId}','nodeId':'${nodeId}'},function(data,textStatus) {
            if(data == '1') {
                popupTips("操作成功", 2000);
                window.location.href = "${base}/ewyw/ewQuestion/ewMyQuestion.html";
            } else {
                popupTips("操作失败", 2000);
            }
        });
    }
</script>
</body>
</html>