123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- <!DOCTYPE html>
- <html>
- <head>
- <title>角色管理管理</title>
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
- <meta charset="utf-8"/>
- <meta name="viewport"
- content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
- <link rel="stylesheet"
- href="/common-assets/plugins/font-awesome/css/font-awesome.min.css"/>
- <link rel="stylesheet" href="/common-assets/plugins/outdated/bootstrap/css/bootstrap.min.css"/>
- <link rel="stylesheet" href="/common-assets/css/outdated/style.css"/>
- <link rel="stylesheet"
- href="/common-assets/plugins/outdated/metisMenu/2.7/metisMenu.min.css"/>
- <link rel="stylesheet"
- href="/common-assets/plugins/outdated/bootstrap-toastr/2.0.1/toastr.min.css"/>
- <link rel="stylesheet" href="/common-assets/plugins/outdated/icheck/custom.css"/>
- <script src='/common-assets/js/jquery-2.1.1.js'></script>
- <script src="/common-assets/js/outdated/bootstrap.min.js"></script>
- <script src="/common-assets/js/outdated/jquery.form-3.51.0.min.js"></script>
- <script src="/common-assets/plugins/layer/3.0.3/layer.js"></script>
- <script src="/common-assets/plugins/outdated/pace/pace.min.js"></script>
- <script src="/common-assets/plugins/outdated/slimscroll/jquery.slimscroll.min.js"></script>
- <script src="/common-assets/plugins/outdated/bootstrap-toastr/2.0.1/toastr.min.js"></script>
- <script src="/common-assets/plugins/outdated/jquery-validation/jquery.validate-1.11.1.min.js"></script>
- <script src="/common-assets/plugins/outdated/jquery-validation/localization/messages_zh.js"></script>
- <script src="/common-assets/plugins/outdated/icheck/icheck.min.js"></script>
- <script src="/common-assets/plugins/outdated/metisMenu/2.7/metisMenu.js"></script>
- <script src="/common-assets/plugins/dotize/dotize.js"></script>
- <script src="/common-assets/js/promise-polyfill.min.js"></script>
- <!-- 开发阶段使用vue.js以获取编译信息 -->
- <script src="/common-assets/plugins/vue/2.5.17/vue.min.js"></script>
- <script src="/common-assets/plugins/axios/0.18.0/axios.min.js"></script>
- <!-- 引入组件库 -->
- <script src="/common-assets/plugins/element-ui/lib/index.js"></script>
- <link rel="stylesheet"
- href="/common-assets/plugins/jquery-ztree/3.5/css/metroStyle/metroStyle.css">
- <script
- src="/common-assets/plugins/jquery-ztree/3.5/js/jquery.ztree.all.min.js"></script>
- <style>
- .input-group-btn {
- vertical-align: -webkit-baseline-middle;
- }
- </style>
- <script>
- var editType = "${editType}";
- </script>
- </head>
- <body class="pace-done white-bg">
- <div class="container-fluid mt15">
- <form id="roleForm" modelAttribute="role"
- :action="WEB_ROOT + '/sys/role/save'" method="post" v-cloak
- class="form-horizontal">
- <input type="hidden" name="id" id="id" v-model="entity.id"/>
- <table class="table table-bordered">
- <tbody>
- <tr>
- <td class="col-sm-2 active"><label
- class="control-label pull-right"><font color="red">*</font>应用名称:</label></td>
- <td class="col-sm-4">
- <select id="appId" name="appId" v-model="entity.appId"
- class="form-control required"
- :disabled="editType !== 'add'">
- <option value=""> -- 选择应用名称 -- </option>
- </select> <!--<input type="hidden" name="appId" id="appId" v-model="entity.appId"/>-->
- <td class="col-sm-2 active"><label
- class="control-label pull-right"><font color="red">*</font>角色名称:</label></td>
- <td class="col-sm-4"><input name="roleName" id="roleName" v-model="entity.roleName"
- maxlength="60" class="form-control required "
- :disabled="editType === 'view'" /></td>
- </tr>
- <tr>
- <td class="col-sm-2 active"><label
- class="control-label pull-right"><font color="red">*</font>角色职能类型:</label></td>
- <!--<td class="col-sm-4"><form:select path="roleType"
- disabled="${editType eq 'view'}" class="form-control required ">
- <form:option value=""> -- 选择角色类型 -- </form:option>
- <form:options items="${dw:getParamList('role_type')}"
- itemLabel="paramName" itemValue="paramCode" htmlEscape="false" />
- </form:select></td> -->
- <td class="col-sm-4"><select id="roleCode" name="roleCode" v-model="entity.roleCode"
- :disabled="editType !== 'add'" class="form-control required ">
- <option value=""> -- 选择角色职能类型 -- </option>
- <!--<form:options items="${dw:getParamList('role_code')}"
- itemLabel="paramName" itemValue="paramCode" htmlEscape="false" />-->
- <option v-for="param in roleCode" :key="param.id" :value="param.paramCode">
- {{param.paramName}}
- </option>
- </select></td>
- <td class="col-sm-2 active"><label
- class="control-label pull-right">角色描述:</label></td>
- <td class="col-sm-4"><input id="roleDesc" name="roleDesc" v-model="entity.roleDesc"
- maxlength="255" class="form-control "
- :disabled="editType === 'view'"/></td>
- </tr>
- <tr>
- <td class="col-sm-2 active"><label
- class="control-label pull-right">单位:</label></td>
- <td class="col-sm-4">
- <div class="input-group">
- <input type="hidden" name="orgId" id="orgId" v-model="entity.orgId"/>
- <input name="orgName" id="orgName" v-model="entity.orgName" maxlength="32"
- disabled="true" class="form-control" />
- <span class="input-group-btn">
- <button type="button" id="orgSelectBtn"
- :disabled="editType !== 'add'"
- class="btn btn-primary treebt" data-id-Key="orgId"
- data-name-Key="orgName"
- :data-url="orgTreeUrl" data-title="公司">
- <i class="fa fa-search"></i>
- </button>
- </span>
- </div>
- </td>
- <td class="col-sm-2 active"></td>
- <td class="col-sm-4"></td>
- </tr>
- </tbody>
- </table>
- </form>
- </div>
- </body>
- <script src="/common-assets/js/project.config.js"></script>
- <script src="/common-assets/js/outdated/common.js"></script>
- <!-- 本页面对应JS-->
- <script src="../static/js/roleForm.js"></script>
- </html>
|