瀏覽代碼

bug 修复

lilei 4 年之前
父節點
當前提交
2431428f4b
共有 3 個文件被更改,包括 294 次插入253 次删除
  1. 10 3
      pages/spotCheckCenter/spotChecking.vue
  2. 146 134
      unpackage/dist/dev/app-plus/app-service.js
  3. 138 116
      unpackage/dist/dev/app-plus/app-view.js

+ 10 - 3
pages/spotCheckCenter/spotChecking.vue

@@ -3,9 +3,16 @@
 		<view class="tab-body">
 			<view><u-tabs-swiper ref="uTabs" :list="tabList" name="dispName" :current="current" @change="tabsChange" :is-scroll="false" swiperWidth="750"></u-tabs-swiper></view>
 			<swiper class="check-list" :current="swiperCurrent" @transition="transition" @change="swiperChange" @animationfinish="animationfinish">
-				<swiper-item class="swiper-item" style="height: 100%;width: 100%;overflow: hidden;" v-for="(tabs, index) in tabList" :key="index">
+				<swiper-item 
+				class="swiper-item" 
+				style="height: 100%;width: 100%;overflow: hidden;" 
+				v-for="(tabs, index) in tabList" 
+				:key="index">
 					<scroll-view scroll-y style="height: 100%;width: 100%;overflow: auto;" @scrolltolower="onreachBottom">
-						<view class="check-order-list" v-for="(item, index) in list" :key="item.id">
+						<view class="check-order-list" 
+						v-if="index==current"
+						v-for="(item, sindex) in list" 
+						:key="item.id">
 							<view class="check-row" @click="viewRow(item)">
 								<view class="createDate">{{ item.createDate }}</view>
 								<view :class="clsStatus(item.status)">{{ item.status }}</view>
@@ -23,7 +30,7 @@
 							</view>
 						</view>
 						<u-empty :text="noDataText" img-width="120" v-if="list.length == 0 && status != 'loading'" mode="list"></u-empty>
-						<view style="padding: 20upx;"><u-loadmore v-if="total > pageSize || status == 'loading'" :status="status" /></view>
+						<view v-if="index==current" style="padding: 20upx;"><u-loadmore v-if="total > pageSize || status == 'loading'" :status="status" /></view>
 					</scroll-view>
 				</swiper-item>
 			</swiper>

File diff suppressed because it is too large
+ 146 - 134
unpackage/dist/dev/app-plus/app-service.js


+ 138 - 116
unpackage/dist/dev/app-plus/app-view.js

