f39ba7a0 by lxs

分级分类任务更新

1 parent 1150f554
......@@ -7,7 +7,7 @@ import { ref, onMounted } from "vue";
import { useRouter, useRoute } from "vue-router";
import useUserStore from "@/store/modules/user";
import { ElMessage, ElMessageBox } from "element-plus";
import { Search } from "@element-plus/icons-vue";
import { Search, Warning } from "@element-plus/icons-vue";
import { setItemsDisabled, tagMethod, tagType, changeNum, } from "@/utils/common";
import useDataAssetStore from "@/store/modules/dataAsset";
import TableTools from '@/components/Tools/table_tools.vue';
......@@ -635,16 +635,14 @@ const treeInfo = ref({
const templateInfo = ref({
title: '医疗数据分类分级模板',
mark: '待确认',
descGroup: [
{ label: '模型确认人', value: '管理员 ' },
{ label: '模型确认时间', value: '2021-12-12 09:12:13' },
{ label: '目录名称', value: '医疗数据', type: 'text_btn' },
{ label: '执行时间', value: '2021-12-12 09:12:13' },
{ label: '分级分类模板', value: '医疗数据分级分类', type: 'text_btn' },
{ label: '版本', value: 'V5' },
{ label: '元数据名称', value: '名称1、名称2、名称3' },
],
tags: [
{ type: 'info', name: '医疗行业分类' },
{ type: 'success', name: '五级' },
{ type: 'primary', name: 'V5' },
],
desc: '适用于各级医疗机构、卫生健康管理部门、公共卫生服务机构、相关专项业务服务机构、相关信息技术服务机构等开展医疗健康数据分类分级。适用于各级医疗机构、卫生健康管理部门、公共卫生服务机构、相关专项业务服务机构、相关信息技术服务机构等开展医疗健康数据分类分级。适用于各级医疗机构、卫生健康。'
})
const tabsInfo = ref({
activeName: 'sheet',
......@@ -1009,18 +1007,47 @@ onBeforeMount(() => {
<div class="content_main panel">
<div class="template_panel">
<div class="panel_title">
<div class="title_wrap">
<span class="title_text">{{ templateInfo.title }}</span>
<el-tag type="warning">{{ templateInfo.mark }}</el-tag>
</div>
</div>
<div class="title_desc">
<div class="desc_group" v-for="desc in templateInfo.descGroup">
<span class="desc_label">{{ desc.label }}</span>
<span class="desc_value">{{ desc.value }}</span>
<div class="desc_group">
<div class="desc_item">
<span class="desc_label">目录名称:</span>
<span class="desc_value text_btn">医疗数据</span>
</div>
<div class="desc_item">
<span class="desc_label">执行时间:</span>
<span class="desc_value">2021-12-12 09:12:13</span>
</div>
</div>
<div class="desc_group">
<div class="desc_item">
<span class="desc_label">分类:</span>
<span class="desc_value text_btn">医疗数据</span>
</div>
<div class="desc_item">
<span class="desc_label">元数据名称:</span>
<span class="desc_value">名称1、名称2、名称3</span>
</div>
</div>
<div class="panel_tags">
<el-tag v-for="tag in templateInfo.tags" :type="tag.type">{{ tag.name }}</el-tag>
</div>
<p class="panel_desc">{{ templateInfo.desc }}</p>
<p class="panel_desc">
<el-icon>
<Warning />
</el-icon>
<span>本次分类分级任务共涉及: </span>
<span class="text_btn">40</span>
<span>张表,共</span>
<span class="text_btn">4023</span>
<span>个字段,已分类</span>
<span class="text_btn">2099</span>
<span>个字段,已分级</span>
<span class="text_btn">1987</span>
<span>个字段</span>
</p>
</div>
<div class="panel_content">
<Tabs class="panel_tabs" :tabs-info="tabsInfo" @tab-change="tabChange" />
......@@ -1170,19 +1197,30 @@ onBeforeMount(() => {
justify-content: space-between;
align-items: center;
margin: 8px 0;
flex: 1;
.title_wrap {
display: flex;
align-items: center;
.title_text {
font-size: 16px;
color: #212121;
line-height: 24px;
font-weight: 600;
margin-right: 12px;
}
}
}
.title_desc {
display: flex;
.desc_group {
margin-left: 16px;
display: flex;
margin: 8px 0;
.desc_item+.desc_item {
margin-left: 40px;
}
}
}
......@@ -1194,9 +1232,25 @@ onBeforeMount(() => {
}
.panel_desc {
margin: 8px 0;
height: 40px;
margin: 16px 0 8px;
padding: 0 12px;
font-size: 14px;
color: #666;
display: flex;
align-items: center;
background: #EFFBFC;
border: 1px solid rgba(195, 219, 219, 1);
.el-icon {
width: 14px;
height: 14px;
color: #4FA1A4;
}
>span {
margin-left: 8px;
}
}
}
......@@ -1208,7 +1262,7 @@ onBeforeMount(() => {
padding: 0 16px;
&.flex {
height: calc(100% - 35px);
height: calc(100% - 36px);
display: flex;
justify-content: space-between;
flex: 1;
......
......@@ -777,9 +777,11 @@ onBeforeMount(() => {
}
.panel_desc {
margin: 8px 0;
margin: 8px 0 16px;
font-size: 14px;
color: #666;
line-height: 1.5;
text-align: justify;
}
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!