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
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<title>专家积分</title>
[#include "/business/pages/include/static.html" /]
<style type="text/css">
    .content{
        margin-top:25px;
    }
</style>
</head>
[#include "/business/pages/include/header.html" /]
[#assign label = GnConstants.ZJJFZSK]
[#include "/business/pages/include/gps.html" /]
<body class="fullscreen">
 
<script type="text/javascript">
 
$(function() {
    $.formValidator.initConfig({formID:"myform",onError:function(msg){popupTips(msg)},onSuccess:function(){
                        document.getElementById("myform").target = window.top.openDialog("1","操作",
                         {},
                         {"width":40,"height":40},[{btnId:"tipBtnSure", btnName:"确定", btnStyle:"bluebtn"}]);
                         return true;
        }});
        $("#${Constants.KM_EXPERT_LEVEL_RULE_TYPE_CJZJ}").formValidator({empty: false, onShow: "请输入设置项", onFocus: "请输入设置项!"}).inputValidator({min: 1, onError: "设置项不能为空!"}).regexValidator({regExp:'num1',dataType:"enum",onError:"你输入的数字格式不正确"});
        $("#${Constants.KM_EXPERT_LEVEL_RULE_TYPE_ZJZJ}").formValidator({empty: false, onShow: "请输入设置项", onFocus: "请输入设置项!"}).inputValidator({min: 1, onError: "设置项不能为空!"}).regexValidator({regExp:'num1',dataType:"enum",onError:"你输入的数字格式不正确"});
        $("#${Constants.KM_EXPERT_LEVEL_RULE_TYPE_GJZJ}").formValidator({empty: false, onShow: "请输入设置项", onFocus: "请输入设置项!"}).inputValidator({min: 1, onError: "设置项不能为空!"}).regexValidator({regExp:'num1',dataType:"enum",onError:"你输入的数字格式不正确"});
        $("#${Constants.KM_EXPERT_LEVEL_RULE_TYPE_ZSZJ}").formValidator({empty: false, onShow: "请输入设置项", onFocus: "请输入设置项!"}).inputValidator({min: 1, onError: "设置项不能为空!"}).regexValidator({regExp:'num1',dataType:"enum",onError:"你输入的数字格式不正确"});
    });
 
</script>
 
<div class="edit_txt content">
    <form id="myform" action="${base}/business/pages/knowledge/knowintegral/saveZjDjRule.html" method="post">
         <table class="edit_layout2">
             [#if info?? && info?size>0]
                 [#list info as k]
                     <tr><th><label class="required">${Constants.getmapKM_EXPERT_LEVEL_RULE_TYPE_Label(k.TYPE)}:</label></th>
                        <td><input class="general" type="text" name="${k.TYPE}" id="${k.TYPE}" value="${k.SCORE}" style="width:300px;"/>
                            <div id="${k.TYPE}Tip" style="display:inline-block;"></div>
                        </td>
                    </tr>
                [/#list]
            [#else]
                <tr><th><label class="required">${Constants.getmapKM_EXPERT_LEVEL_RULE_TYPE_Label(Constants.KM_EXPERT_LEVEL_RULE_TYPE_CJZJ)}:</label></th>
                    <td><input class="general" type="text" name="${Constants.KM_EXPERT_LEVEL_RULE_TYPE_CJZJ}" id="${Constants.KM_EXPERT_LEVEL_RULE_TYPE_CJZJ}"  style="width:300px;"/>
                        <div id="${Constants.KM_EXPERT_LEVEL_RULE_TYPE_CJZJ}Tip" style="display:inline-block;"></div>
                    </td>
                </tr>
                <tr><th><label class="required">${Constants.getmapKM_EXPERT_LEVEL_RULE_TYPE_Label(Constants.KM_EXPERT_LEVEL_RULE_TYPE_ZJZJ)}:</label></th>
                    <td><input class="general" type="text" name="${Constants.KM_EXPERT_LEVEL_RULE_TYPE_ZJZJ}" id="${Constants.KM_EXPERT_LEVEL_RULE_TYPE_ZJZJ}"  style="width:300px;"/>
                        <div id="${Constants.KM_EXPERT_LEVEL_RULE_TYPE_ZJZJ}Tip" style="display:inline-block;"></div>
                    </td>
                </tr>
                <tr><th><label class="required">${Constants.getmapKM_EXPERT_LEVEL_RULE_TYPE_Label(Constants.KM_EXPERT_LEVEL_RULE_TYPE_GJZJ)}:</label></th>
                    <td><input class="general" type="text" name="${Constants.KM_EXPERT_LEVEL_RULE_TYPE_GJZJ}" id="${Constants.KM_EXPERT_LEVEL_RULE_TYPE_GJZJ}"  style="width:300px;"/>
                        <div id="${Constants.KM_EXPERT_LEVEL_RULE_TYPE_GJZJ}Tip" style="display:inline-block;"></div>
                    </td>
                </tr>
                <tr><th><label class="required">${Constants.getmapKM_EXPERT_LEVEL_RULE_TYPE_Label(Constants.KM_EXPERT_LEVEL_RULE_TYPE_ZSZJ)}:</label></th>
                    <td><input class="general" type="text" name="${Constants.KM_EXPERT_LEVEL_RULE_TYPE_ZSZJ}" id="${Constants.KM_EXPERT_LEVEL_RULE_TYPE_ZSZJ}"  style="width:300px;"/>
                        <div id="${Constants.KM_EXPERT_LEVEL_RULE_TYPE_ZSZJ}Tip" style="display:inline-block;"></div>
                    </td>
                </tr>
            [/#if]
            <tr>  
                <th></th>     
                   <td><a class="operating_conmon" style="margin-top:10px;"  href="javascript:saveSubmit();"><span style="color:#333333;">提交</span></a></td>
           </tr>
        </table>
     </form>
</div>
 
<script type="text/javascript">
function saveSubmit(){
    $("#myform").submit();
}
</script>
 
</body>
</html>