You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ocr-web/src/views/worksheet/index.vue

51 lines
1.1 KiB

<script lang="ts" setup>
import { ref } from 'vue'
import Aside from './aside/Aside.vue'
import Content from './content/Content.vue'
import DataHeader from '@/components/DataHeader/index.vue'
import { useWorkOrder } from '@/store/modules/workOrder'
import Robot from '@/components/Robot/index.vue'
const workStore = useWorkOrder()
const contentRef: any = ref(null)
function ApprovalOver(packageId) {
const id: string = workStore.getActiveId
contentRef.value.queryDetail(id)
}
</script>
<template>
<div style="width: 100%">
<div class="header">
<DataHeader />
</div>
<div class="main">
<!-- 侧边 -->
<Aside @approval-over="ApprovalOver" />
<!-- 内容 -->
<Content ref="contentRef" />
</div>
<Robot />
</div>
</template>
<style lang="less" scoped>
:deep(.header_wrap){
margin-top: 3px !important;
margin-left: 16px;
margin-right: 16px;
background: #FFFFFF;
}
.main {
display: flex;
flex-direction: row;
box-sizing: border-box;
width: 100%;
height: calc(100% - 170px);
}
:deep(.ip_box){
z-index: 10;
}
</style>