cy
2022-06-28 2ba5c891b24d4d0cd6ce7ef833592e4f576ee5e8
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!doctype html>
<html class="no-js">
<head>
    <meta charset="utf-8">
    <title></title>
[#include "/business/pages/include/static.html" /]
    <script type="text/javascript">
        $(document).ready(function () {
            $.formValidator.initConfig({
                formID: "myform", onError: function (msg) {
                    popupTips(msg)
                }, onSuccess: function () {
                    var resolve = $(":radio[name=resolve]:checked").val();
                    if (resolve == "1") {
                        document.getElementById("myform").target = window.top.openDialog("insideAllot", "操作",
                                {},
                                {"width": 60, "height": 80, "noclose": true},
                                [{btnId: "tipBtnSure", btnName: "确定", btnStyle: "bluebtn"}]);
                    } else {
                        document.getElementById("myform").target = window.top.openDialog("insideAllot", "操作",
                                {},
                                {"width": 40, "height": 40, "noclose": true},
                                [{btnId: "tipBtnSure", btnName: "确定", btnStyle: "bluebtn"}]);
                    }
                    return true;
                }
            });
 
            $("#note").formValidator({empty: false, onShow: "请输入流转备注!", onFocus: "请输入流转备注"}).inputValidator({
                min: 1,
                onError: "流转备注不能为空"
            });
            $("#suggest").formValidator({empty: false, onShow: "请输入评审意见!", onFocus: "请输入评审意见"}).inputValidator({
                min: 1,
                onError: "评审意见不能为空"
            });
        });
 
 
    </script>
 
</head>
 
<body class="end_task_body">
<div class="event_tips" style="margin:15px;">
[#if ccbrule.TGTJ == 1]
    <span>CCB评审通过条件:主负责人意见为主。(即主负责人通过则评审通过,主负责人不通过则评审不通过。)</span>
[#else]
    <span>CCB评审通过条件:${ccbrule.BFJ}%人员通过为主。(即达到或超过${ccbrule.BFJ}%人员通过则为评审通过,否则评审不通过。)</span>
[/#if]
    <br/>
[#if ccbrule.LZFA == 1]
    <span>CCB评审不通过时:直接关闭流程。</span>
[#else]
    <span>CCB评审不通过时:继续流程。(即下一环节负责人能够看到CCB评审结果,但由该负责人决定是关闭流程、回退或通过等操作。)</span>
[/#if]
</div>
 
    [#if ccbresult?? && ccbresult?size>0]
                    [#list ccbresult as result]
                    
                    <table class="display_form common_list_table" style="border:0px ;">
                    第${result.NUM}次审批
    <tbody>
    <tr style="border:0px ;">
        <td style="border:0px ;">支持通过人数:${result.tgnum}人</td>
        <td style="border:0px ;">反对通过人数:${result.fdnum}人</td>
        <td style="border:0px ;">通过率:${result.tgrate}%</td>
        <td style="border:0px ;">评审结果:[#if result.result == 1]通过[#elseif result.result == 2]不通过[#else]-[/#if]</td>
    </tr>
    </tbody>
    </table>
    [/#list]
                [/#if]
 
<div class="end_task">
    <form id="myform" action="" method="post">
        <table>
 
            <tr>
                <td style="border-bottom:0px;width:100px;"><label class="required">评审结果:</label></td>
                <td style="border-bottom:0px;">
                    <p style="float:left;margin-right:10px;">
                        <input class="ropos iscg" checked name="resolve" type="radio" value="1"
                               id="success"/><span>通过</span>
                    </p>
                    <p style="float:left;margin-right:10px;">
                        <input class="ropos iscg" name="resolve" type="radio" value="2" id="fail"/><span>不通过</span>
                    </p>
                </td>
            </tr>
            <tr>
                <td style="border-bottom:0px;" colspan="2"><label class="required">评审意见:</label></td>
            </tr>
            <tr>
                <td style="border-bottom:0px;" colspan="2">
                    <textarea class="general" name="suggest" id="suggest"></textarea>
                    <div id="suggestTip" style="display:inline-block;"></div>
                </td>
            </tr>
        </table>
        <input type="hidden" name="nodeId" value="${nodeId}">
    </form>
</div>
 
<script type="text/javascript">
    function onDialogBtnClick(btnID, dialogID, config) {
        if (btnID == "btnSure") {
            $("#myform").submit();
        }
    }
</script>
 
</body>
</html>