fix : 修复提交按钮旁边的返回页面细节

This commit is contained in:
2024-06-10 00:25:00 +08:00
parent bf0cb73946
commit d3fe46f0bc
9 changed files with 59 additions and 14 deletions

View File

@@ -21,6 +21,7 @@
<div class="oper-page-btn">
<el-button color="#DED0B2" v-if="name==='Initiation/apply'" @click="handleSubmit(applyForm)">提交</el-button>
<el-button color="#DED0B2" v-else @click="handleResubmit">重新提交</el-button>
<el-button @click="handleBack">返回</el-button>
</div>
</div>
</template>
@@ -87,6 +88,9 @@ const loading = ref(false)
const processInstanceData = ref()
const processDiagramViewer = ref(true)
const name = ref(router.currentRoute.value.name)
const handleBack = () => {
history.back()
}
const handleDownload = (row) => {
downloadFile(row.fileId).then(res => {
const blob = new Blob([res])