| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- <html>
- <head>
- </head>
- <body>
- <div id="space-content">
- <el-form action="@service{name:'authorization_post_list', page:'post_list_authorization'}@" ref="obj" method="post" :inline="true" :model="obj">
- <div class="space-content-title">
- <span class="content-title-name">
- 岗位列表
- </span>
- <div class="content-title-btn">
- <div class="content-title-search">
- <el-input placeholder="搜索岗位名称" v-model="obj.name" size="small" clearable>
- <i slot="suffix" class="el-input__icon el-icon-search space-search-icon" onclick="space.forms.submit();" ></i>
- </el-input>
- </div>
- <div class="content-title-btns">
- <el-button type="primary" plain size="small" onclick='@service{ page:`post_common_authorization`, params:`{ "departmentid": "${departmentid}" }`, show:`true` }@' >公共权限</el-button>
- <el-button type="primary" plain size="small" onclick='@service{ page:`post_batch_authorization`, params:`{ "departmentid": "${departmentid}" }`, show:`true` }@' >批量授权</el-button>
- </div>
- </div>
- </div>
- </el-form>
- <table lay-filter="appDataTable" class="layui-table">
-
- <thead>
- <tr>
- <th lay-data="{field:'1'}">名称</th>
- <th lay-data="{field:'2', width: '60%'}">岗位职责</th>
- <th lay-data="{field:'3'}">单位 / 部门</th>
- <th lay-data="{field:'4', width: 80}">操作</th>
- </tr>
- </thead>
- <tbody>
- <c:forEach items="${postList }" var="item">
- <tr onclick='@service{ name:`authorization_post_info`, page:`post_info_authorization`, params:`{postid: "${item.postid}"}`, show:`true` }@'>
- <td>${item.name}</td>
- <td>
- <app:getHtmlContent filePath="${item.describe}" delHtmlTag="true" />
- </td>
- <td>
- ${item.unit_name} / ${item.d_name}
- </td>
- <td>
- <div class="laytable-btns">
- <el-button-group>
- <el-button size="small" type="primary" onclick='@service{ page:`post_authorization`, params:`{postid: "${item.postid}", departmentid: "${departmentid}"}`, show:`true`}@' >授权</el-button>
- </el-button-group>
- </div>
- </td>
- </tr>
- </c:forEach>
- </tbody>
- </table>
- <app:appPage />
- </div>
- </body>
- <script type="text/javascript">
- space.vue = new Vue({
- el: space.appContent,
- data() {
- return {
- obj: {
- name: '${name}'
- }
- };
- }
- })
- </script>
- </html>
|