| | |
| | | }) |
| | | }, |
| | | globalData: { |
| | | sessionId:2024102118013700009, |
| | | clientId:"", |
| | | sessionId:'', |
| | | clientId:'', |
| | | tag:'ym', |
| | | userInfo: null, |
| | | userId:"", |
| | |
| | | .loading { |
| | | text-align: center; |
| | | padding: 20px; |
| | | font-size: 30rpx; |
| | | } |
| | |
| | | this.setData({ |
| | | isRefreshing: false, |
| | | pageCurr: 1, |
| | | listData:[] |
| | | }); |
| | | } |
| | | const app = getApp(); |
| | |
| | | const item = e.currentTarget.dataset.item; |
| | | const that = this; |
| | | wx.showLoading({ |
| | | title: '正在强制删除请稍候...', // 加载提示文字 |
| | | title: '正在删除请稍候...', // 加载提示文字 |
| | | mask: true // 是否显示透明蒙层,防止触摸穿透,默认为 false |
| | | }); |
| | | that.setData({ |
| | | lastIntakeName: intakeName |
| | | }) |
| | | const data = { |
| | | vcNum: item.vcNum, //取水口ID |
| | | rtuAddr: item.rtuAddr, //阀控器地址 |
| | | issueReportId: item.issueReportId, //取水口ID |
| | | clientId: app.globalData.clientId, //阀控器地址 |
| | | }; |
| | | post({ |
| | | url: "wx/issue/deleteIssueReport", |
| | |
| | | // 加载完成后隐藏加载动画 |
| | | wx.hideLoading(); |
| | | //重新获取列表刷新数据 |
| | | this.getList(); |
| | | this.getList(true); |
| | | }).catch(error => { |
| | | // 加载完成后隐藏加载动画 |
| | | wx.hideLoading(); |
| | |
| | | <view slot="right" class="delete-btn" bind:tap="onDelete" data-item="{{item}}">删除</view> |
| | | </t-swipe-cell> |
| | | </block> |
| | | <view wx:if="{{feedBackList.length === 0}}" class="noMore-View"> |
| | | <view wx:if="{{listData.length === 0}}" class="noMore-View"> |
| | | <image class="noMore-img" src="/images/no_more.svg" /> |
| | | <text class="noMore-text">没有数据</text> |
| | | </view> |
| | | <view wx:if="{{loading}}" class="loading">加载中...</view> <!-- 加载指示器 --> |
| | | <view wx:if="{{!hasMore&&listData.length>0}}" class="loading">没有更多数据</view> <!-- 加载指示器 --> |
| | | </scroll-view> |
| | | |
| | | |
| | |
| | | |
| | | <view class="rechage-view"> |
| | | <view class="rechage{{activeIndex === -1 ? 'active' : ''}}" disabled="{{isClickable}}" bind:tap="creatOrder"> |
| | | <text class="rechage-text" >充值</text> |
| | | <text class="rechage-text">充值</text> |
| | | </view> |
| | | </view> |
| | | |
| | | <view class="rechageList-view"> |
| | | <text class="rechageList-view-head">充值记录</text> |
| | | <scroll-view class="list-container" scroll-y="true" scroll-x="false" refresher-enabled="true" refresher-threshold="50" |
| | | bindrefresherrefresh="onPullDownRefresh" refresher-triggered="{{isWXRefreshing}}" bindscrolltolower="loadMore"> |
| | | <scroll-view class="list-container" scroll-y="true" scroll-x="false" refresher-enabled="true" refresher-threshold="50" bindrefresherrefresh="onPullDownRefresh" refresher-triggered="{{isWXRefreshing}}" bindscrolltolower="loadMore"> |
| | | <block wx:if="{{allRechargeList.length > 0}}" wx:for="{{allRechargeList}}" wx:key="index"> |
| | | <view class="itemList"> |
| | | <text class="item-card-text">{{item.rechargeTime}}</text> |
| | |
| | | <text class="noMore-text">没有数据</text> |
| | | </view> |
| | | <view wx:if="{{loading}}" class="loading">加载中...</view> <!-- 加载指示器 --> |
| | | <view wx:if="{{!hasMore&&allRechargeList.length>0}}" class="loading">没有更多数据</view> |
| | | </scroll-view> |
| | | |
| | | |
| | |
| | | <text class="noMore-text">没有数据</text> |
| | | </view> |
| | | <view wx:if="{{virtualIsLoding}}" class="loading">加载中...</view> <!-- 加载指示器 --> |
| | | <view wx:if="{{ !virtualhasMore && listVirtualData.length > 0}}" class="loading">没有更多数据</view> |
| | | </scroll-view> |
| | | |
| | | <scroll-view class="list-container" wx:else scroll-y="true" scroll-x="false" refresher-enabled="true" bindrefresherrefresh="onPullPhysicalDownRefresh" scroll-x="false" refresher-triggered="{{isPhysicalRefreshing}}" bindscrolltolower="loadPhysicalMore"> |
| | |
| | | <text class="noMore-text">没有数据</text> |
| | | </view> |
| | | <view wx:if="{{physicalIsLoding}}" class="loading">加载中...</view> <!-- 加载指示器 --> |
| | | <view wx:if="{{!physicalHasMore && listPhysicalData.length > 0}}" class="loading">没有更多数据</view> |
| | | </scroll-view> |
| | | </view> |