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
61
62
63
64
65
66
67
<!doctype html>
<html>
<head>
<meta charset="utf-8">
[#include "/business/wechat/include/title.html" /]
[#include "/business/wechat/include/wheader.html" /]
 
</head>
<body>
<header class="kltit clearfix"><a href="javascript:history.go(-1);"><span></span></a>例行维护工单响应</header>
<section class="wlresponse">
    <p>
        <span>巡检编号</span>
        <label>${remind.ORDER_CODE}</label>
    </p>
    <p>
        <span>当前节点</span>
        <label>${remind.nodeName}</label>
    </p>
    <p>
        <span>${Constants.CUSTOMER_CONSTANTS}名称</span>
        <label>${remind.CUSTOMER_NAME}</label>
    </p>
    <p>
        <span>${Constants.UNIT_CONSTANTS}</span>
        <label>${remind.SUB_CUSTOMER_NAME}</label>
    </p>
    <p>
        <span class="detaillong">计划执行日期</span>
        <label class="detaillong">${DateUtil.format("yyyy-MM-dd",remind.PLAN_EXECUTION_DATE)}</label>
    </p>
    [#if remind.isBack == '2']
        <p>
            <span>退回说明</span>
            <label>
                ${StringUtil.str2Html(remind.dealNode)}
            </label>
        </p>
    [/#if]
    <button class="bluebtn bluebtnsmall" onclick="javascript:remindResp();">确定</button><button class="bluebtn bluebtnsmall redcolor" onclick="javascript:window.location.href='${base}/ewyw/ewRemind/ewRemindInfo.html?orderId=${remind.ID}&orderType=${Constants.WORKFLOW_BASE_BUSINESS_TYPE_CI_REMIND}'">详情</button>
</section>
 
<script type="text/javascript">
var b = false;
function remindResp() {
    if(!b) {
        b = true;
        $.post("${base}/ewyw/ewRemind/answerRemind.html",{"flowId":'${remind.FLOW_ID}'},function(data,textStatus) {
            if(data=='2') {
                popupTips('该工单已被响应过', 2000);
            } else if(data=='1') {
                popupTips("响应成功", 2000);
                window.location.href = "${base}/ewyw/ewRemind/ewRemindInfoCl.html?orderId=${remind.ID}&orderType=${Constants.WORKFLOW_BASE_BUSINESS_TYPE_CI_REMIND}";
            } else {
                popupTips("响应失败", 2000);
            }
            b = false;
        })
    } else {
        popupTips("正在响应...", 2000);
    }
}
</script>
 
</body>
 
</html>