Explorar el Código

11月6日,检验检查

yq1 hace 1 semana
padre
commit
40d82c94ba
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      src/pages/doctorAdvice/components/new_Inspectiondetails.vue

+ 4 - 0
src/pages/doctorAdvice/components/new_Inspectiondetails.vue Ver fichero

@@ -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>