移交申请详情

This commit is contained in:
cwchen 2025-09-19 13:56:21 +08:00
parent eb3c677d70
commit 38145927dd
3 changed files with 6 additions and 4 deletions

View File

@ -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: '省公司办公室',

View File

@ -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'),
}
})
},

View File

@ -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 = {