czt
2026-02-13 3f4c60630a161bcc0e1abf2a298522d19a56c938
fzzy-igdss-web/src/main/resources/templates/system/user/edit.html
@@ -77,13 +77,14 @@
                </div>
            </div>
            <div class="row">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">岗位:</label>
                        <label class="col-sm-4 control-label">角色:</label>
                        <div class="col-sm-8">
                            <select id="post" class="form-control select2-multiple" multiple>
                        <option th:each="post:${posts}" th:value="${post.postId}" th:text="${post.postName}" th:selected="${post.flag}" th:disabled="${post.status == '1'}"></option>
                     </select>
                            <label th:each="role:${roles}" class="check-box">
                                <input name="role" type="checkbox" th:value="${role.roleId}" th:text="${role.roleName}" th:checked="${role.flag}" th:disabled="${role.status == '1'}">
                            </label>
                        </div>
                    </div>
                </div>
@@ -98,14 +99,14 @@
                    </div>
                </div>
            </div>
            <div class="row">
               <div class="col-sm-6">
            <div class="row" style="display: none">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">角色:</label>
                        <label class="col-sm-4 control-label">岗位:</label>
                        <div class="col-sm-8">
                            <label th:each="role:${roles}" class="check-box">
                        <input name="role" type="checkbox" th:value="${role.roleId}" th:text="${role.roleName}" th:checked="${role.flag}" th:disabled="${role.status == '1'}">
                     </label>
                            <select id="post" class="form-control select2-multiple" multiple>
                                <option th:each="post:${posts}" th:value="${post.postId}" th:text="${post.postName}" th:selected="${post.flag}" th:disabled="${post.status == '1'}"></option>
                            </select>
                        </div>
                    </div>
                </div>
@@ -120,6 +121,37 @@
                </div>
            </div>
            <!--新增字段 -->
            <div class="row">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">用户类型:</label>
                        <div class="col-sm-8">
                            <select name="userType" class="form-control m-b" th:with="type=${@dict.getType('sys_user_type')}">
                                <option th:each="dict:${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{userType}"></option>
                            </select>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">所属银行:</label>
                        <div class="col-sm-8">
                            <select name="userData" class="form-control m-b">
                                <option value="">请选择所属银行</option>
                                <option th:each="bank:${banks}" th:value="${bank.id}" th:text="${bank.name}"  th:field="*{userData}"></option>
                            </select>
                        </div>
                    </div>
                </div>
            </div>
            <!--新增字段结束 -->
            <h4 class="form-header h4">其他信息</h4>
            <div class="row">
                <div class="col-sm-12">