update:内嵌审核页面

This commit is contained in:
2025-11-10 13:33:37 +08:00
parent 853c40c4d9
commit ab4556d875
4 changed files with 85 additions and 20 deletions

View File

@@ -60,28 +60,35 @@
<pagination @current-change="currentChangeHandle" @size-change="sizeChangeHandle" v-bind="state.pagination"></pagination>
<!-- 右侧抽屉-->
<el-drawer v-model="rightDrawerVisible" direction="rtl" size="400px">
<el-drawer v-model="rightDrawerVisible" direction="rtl" size="80%">
<template #header>
<h3>{{ currentData?.processName }}</h3>
</template>
<template #default>
<el-card class="box-card">
<form-render
@addLayoutOneItem="addLayoutOneItem"
@deleteLayoutOneItem="deleteLayoutOneItem"
ref="formRenderRef"
:form-list="currentOpenFlowForm"
></form-render>
</el-card>
<flow-node-format
:disableSelect="true"
:formData="formValue"
:task-id="currentData.taskId"
:processInstanceId="currentData.processInstanceId"
:flow-id="currentData.flowId"
ref="flowNodeFormatRef"
class="mt-4"
/>
<div class="box-content">
<div class="spdm-content">
<SpdmView path="/spdm/competenceCenter/condition" />
</div>
<div class="default">
<el-card class="box-card">
<form-render
@addLayoutOneItem="addLayoutOneItem"
@deleteLayoutOneItem="deleteLayoutOneItem"
ref="formRenderRef"
:form-list="currentOpenFlowForm"
></form-render>
</el-card>
<flow-node-format
:disableSelect="true"
:formData="formValue"
:task-id="currentData.taskId"
:processInstanceId="currentData.processInstanceId"
:flow-id="currentData.flowId"
ref="flowNodeFormatRef"
class="mt-4"
/>
</div>
</div>
</template>
<template #footer>
<div style="flex: auto">
@@ -107,6 +114,7 @@ import FlowNodeFormat from '/@/views/flow/form/tools/FlowNodeFormatData.vue';
import other from '/@/utils/other';
import {queryMineTask, queryTask} from '/@/api/flow/task';
import {BasicTableProps, useTable} from '/@/hooks/table';
import SpdmView from '/@/spdm/views/preview.vue'
const rightDrawerVisible = ref(false);
const showSearch = ref(true);
@@ -195,3 +203,15 @@ const formValue = computed(() => {
return obj;
});
</script>
<style lang="scss" scoped>
.box-content {
display: flex;
.spdm-content {
flex: 1;
}
.default {
width: 353px;
}
}
</style>