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
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
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8" />
<title>变更CCB评审配置</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(){
                if(!(window.top.openConfirm("确定要提交吗?"))) {
                     return false;
                }
                document.getElementById("myform").target = window.top.openDialog("1","操作",
                         {},
                         {"width":40,"height":40},[{btnId:"tipBtnSure", btnName:"确定", btnStyle:"bluebtn"}]);
                         return true;
                
            }});
        });
    </script>
</head>
 
<body class="fullscreen">
[#include "/business/pages/include/header.html" /]
 
[#assign focusLabel = 'CCBPZ']
[#include "/business/pages/change/cpzheader.html" /]
<div class="fs_navpath">
    <h3>当前位置</h3>
    <span></span>
    <a>变更CCB评审配置</a>
</div>
<div style="margin:10px;">
</div>
<div class="fs_main equip_add clearfix" >
    <div class="equipdetail_basic" style="width:1000px;margin-left:auto; margin-right:auto;" >
        <div id="main" style="margin:15px;">
          <div class="fs_navtitle" id="fsNavtitle">
            <div class="fs_navtitle_con">
              <div class="fsnt_btn">
                <a class="fb_submit" href="javascript:savePz();"><span>提交</span></a>
              </div>
            </div>
         </div>
        <form action="" method="post" id="myform" name="myform">
            <input type="hidden" value="${config.id}" name="id"/>
            <input type="hidden" value="${RequestParameters.proId}" name="proId">
               <input type="hidden" value="${RequestParameters.customerId}" name="customerId">
            <table class="pab_con" style="width: 100%;margin:auto">
                <tr>
                        <th align="right">评审通过条件:</th>
                        <td>
                             <input type="radio" value="1" class="pos tj" style="margin-right:5px;" name="tgtj" [#if config.TGTJ?? && config.TGTJ==1]checked[/#if]/><span style="margin-right:10px;">主负责人意见为主。(即主负责人通过则评审通过,主负责人不通过则评审不通过。)</span></br>
                             <input type="radio" value="2" class="pos tj" style="margin-right:5px;" name="tgtj" id="isbfj" [#if config.TGTJ?? && config.TGTJ==2]checked[/#if]/><span style="margin-right:10px;">__%人员通过为主。(即达到或超过X%人员通过则为评审通过,否则评审不通过。)</span>
                        </td>
                    </tr>
                    <tr >
                        <th align="right">通过百分比:</th>
                        <td style="text-align:left;">
                              <input type="text" value="${config.BFJ}" class="general" style="margin-right:5px;" name="tgbfj" id="tgbfj" />%
                        </td>
                    </tr>
                    <tr>
                        <th align="center">评审不通过流转方案:</th>
                        <td>
                             <input type="radio" value="1" class="pos fa" name="lzfa" [#if config.LZFA?? && config.LZFA==1]checked[/#if]/><span style="margin-right:5px;">直接关闭流程</span></br>
                             <input type="radio" value="2" class="pos fa" name="lzfa" [#if config.LZFA?? && config.LZFA==2]checked[/#if]/><span style="margin-right:5px;">继续流程。(即下一环节负责人能够看到CCB评审结果,但由该负责人决定是关闭流程、回退或通过等操作。)</span>
                            <input type="radio" value="3" class="pos fa" name="lzfa" [#if config.LZFA?? && config.LZFA==3]checked[/#if]/><span style="margin-right:5px;">评审不通过,返回至发起人</span>
                        </td>
                    </tr>
                </table>
                </form>
        </div>   
    </div>
</div>
 
<script type="text/javascript">
function savePz() {
    var $tgtjs = $("input[name=tgtj]:checked");
    var $lzfas = $("input[name=lzfa]:checked");
    if($tgtjs.length == 0){
       popupTips("请选择评审通过条件");
       return;
    }
    if($("#isbfj").attr("checked")&&$("#tgbfj").val()==""){
       popupTips("请填写百分比");
       return;
    }
    if($lzfas.length == 0){
        popupTips("请选择评审不通过流转方案");
        return;
    }
    $.post("${base}/business/pages/change/changeCcbPz.html",$("#myform").serialize(),function(data,textStatus) {
        if(data==1) {
            popupTips("提交成功");
        }
    })
}
</script>
 
[#include "/business/pages/include/footer.html" /]
</body>
</html>