|
|
@ -279,6 +279,13 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
|
|
|
|
|
<pagination
|
|
|
|
|
|
|
|
v-show="totalDetail>0"
|
|
|
|
|
|
|
|
:total="totalDetail"
|
|
|
|
|
|
|
|
:page.sync="pageNum"
|
|
|
|
|
|
|
|
:limit.sync="pageSize"
|
|
|
|
|
|
|
|
@pagination="getTransferRecord"
|
|
|
|
|
|
|
|
/>
|
|
|
|
</el-dialog>
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
|
|
<!--公文借出会话框-->
|
|
|
|
<!--公文借出会话框-->
|
|
|
@ -339,6 +346,7 @@ import {
|
|
|
|
import {
|
|
|
|
import {
|
|
|
|
addEhsDocTransfer,
|
|
|
|
addEhsDocTransfer,
|
|
|
|
listEhsDocTransfer,
|
|
|
|
listEhsDocTransfer,
|
|
|
|
|
|
|
|
listTransferRecord,
|
|
|
|
lendEhsDoc,
|
|
|
|
lendEhsDoc,
|
|
|
|
returnEhsDoc,
|
|
|
|
returnEhsDoc,
|
|
|
|
} from "@/api/ehs/ehsDocTransfer";
|
|
|
|
} from "@/api/ehs/ehsDocTransfer";
|
|
|
@ -366,16 +374,20 @@ export default {
|
|
|
|
total: 0,
|
|
|
|
total: 0,
|
|
|
|
// 公文管理表格数据
|
|
|
|
// 公文管理表格数据
|
|
|
|
ehsDocumentList: [],
|
|
|
|
ehsDocumentList: [],
|
|
|
|
// 公文流转记录数据
|
|
|
|
|
|
|
|
ehsDocTransferList: [],
|
|
|
|
|
|
|
|
// 弹出层标题
|
|
|
|
// 弹出层标题
|
|
|
|
title: "",
|
|
|
|
title: "",
|
|
|
|
title1: "",
|
|
|
|
|
|
|
|
title2: "",
|
|
|
|
title2: "",
|
|
|
|
// 是否显示弹出层
|
|
|
|
// 是否显示弹出层
|
|
|
|
open: false,
|
|
|
|
open: false,
|
|
|
|
open1: false,
|
|
|
|
|
|
|
|
open2: false,
|
|
|
|
open2: false,
|
|
|
|
|
|
|
|
// 弹框的数据
|
|
|
|
|
|
|
|
documentId: null,
|
|
|
|
|
|
|
|
open1: false,
|
|
|
|
|
|
|
|
title1: "",
|
|
|
|
|
|
|
|
ehsDocTransferList: [],// 公文流转记录数据
|
|
|
|
|
|
|
|
totalDetail: 0,// 弹框的总条数
|
|
|
|
|
|
|
|
pageNum: 1,// 弹框当前页
|
|
|
|
|
|
|
|
pageSize: 10,// 弹框的每页显示条数
|
|
|
|
// 查询参数
|
|
|
|
// 查询参数
|
|
|
|
queryParams: {
|
|
|
|
queryParams: {
|
|
|
|
pageNum: 1,
|
|
|
|
pageNum: 1,
|
|
|
@ -498,15 +510,16 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
/** 流转记录按钮操作 */
|
|
|
|
/** 流转记录按钮操作 */
|
|
|
|
transferRecord(row) {
|
|
|
|
transferRecord(row) {
|
|
|
|
this.reset();
|
|
|
|
|
|
|
|
const id = row.id || this.ids;
|
|
|
|
|
|
|
|
/** 查询公文流转记录 */
|
|
|
|
|
|
|
|
getDocTransferById(id).then((response) => {
|
|
|
|
|
|
|
|
this.open1 = true;
|
|
|
|
this.open1 = true;
|
|
|
|
|
|
|
|
this.documentId = row.id;
|
|
|
|
|
|
|
|
this.getTransferRecord();
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
getTransferRecord() {
|
|
|
|
this.loading = true;
|
|
|
|
this.loading = true;
|
|
|
|
this.title1 = "流转记录";
|
|
|
|
this.title1 = "流转记录";
|
|
|
|
|
|
|
|
listTransferRecord({"pageNum" : this.pageNum, "pageSize": this.pageSize,"documentId":this.documentId}).then(response => {
|
|
|
|
this.ehsDocTransferList = response.rows;
|
|
|
|
this.ehsDocTransferList = response.rows;
|
|
|
|
//this.total1 = response.total;
|
|
|
|
this.totalDetail = response.total;
|
|
|
|
this.loading = false;
|
|
|
|
this.loading = false;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|