| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
- <html>
- <head>
- <style>
- /*禁止页面滚动条 star*/
- body {
- overflow-y: hidden;
- }
- .layui-table-body {
- overflow-x: hidden;
- }
- /*禁止页面滚动条 end*/
- .el-avatar {
- vertical-align: middle;
- }
- .el-avatar>img {
- vertical-align: top;
- }
- .el-avatar--circle {
- border: 1px solid #b5b5b5;
- }
- .haveDone_Manage {
- height: calc(100% - 174px);
- overflow-y: auto;
- }
- .iconPathDisabled {
- position: absolute;
- bottom: -1px;
- right: 6px;
- line-height: normal;
- font-size: 18px;
- border-radius: 50%;
- background-color: #fff;
- }
- .ck-toolbar, .ck-editor__editable_inline {
- border: none !important;
- }
- </style>
- </head>
- <body>
- <div id="space-content">
-
- <div class="haveDone_Manage">
- <table lay-filter="appDataTable" lay-data="{id: 'auditIds'}" class="layui-table">
- <thead>
- <tr>
- <th lay-data="{field:'auditId', width: 80, type:'checkbox'}"></th>
- <th lay-data="{field:'0', width: 80}">头像</th>
- <th lay-data="{field:'1'}">办理人员</th>
- <th lay-data="{field:'2'}">节点</th>
- <th lay-data="{field:'3'}">接收时间</th>
- <th lay-data="{field:'4'}">状态</th>
- </tr>
- </thead>
- <tbody>
- <tr v-for="item in auditPersonData">
- <td>
- <input type="hidden" :value="item.auditId" />
- </td>
- <td>
- <div style="position: relative;">
- <el-avatar :size="36" :src="item.iconPath">
- {{item.personName}}
- </el-avatar>
- <i title="该用户未绑定微信,无法发送消息" class="iconPathDisabled spaceicon icon-null" v-if="!item.bindMsg"></i>
- </div>
- </td>
- <td>
- {{item.personName}} / {{item.postName}}
- </td>
- <td>
- {{item.nodeTitle}}
- </td>
- <td>
- {{item.time}}
- </td>
- <td>
- <span style="color: #f42331;" v-if="!item.checkTime">未查看</span>
- <span style="color: #999999;" v-if="item.checkTime">已查看</span>
- </td>
- </tr>
- </tbody>
- </table>
-
- </div>
-
- <el-form action="@service{name:`sys_have_done_urged_audit`}@" method="post" :model="obj" ref="obj" style="height: 174px;">
- <!-- 富文本框 -->
- <div class="process-editor" style="height: 174px;">
- <space-editor v-model="obj.content" type="flow" height="85px" placeholder="请输入催促内容" ref="editor"></space-editor>
- <div class="process-handle-brn">
- <el-button type="primary" icon="el-icon-s-promotion" size="small" @click="space.forms.submit();">催促
- </el-button>
- </div>
- </div>
- </el-form>
-
- </div>
- </body>
- <script type="text/javascript">
-
- var auditPersonList = '${auditPersonList}';
- space.vue = new Vue({
- el: space.appContent,
- data() {
- return {
- obj: {
- auditIds: undefined,
- cmsId: undefined,
- content: '',
- },
- auditPersonData: space.utils.isNull(auditPersonList) ? [] : JSON.parse(auditPersonList),
- winInterval: undefined
- };
- },
- mounted: function () {
- var _this = this;
- this.winInterval = setInterval(function() {
-
- if (!_this.$refs.editor.editor) {
- return;
- }
-
- window.clearInterval(_this.winInterval);
- space.plugins.ckEditor.CMS.init.applyCMS(_this.$refs.editor.editor);
- _this.obj.cmsId = _this.$refs.editor.editor.CMS.id;
- }, 100);
- }
- })
- space.forms.before = function() {
-
- space.vue.$data.obj.auditIds = space.plugins.layuiTable.checkbox.getSelectedStr('auditIds', 'auditId')
- if (space.vue.$data.obj.auditIds.length == 0) {
- space.layMsg.warning("未选择办理人");
- return false;
- }
-
- if (!space.vue.$data.obj.content) {
- space.layMsg.warning('请输入催促内容');
- return false;
- }
- space.plugins.ckEditor.CMS.submit(space.vue.$refs.editor.editor);
- return true;
- }
- </script>
- </html>
|