Browse Source

增加重新测评

chenlei 3 months ago
parent
commit
564ad88a67
2 changed files with 4 additions and 4 deletions
  1. 2 2
      src/views/report/Detail.vue
  2. 2 2
      src/views/report/PDF.vue

+ 2 - 2
src/views/report/Detail.vue

@@ -416,9 +416,9 @@ function goDetails(item){
           theme="primary"
           block
           style="width: 300px; margin: 30px auto"
-          v-if="['expired','unTest'].includes(riskLevelStatus)"
+          v-if="['expired','unTest', 'unMatch'].includes(riskLevelStatus)"
           @click="handleGoTestRisk"
-          >风险测评</t-button
+          >{{riskLevelStatus === 'unMatch' ? '重新测评' : '风险测评'}}</t-button
         >
       </template>
     </div>

+ 2 - 2
src/views/report/PDF.vue

@@ -250,9 +250,9 @@ function goDetails(item){
           theme="primary"
           block
           style="width: 300px; margin: 30px auto"
-          v-if="['expired','unTest'].includes(riskLevelStatus)"
+          v-if="['expired','unTest','unMatch'].includes(riskLevelStatus)"
           @click="handleGoTestRisk"
-          >风险测评</t-button
+          >{{riskLevelStatus === 'unMatch' ? '重新测评' : '风险测评'}}</t-button
         >
       </template>
     </div>