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
<!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>
<div class="search-bg">
    <div class="search-box">
        <input type="text" placeholder="请输入工单编号" id="orderCode" >
        <a href="javascript:query();"><span></span></a>
    </div>    
</div>
 
<div id="main"></div>
<button class="bluebtn bluebtnsmal2" onclick="saveorder()">确定</button> 
</body>
<script type="text/javascript">
var end = '${RequestParameters.end}';
function query() {
    var customerid = '${RequestParameters.customerid}';
    var reordercode = '${RequestParameters.reordercode}';
    var orderid = '${RequestParameters.orderid}';
    var orderCode = $.util.encode($.trim($("#orderCode").val()));
    $.post("${base}/ewyw/ewQuestion/ewOrderwtList.html",{"customerid":customerid,"orderid":orderid,"orderCode":orderCode,"reordercode":reordercode},function(data,textStatus) {
        $("#main").html(data);
    })
}
 
$(function() {
    query();
})
function saveorder(){
    var checkedBox = $(".item-foucs");
    if(checkedBox.length==0) {
        popupTips("请选择重复问题工单");
        return;
    }
    var id = checkedBox.find(".orderId").val();
    var value = checkedBox.find(".orderNo").text();
    if(end == 1){
       window.location.href = "${base}/ewyw/ewQuestion/ewEndQuestion.html?repeat_order="+id+"&reordercode="+value+"&nodeId=${nodeId}&orderId=${orderId}&flowId=${flowId}&customerId=${customerId}";
    }else{
       window.location.href = "${base}/ewyw/ewQuestion/ewclosequestion.html?id="+id+"&value="+value+"&nodeId=${nodeId}&orderId=${orderId}&flowId=${flowId}&customerId=${customerId}";
    }
}
</script>
</html>