Bladeren bron

11月6日,检验检查

yq1 1 week geleden
bovenliggende
commit
40d82c94ba
1 gewijzigde bestanden met toevoegingen van 4 en 0 verwijderingen
  1. 4 0
      src/pages/doctorAdvice/components/new_Inspectiondetails.vue

+ 4 - 0
src/pages/doctorAdvice/components/new_Inspectiondetails.vue Bestand weergeven

@@ -56,12 +56,16 @@
56 56
              <span v-if="parseFloat(getItemValue(scope.row.inspect_date,item.item_name)) < parseFloat(item.range_min) ">
57 57
               {{ getItemValue(scope.row.inspect_date,item.item_name) }} <span style="color: blue;" v-if="getItemValue(scope.row.inspect_date,item.item_name)>0">↓</span>
58 58
              </span>
59
+
59 60
              <span v-if="parseFloat(item.range_min)<= parseFloat( getItemValue(scope.row.inspect_date,item.item_name)) && parseFloat(getItemValue(scope.row.inspect_date,item.item_name))<= parseFloat(item.range_max) ">
60 61
                {{ getItemValue(scope.row.inspect_date,item.item_name) }}
61 62
              </span>
62 63
              <span v-if="parseFloat(getItemValue(scope.row.inspect_date,item.item_name)) >parseFloat(item.range_max) ">
63 64
               {{ getItemValue(scope.row.inspect_date,item.item_name) }} <span style="color: red;" v-if="getItemValue(scope.row.inspect_date,item.item_name)>0">↑</span>
64 65
              </span>
66
+             <span v-if ="item.range_max ==''||item.range_min ==''">
67
+              {{ getItemValue(scope.row.inspect_date,item.item_name) }}
68
+             </span>
65 69
           </span>
66 70
 
67 71
          </template>