瀏覽代碼

fiex:修复bug

Tang 3 年之前
父節點
當前提交
94acd3cef9
共有 1 個文件被更改,包括 5 次插入18 次删除
  1. 5 18
      src/components/tableList.vue

+ 5 - 18
src/components/tableList.vue

@@ -920,10 +920,7 @@
           </span>
           <div v-else-if="item.scope === 'changeCLS'">
             <div
-              v-if="
-                !scope.row['interfacePushId'] &&
-                !scope.row['periodPlush']
-              "
+              v-if="!scope.row['interfacePushId'] && !scope.row['periodPlush']"
             >
               <div v-if="scope.row[item.prop] === 1" style="color: red">
                 有变更<span
@@ -990,11 +987,7 @@
             </template>
           </div>
           <div v-else-if="item.scope === 'rebuy'">
-            <span>{{
-              scope.row[item.prop] === 1
-                ? "是"
-                : ""
-            }}</span>
+            <span>{{ scope.row[item.prop] === 1 ? "是" : "" }}</span>
             <span
               v-if="scope.row[item.prop] === 1"
               style="margin-left: 6px; color: blue; cursor: pointer"
@@ -1298,9 +1291,7 @@
           {{
             scope.row.officialStatus === 1
               ? `是(${scope.row.officialStatusNum})`
-              : scope.row.officialStatus === 0
-              ? "否"
-              : ""
+              : "否"
           }}
         </template>
       </el-table-column>
@@ -1314,9 +1305,7 @@
           {{
             scope.row.periodPlush === 1
               ? `是(${scope.row.periodStatusNum})`
-              : scope.row.periodPlush === 0
-              ? "否"
-              : ""
+              : "否"
           }}
         </template>
       </el-table-column>
@@ -1330,9 +1319,7 @@
           {{
             scope.row.learnStatus === 1
               ? "是"
-              : scope.row.learnStatus === 0
-              ? "否"
-              : ""
+              : "否"
           }}
         </template>
       </el-table-column>