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

View File

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

View File

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

View File

@ -240,7 +240,7 @@
</section> </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 class="section-title">
审批流程 审批流程
</div> </div>