|
@@ -1,13 +1,25 @@
|
|
|
<template>
|
|
|
<div class="app-container">
|
|
|
- <div class="jeuhg">
|
|
|
+ <div class="jeuhgs">
|
|
|
<h3 style="text-align: center; font-size: 30px; color: red; margin-bottom: 20px;">潜山市教育局{{titlet}}稿纸</h3>
|
|
|
- <el-form :model="querjtgoe" ref="querjtgoe" :rules="rules" v-show="showSearch" :inline="true">
|
|
|
+ <el-row :gutter="10" class="mb8">
|
|
|
+ <el-col :span="1.5">
|
|
|
+ <el-button
|
|
|
+ type="primary"
|
|
|
+ plain
|
|
|
+ size="mini"
|
|
|
+ @click="rogress"
|
|
|
+ v-if="objeuisd !== -1"
|
|
|
+ style="padding: 9px 15px; font-size: 12px; border-radius: 3px;"
|
|
|
+ >查看进度</el-button>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-form :model="querjtgoe" ref="querjtgoe" :rules="rules" v-show="showSearch" :inline="true" label-width="90px">
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
<el-col :span="12" style="border: 1px solid red; border-bottom: 0; padding: 15px 0 15px 10px;" >
|
|
|
<el-form-item :label="titlet + '字号:'" prop="message_code">
|
|
|
<el-input placeholder="请输入内容" v-model="querjtgoe.message_code">
|
|
|
- <el-button slot="append" @click="ziao">历史字号</el-button>
|
|
|
+ <el-button style="padding: 9px 15px; font-size: 12px; border-radius: 3px;" slot="append" @click="ziao">历史字号</el-button>
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
@@ -18,27 +30,46 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="24" style="border: 1px solid red; border-bottom: 0; padding: 15px 0 15px 10px;">
|
|
|
- <el-form-item class="renhdy" label="正文上传:" prop="roleName">
|
|
|
+ <el-form-item label="文件标题:" prop="message_title">
|
|
|
+ <el-input
|
|
|
+ v-model="querjtgoe.message_title"
|
|
|
+ placeholder="请输入文件标题"
|
|
|
+ clearable
|
|
|
+ size="small"
|
|
|
+ style="width: 100%"
|
|
|
+ @keyup.enter.native="handleQuery"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" style="border: 1px solid red; border-bottom: 0; padding: 15px 0 5px 10px;">
|
|
|
+ <el-form-item class="renhdys" label="正文上传:" prop="roleName">
|
|
|
<el-upload :disabled="false" class="upload-demo" :headers="{Authorization: 'Bearer ' + getToken()}"
|
|
|
:action="process + '/boman-file/upload'" :on-change="handleChangert"
|
|
|
- :on-success="upImageFn" :on-error="err" :on-remove="reseImage" :file-list="config">
|
|
|
+ :on-success="upImageFn" :on-error="err" :on-remove="reseImage" :file-list="config" :on-preview="handlePictureCardPreview" :before-upload="befors">
|
|
|
<el-button size="small" type="primary">点击上传</el-button>
|
|
|
+
|
|
|
</el-upload>
|
|
|
+<div class="el-upload__tip" style="margin-left: 5px; color: red; margin-top: 0;">
|
|
|
+ 只能上传/pdf文件,且不超过100MB
|
|
|
+ </div>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="24" style="border: 1px solid red; border-bottom: 0; padding: 15px 0 15px 10px;">
|
|
|
- <el-form-item class="renhdy" label="附件上传:" prop="roleName">
|
|
|
+ <el-col :span="24" style="border: 1px solid red; border-bottom: 0; padding: 15px 0 5px 10px;">
|
|
|
+ <el-form-item class="renhdys" style="padding-bottom: 0;" label="附件上传:" prop="roleName">
|
|
|
<el-upload :disabled="false" class="upload-demo" :headers="{Authorization: 'Bearer ' + getToken()}"
|
|
|
:action="process + '/boman-file/upload'" :on-change="handleChangert"
|
|
|
:on-preview="handlePictureCardPreview" :on-success="upImageFntwo" :on-error="err" :on-remove="reseImagetwo" :file-list="configtwo">
|
|
|
<el-button size="small" type="primary">点击上传</el-button>
|
|
|
</el-upload>
|
|
|
+ <div class="el-upload__tip" style="margin-left: 5px; color: red; margin-top: 0; ">
|
|
|
+ 只能上传jpg/png/txt/word/pdf/exe/RAR/ZIP文件,且不超过100MB
|
|
|
+ </div>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="24" style="border: 1px solid red; border-bottom: 0; padding: 15px 0 15px 10px;">
|
|
|
- <el-form-item class="renhdy" style="width: 100%;" label="分发人员:" prop="roleName">
|
|
|
+ <el-form-item class="renhdys" style="width: 100%;" label="分发人员:" prop="roleName">
|
|
|
<el-input v-model="messageReun" :disabled="true" >
|
|
|
- <el-button slot="prepend" @click="changeren">选择人员</el-button>
|
|
|
+ <el-button style="padding: 9px 15px; font-size: 12px; border-radius: 3px;" size="small" type="primary" slot="prepend" @click="changeren">选择人员</el-button>
|
|
|
</el-input>
|
|
|
<!-- <p style="display: flex; justify-content: space-between;">
|
|
|
<span style="width: 80%;">23</span>
|
|
@@ -47,7 +78,7 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="24" style="border: 1px solid red; border-bottom: 0; padding: 15px 0 15px 10px;">
|
|
|
- <el-form-item class="renhdy" label="分发单位:" prop="ompany">
|
|
|
+ <el-form-item class="renhdys renhdytwo" style="display: flex; align-content: center;" label="分发单位:" prop="ompany">
|
|
|
<!-- <el-input
|
|
|
type="textarea"
|
|
|
autosize
|
|
@@ -62,26 +93,15 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="24" style="border: 1px solid red; border-bottom: 0; padding: 15px 0 15px 10px;">
|
|
|
- <el-form-item class="renhdy" label="角色名称:" prop="name">
|
|
|
+ <el-form-item class="renhdys renhdytwo" style="display: flex; align-content: center;" label="人员姓名:" prop="name">
|
|
|
<ul class="infinite-listopma " v-infinite-scroll="load" style="overflow:auto">
|
|
|
<li v-for="item in mpany.name" :key = 'item'>{{item}}</li>
|
|
|
</ul>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="24" style="border: 1px solid red; border-bottom: 0; padding: 15px 0 15px 10px;">
|
|
|
- <el-form-item label="文件标题:" prop="message_title">
|
|
|
- <el-input
|
|
|
- v-model="querjtgoe.message_title"
|
|
|
- placeholder="请输入文件标题"
|
|
|
- clearable
|
|
|
- size="small"
|
|
|
- style="width: 100%"
|
|
|
- @keyup.enter.native="handleQuery"
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
+
|
|
|
<el-col :span="24" style="border: 1px solid red; padding: 20px 0 20px 10px;">
|
|
|
- <el-form-item class="renhdy" label="备注:" prop="message_remark">
|
|
|
+ <el-form-item class="renhdys" label="备注:" prop="message_remark">
|
|
|
<el-input
|
|
|
type="textarea"
|
|
|
autosize
|
|
@@ -100,7 +120,7 @@
|
|
|
<!-- 添加或修改角色配置对话框 -->
|
|
|
<el-dialog :close-on-click-modal="false" title="选择字号" :visible.sync="shouew" width="980px" append-to-body>
|
|
|
<el-table @cell-click= 'cellClick' v-loading="loading" :data="postList" @selection-change="handleSelectionChange">
|
|
|
- <el-table-column label="日志编号" align="center" prop="message_code" />
|
|
|
+ <el-table-column label="字号" align="center" prop="message_code" />
|
|
|
</el-table>
|
|
|
|
|
|
<pagination
|
|
@@ -163,7 +183,7 @@
|
|
|
:key="index"
|
|
|
@click="reyantt(item)"
|
|
|
>
|
|
|
- {{ item.userName }}
|
|
|
+ {{ item.nickName }}
|
|
|
</li>
|
|
|
</ul>
|
|
|
</el-card>
|
|
@@ -174,7 +194,7 @@
|
|
|
</div>
|
|
|
<ul class="infinite-list infinite-listty" v-infinite-scroll="load" style="overflow:auto">
|
|
|
<li v-for="item in lisehtwo" @click="lidele(item)" :key="item.id" class="infinite-list-item">
|
|
|
- {{ item.userName }}
|
|
|
+ {{ item.nickName }}
|
|
|
<img src="../../../assets/images/dele.png" alt="" class="index_navTimeimg" />
|
|
|
</li>
|
|
|
</ul>
|
|
@@ -182,11 +202,64 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
+ <!-- 图片预览 -->
|
|
|
+ <el-dialog :close-on-click-modal="false" title="预览" :visible.sync="imashow" width="1200px" append-to-body>
|
|
|
+ <div class="demo-image__preview">
|
|
|
+ <img v-if="!shouewhu" :src="dialogImageUrl" alt="" style="width: 100%;">
|
|
|
+ <iframe v-if="shouewhu" :src="dialogImageUrl" frameborder="0" style="width: 100%; height: 100vh;"></iframe>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
+ <!-- 流程进度 -->
|
|
|
+ <el-dialog :close-on-click-modal="false" title="流程进度" :visible.sync="modalShowdu" width="1180px" append-to-body>
|
|
|
+ <div style="display: flex;">
|
|
|
+ <div style="width: 60%;">
|
|
|
+ <el-row :gutter="10" class="mb8">
|
|
|
+ <el-col :span="1.5">
|
|
|
+ <span style="margin-right: 10px;">未读收文</span>
|
|
|
+ <el-button
|
|
|
+ type="primary"
|
|
|
+ plain
|
|
|
+ size="mini"
|
|
|
+ @click="eceive"
|
|
|
+ >一键催收文</el-button>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-table v-loading="loading" :data="listnemd" @selection-change="handleSelectionChange" stripe>
|
|
|
+ <el-table-column type="selection" width="55" align="center" />
|
|
|
+ <el-table-column label="姓名" align="center" prop="receive_user_name" />
|
|
|
+ <el-table-column label="部门" align="center" prop="receive_dept_name" />
|
|
|
+ <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ @click="eceive(scope.row,2)"
|
|
|
+ >催收文</el-button>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ </div>
|
|
|
+ <div style="width: 100%; margin-left: 20px;" >
|
|
|
+ <el-row :gutter="10" class="mb8">
|
|
|
+ <el-col style="margin-bottom: 8px;" :span="1.5">
|
|
|
+ <span >已读收文</span>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-table :border="false" v-loading="loading" :data="listnemrt" @selection-change="handleSelectionChange">
|
|
|
+ <el-table-column label="姓名" align="center" prop="receive_user_name" />
|
|
|
+ <el-table-column label="部门" align="center" prop="receive_dept_name" />
|
|
|
+ <el-table-column width="180px" label="收文时间" align="center" prop="send_message_time" />
|
|
|
+ </el-table>
|
|
|
+ </div>
|
|
|
+ <Flowshoe :instanceId="instanceId"></Flowshoe>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { listRoles,listIndex, delRole, addRole,addbjectSave, updateRole, exportRole, dataScope, changeRoleStatus, buent,issdanelist,issdaneid } from "@/api/system/isses";
|
|
|
+ import Flowshoe from '@/components/flowshoe'
|
|
|
+import { listRoles,listIndex, delRole, addRole,addbjectSave, updateRole, exportRole, dataScope, changeRoleStatus, buent,issdanelist,issdaneid,weiduhegw,addbjectSawen } from "@/api/system/isses";
|
|
|
import {
|
|
|
getToken
|
|
|
} from "@/utils/auth";
|
|
@@ -200,7 +273,7 @@ import {
|
|
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
|
|
export default {
|
|
|
name: "Role",
|
|
|
- components: { Treeselect },
|
|
|
+ components: { Treeselect,Flowshoe },
|
|
|
data() {
|
|
|
return {
|
|
|
// 遮罩层
|
|
@@ -233,6 +306,7 @@ export default {
|
|
|
deptNodeAll: false,
|
|
|
// 日期范围
|
|
|
dateRange: [],
|
|
|
+ instanceId: 0,
|
|
|
// 状态数据字典
|
|
|
statusOptions: [],
|
|
|
// 数据范围选项
|
|
@@ -357,9 +431,55 @@ export default {
|
|
|
},
|
|
|
taegshouw:false,
|
|
|
jeuiygqa:'',
|
|
|
- soufa:false
|
|
|
-
|
|
|
-
|
|
|
+ soufa:false,
|
|
|
+ url:'',
|
|
|
+ srcList:[],
|
|
|
+ imashow:false,
|
|
|
+ shouewhu:false,
|
|
|
+ modalShowdu:false,
|
|
|
+ listnemd:[],
|
|
|
+ listnemrt:[],
|
|
|
+ nread:{
|
|
|
+ "table": "boman_message_receive",
|
|
|
+ "orderBy": "create_time desc",
|
|
|
+ pageNo:1,
|
|
|
+ pageSize:10,
|
|
|
+ fixedData:{
|
|
|
+ condition:{
|
|
|
+ message_id:0,
|
|
|
+ status:'N',
|
|
|
+ visible:'Y',
|
|
|
+ send_user_id:0,
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ nreadtwo:{
|
|
|
+ "table": "boman_message_receive",
|
|
|
+ "orderBy": "create_time desc",
|
|
|
+ pageNo:1,
|
|
|
+ pageSize:10,
|
|
|
+ fixedData:{
|
|
|
+ condition:{
|
|
|
+ message_id:0,
|
|
|
+ status:'Y',
|
|
|
+ visible:'Y',
|
|
|
+ send_user_id:0,
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ eceivelist:{
|
|
|
+ tableName: "urge_read_message",
|
|
|
+ objId:-1,
|
|
|
+ dataList:[{
|
|
|
+ message_id:0,
|
|
|
+ message_title:'',
|
|
|
+ send_user_name:'',
|
|
|
+ message_time:'',
|
|
|
+ recieve_user_id:'',
|
|
|
+ recieve_user_name:''
|
|
|
+ }]
|
|
|
+ },
|
|
|
+ jeogq:{}
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -368,9 +488,11 @@ export default {
|
|
|
this.tabled = this.$route.query.tables;
|
|
|
this.objeuisd = this.$route.query.id - 0;
|
|
|
this.forew.fixedData.id = this.$route.query.id - 0;
|
|
|
+ this.instanceId = this.$route.query.id- 0;
|
|
|
this.faerform.objId = this.$route.query.id - 0;
|
|
|
this.faerform.table = this.$route.query.tables;
|
|
|
-
|
|
|
+ this.nread.fixedData.condition.message_id = this.$route.query.id - 0;
|
|
|
+ this.nreadtwo.fixedData.condition.message_id = this.$route.query.id - 0;
|
|
|
this.frowtse.businessTypeName = this.$route.query.tables;
|
|
|
this.frowtse.dbname = this.$route.query.tables;
|
|
|
this.querjtgoe.message_situation = this.$route.query.tabname - 0;
|
|
@@ -389,7 +511,7 @@ export default {
|
|
|
}
|
|
|
this.getUser()
|
|
|
this.gerdw()
|
|
|
- this.getList();
|
|
|
+ // this.getList();
|
|
|
this.getTreeselect()
|
|
|
this.getDicts("sys_normal_disable").then(response => {
|
|
|
this.statusOptions = response.data;
|
|
@@ -426,6 +548,9 @@ export default {
|
|
|
this.taegshouw = true
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
);
|
|
|
},
|
|
@@ -442,6 +567,7 @@ export default {
|
|
|
this.lisehtwo.filter(route=>{
|
|
|
jueg.push(route.receive_dept_name)
|
|
|
nese.push(route.receive_user_name)
|
|
|
+ route.nickName = route.receive_user_name
|
|
|
})
|
|
|
this.mpany.ompany = jueg
|
|
|
this.mpany.name = nese
|
|
@@ -517,6 +643,8 @@ export default {
|
|
|
// 多选框选中数据
|
|
|
handleSelectionChange(selection) {
|
|
|
this.ids = selection.map(item => item.id)
|
|
|
+ this.idee = selection
|
|
|
+ console.log(this.idee)
|
|
|
this.single = selection.length!=1
|
|
|
this.multiple = !selection.length
|
|
|
},
|
|
@@ -550,6 +678,7 @@ export default {
|
|
|
this.faerform.children[i].table = 'boman_message_receive'
|
|
|
if(this.objeuisd == -1){
|
|
|
this.faerform.children[i].objId = this.objeuisd
|
|
|
+
|
|
|
}else{
|
|
|
this.faerform.children[i].objId = this.lisehtwo[i].id
|
|
|
}
|
|
@@ -558,18 +687,23 @@ export default {
|
|
|
this.faerform.children[i].fixedData.message_id = 'fk.boman_message'
|
|
|
this.faerform.children[i].fixedData.send_message_time = tmie
|
|
|
if(this.objeuisd == -1){
|
|
|
+
|
|
|
this.faerform.children[i].fixedData.receive_user_id = this.lisehtwo[i].id
|
|
|
+
|
|
|
+
|
|
|
}else{
|
|
|
this.faerform.children[i].fixedData.receive_user_id = this.lisehtwo[i].receive_user_id
|
|
|
}
|
|
|
-
|
|
|
this.faerform.children[i].fixedData.receive_user_name = this.lisehtwo[i].userName
|
|
|
+ this.faerform.children[i].fixedData.send_user_name = this.jeogq.userName
|
|
|
+ this.faerform.children[i].fixedData.send_user_id = this.jeogq.id
|
|
|
+ this.faerform.children[i].fixedData.from_dept_name = this.jeogq.deptName
|
|
|
+ this.faerform.children[i].fixedData.message_title = this.querjtgoe.message_title
|
|
|
if(this.lisehtwo[i].dept !== undefined && this.lisehtwo[i].dept !==null){
|
|
|
this.faerform.children[i].fixedData.receive_dept_name = this.lisehtwo[i].dept.deptName
|
|
|
}else{
|
|
|
this.faerform.children[i].fixedData.receive_dept_name = this.lisehtwo[i].deptName
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
console.log(this.faerform.children[i])
|
|
|
// this.faerform.children
|
|
@@ -577,6 +711,12 @@ export default {
|
|
|
// this.querjtgoe.message_enclosure = JSON.stringify(this.querjtgoe.message_enclosure)
|
|
|
this.querjtgoe.message_id = 'fk.boman_message'
|
|
|
this.querjtgoe.send_time = tmie
|
|
|
+ if(this.querjtgoe.message_enclosure !== undefined){
|
|
|
+ this.querjtgoe.has_annex = 'Y'
|
|
|
+ }else{
|
|
|
+ this.querjtgoe.has_annex = 'N'
|
|
|
+ }
|
|
|
+
|
|
|
this.faerform.fixedData = this.querjtgoe
|
|
|
console.log(this.faerform)
|
|
|
this.$refs["querjtgoe"].validate(valid => {
|
|
@@ -652,7 +792,12 @@ export default {
|
|
|
this.config.splice(i, 1);
|
|
|
}
|
|
|
}
|
|
|
- this.querjtgoe.message_upload = this.config
|
|
|
+ if(this.config.length == 0){
|
|
|
+ this.querjtgoe.message_upload = undefined
|
|
|
+ }else{
|
|
|
+ this.querjtgoe.message_upload = JSON.stringify(this.config)
|
|
|
+ }
|
|
|
+
|
|
|
},
|
|
|
reseImagetwo(file, fileList) {
|
|
|
let urls = ""
|
|
@@ -667,12 +812,27 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
console.log(this.configtwo)
|
|
|
- this.querjtgoe.message_enclosure = this.configtwo
|
|
|
+ if(this.configtwo.length == 0){
|
|
|
+ this.querjtgoe.message_enclosure = undefined
|
|
|
+ }else{
|
|
|
+ this.querjtgoe.message_enclosure = JSON.stringify(this.configtwo)
|
|
|
+ }
|
|
|
+
|
|
|
},
|
|
|
+ // 图片预览
|
|
|
handlePictureCardPreview(file) {
|
|
|
- console.log(file)
|
|
|
+ console.log(file,87)
|
|
|
+ console.log(file.name.split('.'))
|
|
|
+ let hegs = file.name.split('.')
|
|
|
+ console.log(hegs[hegs.length - 1])
|
|
|
+ if(hegs[hegs.length - 1] == 'pdf'){
|
|
|
+ this.shouewhu = true
|
|
|
+ }else{
|
|
|
+ this.shouewhu = false
|
|
|
+ }
|
|
|
this.dialogImageUrl = file.url;
|
|
|
this.dialogVisible = true;
|
|
|
+ this.imashow = true
|
|
|
},
|
|
|
upImageFn(res, file) {
|
|
|
if(res.code !== 200){
|
|
@@ -700,6 +860,16 @@ export default {
|
|
|
|
|
|
console.log(this.configtwo)
|
|
|
},
|
|
|
+ // 上传前控制
|
|
|
+ befors(res, file){
|
|
|
+ console.log(res,file)
|
|
|
+ if(res.type !== 'application/pdf'){
|
|
|
+ this.msgSuccess('只能上传pdf文件');
|
|
|
+ return false
|
|
|
+ }else{
|
|
|
+ return true
|
|
|
+ }
|
|
|
+ },
|
|
|
// 时间控件
|
|
|
iChange(){
|
|
|
|
|
@@ -716,7 +886,6 @@ export default {
|
|
|
console.log(row)
|
|
|
this.shouew = false
|
|
|
this.querjtgoe.message_code = row.message_code
|
|
|
-
|
|
|
},
|
|
|
// 树形结构
|
|
|
// 节点单击事件
|
|
@@ -852,7 +1021,6 @@ export default {
|
|
|
that.lisehtwo.push(dueg[i]);
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
// for(var i = 0 ; i <this.lisehtwo.length; i++ ){
|
|
|
// if(this.lisehtwo[i].id == index.id){
|
|
|
// this.lisehtwo.splice(i,1)
|
|
@@ -875,7 +1043,7 @@ export default {
|
|
|
// this.lisehtwo = response.data;
|
|
|
// this.dhiuw = response.data
|
|
|
this.mpany.ompany = response.deptNameList
|
|
|
- this.mpany.name = response.roleNameList
|
|
|
+ this.mpany.name = response.nikeNameList
|
|
|
console.log( this.mpany.ompany)
|
|
|
if(response.code == 200){
|
|
|
this.msgSuccess('操作成功');
|
|
@@ -1015,20 +1183,104 @@ export default {
|
|
|
this.frowtse.businessType = res.data.id
|
|
|
})
|
|
|
},
|
|
|
+ // 查看流程进度
|
|
|
+ rogress(){
|
|
|
+ this.modalShowdu = true
|
|
|
+ this.weiug()
|
|
|
+ this.yidue()
|
|
|
+ },
|
|
|
+ // 催收文
|
|
|
+ eceive(row,index){
|
|
|
+ console.log(index)
|
|
|
+ if (this.multiple && index == undefined) {
|
|
|
+ this.msgInfo('请勾选一条信息')
|
|
|
+ return
|
|
|
+ }
|
|
|
+ const id = row.id || this.ids.join(',')
|
|
|
+ let huew = []
|
|
|
+ if(row !== undefined){
|
|
|
+ this.idee = []
|
|
|
+ }
|
|
|
+
|
|
|
+ if(this.idee.length > 0 || row == undefined){
|
|
|
+ console.log(345)
|
|
|
+ for(var j = 0 ; j < this.idee.length; j++ ){
|
|
|
+ this.eceivelist.dataList[j] = {message_id:0,receive_user_id:0,receive_user_name:'',message_title:'',send_user_name:'',send_user_id:0,message_time:''}
|
|
|
+ this.eceivelist.dataList[j].message_id = this.idee[j].message_id
|
|
|
+ this.eceivelist.dataList[j].receive_user_id = this.idee[j].receive_user_id
|
|
|
+ this.eceivelist.dataList[j].receive_user_name = this.idee[j].receive_user_name
|
|
|
+ this.eceivelist.dataList[j].message_title = this.querjtgoe.message_title
|
|
|
+ this.eceivelist.dataList[j].send_user_name = this.querjtgoe.send_user_name
|
|
|
+ this.eceivelist.dataList[j].send_user_id = this.querjtgoe.send_user_id
|
|
|
+ this.eceivelist.dataList[j].message_time = this.querjtgoe.message_time
|
|
|
+ }
|
|
|
+ }else{
|
|
|
+ this.eceivelist.dataList =[{message_id:0,receive_user_id:0,receive_user_name:'',message_title:'',send_user_name:'',send_user_id:0,message_time:''}]
|
|
|
+ this.eceivelist.dataList[0].message_id = row.message_id
|
|
|
+ this.eceivelist.dataList[0].receive_user_id = row.receive_user_id
|
|
|
+ this.eceivelist.dataList[0].receive_user_name = row.receive_user_name
|
|
|
+ this.eceivelist.dataList[0].message_title = this.querjtgoe.message_title
|
|
|
+ this.eceivelist.dataList[0].send_user_name = this.querjtgoe.send_user_name
|
|
|
+ this.eceivelist.dataList[0].send_user_id = this.querjtgoe.send_user_id
|
|
|
+ this.eceivelist.dataList[0].message_time = this.querjtgoe.message_time
|
|
|
+ }
|
|
|
+
|
|
|
+ console.log(this.eceivelist)
|
|
|
+ this.adege()
|
|
|
+
|
|
|
+ // this.querjtgoe
|
|
|
+ // this.eceivelist.fixedData.message_id = row.message_id
|
|
|
+ // this.eceivelist.fixedData.recieve_user_id = row.recieve_user_id
|
|
|
+ // this.eceivelist.fixedData.recieve_user_name = row.recieve_user_name
|
|
|
+ },
|
|
|
+ // 催办接口
|
|
|
+ adege(){
|
|
|
+ addbjectSawen(this.eceivelist).then(res =>{
|
|
|
+ console.log(res)
|
|
|
+ if(res.code == 200){
|
|
|
+ this.msgSuccess('提交成功');
|
|
|
+ this.weiug()
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
+
|
|
|
+ // 查看未读
|
|
|
+ weiug(){
|
|
|
+ this.loading = true;
|
|
|
+ weiduhegw(this.nread).then(res => {
|
|
|
+ console.log(res)
|
|
|
+ this.loading = false
|
|
|
+ this.listnemd = res.data.rows
|
|
|
+ })
|
|
|
+ },
|
|
|
+ // 查看已读
|
|
|
+ yidue(){
|
|
|
+ this.loading = true;
|
|
|
+ weiduhegw(this.nreadtwo).then(res => {
|
|
|
+ console.log(res)
|
|
|
+ this.loading = false
|
|
|
+ this.listnemrt = res.data.rows
|
|
|
+ })
|
|
|
+ },
|
|
|
// 用户信息
|
|
|
getUser() {
|
|
|
getUserProfile().then(response => {
|
|
|
+ this.jeogq = response.data
|
|
|
this.querjtgoe.send_user_id = response.data.id
|
|
|
this.querjtgoe.send_user_name = response.data.userName
|
|
|
this.querjtgoe.create_dept_nam = response.data.dept.deptName
|
|
|
+ this.nread.fixedData.condition.send_user_id = response.data.id
|
|
|
+ this.nreadtwo.fixedData.condition.send_user_id = response.data.id
|
|
|
this.faerform.fixedData.send_user_id = response.data.id
|
|
|
this.frowtse.initiator = response.data.id
|
|
|
+
|
|
|
this.frowtse.userName = response.data.userName
|
|
|
// this.user = response.data;
|
|
|
// this.getLisalendar()
|
|
|
// this.getLismemorandum()
|
|
|
- this.init();
|
|
|
+ // this.init();
|
|
|
this.getList();
|
|
|
+
|
|
|
});
|
|
|
},
|
|
|
// 时间转换
|
|
@@ -1066,7 +1318,7 @@ export default {
|
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
- .jeuhg{
|
|
|
+ .jeuhgs{
|
|
|
.el-form-item{
|
|
|
margin-bottom: 0;
|
|
|
width: 100%;
|
|
@@ -1090,12 +1342,17 @@ export default {
|
|
|
background-color: #1890ff !important;
|
|
|
color: #fff !important;
|
|
|
}
|
|
|
- .renhdy{
|
|
|
+ .renhdys{
|
|
|
.el-form-item__content{
|
|
|
width: 85%;
|
|
|
}
|
|
|
|
|
|
}
|
|
|
+ .renhdytwo{
|
|
|
+ .el-form-item__content{
|
|
|
+ display: flex;
|
|
|
+ }
|
|
|
+ }
|
|
|
.upload-demo{
|
|
|
text-align: right;
|
|
|
display: flex;
|
|
@@ -1103,6 +1360,7 @@ export default {
|
|
|
// display: flex;
|
|
|
// }
|
|
|
}
|
|
|
+
|
|
|
.el-textarea__inner{
|
|
|
background-color: #fff !important;
|
|
|
border: 0 !important;
|
|
@@ -1115,23 +1373,20 @@ export default {
|
|
|
color: #333;
|
|
|
}
|
|
|
}
|
|
|
-</style>
|
|
|
-<style scoped lang="scss">
|
|
|
- .app-container{
|
|
|
- padding: 0 80px !important;
|
|
|
- padding-top: 20px !important;
|
|
|
- }
|
|
|
+
|
|
|
.infinite-list {
|
|
|
- height: 150px;
|
|
|
+ // height: 150px;
|
|
|
margin-bottom: 20px;
|
|
|
+ flex-wrap: wrap;
|
|
|
.infinite-list-item {
|
|
|
- width: 20% !important;
|
|
|
+ // flex:1!important;
|
|
|
display: flex;
|
|
|
// justify-content: space-between;
|
|
|
align-items: center;
|
|
|
text-align: center;
|
|
|
list-style: none;
|
|
|
- height: 30px;
|
|
|
+ height: 23px;
|
|
|
+ margin-left: 10px;
|
|
|
// line-height: 30px;
|
|
|
}
|
|
|
.infinite-list-itemss {
|
|
@@ -1142,17 +1397,19 @@ export default {
|
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
|
.infinite-list-itemty {
|
|
|
- width: 20%;
|
|
|
+ // flex:1;
|
|
|
display: flex;
|
|
|
// justify-content: space-between;
|
|
|
- height: 40px;
|
|
|
- line-height: 40px;
|
|
|
+ height: 23px;
|
|
|
+ line-height: 23px;
|
|
|
// text-align: center;
|
|
|
list-style: none;
|
|
|
+ margin-left: 10px;
|
|
|
// border-radius: 40px;
|
|
|
// border: 1px solid #eee;
|
|
|
// border-bottom: 1px solid #eee;
|
|
|
}
|
|
|
+
|
|
|
}
|
|
|
// 分发人员
|
|
|
.infinite-listopma{
|
|
@@ -1160,11 +1417,21 @@ export default {
|
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
|
justify-content: flex-start;
|
|
|
+ align-items: center;
|
|
|
li{
|
|
|
list-style: none;
|
|
|
- width: 20%;
|
|
|
+ // width: 20%;
|
|
|
+ margin-left: 10px;
|
|
|
+ line-height: 23px;
|
|
|
}
|
|
|
}
|
|
|
+</style>
|
|
|
+<style scoped lang="scss">
|
|
|
+ .app-container{
|
|
|
+ padding: 0 80px !important;
|
|
|
+ padding-top: 20px !important;
|
|
|
+ }
|
|
|
+
|
|
|
.tab_bott {
|
|
|
display: flex;
|
|
|
}
|