82 lines
3.6 KiB
Plaintext
82 lines
3.6 KiB
Plaintext
<!--pages/manufacturerIndex/manufacturerIndex.wxml-->
|
|
<view class="container">
|
|
<view class="bg"></view>
|
|
<view class="user-container">
|
|
<view class="top">
|
|
<view class="user-pic">
|
|
<image wx:if="{{userInfo.avatarUrl}}" bindtap="bindViewTap" class="userinfo-avatar" src="{{userInfo.avatarUrl}}" mode="cover"></image>
|
|
<image wx:else="" bindtap="bindViewTap" class="userinfo-avatar" src="../../images/default_pic.png" mode="cover"></image>
|
|
</view>
|
|
<view class="user-inf">
|
|
<view class="name">{{ userInf.realname }}</view>
|
|
<view class="profession">
|
|
<view class="icon">
|
|
<image src="../../images/icon_logo.png" mode="" />
|
|
</view>
|
|
{{ userInf.sysOrgName ? userInf.sysOrgName : '--' }}
|
|
</view>
|
|
</view>
|
|
<view class="btn-exit" catchtap="logOut">
|
|
<image src="../../images/btn_exit.png" mode="" />
|
|
</view>
|
|
</view>
|
|
<view class="btn-container">
|
|
<view class="btn" catchtap="toMaintainRecord">
|
|
<view class="bg">
|
|
<image src="../../images/btn_project_l.png" mode="" />
|
|
</view>
|
|
<view class="item">
|
|
<view class="label">维修记录</view>
|
|
</view>
|
|
</view>
|
|
<view class="btn" catchtap="toUpkeepRecord">
|
|
<view class="bg">
|
|
<image src="../../images/btn_project_r.png" mode="" />
|
|
</view>
|
|
<view class="item">
|
|
<view class="label">保养台账</view>
|
|
</view>
|
|
</view>
|
|
<view class="btn-report" data-type="eventReportRecord" catch:tap="toPage">
|
|
<image src="../../images/icon_workbench5.png" mode=""/>
|
|
<view class="val">事件上报</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="list-content">
|
|
<view class="top">
|
|
<view class="tab-container">
|
|
<view class="tabs">
|
|
<van-tabs color="#4381FC" title-active-color="#4381FC" ellipsis="{{false}}" active="{{ active }}" bind:change="tabOnChange">
|
|
<van-tab title-style="font-size:16px" wx:for="{{tabList}}" wx:key="index" title="{{item.flowName + '(' + item.count + ')' }}"></van-tab>
|
|
</van-tabs>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="list">
|
|
<scroll-view class="scroll-view_H" scroll-y="true" bindscrolltolower="lower" style="width: 100%">
|
|
<view class="item" wx:for="{{list}}" wx:key="index" data-inf="{{item}}" catchtap="toDetailPage">
|
|
<view class="row">
|
|
<view class="code">{{item.orderNo}}</view>
|
|
<view class="number-plate">
|
|
<view class="status status1" wx:if="{{item.flowStatus == 2 || item.flowStatus == 3 || item.flowStatus == 6}}">{{item.flowStatus_dictText}}</view>
|
|
<view class="status status2" wx:if="{{item.flowStatus == 4 || item.flowStatus == 5 || item.flowStatus == 7}}">{{item.flowStatus_dictText}}</view>
|
|
<view class="status status3" wx:if="{{item.flowStatus == 8 || item.flowStatus == 9}}">{{item.flowStatus_dictText}}</view>
|
|
<view class="val">{{item.plateNumber}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="row">
|
|
<view class="project-name">{{item.projectId_dictText}}</view>
|
|
<view class="time">{{item.repairTime || item.predictTime}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="is-last" wx:if="{{isLast && list.length > 0}}">
|
|
<van-divider contentPosition="center">已加载完全部数据</van-divider>
|
|
</view>
|
|
<view class="no-data" wx:if="{{list.length == 0}}">
|
|
<van-empty description="无数据" />
|
|
</view>
|
|
</scroll-view>
|
|
</view>
|
|
</view>
|
|
</view> |