<link href="<?php echo $this->getAssetUrl(); ?>/css/approval.css" type="text/css" rel="stylesheet"/>
<div class="ct sp-ct">
    <div class="clearfix">
        <h1 class="mt">添加审批流程</h1>
    </div>
    <div>
        <form id="process_setting_form" action="<?php echo $this->createUrl('approval/add'); ?>" method="post"
              class="form-horizontal process-setting-form">
            <div class="ctb ps-type-title">
                <h2 class="st">审批流程</h2>
            </div>
            <div class="control-group">
                <label class="control-label">审批流程名称</label>
                <div class="controls">
                    <input name="name" type="text" id="approval_name">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">审核等级</label>
                <div class="controls">
                    <select id="approve_level_select" name="level">
                        <option value="1">一级审核</option>
                        <option value="2">二级审核</option>
                        <option value="3">三级审核</option>
                        <option value="4">四级审核</option>
                        <option value="5">五级审核</option>
                    </select>
                </div>
            </div>
            <div class="pf-select-area" id="pf_select_area">
                <div class="control-group">
                    <label class="control-label">一级审核人员</label>
                    <div class="controls">
                        <input type="text" class="approval-select" name="level1" id="level_one_auditor" value="">
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label">二级审核人员</label>
                    <div class="controls">
                        <input type="text" class="approval-select" name="level2" id="level_two_auditor" value="">
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label">三级审核人员</label>
                    <div class="controls">
                        <input type="text" class="approval-select" name="level3" id="level_three_auditor" value="">
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label">四级审核人员</label>
                    <div class="controls">
                        <input type="text" class="approval-select" name="level4" id="level_four_auditor" value="">
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label">五级审核人员</label>
                    <div class="controls">
                        <input type="text" class="approval-select" name="level5" id="level_five_auditor" value="">
                    </div>
                </div>
            </div>
            <div class="control-group mbl">
                <label class="control-label">免审核人员</label>
                <div class="controls">
                    <input type="text" name="free" id="exempt_auditor">
                </div>
            </div>
            <div class="control-group">
                <lebel class="control-label"></lebel>
                <div class="controls">
                    <button type="submit" id="process_submit" class="btn btn-large btn-submit btn-primary">提交</button>
                    <input type="hidden" name="approvalSubmit" value="1">
                </div>
            </div>
        </form>
    </div>
</div>
<script src="<?php echo $this->getAssetUrl(); ?>/js/db_approval.js"></script>