|
@@ -21,9 +21,11 @@
|
|
|
<el-table-column label="接收人" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
<span v-if="scope.row.userList == null"
|
|
|
- style="color: #0b82ff;cursor: pointer">{{ scope.row.userName }}</span>
|
|
|
+ style="color: #0b82ff;cursor: pointer"
|
|
|
+ @click="processIssuedLog(scope.row.id)">{{ scope.row.userName }}</span>
|
|
|
<div v-else v-for="item in scope.row.userList">
|
|
|
- <span style="color: #0b82ff;cursor: pointer">{{ item.userName }} </span>
|
|
|
+ <span style="color: #0b82ff;cursor: pointer"
|
|
|
+ @click="processIssuedLog(item.id)">{{ item.userName }} </span>
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -108,6 +110,32 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
+
|
|
|
+ <el-dialog title="回复详情" :visible.sync="issuedLogStatus" width="70%" :close-on-press-escape="false"
|
|
|
+ :show-close="true" :before-close="closeIssuedLog" :destroy-on-close="true"
|
|
|
+ :modal-append-to-body="false"
|
|
|
+ :close-on-click-modal="false" :fullscreen="true">
|
|
|
+ <div class="tabbox" style="height: 500px">
|
|
|
+ <el-table height="calc(100% - 50px)" class="com-table" ref="multipleTable"
|
|
|
+ :data="issuedLogData"
|
|
|
+ tooltip-effect="dark" size="small" border style="width: 100%" v-loading="loading">
|
|
|
+ <el-table-column prop="beforeUserName" label="接收人">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="beforeUserDept" label="部门">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="opTime" label="回复时间">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="remark" label="审批记录">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="status" label="审批意见">
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <el-pagination class="pageBox" @current-change="issuedLogChange"
|
|
|
+ layout="prev, pager, next" background
|
|
|
+ :total="issuedLogTotal">
|
|
|
+ </el-pagination>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</fullscreen>
|
|
|
</template>
|
|
@@ -170,7 +198,7 @@ export default {
|
|
|
}
|
|
|
]
|
|
|
},],
|
|
|
- nowUserId:'',
|
|
|
+ nowUserId: '',
|
|
|
auditBoxList: [{}],
|
|
|
authDialog: false,
|
|
|
auditForm: {},
|
|
@@ -182,18 +210,56 @@ export default {
|
|
|
treeListonly: {},
|
|
|
excelData: {},
|
|
|
fullscreen: false,
|
|
|
- defaultList:[],
|
|
|
- addInfoList:[],
|
|
|
- closeList:[],
|
|
|
- depttype:'',
|
|
|
+ defaultList: [],
|
|
|
+ addInfoList: [],
|
|
|
+ closeList: [],
|
|
|
+ depttype: '',
|
|
|
+ issuedLogStatus: false,
|
|
|
+ issuedLogData: [],
|
|
|
+ issuedLogPageSize: 1,
|
|
|
+ issuedLogParams: {},
|
|
|
+ issuedLogTotal: 0,
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ processIssuedLog(row) {
|
|
|
+ this.issuedLogParams = {
|
|
|
+ issuedUserId: row
|
|
|
+ };
|
|
|
+ console.log(this.issuedLogParams);
|
|
|
+ this.getIssuedLog(this.issuedLogParams, this.issuedLogPageSize);
|
|
|
+ this.issuedLogStatus = true;
|
|
|
+ },
|
|
|
+ getIssuedLog(v, n) {
|
|
|
+ this.issuedLogPageSize = n;
|
|
|
+ this.loading = true;
|
|
|
+ this.issuedLogData = [];
|
|
|
+ this.$http({
|
|
|
+ url: "/market/cIncomeExcelIssued/getIssuedLog",
|
|
|
+ method: "post",
|
|
|
+ headers: {
|
|
|
+ "Content-Type": "application/json",
|
|
|
+ "page": '{"pageNo":"' + n + '","pageSize":"10"}'
|
|
|
+ },
|
|
|
+ data: v,
|
|
|
+ }).then((res) => {
|
|
|
+ this.issuedLogData = res.data.data;
|
|
|
+ this.issuedLogTotal = res.data.totalRecord;
|
|
|
+ this.loading = false;
|
|
|
+ });
|
|
|
+ },
|
|
|
+ issuedLogChange(v) {
|
|
|
+ this.issuedLogPageSize = v;
|
|
|
+ this.getIssuedLog(this.issuedLogParams, this.issuedLogPageSize);
|
|
|
+ },
|
|
|
+ closeIssuedLog() {
|
|
|
+ this.issuedLogStatus = false;
|
|
|
+ },
|
|
|
//搜索数据
|
|
|
searchInfo(v) {
|
|
|
this.params = {};
|
|
|
v[0] ? this.params.templateName = v[0] : '';
|
|
|
- v[1] ? this.params.endTime = this.$formatDate(v[1] , "YYYY-MM-DD") : '';
|
|
|
+ v[1] ? this.params.endTime = this.$formatDate(v[1], "YYYY-MM-DD") : '';
|
|
|
v[2] ? this.params.state = v[2] : '';
|
|
|
this.getList(this.params, this.pageSize);
|
|
|
},
|
|
@@ -290,10 +356,10 @@ export default {
|
|
|
"Content-Type": "application/json",
|
|
|
},
|
|
|
data: {
|
|
|
- issuedUserId:this.nowUserId,
|
|
|
+ issuedUserId: this.nowUserId,
|
|
|
type: this.auditForm.authType,
|
|
|
nextUserId: this.auditUserId,
|
|
|
- auditRemark:this.auditForm.auditRemark
|
|
|
+ auditRemark: this.auditForm.auditRemark
|
|
|
},
|
|
|
}).then((res) => {
|
|
|
this.loading = false;
|