fix:修改bug

This commit is contained in:
大黑 2025-12-24 15:50:46 +08:00
parent 0d2457af5b
commit f765a9fb61
9 changed files with 2370 additions and 2673 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -104,6 +104,7 @@
</a>
<span class="link-separator"></span>
<a
v-if="row.status === 'DRAFT'"
href="javascript:void(0)"
class="el-link el-link--primary"
@click.stop="handleRowEdit(row)"

View File

@ -198,7 +198,6 @@
:rows="2"
placeholder="请输入"
/>
</div>
<!-- 审批环节 -->
@ -1728,13 +1727,15 @@ export default {
this.$message.warning('请填写流程主题')
return
}
// nodeList engineDetail.vue
const nodeList = this.approvalWorkflowSteps.map((step, index) => ({
nodeName: step.name,
assignees: step.handlers,
nodeOrder: index + 1
}))
const submitData = {
templateRowId: templateRowId,
proofreadUsers: this.approvalWorkflowSteps[0].handlers,
reviewUsers: this.approvalWorkflowSteps[1].handlers,
countersignUsers: this.approvalWorkflowSteps[2].handlers,
approveUsers: this.approvalWorkflowSteps[3].handlers,
nodeList: nodeList,
processTitle: processTitle,
createBy: getUserId(),
userId: getUserId()

View File

@ -164,7 +164,7 @@
</a>
<span style="width: 6px; display: inline-block"></span>
<a
v-if="false"
v-if="row.status === 'DRAFT'"
href="javascript:void(0)"
class="el-link el-link--primary"
@click.stop="handleEdit(row)"
@ -172,7 +172,7 @@
修改
</a>
<span style="width: 6px; display: inline-block"></span>
<a
<!-- <a
v-if="row.status === 'APPROVING'"
href="javascript:void(0)"
class="el-link el-link--primary"
@ -183,7 +183,7 @@
<span
v-if="row.status === 'APPROVING'"
style="width: 6px; display: inline-block"
></span>
></span> -->
<a
v-if="!row.status || row.status === '' || row.status === 'DRAFT'"
href="javascript:void(0)"

View File

@ -240,7 +240,7 @@
</section>
<!-- 审批流程 -->
<section v-if="reportDetail.status && reportDetail.status !== 'DRAFT' && reportDetail.flowId" class="block-section">
<section v-if="reportDetail.status && reportDetail.status !== 'DRAFT' && detail.flowId" class="block-section">
<div class="section-title">
审批流程
</div>