yuwandanmian 1 жил өмнө
parent
commit
087ffe5848

+ 8 - 9
src/views/allcase/caseIndex.vue

@@ -54,10 +54,9 @@
                 <span v-else>{{ (scope.row.res * 100).toFixed(2) + '%' }}</span>
               </template>
             </el-table-column>
-            <!-- <el-table-column prop="denominator" :label="cloumn3" align="center"></el-table-column> -->
             <el-table-column align="center">
               <template slot="header" slot-scope="scope">
-                <span>{{ cloumn2 }}</span>
+                <span>{{ cloumn3 }}</span>
                 <i class="el-icon-edit table_edit" v-if="scope._self.tableData[0].source === '人工录入' && scope._self.judgeEdit" @click="onChangeValue"></i>
               </template>
               <template slot-scope="scope">
@@ -65,15 +64,15 @@
                 <!-- 非人工录入不可修改 -->
                 <!-- 菜单未标记的不可修改 -->
                 <div>
-                  <el-button type="text" v-if="scope.row.source !== '人工录入'" class="pointer link" @click="toCaseIndexPage(scope.row, 'denominator')">{{ scope.row.denominator }}</el-button>
-                  <span v-else>{{ scope.row.numerator }}</span>
-                  <i class="el-icon-edit table_edit" style="margin-left: 10px;" @click="onChangeValue(scope.row, 'denominator')" v-show="scope.row.source === '人工录入' && scope.row.time !== '全年'"></i>
+                  <el-button type="text" v-if="scope.row.source !== '人工录入'" class="pointer link" @click="toCaseIndexPage(scope.row, 'numerator')">{{ scope.row.numerator }}</el-button>
+                  <span v-else>{{ scope.row.denominator }}</span>
+                  <i class="el-icon-edit table_edit" style="margin-left: 10px;" @click="onChangeValue(scope.row, 'numerator')" v-show="scope.row.source === '人工录入' && scope.row.time !== '全年'"></i>
                 </div>
               </template>
             </el-table-column>
             <el-table-column align="center">
               <template slot="header" slot-scope="scope">
-                <span>{{ cloumn3 }}</span>
+                <span>{{ cloumn2 }}</span>
                 <i class="el-icon-edit table_edit" v-if="scope._self.tableData[0].source === '人工录入' && scope._self.judgeEdit" @click="onChangeValue"></i>
               </template>
               <template slot-scope="scope">
@@ -81,9 +80,9 @@
                 <!-- 非人工录入不可修改 -->
                 <!-- 菜单未标记的不可修改 -->
                 <div>
-                  <el-button type="text" v-if="scope.row.source !== '人工录入'" class="pointer link" @click="toCaseIndexPage(scope.row, 'numerator')">{{ scope.row.numerator }}</el-button>
-                  <span v-else>{{ scope.row.denominator }}</span>
-                  <i class="el-icon-edit table_edit" style="margin-left: 10px;" @click="onChangeValue(scope.row, 'numerator')" v-show="scope.row.source === '人工录入' && scope.row.time !== '全年'"></i>
+                  <el-button type="text" v-if="scope.row.source !== '人工录入'" class="pointer link" @click="toCaseIndexPage(scope.row, 'denominator')">{{ scope.row.denominator }}</el-button>
+                  <span v-else>{{ scope.row.numerator }}</span>
+                  <i class="el-icon-edit table_edit" style="margin-left: 10px;" @click="onChangeValue(scope.row, 'denominator')" v-show="scope.row.source === '人工录入' && scope.row.time !== '全年'"></i>
                 </div>
               </template>
             </el-table-column>