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
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<title>结束流程</title>
[#include "/business/pages/include/static.html" /]
[#include "/component/HtmlEditor.html" /]
<link rel="stylesheet" href="${common_static}/static/plugins/ztree/css/zTreeStyle/zTreeStyle.css" type="text/css">
<script type="text/javascript" src="${common_static}/static/plugins/ztree/js/jquery.ztree.all-3.5.min.js"></script>
</head>
 
<body>
<div>
<form id="myform" action="${base}/business/pages/health/doEndHealthFlow.html" method="post">
    <input name="orderId" value="${RequestParameters.orderId}" type="hidden"/>
    <input name="nodeId" value="${RequestParameters.nodeId}" type="hidden"/>
    <input name="flowId" value="${RequestParameters.flowId}" type="hidden"/>
    <table class="edit_layout" style="margin-top:30px">
        <tr>
            <th class="postop"><label>流程备注:</label></th>
            <td colspan="3"><textarea id="flowNote" name="flowNote" value="" class="general"></textarea>
            <div id="flowNoteTip" style="display:inline-block;"></div>
            </td>
        </tr>
       </table>
</form>
</div>
 
</body>
<script type="text/javascript">
    $(document).ready(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;
        }});
 
        $("#flowNote").formValidator({
            empty: true,
            onShow: "流程备注不超过400个字符!",
            onFocus: "流程备注不超过400个字符!"
        }).inputValidator({max: 400, onError: "流程备注不超过400个字符"});
    });
    
    //点击事件
    function onDialogBtnClick(btnID, dialogID, config){
        if(btnID == "btnSure"){
            $("#myform").submit();
        }
    }
    
</script>
</html>