fix : 修复详情页面
This commit is contained in:
@@ -62,7 +62,9 @@
|
|||||||
<div class="approval-record">
|
<div class="approval-record">
|
||||||
<baseTitle title="审批记录"></baseTitle>
|
<baseTitle title="审批记录"></baseTitle>
|
||||||
<div class="process">
|
<div class="process">
|
||||||
<process-diagram-viewer v-if="processDiagramViewer"/>
|
<operation-render :operation-list="processInstanceData.operationList"
|
||||||
|
:state="'1'"/>
|
||||||
|
<!-- <process-diagram-viewer v-if="processDiagramViewer"/>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- </el-col>-->
|
<!-- </el-col>-->
|
||||||
@@ -76,6 +78,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="jsx">
|
<script setup lang="jsx">
|
||||||
|
import OperationRender from '@/views/workflow/common/OperationRender.vue'
|
||||||
import ProcessDiagramViewer from '@/views/workflow/common/ProcessDiagramViewer.vue'
|
import ProcessDiagramViewer from '@/views/workflow/common/ProcessDiagramViewer.vue'
|
||||||
import {useProcessStore} from '@/stores/processStore.js';
|
import {useProcessStore} from '@/stores/processStore.js';
|
||||||
import {getInfo} from "@/api/project-demand/index.js";
|
import {getInfo} from "@/api/project-demand/index.js";
|
||||||
@@ -142,25 +145,10 @@ getTree()
|
|||||||
.detail-block {
|
.detail-block {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
overflow-x: hidden;
|
overflow: hidden;
|
||||||
overflow-y: auto;
|
//overflow-y: auto;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
&::-webkit-scrollbar {
|
|
||||||
width: 6px;
|
|
||||||
height: 6px;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 滚动条轨道
|
|
||||||
&::-webkit-scrollbar-track {
|
|
||||||
background: rgb(239, 239, 239);
|
|
||||||
border-radius: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 小滑块
|
|
||||||
&::-webkit-scrollbar-thumb {
|
|
||||||
background: rgba(80, 81, 82, 0.29);
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
|
||||||
.left-info {
|
.left-info {
|
||||||
flex: 0.6;
|
flex: 0.6;
|
||||||
|
|
||||||
@@ -184,30 +172,32 @@ getTree()
|
|||||||
|
|
||||||
.approval-record {
|
.approval-record {
|
||||||
flex: 0.4;
|
flex: 0.4;
|
||||||
|
padding-bottom: 30px;
|
||||||
|
|
||||||
.process {
|
.process {
|
||||||
//padding-top: 20px;
|
//padding-top: 20px;
|
||||||
position: relative;
|
position: relative;
|
||||||
//max-height: calc(100vh - 96px);
|
//max-height: calc(100vh - 96px);
|
||||||
//height: calc(100vh - 250px);
|
//height: calc(100vh - 250px);
|
||||||
//height: auto;
|
//height: auto;
|
||||||
//overflow: scroll;
|
//overflow: auto;
|
||||||
|
|
||||||
&::-webkit-scrollbar {
|
//&::-webkit-scrollbar {
|
||||||
width: 6px;
|
// width: 6px;
|
||||||
height: 6px;
|
// height: 6px;
|
||||||
}
|
//}
|
||||||
|
//
|
||||||
// 滚动条轨道
|
//// 滚动条轨道
|
||||||
&::-webkit-scrollbar-track {
|
//&::-webkit-scrollbar-track {
|
||||||
background: rgb(239, 239, 239);
|
// background: rgb(239, 239, 239);
|
||||||
border-radius: 2px;
|
// border-radius: 2px;
|
||||||
}
|
//}
|
||||||
|
//
|
||||||
// 小滑块
|
//// 小滑块
|
||||||
&::-webkit-scrollbar-thumb {
|
//&::-webkit-scrollbar-thumb {
|
||||||
background: rgba(80, 81, 82, 0.29);
|
// background: rgba(80, 81, 82, 0.29);
|
||||||
border-radius: 10px;
|
// border-radius: 10px;
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user