141 lines
5.6 KiB
Plaintext
141 lines
5.6 KiB
Plaintext
<!--miniprogram/pages/yujingxinxi/yujingxinxi.wxml-->
|
|
<view class="max_content_none">
|
|
<!-- <view class="video_add">
|
|
<view class="video_address">
|
|
<view class="video_address_min">
|
|
{{projectName}}
|
|
</view>
|
|
</view>
|
|
</view> -->
|
|
|
|
<view style="padding: 10rpx 30rpx 20rpx;">
|
|
<project-select init="{{initData}}" bindchange="onProjectSelect"></project-select>
|
|
</view>
|
|
|
|
<view class="new_tips" style="display: flex;align-items: center;justify-content: center;">
|
|
<image src="/images/early.png" style="margin-right:10rpx"></image>
|
|
注:仅展示最近三天预警信息记录
|
|
</view>
|
|
|
|
<view class="new_nav">
|
|
<van-tabs active="a" bind:change="orderChange" >
|
|
<van-tab title="未处理 ({{a}})" name="a" >
|
|
<view class="new_con_info">
|
|
<view class="new_con_info_min" wx:for="{{environList}}" wx:key="index" wx:if="{{index<150}}"
|
|
data-id="{{item.id}}" bindtap="onWarningInfo">
|
|
<!--<view class="new_con_title">
|
|
{{item.envirName}}
|
|
<van-tag mark type="warning">已超时</van-tag>
|
|
<van-tag mark type="danger">已催办</van-tag>
|
|
</view>
|
|
-->
|
|
<view class="new_con_ds">
|
|
<van-row>
|
|
<van-col span="18">
|
|
<view class="new_con_td">预警类型:{{item.envirName}}</view>
|
|
<view class="new_con_td">预警设备:{{item.device}}</view>
|
|
<view class="new_con_td">预警内容:{{item.content}}</view>
|
|
<view class="new_con_td">预警时间:{{item.createTime}}</view>
|
|
</van-col>
|
|
<van-col span="6">
|
|
<view class="new_zhong_clz">待处理</view>
|
|
</van-col>
|
|
</van-row>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</van-tab>
|
|
<van-tab title="处理中 ({{b}})" name="b" >
|
|
<view class="new_con_info">
|
|
<view class="new_con_info_min" wx:for="{{environList}}" wx:key="index" wx:if="{{index<150}}"
|
|
data-id="{{item.id}}" bindtap="onWarningInfo">
|
|
<!--<view class="new_con_title">
|
|
{{item.envirName}}
|
|
<van-tag mark type="warning">已超时</van-tag>
|
|
<van-tag mark type="danger">已催办</van-tag>
|
|
</view>-->
|
|
<view class="new_con_ds">
|
|
<van-row>
|
|
<van-col span="18">
|
|
<view class="new_con_td">预警类型:{{item.envirName}}</view>
|
|
<view class="new_con_td">预警设备:{{item.device}}</view>
|
|
<view class="new_con_td">预警内容:{{item.content}}</view>
|
|
<view class="new_con_td">预警时间:{{item.createTime}}</view>
|
|
<view class="new_con_td">处理人:{{item.afootUser}}</view>
|
|
<view class="new_con_td">处理时间:{{item.afootTime}}</view>
|
|
<view class="new_con_td">备注:{{item.afootRemarks}}</view>
|
|
</van-col>
|
|
<van-col span="6">
|
|
<view class="new_zhong_clz">处理中</view>
|
|
</van-col>
|
|
</van-row>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</van-tab>
|
|
<van-tab title="已处理 ({{c}})" name="c" >
|
|
<view class="new_con_info">
|
|
<view class="new_con_info_min" wx:for="{{environList}}" wx:key="index" wx:if="{{index<150}}"
|
|
data-id="{{item.id}}">
|
|
<!--<view class="new_con_title">
|
|
{{item.envirName}}
|
|
<van-tag mark type="warning">已超时</van-tag>
|
|
<van-tag mark type="danger">已催办</van-tag>
|
|
</view>-->
|
|
<view class="new_con_ds">
|
|
<van-row>
|
|
<van-col span="18">
|
|
<view class="new_con_td">预警类型:{{item.envirName}}</view>
|
|
<view class="new_con_td">预警设备:{{item.device}}</view>
|
|
<view class="new_con_td">预警内容:{{item.content}}</view>
|
|
<view class="new_con_td">预警时间:{{item.createTime}}</view>
|
|
<view class="new_con_td">处理人:{{item.processedUser}}</view>
|
|
<view class="new_con_td">处理时间:{{item.processedTime}}</view>
|
|
<view class="new_con_td">备注:{{item.processedRemarks}}</view>
|
|
</van-col>
|
|
<van-col span="6">
|
|
<view class="new_zhong_clz">已处理</view>
|
|
</van-col>
|
|
</van-row>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</van-tab>
|
|
</van-tabs>
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
<van-overlay show="{{ stateShow }}">
|
|
<view class="state_wrapper">
|
|
<view class="state_content">
|
|
<view class="state_content_title">预警信息</view>
|
|
<view class="state_content_nav" wx:if="{{labelShow}}">
|
|
<view class="{{nav==1?'active':''}}" bindtap="onLabelNav" data-nav="1">处理中</view>
|
|
<view class="{{nav==2?'active':''}}" bindtap="onLabelNav" data-nav="2">已处理</view>
|
|
</view>
|
|
<view class="state_content_remar_max">
|
|
<view class="state_content_remar">
|
|
<textarea placeholder="请输入" bindinput="remarks" value="{{remarks}}" auto-height placeholder-style="color:#4f5d85;"></textarea>
|
|
</view>
|
|
<view class="state_content_btn">
|
|
<view bindtap="closeBox">关闭</view>
|
|
<view bindtap="submit">确定</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</van-overlay>
|
|
|
|
|
|
|
|
|
|
<van-overlay show="{{show}}">
|
|
<view class="gif">
|
|
<image src="../../images/loding2.gif"></image>
|
|
<view>数据加载中!请稍后...</view>
|
|
</view>
|
|
</van-overlay>
|
|
|