12 changed files with 115 additions and 103 deletions
@ -1,4 +1,7 @@ |
|||
{ |
|||
"usingComponents": {}, |
|||
"usingComponents": { |
|||
"van-tab": "@vant/weapp/tab/index", |
|||
"van-tabs": "@vant/weapp/tabs/index" |
|||
}, |
|||
"navigationBarTitleText": "安检巡查" |
|||
} |
@ -1,67 +1,66 @@ |
|||
<!--subpages/gatherInformation/pages/gatherInformation/gatherInformation.wxml--> |
|||
<view class="page"> |
|||
<view class="search"> |
|||
<view class="row1"> |
|||
<view class="filter" bind:tap="toggleColor" data-value="1" style="{{waitingCheckStyle}}"> |
|||
待复核 |
|||
</view> |
|||
<view class="filter" bind:tap="toggleColor" data-value="2" style="{{qualifiedStyle}}"> |
|||
已合格 |
|||
</view></view> |
|||
|
|||
</view> |
|||
<view class=""> |
|||
<view class="section_5"> |
|||
<scroll-view scroll-y="{{true}}" scroll-into-view="scrollToHere" wx:if="{{waitingCheckStyle}}" style="width: 100%; height: 90vh;" |
|||
lower-threshold="{{ lowerThreshold }}" bindscrolltolower="onScrollToLower"> |
|||
<view class="list_1" wx:for="{{flag0Array}}" bind:tap="toDetails" data-flag="{{item.checkResultFlag}}" data-resiId="{{item.id}}"> |
|||
<view class="section_1-0" id="scrollToHere"> |
|||
<view class="title">{{item.name}}</view> |
|||
<view class="title_mall">检查时间: {{item.orderDate}}</view> |
|||
<view class="title_mall">检查人员: {{item.checkPersons}}</view> |
|||
<view class="title_mall">{{item.status?'未整改隐患':'隐患明细'}}: |
|||
<text wx:for="{{item.hiddenDangeList0}}" wx:key="index">{{index+1}}.{{item.hazardDesc}}</text> |
|||
</view> |
|||
<view wx:if="{{!item.status}}"> |
|||
<view class="title_mall" wx:for="{{item.hiddenDangeList2}}" wx:key="index"> |
|||
整改要求:{{item.hazardDesc}} |
|||
</view> |
|||
</view> |
|||
<view wx:if="{{item.status && item.hiddenDangeList1.length != 0}}"> |
|||
<view class="title_mall" > |
|||
已整改隐患:<text wx:for="{{item.hiddenDangeList1}}" wx:key="indexC" wx:for-index='indexC'>{{indexC+1}}.{{item.hazardDesc}} </text> |
|||
</view> |
|||
</view> |
|||
<view class="title_mall">拟复查时间: {{item.reviewTime}}</view> |
|||
<view class="search"> |
|||
<view class="row1"> |
|||
<van-tabs active="{{active}}" bind:change="toggleColor " title-active-color="#3974F6" color="#3974F6" > |
|||
<van-tab title="待复核" title-class="custom-tab-title" > |
|||
<view class="section_5"> |
|||
<scroll-view scroll-y="{{true}}" scroll-into-view="scrollToHere" style="width: 100%; height: 90vh;" lower-threshold="{{ lowerThreshold }}" bindscrolltolower="onScrollToLower"> |
|||
<view class="list_1" wx:for="{{flag0Array}}" bind:tap="toDetails" data-flag="{{item.checkResultFlag}}" data-resiId="{{item.id}}"> |
|||
<view class="section_1-0" id="scrollToHere"> |
|||
<view class="title">{{item.name}}</view> |
|||
<view class="title_mall">检查时间: {{item.orderDate}}</view> |
|||
<view class="title_mall">检查人员: {{item.checkPersons}}</view> |
|||
<view class="title_mall">{{item.status?'未整改隐患':'隐患明细'}}: |
|||
<text wx:for="{{item.hiddenDangeList0}}" wx:key="index">{{index+1}}.{{item.hazardDesc}}</text> |
|||
</view> |
|||
<view wx:if="{{!item.status}}"> |
|||
<view class="title_mall" wx:for="{{item.hiddenDangeList2}}" wx:key="index"> |
|||
整改要求:{{item.hazardDesc}} |
|||
</view> |
|||
</view> |
|||
<view wx:if="{{item.status && item.hiddenDangeList1.length != 0}}"> |
|||
<view class="title_mall"> |
|||
已整改隐患:<text wx:for="{{item.hiddenDangeList1}}" wx:key="indexC" wx:for-index='indexC'>{{indexC+1}}.{{item.hazardDesc}} </text> |
|||
</view> |
|||
</view> |
|||
<view class="title_mall">拟复查时间: {{item.reviewTime}}</view> |
|||
</view> |
|||
</view> |
|||
<movable-area class="movable-area"> |
|||
<movable-view class="movable-view" direction="all" x="250" y="300"> |
|||
<image src="../../../images/xuncha3.png" class="image-wrapper" catchtouchend="handleTap"></image> |
|||
</movable-view> |
|||
</movable-area> |
|||
</scroll-view> |
|||
</view> |
|||
<movable-area class="movable-area"> |
|||
<movable-view class="movable-view" direction="all" x="250" y="300"> |
|||
<image src="../../../images/xuncha3.png" class="image-wrapper" catchtouchend="handleTap"></image> |
|||
</movable-view> |
|||
</movable-area> |
|||
</scroll-view> |
|||
|
|||
|
|||
<scroll-view scroll-y="{{true}}" scroll-into-view="scrollToHere" wx:if="{{qualifiedStyle}}" style="width: 100%; height: 90vh;" lower-threshold="{{ lowerThreshold }}" bindscrolltolower="onScrollToLower"> |
|||
<view class="list_1" wx:for="{{flag1Array}}" data-resiId="{{item.id}}" bind:tap="toDetails" data-flag="{{item.checkResultFlag}}"> |
|||
<view class="section_1-0" id="scrollToHere" > |
|||
<view class="title">{{item.name}}</view> |
|||
<view class="title_mall">检查时间: {{item.createdTime}}</view> |
|||
<view class="title_mall">检查人员: {{item.checkPersons}}</view> |
|||
<view class="title_mall">检查结论: 合格</view> |
|||
</van-tab> |
|||
<van-tab title="已合格"> |
|||
<view class="section_5"> |
|||
<scroll-view scroll-y="{{true}}" scroll-into-view="scrollToHere"style="width: 100%; height: 90vh;" lower-threshold="{{ lowerThreshold }}" bindscrolltolower="onScrollToLower"> |
|||
<view class="list_1" wx:for="{{flag1Array}}" data-resiId="{{item.id}}" bind:tap="toDetails" data-flag="{{item.checkResultFlag}}"> |
|||
<view class="section_1-0" id="scrollToHere"> |
|||
<view class="title">{{item.name}}</view> |
|||
<view class="title_mall">检查时间: {{item.createdTime}}</view> |
|||
<view class="title_mall">检查人员: {{item.checkPersons}}</view> |
|||
<view class="title_mall">检查结论: 合格</view> |
|||
|
|||
<view class="title_mall">合格时间: {{item.orderDate}}</view> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
<movable-area class="movable-area"> |
|||
<movable-view class="movable-view" direction="all" x="250" y="300"> |
|||
<image src="../../../images/xuncha.png" class="image-wrapper" catchtouchend="handleTap"></image> |
|||
</movable-view> |
|||
</movable-area> |
|||
<movable-area class="movable-area"> |
|||
<movable-view class="movable-view" direction="all" x="250" y="300"> |
|||
<image src="../../../images/xuncha3.png" class="image-wrapper" catchtouchend="handleTap"></image> |
|||
</movable-view> |
|||
</movable-area> |
|||
|
|||
|
|||
</scroll-view> |
|||
</scroll-view> |
|||
</view> |
|||
</van-tab> |
|||
</van-tabs> |
|||
</view> |
|||
</view> |
|||
</view> |
|||
|
|||
|
|||
</view> |
Loading…
Reference in new issue