2c62af75 by lihua

fix: 首页分两部分滚动

1 parent 9860d8cc
......@@ -30,7 +30,7 @@
清除
</div> -->
</div>
<div style="min-height: 250px;" v-loading="listDataLoading">
<div style="min-height: 250px; height: calc(100% - 170px);" v-loading="listDataLoading">
<template v-for="(tenantName) in Object.keys(productListData)">
<div class="data-header-input">
<div>{{ '数据交付方:' + tenantName }}</div>
......@@ -199,7 +199,7 @@ import { ref } from "vue";
import {
getParamsList,
getReleaseYears,
getSubjectDomainDataTree,
// getSubjectDomainDataTree,
getReleaseListData,
getReleaseDataCertiDetail
} from '@/api/modules/dataTrustedSpace';
......@@ -235,7 +235,13 @@ const damType = ref('0');
const releaseYear = ref(0);
const subjectDomainList: any = ref([]);
const subjectDomainList: any = ref([{
paramValue: '2',
paramName: '医疗健康'
}, {
paramValue: '1',
paramName: '医药企业'
}]);
/** 记录主题第一级的选中值 */
const subjectDomainFirst = ref('2');
......@@ -341,6 +347,11 @@ watch(() => releaseYear.value, () => {
getTableData();
})
watch(() => subjectDomainFirst.value, () => {
clearPageInfo()
getTableData();
})
watch(() => selectDataInfo.value.damGuid, (val) => {
if (!val) {
complianceListInfo.value = [];
......@@ -429,15 +440,15 @@ onBeforeMount(() => {
proxy.$ElMessage.error(resp.msg);
}
}));
ps.push(getSubjectDomainDataTree().then((res: any) => {
if (res.code == '00000') {
subjectDomainList.value = res.data || [];
subjectDomainFirst.value = subjectDomainList?.[0]?.paramValue || '2';
} else {
fullscreenLoading.value = false;
proxy.$ElMessage.error(res.msg);
}
}));
// ps.push(getSubjectDomainDataTree().then((res: any) => {
// if (res.code == '00000') {
// subjectDomainList.value = res.data || [];
// subjectDomainFirst.value = subjectDomainList?.[0]?.paramValue || '2';
// } else {
// fullscreenLoading.value = false;
// proxy.$ElMessage.error(res.msg);
// }
// }));
Promise.all(ps).then((res) => {
getTableData().then(() => {
fullscreenLoading.value = false;
......@@ -465,7 +476,7 @@ const handleDownFile = () => {
.home-full-wrap {
height: 100%;
width: 100%;
overflow-y: auto;
// overflow-y: auto;
overflow-x: hidden;
background-color: #f5f5f6;
}
......@@ -474,11 +485,17 @@ const handleDownFile = () => {
// height: 100%;
display: flex;
justify-content: space-between;
height: 100%;
width: 100%;
.home-dam-main {
background-color: #fff;
width: calc(100% - 456px);
min-height: 600px;
height: 100%;
overflow-y: hidden;
&:hover {
overflow-y: auto;
}
}
}
......@@ -708,6 +725,12 @@ const handleDownFile = () => {
.dam-detail-right {
width: 450px;
background-color: #fff;
height: 100%;
overflow-y: hidden;
&:hover {
overflow-y: auto;
}
.dam-detail {
padding: 24px;
......
......@@ -180,6 +180,7 @@ const formItems = ref([
type: 'input',
placeholder: '请输入',
field: 'reportIssuingInstitution',
maxlength: 50,
default: '',
required: false,
visible: true
......@@ -213,6 +214,7 @@ const formItems = ref([
placeholder: '请输入',
field: 'opinionIssuingInstitution',
default: '',
maxlength: 50,
required: false,
visible: true
},
......@@ -245,6 +247,7 @@ const formItems = ref([
placeholder: '请输入',
field: 'planIssuingInstitution',
default: '',
maxlength: 50,
required: false,
visible: true
},
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!