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