1001010039_edit.jsp 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <html>
  2. <head>
  3. </head>
  4. <body>
  5. <div id="space-content">
  6. <el-form action="@service{name:'authorization_post_list', page:'post_list_authorization'}@" ref="obj" method="post" :inline="true" :model="obj">
  7. <div class="space-content-title">
  8. <span class="content-title-name">
  9. 岗位列表
  10. </span>
  11. <div class="content-title-btn">
  12. <div class="content-title-search">
  13. <el-input placeholder="搜索岗位名称" v-model="obj.name" size="small" clearable>
  14. <i slot="suffix" class="el-input__icon el-icon-search space-search-icon" onclick="space.forms.submit();" ></i>
  15. </el-input>
  16. </div>
  17. <div class="content-title-btns">
  18. <el-button type="primary" plain size="small" onclick='@service{ page:`post_common_authorization`, params:`{ "departmentid": "${departmentid}" }`, show:`true` }@' >公共权限</el-button>
  19. <el-button type="primary" plain size="small" onclick='@service{ page:`post_batch_authorization`, params:`{ "departmentid": "${departmentid}" }`, show:`true` }@' >批量授权</el-button>
  20. </div>
  21. </div>
  22. </div>
  23. </el-form>
  24. <table lay-filter="appDataTable" class="layui-table">
  25. <thead>
  26. <tr>
  27. <th lay-data="{field:'1'}">名称</th>
  28. <th lay-data="{field:'2', width: '60%'}">岗位职责</th>
  29. <th lay-data="{field:'3'}">单位 / 部门</th>
  30. <th lay-data="{field:'4', width: 80}">操作</th>
  31. </tr>
  32. </thead>
  33. <tbody>
  34. <c:forEach items="${postList }" var="item">
  35. <tr onclick='@service{ name:`authorization_post_info`, page:`post_info_authorization`, params:`{postid: "${item.postid}"}`, show:`true` }@'>
  36. <td>${item.name}</td>
  37. <td>
  38. <app:getHtmlContent filePath="${item.describe}" delHtmlTag="true" />
  39. </td>
  40. <td>
  41. ${item.unit_name} / ${item.d_name}
  42. </td>
  43. <td>
  44. <div class="laytable-btns">
  45. <el-button-group>
  46. <el-button size="small" type="primary" onclick='@service{ page:`post_authorization`, params:`{postid: "${item.postid}", departmentid: "${departmentid}"}`, show:`true`}@' >授权</el-button>
  47. </el-button-group>
  48. </div>
  49. </td>
  50. </tr>
  51. </c:forEach>
  52. </tbody>
  53. </table>
  54. <app:appPage />
  55. </div>
  56. </body>
  57. <script type="text/javascript">
  58. space.vue = new Vue({
  59. el: space.appContent,
  60. data() {
  61. return {
  62. obj: {
  63. name: '${name}'
  64. }
  65. };
  66. }
  67. })
  68. </script>
  69. </html>