f39ba7a0 by lxs

分级分类任务更新

1 parent 1150f554
...@@ -7,7 +7,7 @@ import { ref, onMounted } from "vue"; ...@@ -7,7 +7,7 @@ import { ref, onMounted } from "vue";
7 import { useRouter, useRoute } from "vue-router"; 7 import { useRouter, useRoute } from "vue-router";
8 import useUserStore from "@/store/modules/user"; 8 import useUserStore from "@/store/modules/user";
9 import { ElMessage, ElMessageBox } from "element-plus"; 9 import { ElMessage, ElMessageBox } from "element-plus";
10 import { Search } from "@element-plus/icons-vue"; 10 import { Search, Warning } from "@element-plus/icons-vue";
11 import { setItemsDisabled, tagMethod, tagType, changeNum, } from "@/utils/common"; 11 import { setItemsDisabled, tagMethod, tagType, changeNum, } from "@/utils/common";
12 import useDataAssetStore from "@/store/modules/dataAsset"; 12 import useDataAssetStore from "@/store/modules/dataAsset";
13 import TableTools from '@/components/Tools/table_tools.vue'; 13 import TableTools from '@/components/Tools/table_tools.vue';
...@@ -635,16 +635,14 @@ const treeInfo = ref({ ...@@ -635,16 +635,14 @@ const treeInfo = ref({
635 635
636 const templateInfo = ref({ 636 const templateInfo = ref({
637 title: '医疗数据分类分级模板', 637 title: '医疗数据分类分级模板',
638 mark: '待确认',
638 descGroup: [ 639 descGroup: [
639 { label: '模型确认人', value: '管理员 ' }, 640 { label: '目录名称', value: '医疗数据', type: 'text_btn' },
640 { label: '模型确认时间', value: '2021-12-12 09:12:13' }, 641 { label: '执行时间', value: '2021-12-12 09:12:13' },
642 { label: '分级分类模板', value: '医疗数据分级分类', type: 'text_btn' },
643 { label: '版本', value: 'V5' },
644 { label: '元数据名称', value: '名称1、名称2、名称3' },
641 ], 645 ],
642 tags: [
643 { type: 'info', name: '医疗行业分类' },
644 { type: 'success', name: '五级' },
645 { type: 'primary', name: 'V5' },
646 ],
647 desc: '适用于各级医疗机构、卫生健康管理部门、公共卫生服务机构、相关专项业务服务机构、相关信息技术服务机构等开展医疗健康数据分类分级。适用于各级医疗机构、卫生健康管理部门、公共卫生服务机构、相关专项业务服务机构、相关信息技术服务机构等开展医疗健康数据分类分级。适用于各级医疗机构、卫生健康。'
648 }) 646 })
649 const tabsInfo = ref({ 647 const tabsInfo = ref({
650 activeName: 'sheet', 648 activeName: 'sheet',
...@@ -1009,18 +1007,47 @@ onBeforeMount(() => { ...@@ -1009,18 +1007,47 @@ onBeforeMount(() => {
1009 <div class="content_main panel"> 1007 <div class="content_main panel">
1010 <div class="template_panel"> 1008 <div class="template_panel">
1011 <div class="panel_title"> 1009 <div class="panel_title">
1010 <div class="title_wrap">
1012 <span class="title_text">{{ templateInfo.title }}</span> 1011 <span class="title_text">{{ templateInfo.title }}</span>
1012 <el-tag type="warning">{{ templateInfo.mark }}</el-tag>
1013 </div>
1014 </div>
1013 <div class="title_desc"> 1015 <div class="title_desc">
1014 <div class="desc_group" v-for="desc in templateInfo.descGroup"> 1016 <div class="desc_group">
1015 <span class="desc_label">{{ desc.label }}</span> 1017 <div class="desc_item">
1016 <span class="desc_value">{{ desc.value }}</span> 1018 <span class="desc_label">目录名称:</span>
1019 <span class="desc_value text_btn">医疗数据</span>
1020 </div>
1021 <div class="desc_item">
1022 <span class="desc_label">执行时间:</span>
1023 <span class="desc_value">2021-12-12 09:12:13</span>
1024 </div>
1025 </div>
1026 <div class="desc_group">
1027 <div class="desc_item">
1028 <span class="desc_label">分类:</span>
1029 <span class="desc_value text_btn">医疗数据</span>
1017 </div> 1030 </div>
1031 <div class="desc_item">
1032 <span class="desc_label">元数据名称:</span>
1033 <span class="desc_value">名称1、名称2、名称3</span>
1018 </div> 1034 </div>
1019 </div> 1035 </div>
1020 <div class="panel_tags">
1021 <el-tag v-for="tag in templateInfo.tags" :type="tag.type">{{ tag.name }}</el-tag>
1022 </div> 1036 </div>
1023 <p class="panel_desc">{{ templateInfo.desc }}</p> 1037 <p class="panel_desc">
1038 <el-icon>
1039 <Warning />
1040 </el-icon>
1041 <span>本次分类分级任务共涉及: </span>
1042 <span class="text_btn">40</span>
1043 <span>张表,共</span>
1044 <span class="text_btn">4023</span>
1045 <span>个字段,已分类</span>
1046 <span class="text_btn">2099</span>
1047 <span>个字段,已分级</span>
1048 <span class="text_btn">1987</span>
1049 <span>个字段</span>
1050 </p>
1024 </div> 1051 </div>
1025 <div class="panel_content"> 1052 <div class="panel_content">
1026 <Tabs class="panel_tabs" :tabs-info="tabsInfo" @tab-change="tabChange" /> 1053 <Tabs class="panel_tabs" :tabs-info="tabsInfo" @tab-change="tabChange" />
...@@ -1170,19 +1197,30 @@ onBeforeMount(() => { ...@@ -1170,19 +1197,30 @@ onBeforeMount(() => {
1170 justify-content: space-between; 1197 justify-content: space-between;
1171 align-items: center; 1198 align-items: center;
1172 margin: 8px 0; 1199 margin: 8px 0;
1200 flex: 1;
1201
1202 .title_wrap {
1203 display: flex;
1204 align-items: center;
1173 1205
1174 .title_text { 1206 .title_text {
1175 font-size: 16px; 1207 font-size: 16px;
1176 color: #212121; 1208 color: #212121;
1177 line-height: 24px; 1209 line-height: 24px;
1178 font-weight: 600; 1210 font-weight: 600;
1211 margin-right: 12px;
1212 }
1213 }
1179 } 1214 }
1180 1215
1181 .title_desc { 1216 .title_desc {
1182 display: flex;
1183 1217
1184 .desc_group { 1218 .desc_group {
1185 margin-left: 16px; 1219 display: flex;
1220 margin: 8px 0;
1221
1222 .desc_item+.desc_item {
1223 margin-left: 40px;
1186 } 1224 }
1187 } 1225 }
1188 } 1226 }
...@@ -1194,9 +1232,25 @@ onBeforeMount(() => { ...@@ -1194,9 +1232,25 @@ onBeforeMount(() => {
1194 } 1232 }
1195 1233
1196 .panel_desc { 1234 .panel_desc {
1197 margin: 8px 0; 1235 height: 40px;
1236 margin: 16px 0 8px;
1237 padding: 0 12px;
1198 font-size: 14px; 1238 font-size: 14px;
1199 color: #666; 1239 color: #666;
1240 display: flex;
1241 align-items: center;
1242 background: #EFFBFC;
1243 border: 1px solid rgba(195, 219, 219, 1);
1244
1245 .el-icon {
1246 width: 14px;
1247 height: 14px;
1248 color: #4FA1A4;
1249 }
1250
1251 >span {
1252 margin-left: 8px;
1253 }
1200 } 1254 }
1201 } 1255 }
1202 1256
...@@ -1208,7 +1262,7 @@ onBeforeMount(() => { ...@@ -1208,7 +1262,7 @@ onBeforeMount(() => {
1208 padding: 0 16px; 1262 padding: 0 16px;
1209 1263
1210 &.flex { 1264 &.flex {
1211 height: calc(100% - 35px); 1265 height: calc(100% - 36px);
1212 display: flex; 1266 display: flex;
1213 justify-content: space-between; 1267 justify-content: space-between;
1214 flex: 1; 1268 flex: 1;
......
...@@ -777,9 +777,11 @@ onBeforeMount(() => { ...@@ -777,9 +777,11 @@ onBeforeMount(() => {
777 } 777 }
778 778
779 .panel_desc { 779 .panel_desc {
780 margin: 8px 0; 780 margin: 8px 0 16px;
781 font-size: 14px; 781 font-size: 14px;
782 color: #666; 782 color: #666;
783 line-height: 1.5;
784 text-align: justify;
783 } 785 }
784 } 786 }
785 787
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!