Parcourir la source

修改 医嘱相关

yuwandanmian il y a 2 ans
Parent
commit
a32a0e556a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/views/allcase/caseIndex.vue

+ 1 - 1
src/views/allcase/caseIndex.vue

@@ -25,7 +25,7 @@
             <el-table-column prop="" label="数据" width="200">
               <template slot-scope="scope">
                 <span v-if="ruleId > 100" class="link" @click="toCaseIndexPage(scope.row)">{{ scope.row[judgeNum] }}</span>
-                <span v-else>{{ scope.row.res * 100 + '%' }}</span>
+                <span v-else>{{ (scope.row.res * 100).toFixed(2) + '%' }}</span>
               </template>
             </el-table-column>
             <el-table-column prop="source" label="来源" width="200"></el-table-column>