update:弹框高度bug
This commit is contained in:
@@ -12,3 +12,8 @@ export const systemApproveQueryApproveFlowTempalteApi = (params: any) => {
|
||||
export const systemQueryApproveFlowStatusApi = (params: any) => {
|
||||
return get(`${PREFIX}systemApprove/queryApproveFlowStatus`, params);
|
||||
};
|
||||
|
||||
// 流程详情
|
||||
export const systemQueryApproveInstanceApi = (params: any) => {
|
||||
return get(`${PREFIX}systemApprove/queryApproveInstance`, params);
|
||||
};
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
:title="diaTitle"
|
||||
@open="openFun"
|
||||
v-bind="$attrs"
|
||||
body-class="table-form-dia"
|
||||
>
|
||||
<template v-for="(name) in Object.keys($slots)" :key="name" #[name]="scope">
|
||||
<slot :name="name" v-bind="scope" />
|
||||
@@ -37,9 +36,3 @@ const openFun = () => { // 兼容vxe-modal
|
||||
emit('show');
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.table-form-dia {
|
||||
height: calc(100vh - 150px);
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
top="2vh"
|
||||
width="80%"
|
||||
height="80%"
|
||||
body-class="table-form-dia"
|
||||
show-footer
|
||||
@close="closeFun"
|
||||
>
|
||||
@@ -238,6 +239,12 @@ const closeFun = () => {
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.table-form-dia {
|
||||
height: calc(100vh - 150px);
|
||||
}
|
||||
</style>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.comp-content {
|
||||
.content {
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
{{ $t(`菜单.${subMenu.title}`) }}
|
||||
</el-menu-item>
|
||||
</el-sub-menu>
|
||||
<el-menu-item v-else :index="menu.path" @click="goPageFun(menu)">
|
||||
<el-menu-item v-else-if="!menu.hideInMenu" :index="menu.path" @click="goPageFun(menu)">
|
||||
<el-icon><component :is="menu.icon" /></el-icon>
|
||||
<span>{{ $t(`菜单.${menu.title}`) }}</span>
|
||||
</el-menu-item>
|
||||
|
||||
@@ -32,6 +32,11 @@ onMounted(async() => {
|
||||
display: flex;
|
||||
&.preview {
|
||||
height: 100%;
|
||||
.layout-body {
|
||||
.layout-page {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.layout-body {
|
||||
flex: 1;
|
||||
|
||||
@@ -9,6 +9,14 @@ export default [
|
||||
// component: () => import('@/views/index/index.vue'),
|
||||
component: () => import('@/views/error/developing.vue'),
|
||||
},
|
||||
{
|
||||
title: '审核预览',
|
||||
path: '/approvalPreview',
|
||||
name: 'IndexApprovalPreview',
|
||||
icon: Icons['DataBoard'],
|
||||
hideInMenu: true,
|
||||
component: () => import('@/views/index/approvalPreview/index.vue'),
|
||||
},
|
||||
{
|
||||
title: '项目管理',
|
||||
path: '/project',
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
const lang = {
|
||||
'菜单': {
|
||||
'首页': 'Home',
|
||||
'审核预览': 'Approval Preview',
|
||||
'能力中心': 'Simulation Management',
|
||||
'仿真工况库': 'Working Condition Library',
|
||||
'仿真指标库': 'Indicator Library',
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
const lang = {
|
||||
'菜单': {
|
||||
'首页': '首页',
|
||||
'审核预览': '审核预览',
|
||||
'能力中心': '能力中心',
|
||||
'仿真工况库': '仿真工况库',
|
||||
'仿真指标库': '仿真指标库',
|
||||
|
||||
13
src/views/index/approvalPreview/components/knowledge.vue
Normal file
13
src/views/index/approvalPreview/components/knowledge.vue
Normal file
@@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<div>知识库审核预览{{ data }}</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
interface Props {
|
||||
data: any;
|
||||
}
|
||||
|
||||
withDefaults(defineProps<Props>(), {
|
||||
data: {},
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user