移交申请详情
This commit is contained in:
parent
eb3c677d70
commit
38145927dd
|
|
@ -62,7 +62,7 @@
|
|||
</div>
|
||||
|
||||
<!-- 移交审批区域 -->
|
||||
<div v-if="showApprovalActions" class="approval-section">
|
||||
<div v-if="showApprovalActions && viewStatus !== 'detail'" class="approval-section">
|
||||
<div class="section-title">
|
||||
<div class="title-bar"></div>
|
||||
<span>移交审批</span>
|
||||
|
|
@ -91,6 +91,7 @@ export default {
|
|||
data() {
|
||||
return {
|
||||
id: decryptWithSM4(this.$route.query.id),
|
||||
viewStatus: decryptWithSM4(this.$route.query.viewStatus),
|
||||
status: 'approving', // approving, approved, rejected
|
||||
projectName: 'XXXXXXXXXXXXX工程',
|
||||
receivingOrg: '省公司办公室',
|
||||
|
|
|
|||
|
|
@ -21,11 +21,11 @@
|
|||
|
||||
<template slot="handle" slot-scope="{ data }">
|
||||
<el-button plain size="mini" type="primary" icon="el-icon-edit" v-hasPermi="['transfer:apply:edit']"
|
||||
@click="handleUpdate(data)">
|
||||
@click="handleUpdate(data)" v-if="data.auditStatus === '2'">
|
||||
修改
|
||||
</el-button>
|
||||
<el-button plain size="mini" type="danger" icon="el-icon-delete" v-hasPermi="['transfer:apply:del']"
|
||||
@click="handleDelete(data)">
|
||||
@click="handleDelete(data)" v-if="data.auditStatus === '2'">
|
||||
删除
|
||||
</el-button>
|
||||
<el-button plain size="mini" type="success" icon="el-icon-warning-outline" v-hasPermi="['transfer:apply:query']"
|
||||
|
|
@ -108,6 +108,7 @@ export default {
|
|||
name: 'DetailData',
|
||||
query: {
|
||||
id: encryptWithSM4('1'),
|
||||
viewStatus: encryptWithSM4('detail'),
|
||||
}
|
||||
})
|
||||
},
|
||||
|
|
|
|||
|
|
@ -281,7 +281,7 @@ export default {
|
|||
// 获取选中的节点
|
||||
async getTreeData(nodeId) {
|
||||
this.checkTreeData = [];
|
||||
const res = await getTransferApplyFilesApi({ parentId: nodeId,proId:this.form.proId,id:nodeId });
|
||||
const res = await getTransferApplyFilesApi({ proId:this.form.proId,id:nodeId });
|
||||
if (Array.isArray(res.data) && res.data.length > 0) {
|
||||
res.data.map(item => {
|
||||
const newFile = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue