Browse Source

fiex:暂存

Tang 3 năm trước cách đây
mục cha
commit
dc92ee3fca
1 tập tin đã thay đổi với 73 bổ sung2 xóa
  1. 73 2
      src/components/tableList.vue

+ 73 - 2
src/components/tableList.vue

@@ -915,6 +915,77 @@
             }}
           </span>
           <div v-else-if="item.scope === 'changeCLS'">
+            <div
+              v-if="
+                !scope.row['interfacePushId'] &&
+                !scope.row['periodPlush']
+              "
+            >
+              <div v-if="scope.row[item.prop] === 1" style="color: red">
+                有变更<span
+                  style="margin-left: 6px; color: blue; cursor: pointer"
+                  @click="isShowBoxsFun(scope.row)"
+                  >查看</span
+                >
+              </div>
+              <span v-else> 正常 </span>
+            </div>
+            <template v-else>
+              <div
+                v-if="
+                  scope.row['interfacePushId'] === 1 &&
+                  !scope.row['periodPlush']
+                "
+              >
+                <div v-if="scope.row[item.prop] === 1">
+                  <div
+                    v-if="
+                      scope.row['officialStatusTime'] &&
+                      scope.row['userUpdates'][0].createTime <
+                        scope.row['officialStatusTime']
+                    "
+                  >
+                    正常
+                  </div>
+                  <div v-else style="color: red">
+                    有变更<span
+                      style="margin-left: 6px; color: blue; cursor: pointer"
+                      @click="isShowBoxsFun(scope.row)"
+                      >查看</span
+                    >
+                  </div>
+                </div>
+                <span v-else> 正常 </span>
+              </div>
+              <div
+                v-if="
+                  scope.row['interfacePushId'] === 1 &&
+                  scope.row['periodPlush'] === 1
+                "
+              >
+                <div v-if="scope.row[item.prop] === 1">
+                  <div
+                    v-if="
+                      scope.row['officialStatusTime'] &&
+                      scope.row['userUpdates'][0].createTime <
+                        scope.row['officialStatusTime']
+                    "
+                  >
+                    正常
+                  </div>
+                  <div v-else style="color: purple">
+                    有变更<span
+                      style="margin-left: 6px; color: blue; cursor: pointer"
+                      @click="isShowBoxsFun(scope.row)"
+                      >查看</span
+                    >
+                  </div>
+                </div>
+                <span v-else> 正常 </span>
+              </div>
+            </template>
+          </div>
+          <!-- <div v-else-if="item.scope === 'changeCLS'"> 
             <div v-if="scope.row[item.prop] === 1">
               <div v-if="scope.row['interfacePushId'] !== 1" style="color: red">
                 有变更<span
@@ -952,7 +1023,7 @@
               </template>
             </div>
             <span v-else> 正常 </span>
-          </div>
+          </div> -->
           <div v-else-if="item.scope === 'rebuy'">
             <span>{{
               scope.row[item.prop] === 1 && scope.row[item.prop1] === 1
@@ -1277,7 +1348,7 @@
         <template slot-scope="scope">
           {{
             scope.row.periodPlush === 1
-              ? `是(${scope.row.plushNum})`
+              ? `是(${scope.row.periodStatusNum})`
               : scope.row.periodPlush === 0
               ? "否"
               : ""