修改Pb*Pr公式
Showing
1 changed file
with
17 additions
and
3 deletions
| ... | @@ -1117,7 +1117,7 @@ onUnmounted(() => { | ... | @@ -1117,7 +1117,7 @@ onUnmounted(() => { |
| 1117 | <img src="../../assets/images/empty-data.png" :style="{ width: '168px', height: '96px' }" /> | 1117 | <img src="../../assets/images/empty-data.png" :style="{ width: '168px', height: '96px' }" /> |
| 1118 | <div class="empty-text">暂无数据</div> | 1118 | <div class="empty-text">暂无数据</div> |
| 1119 | </div> | 1119 | </div> |
| 1120 | <PageNav :class="[pageInfo.type]" :pageInfo="pageInfo" @pageChange="pageChange" /> | 1120 | <PageNav v-show="analysisResultTableFields.length" :class="[pageInfo.type]" :pageInfo="pageInfo" @pageChange="pageChange" /> |
| 1121 | <div v-show="Object.keys(analysisResultInfo).length > 0"> | 1121 | <div v-show="Object.keys(analysisResultInfo).length > 0"> |
| 1122 | <div class="value-desc"><span style="font-weight: 600;margin-right: 8px;">重标识风险指标</span>{{ 'Rb=' + | 1122 | <div class="value-desc"><span style="font-weight: 600;margin-right: 8px;">重标识风险指标</span>{{ 'Rb=' + |
| 1123 | changeNum(analysisResultInfo.reIdentifyRiskRb || 0, 2) + ' Rc=' | 1123 | changeNum(analysisResultInfo.reIdentifyRiskRb || 0, 2) + ' Rc=' |
| ... | @@ -1129,9 +1129,9 @@ onUnmounted(() => { | ... | @@ -1129,9 +1129,9 @@ onUnmounted(() => { |
| 1129 | }} | 1129 | }} |
| 1130 | </div> | 1130 | </div> |
| 1131 | <div v-show="analysisResultInfo.reIdentifyOverallRisk != 1" class="value-desc"><span style="font-weight: 600;margin-right: 8px;">重标识总体风险</span>{{ | 1131 | <div v-show="analysisResultInfo.reIdentifyOverallRisk != 1" class="value-desc"><span style="font-weight: 600;margin-right: 8px;">重标识总体风险</span>{{ |
| 1132 | 'R=Rc*pr(context)=' + | 1132 | (oldAnonTaskValueInfo.dataSharingTypeCode == '01' ? 'R=Rb*pr(context)=' : 'R=Rc*pr(context)=') + |
| 1133 | analysisResultInfo.reIdentifyOverallRisk || 0 }}</div> | 1133 | analysisResultInfo.reIdentifyOverallRisk || 0 }}</div> |
| 1134 | <div class="value-desc" style="font-weight: 600;">{{ '重标识总体风险值' + ((oldAnonTaskValueInfo.anonPrivacyMode?.riskThreshol && parseInt(oldAnonTaskValueInfo.anonPrivacyMode?.riskThreshol) || 0) > (oldAnonTaskValueInfo.anonPrivacyMode?.riskThreshol && parseInt(oldAnonTaskValueInfo.anonPrivacyMode?.riskThreshol) || 0.05) ? '大于' : ((analysisResultInfo.reIdentifyOverallRisk || 0) == (oldAnonTaskValueInfo.anonPrivacyMode?.riskThreshol && parseInt(oldAnonTaskValueInfo.anonPrivacyMode?.riskThreshol) || 0.05) ? | 1134 | <div class="value-desc" style="font-weight: 600;">{{ '重标识总体风险值' + ((analysisResultInfo.reIdentifyOverallRisk || 0) > (oldAnonTaskValueInfo.anonPrivacyMode?.riskThreshol && parseInt(oldAnonTaskValueInfo.anonPrivacyMode?.riskThreshol) || 0.05) ? '大于' : ((analysisResultInfo.reIdentifyOverallRisk || 0) == (oldAnonTaskValueInfo.anonPrivacyMode?.riskThreshol && parseInt(oldAnonTaskValueInfo.anonPrivacyMode?.riskThreshol) || 0.05) ? |
| 1135 | '等于' : '小于')) + '可接受风险阈值' + | 1135 | '等于' : '小于')) + '可接受风险阈值' + |
| 1136 | (oldAnonTaskValueInfo.anonPrivacyMode?.riskThreshold == | 1136 | (oldAnonTaskValueInfo.anonPrivacyMode?.riskThreshold == |
| 1137 | null ? | 1137 | null ? |
| ... | @@ -1346,4 +1346,18 @@ onUnmounted(() => { | ... | @@ -1346,4 +1346,18 @@ onUnmounted(() => { |
| 1346 | border-bottom: 1px solid #d9d9d9; | 1346 | border-bottom: 1px solid #d9d9d9; |
| 1347 | } | 1347 | } |
| 1348 | } | 1348 | } |
| 1349 | |||
| 1350 | .empty-content { | ||
| 1351 | display: flex; | ||
| 1352 | align-items: center; | ||
| 1353 | justify-content: center; | ||
| 1354 | height: 316px; | ||
| 1355 | width: 100%; | ||
| 1356 | flex-direction: column; | ||
| 1357 | |||
| 1358 | .empty-text { | ||
| 1359 | font-size: 14px; | ||
| 1360 | color: #b2b2b2; | ||
| 1361 | } | ||
| 1362 | } | ||
| 1349 | </style> | 1363 | </style> |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or sign in to post a comment