1001310065_edit.jsp 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
  2. <html>
  3. <head>
  4. <style>
  5. /*禁止页面滚动条 star*/
  6. body {
  7. overflow-y: hidden;
  8. }
  9. .layui-table-body {
  10. overflow-x: hidden;
  11. }
  12. /*禁止页面滚动条 end*/
  13. .el-avatar {
  14. vertical-align: middle;
  15. }
  16. .el-avatar>img {
  17. vertical-align: top;
  18. }
  19. .el-avatar--circle {
  20. border: 1px solid #b5b5b5;
  21. }
  22. .haveDone_Manage {
  23. height: calc(100% - 174px);
  24. overflow-y: auto;
  25. }
  26. .iconPathDisabled {
  27. position: absolute;
  28. bottom: -1px;
  29. right: 6px;
  30. line-height: normal;
  31. font-size: 18px;
  32. border-radius: 50%;
  33. background-color: #fff;
  34. }
  35. .ck-toolbar, .ck-editor__editable_inline {
  36. border: none !important;
  37. }
  38. </style>
  39. </head>
  40. <body>
  41. <div id="space-content">
  42. <div class="haveDone_Manage">
  43. <table lay-filter="appDataTable" lay-data="{id: 'auditIds'}" class="layui-table">
  44. <thead>
  45. <tr>
  46. <th lay-data="{field:'auditId', width: 80, type:'checkbox'}"></th>
  47. <th lay-data="{field:'0', width: 80}">头像</th>
  48. <th lay-data="{field:'1'}">办理人员</th>
  49. <th lay-data="{field:'2'}">节点</th>
  50. <th lay-data="{field:'3'}">接收时间</th>
  51. <th lay-data="{field:'4'}">状态</th>
  52. </tr>
  53. </thead>
  54. <tbody>
  55. <tr v-for="item in auditPersonData">
  56. <td>
  57. <input type="hidden" :value="item.auditId" />
  58. </td>
  59. <td>
  60. <div style="position: relative;">
  61. <el-avatar :size="36" :src="item.iconPath">
  62. {{item.personName}}
  63. </el-avatar>
  64. <i title="该用户未绑定微信,无法发送消息" class="iconPathDisabled spaceicon icon-null" v-if="!item.bindMsg"></i>
  65. </div>
  66. </td>
  67. <td>
  68. {{item.personName}} / {{item.postName}}
  69. </td>
  70. <td>
  71. {{item.nodeTitle}}
  72. </td>
  73. <td>
  74. {{item.time}}
  75. </td>
  76. <td>
  77. <span style="color: #f42331;" v-if="!item.checkTime">未查看</span>
  78. <span style="color: #999999;" v-if="item.checkTime">已查看</span>
  79. </td>
  80. </tr>
  81. </tbody>
  82. </table>
  83. </div>
  84. <el-form action="@service{name:`sys_have_done_urged_audit`}@" method="post" :model="obj" ref="obj" style="height: 174px;">
  85. <!-- 富文本框 -->
  86. <div class="process-editor" style="height: 174px;">
  87. <space-editor v-model="obj.content" type="flow" height="85px" placeholder="请输入催促内容" ref="editor"></space-editor>
  88. <div class="process-handle-brn">
  89. <el-button type="primary" icon="el-icon-s-promotion" size="small" @click="space.forms.submit();">催促
  90. </el-button>
  91. </div>
  92. </div>
  93. </el-form>
  94. </div>
  95. </body>
  96. <script type="text/javascript">
  97. var auditPersonList = '${auditPersonList}';
  98. space.vue = new Vue({
  99. el: space.appContent,
  100. data() {
  101. return {
  102. obj: {
  103. auditIds: undefined,
  104. cmsId: undefined,
  105. content: '',
  106. },
  107. auditPersonData: space.utils.isNull(auditPersonList) ? [] : JSON.parse(auditPersonList),
  108. winInterval: undefined
  109. };
  110. },
  111. mounted: function () {
  112. var _this = this;
  113. this.winInterval = setInterval(function() {
  114. if (!_this.$refs.editor.editor) {
  115. return;
  116. }
  117. window.clearInterval(_this.winInterval);
  118. space.plugins.ckEditor.CMS.init.applyCMS(_this.$refs.editor.editor);
  119. _this.obj.cmsId = _this.$refs.editor.editor.CMS.id;
  120. }, 100);
  121. }
  122. })
  123. space.forms.before = function() {
  124. space.vue.$data.obj.auditIds = space.plugins.layuiTable.checkbox.getSelectedStr('auditIds', 'auditId')
  125. if (space.vue.$data.obj.auditIds.length == 0) {
  126. space.layMsg.warning("未选择办理人");
  127. return false;
  128. }
  129. if (!space.vue.$data.obj.content) {
  130. space.layMsg.warning('请输入催促内容');
  131. return false;
  132. }
  133. space.plugins.ckEditor.CMS.submit(space.vue.$refs.editor.editor);
  134. return true;
  135. }
  136. </script>
  137. </html>