f38e6443 by lihua

fix

1 parent 14630d7b
...@@ -439,10 +439,6 @@ const handleFieldClickEdit = (scope) => { ...@@ -439,10 +439,6 @@ const handleFieldClickEdit = (scope) => {
439 } 439 }
440 440
441 const handleFieldClickSave = (scope) => { 441 const handleFieldClickSave = (scope) => {
442 if (!scope.row.labelGuid) {
443 proxy.$ElMessage.error('字段的标签不能为空');
444 return;
445 }
446 let labelName = ''; 442 let labelName = '';
447 let labelTypeCode = ''; 443 let labelTypeCode = '';
448 if (scope.row.labelGuid) { 444 if (scope.row.labelGuid) {
...@@ -552,10 +548,10 @@ const cntLabelMap = ref({ ...@@ -552,10 +548,10 @@ const cntLabelMap = ref({
552 <div class="table_tool_wrap"> 548 <div class="table_tool_wrap">
553 <div class="tools_btns"> 549 <div class="tools_btns">
554 <el-button v-if="!isLook" type="primary" @click="batchConfirm">批量确认</el-button> 550 <el-button v-if="!isLook" type="primary" @click="batchConfirm">批量确认</el-button>
555 <div v-show="!sensitiveTableDataLoading" class="cnt-desc">{{ '表总数:' + changeNum(cntSumInfo.tableNum || 0, 0) + '张 敏感表总数:' + 551 <div v-show="!sensitiveTableDataLoading" class="cnt-desc">{{ '表总数:' + changeNum(cntSumInfo.tableNum || 0, 0) + '张 字段总数:'
556 changeNum(cntSumInfo.sensitiveTableNum || 0, 0) + '张 字段总数:' 552 + changeNum(cntSumInfo.fieldNum || 0, 0) + '个 敏感表总数:' +
557 + changeNum(cntSumInfo.fieldNum || 0, 0) + '个 敏感字段总数:' + changeNum(cntSumInfo.sensitiveFieldNum || 0, 0) + 553 changeNum(cntSumInfo.sensitiveTableNum || 0, 0) + '张 敏感字段总数:' + changeNum(cntSumInfo.sensitiveFieldNum || 0, 0) +
558 '个,其中' + labelTypeList?.map(l => `${l.label}:${changeNum(cntSumInfo[cntLabelMap[l.value]] || 0, 0)}个`).join(' ') 554 '个,其中' + labelTypeList?.map(l => `${l.label}:${changeNum(cntSumInfo[cntLabelMap[l.value]] || 0, 0)}个`).join(' ') + ' 非敏感:' + changeNum(cntSumInfo['nonSensitiveNum'] || 0, 0) + '个'
559 }}</div> 555 }}</div>
560 </div> 556 </div>
561 </div> 557 </div>
...@@ -652,6 +648,10 @@ const cntLabelMap = ref({ ...@@ -652,6 +648,10 @@ const cntLabelMap = ref({
652 648
653 .table_tool_wrap { 649 .table_tool_wrap {
654 display: flex; 650 display: flex;
651
652 .cnt-desc {
653 line-height: 21px;
654 }
655 } 655 }
656 656
657 .table_panel_wrap { 657 .table_panel_wrap {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!