@@ -14002,98 +14002,50 @@ var render = function() {
                     [
                       _vm._l(_vm._$g(7 + "-" + $30, "f"), function(
                         item,
-                        index,
+                        sindex,
                         $21,
                         $31
                       ) {
-                        return _c(
-                          "v-uni-view",
-                          {
-                            key: item,
-                            staticClass: _vm._$g("7-" + $30 + "-" + $31, "sc"),
-                            attrs: { _i: "7-" + $30 + "-" + $31 }
-                          },
-                          [
-                            _c(
+                        return _vm._$g("7-" + $30 + "-" + $31, "i")
+                          ? _c(
                               "v-uni-view",
                               {
+                                key: item,
                                 staticClass: _vm._$g(
-                                  "8-" + $30 + "-" + $31,
+                                  "7-" + $30 + "-" + $31,
                                   "sc"
                                 ),
-                                attrs: { _i: "8-" + $30 + "-" + $31 },
-                                on: {
-                                  click: function($event) {
-                                    return _vm.$handleViewEvent($event)
-                                  }
-                                }
+                                attrs: { _i: "7-" + $30 + "-" + $31 }
                               },
                               [
                                 _c(
                                   "v-uni-view",
                                   {
                                     staticClass: _vm._$g(
-                                      "9-" + $30 + "-" + $31,
+                                      "8-" + $30 + "-" + $31,
                                       "sc"
                                     ),
-                                    attrs: { _i: "9-" + $30 + "-" + $31 }
-                                  },
-                                  [
-                                    _vm._v(
-                                      _vm._$g("9-" + $30 + "-" + $31, "t0-0")
-                                    )
-                                  ]
-                                ),
-                                _c(
-                                  "v-uni-view",
-                                  {
-                                    class: _vm._$g(
-                                      "10-" + $30 + "-" + $31,
-                                      "c"
-                                    ),
-                                    attrs: { _i: "10-" + $30 + "-" + $31 }
+                                    attrs: { _i: "8-" + $30 + "-" + $31 },
+                                    on: {
+                                      click: function($event) {
+                                        return _vm.$handleViewEvent($event)
+                                      }
+                                    }
                                   },
-                                  [
-                                    _vm._v(
-                                      _vm._$g("10-" + $30 + "-" + $31, "t0-0")
-                                    )
-                                  ]
-                                )
-                              ],
-                              1
-                            ),
-                            _c(
-                              "v-uni-view",
-                              {
-                                staticClass: _vm._$g(
-                                  "11-" + $30 + "-" + $31,
-                                  "sc"
-                                ),
-                                attrs: { _i: "11-" + $30 + "-" + $31 },
-                                on: {
-                                  click: function($event) {
-                                    return _vm.$handleViewEvent($event)
-                                  }
-                                }
-                              },
-                              [
-                                _c(
-                                  "v-uni-view",
-                                  { attrs: { _i: "12-" + $30 + "-" + $31 } },
                                   [
                                     _c(
                                       "v-uni-view",
                                       {
-                                        staticStyle: {
-                                          "font-size": "30upx",
-                                          "margin-bottom": "10upx"
-                                        },
-                                        attrs: { _i: "13-" + $30 + "-" + $31 }
+                                        staticClass: _vm._$g(
+                                          "9-" + $30 + "-" + $31,
+                                          "sc"
+                                        ),
+                                        attrs: { _i: "9-" + $30 + "-" + $31 }
                                       },
                                       [
                                         _vm._v(
                                           _vm._$g(
-                                            "13-" + $30 + "-" + $31,
+                                            "9-" + $30 + "-" + $31,
                                             "t0-0"
                                           )
                                         )
@@ -14102,13 +14054,16 @@ var render = function() {
                                     _c(
                                       "v-uni-view",
                                       {
-                                        staticStyle: { color: "#666666" },
-                                        attrs: { _i: "14-" + $30 + "-" + $31 }
+                                        class: _vm._$g(
+                                          "10-" + $30 + "-" + $31,
+                                          "c"
+                                        ),
+                                        attrs: { _i: "10-" + $30 + "-" + $31 }
                                       },
                                       [
                                         _vm._v(
                                           _vm._$g(
-                                            "14-" + $30 + "-" + $31,
+                                            "10-" + $30 + "-" + $31,
                                             "t0-0"
                                           )
                                         )
@@ -14119,63 +14074,137 @@ var render = function() {
                                 ),
                                 _c(
                                   "v-uni-view",
-                                  { attrs: { _i: "15-" + $30 + "-" + $31 } },
+                                  {
+                                    staticClass: _vm._$g(
+                                      "11-" + $30 + "-" + $31,
+                                      "sc"
+                                    ),
+                                    attrs: { _i: "11-" + $30 + "-" + $31 },
+                                    on: {
+                                      click: function($event) {
+                                        return _vm.$handleViewEvent($event)
+                                      }
+                                    }
+                                  },
                                   [
-                                    _vm._$g("16-" + $30 + "-" + $31, "i")
-                                      ? _c(
-                                          "v-uni-text",
+                                    _c(
+                                      "v-uni-view",
+                                      {
+                                        attrs: { _i: "12-" + $30 + "-" + $31 }
+                                      },
+                                      [
+                                        _c(
+                                          "v-uni-view",
                                           {
-                                            staticStyle: { color: "#007AFF" },
+                                            staticStyle: {
+                                              "font-size": "30upx",
+                                              "margin-bottom": "10upx"
+                                            },
                                             attrs: {
-                                              _i: "16-" + $30 + "-" + $31
+                                              _i: "13-" + $30 + "-" + $31
                                             }
                                           },
-                                          [_vm._v("开始点检")]
-                                        )
-                                      : _vm._e(),
-                                    _vm._$g("17-" + $30 + "-" + $31, "i")
-                                      ? _c(
-                                          "v-uni-text",
+                                          [
+                                            _vm._v(
+                                              _vm._$g(
+                                                "13-" + $30 + "-" + $31,
+                                                "t0-0"
+                                              )
+                                            )
+                                          ]
+                                        ),
+                                        _c(
+                                          "v-uni-view",
                                           {
-                                            staticStyle: { color: "#007AFF" },
+                                            staticStyle: { color: "#666666" },
                                             attrs: {
-                                              _i: "17-" + $30 + "-" + $31
+                                              _i: "14-" + $30 + "-" + $31
                                             }
                                           },
-                                          [_vm._v("查看结果")]
+                                          [
+                                            _vm._v(
+                                              _vm._$g(
+                                                "14-" + $30 + "-" + $31,
+                                                "t0-0"
+                                              )
+                                            )
+                                          ]
                                         )
-                                      : _vm._e(),
-                                    _vm._$g("18-" + $30 + "-" + $31, "i")
-                                      ? _c("u-icon", {
-                                          attrs: { _i: "18-" + $30 + "-" + $31 }
-                                        })
-                                      : _vm._e()
+                                      ],
+                                      1
+                                    ),
+                                    _c(
+                                      "v-uni-view",
+                                      {
+                                        attrs: { _i: "15-" + $30 + "-" + $31 }
+                                      },
+                                      [
+                                        _vm._$g("16-" + $30 + "-" + $31, "i")
+                                          ? _c(
+                                              "v-uni-text",
+                                              {
+                                                staticStyle: {
+                                                  color: "#007AFF"
+                                                },
+                                                attrs: {
+                                                  _i: "16-" + $30 + "-" + $31
+                                                }
+                                              },
+                                              [_vm._v("开始点检")]
+                                            )
+                                          : _vm._e(),
+                                        _vm._$g("17-" + $30 + "-" + $31, "i")
+                                          ? _c(
+                                              "v-uni-text",
+                                              {
+                                                staticStyle: {
+                                                  color: "#007AFF"
+                                                },
+                                                attrs: {
+                                                  _i: "17-" + $30 + "-" + $31
+                                                }
+                                              },
+                                              [_vm._v("查看结果")]
+                                            )
+                                          : _vm._e(),
+                                        _vm._$g("18-" + $30 + "-" + $31, "i")
+                                          ? _c("u-icon", {
+                                              attrs: {
+                                                _i: "18-" + $30 + "-" + $31
+                                              }
+                                            })
+                                          : _vm._e()
+                                      ],
+                                      1
+                                    )
                                   ],
                                   1
                                 )
                               ],
                               1
                             )
-                          ],
-                          1
-                        )
+                          : _vm._e()
                       }),
                       _vm._$g("19-" + $30, "i")
                         ? _c("u-empty", { attrs: { _i: "19-" + $30 } })
                         : _vm._e(),
-                      _c(
-                        "v-uni-view",
-                        {
-                          staticStyle: { padding: "20upx" },
-                          attrs: { _i: "20-" + $30 }
-                        },
-                        [
-                          _vm._$g("21-" + $30, "i")
-                            ? _c("u-loadmore", { attrs: { _i: "21-" + $30 } })
-                            : _vm._e()
-                        ],
-                        1
-                      )
+                      _vm._$g("20-" + $30, "i")
+                        ? _c(
+                            "v-uni-view",
+                            {
+                              staticStyle: { padding: "20upx" },
+                              attrs: { _i: "20-" + $30 }
+                            },
+                            [
+                              _vm._$g("21-" + $30, "i")
+                                ? _c("u-loadmore", {
+                                    attrs: { _i: "21-" + $30 }
+                                  })
+                                : _vm._e()
+                            ],
+                            1
+                          )
+                        : _vm._e()
                     ],
                     2
                   )
@@ -14882,14 +14911,7 @@ var render = function() {
                     },
                     [_vm._v(_vm._$g("10-" + $30, "t0-0"))]
                   ),
-                  _c("u-switch", {
-                    attrs: { _i: "11-" + $30 },
-                    model: {
-                      value: _vm._$g("11-" + $30, "v-model"),
-                      callback: function() {},
-                      expression: "listData.status"
-                    }
-                  })
+                  _c("u-switch", { attrs: { _i: "11-" + $30 } })
                 ],
                 1
               ),
@@ -14903,7 +14925,7 @@ var render = function() {
                   _c("span", { attrs: { _i: "13-" + $30 } }, [
                     _vm._v(
                       _vm._$g("13-" + $30, "t0-0") +
-                        "- " +
+                        " " +
                         _vm._$g("13-" + $30, "t0-1")
                     )
                   ]),

Some files were not shown because too many files changed in this diff