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
<!doctype html>
<html class="no-js">
<head>
    <meta charset="utf-8">
    <title>提交审核</title>
    <!--(start) public flies-->
[#include "/business/pages/include/static.html" /]
[#include "/component/newupload.html" /]
[#include "/component/HtmlEditor.html" /]
    <script type="text/javascript">
        $(document).ready(function () {
            $.formValidator.initConfig({
                formID: "fpform", onError: function (msg) {
                    popupTips(msg)
                }, onSuccess: function () {
                    if (!(window.top.openConfirm("确定要提交吗?"))) {
                        return false;
                    }
                    document.getElementById("fpform").target = window.top.openDialog("5", "操作",
                            {},
                            {"width": 40, "height": 40, "noclose": true},
                            [{btnId: "tipBtnSure", btnName: "确定", btnStyle: "bluebtn"}]);
                    return true;
                }
            });
        });
 
 
    </script>
</head>
 
<body class="personnel_allocation_body">
<form id="myform" action="${base}/business/pages/overageLoss/approveOverageLoss.html" method="post">
    <input type="hidden" id=orderId name="orderId" value="${RequestParameters.orderId}"/>
    <table class="pab_con" style="margin:0 auto;">
        <tr>
            <td style="background:#f2f2f2;"><label><em style="font-size:16px;color:#f00;margin-right:6px;">*</em>处理人</label></td>
            <td style="text-align:left;">
                <input type="button" onclick="xz('${projectId}')" value="选择处理人"/><br/>
                <span id="users" style="color:#333;">分派人员:<em></em></span>
                <input type="hidden" id="dealId" name="dealId" value=""/>
                <input type="hidden" id="dealName" name="dealName" value=""/>
            </td>
        </tr>
 
        <tr>
            <td class="greybg"><label style="background:none;">流转备注</label></td>
            <td style="padding:0;padding:10px 0;">
                <textarea class="general" style="width:95%;height:100px;border:0;" id="bz" name="bz"></textarea>
            </td>
        </tr>
    </table>
 
</form>
<script type="text/javascript">
    //选择处理人
    function xz(project_id) {
        var url = "${base}/business/pages/question/xzry.html?project_id=" + project_id + "&nodeArg=" + '${nodeArg}';
        window.top.openDialog("3", "人员分派",
                {},
                {"width": 60, "height": 80},
                [{btnId: "btnSure", btnName: "选择", btnStyle: "bluebtn"}],
                url);
    }
 
    function getDealer(dealer, showChecked, isAdmin) {
        var ary = dealer.split("-");
        $("#users>em").empty();
        $("#users>em").append("(" + ary[1] + ")");
        $("#dealId").val(ary[0]);
        $("#dealName").val(ary[1]);
        window.top.hideDialog("3");
    }
 
    function onDialogBtnClick(btnID, dialogID, config) {
        if (btnID == "btnSure") {
            var dealId = $("#dealId").val();
            var dealName = $("#dealName").val();
            var bz = $("#bz").val();
            if ($.util.isEmpty(dealId)) {
                popupTips("请选择处理人");
                return;
            }
            $("#myform").submit();
 
        }
    }
 
 
</script>
 
</body>
</html>