fix
Showing
1 changed file
with
8 additions
and
8 deletions
| ... | @@ -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 { | ... | ... |
-
Please register or sign in to post a comment