init
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"navigationBarTitleText": "环投监控小程序"
|
||||
}
|
||||
@@ -0,0 +1,397 @@
|
||||
/* pages/projectIndex/projectIndex.wxss */
|
||||
|
||||
.container {
|
||||
max-height: 100vh;
|
||||
padding-top: 56px;
|
||||
box-sizing: border-box;
|
||||
background: #EFF1F4;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
>.bg {
|
||||
width: 100%;
|
||||
height: 128px;
|
||||
background: linear-gradient(360deg, #538AFC 0%, #3679FC 100%);
|
||||
position: absolute;
|
||||
top: 0;
|
||||
}
|
||||
.user-container {
|
||||
width: calc(100% - 26px);
|
||||
margin: 0 auto;
|
||||
padding: 40px 12px 12px;
|
||||
box-sizing: border-box;
|
||||
box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.1);
|
||||
background: #fff;
|
||||
border-radius: 8px;
|
||||
position: relative;
|
||||
// top: 56px;
|
||||
// left: 13px;
|
||||
// overflow: hidden;
|
||||
.top {
|
||||
width: calc(100% - 24px);
|
||||
// margin-top: -32px;
|
||||
margin-bottom: 14px;
|
||||
display: flex;
|
||||
position: absolute;
|
||||
top: -32px;
|
||||
.user-pic {
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
margin: 0 8px;
|
||||
border-radius: 50%;
|
||||
// border: 2px solid #FFFFFF;
|
||||
box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
.user-inf {
|
||||
.name {
|
||||
margin-top: 8px;
|
||||
color: #fff;
|
||||
font-size: 15px;
|
||||
}
|
||||
.profession {
|
||||
margin-top: 12px;
|
||||
color: #333;
|
||||
font-size: 13px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
.btn-exit {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
right: 0px;
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
.btn-container {
|
||||
width: 100%;
|
||||
margin: 10px 0 0px;
|
||||
.btn {
|
||||
width: 100%;
|
||||
height: 76px;
|
||||
margin-bottom: 10px;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
.bg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
.item {
|
||||
width: 54%;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-right: 10%;
|
||||
.label {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
color: #2E3A4F;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.val {
|
||||
font-size: 32px;
|
||||
font-weight: bold;
|
||||
color: #4381FC;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
.btn-report {
|
||||
width: 100%;
|
||||
height: 36px;
|
||||
margin-top: 8px;
|
||||
background: #EDF4FE;
|
||||
border-radius: 8px;
|
||||
border: 1px solid #C4DAFA;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
image {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
display: block;
|
||||
}
|
||||
.val {
|
||||
margin-left: 12px;
|
||||
color: #2E3A4F;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.list-content {
|
||||
height: calc(100vh - 240px - 56px);
|
||||
// padding: 0 12px;
|
||||
.total {
|
||||
padding: 6px 20px;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
color: #2E3A4F;
|
||||
}
|
||||
.list {
|
||||
height: calc(100% - 32px);
|
||||
padding: 2px 12px;
|
||||
box-sizing: border-box;
|
||||
overflow-y: auto;
|
||||
.item {
|
||||
padding: 12px 10px;
|
||||
margin-bottom: 8px;
|
||||
background: #fff;
|
||||
border-radius: 8px;
|
||||
.row:first-child {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.row {
|
||||
color: #2E3A4F;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
.number-plate {
|
||||
display: flex;
|
||||
.status {
|
||||
padding: 0 6px;
|
||||
margin-right: 4px;
|
||||
border-radius: 2px;
|
||||
color: #FFFFFF;
|
||||
font-size: 14px;
|
||||
}
|
||||
.status1 {
|
||||
background: linear-gradient(90deg, #0D92FF 0%, #38B1FE 100%);
|
||||
}
|
||||
.status2 {
|
||||
background: linear-gradient(270deg, #4CDBAD 0%, #2FCBAB 100%);
|
||||
}
|
||||
.status3 {
|
||||
background: linear-gradient(270deg, #A1A8BB 0%, #838EAA 100%);
|
||||
}
|
||||
.val {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
.project-name, .code {
|
||||
font-size: 14px;
|
||||
}
|
||||
.time {
|
||||
font-size: 14px;
|
||||
color: #858CA0;
|
||||
}
|
||||
.type-list {
|
||||
display: flex;
|
||||
.type {
|
||||
height: 22px;
|
||||
line-height: 22px;
|
||||
padding: 0 8px;
|
||||
margin-left: 5px;
|
||||
background: #FFF1F0;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #FFA39E;
|
||||
color: #FF4D4F;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
// .item {
|
||||
// padding: 12px 10px;
|
||||
// margin-bottom: 8px;
|
||||
// background: #fff;
|
||||
// border-radius: 8px;
|
||||
// .row:first-child {
|
||||
// margin-bottom: 8px;
|
||||
// }
|
||||
// .row {
|
||||
// color: #2E3A4F;
|
||||
// display: flex;
|
||||
// justify-content: space-between;
|
||||
// align-items: center;
|
||||
|
||||
// .project-name {
|
||||
// font-size: 14px;
|
||||
// }
|
||||
// .time {
|
||||
// font-size: 14px;
|
||||
// color: #858CA0;
|
||||
// }
|
||||
// .type-list {
|
||||
// display: flex;
|
||||
// .type {
|
||||
// height: 22px;
|
||||
// line-height: 22px;
|
||||
// padding: 0 8px;
|
||||
// margin-left: 5px;
|
||||
// background: #FFF1F0;
|
||||
// border-radius: 4px;
|
||||
// border: 1px solid #FFA39E;
|
||||
// color: #FF4D4F;
|
||||
// font-size: 12px;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
.maintain-container {
|
||||
width: calc(100% - 26px);
|
||||
margin: 0 auto 8px;
|
||||
padding: 6px 12px;
|
||||
box-sizing: border-box;
|
||||
box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.1);
|
||||
background: #fff;
|
||||
border-radius: 8px;
|
||||
}
|
||||
.maintain-container {
|
||||
.top {
|
||||
margin-bottom: 8px;
|
||||
color: #2E3A4F;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
.left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.icon {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
margin-right: 4px;
|
||||
border-radius: 50%;
|
||||
background: #E2EAFB;
|
||||
overflow: hidden;
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
.val {
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
.right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin-right: 4px;
|
||||
border-radius: 4px;
|
||||
overflow: hidden;
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
.val {
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
color: #4381FC;
|
||||
}
|
||||
}
|
||||
}
|
||||
.content {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
>.btn {
|
||||
width: calc((100% - 10px) / 2);
|
||||
height: 64px;
|
||||
line-height: 64px;
|
||||
// background: linear-gradient(180deg, #3772F6 0%, #5AAEF7 100%);
|
||||
border-radius: 8px;
|
||||
color: #fff;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
.bg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
.val {
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
.record {
|
||||
background: linear-gradient(180deg, #3BBA95 0%, #67D7B0 100%);
|
||||
}
|
||||
.UpkeepBill {
|
||||
width: calc((100% - 12px) / 3);
|
||||
.val {
|
||||
margin-right: 4px;
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
}
|
||||
.workbench-list {
|
||||
display: flex;
|
||||
// justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
>.btn {
|
||||
width: calc(100% / 4);
|
||||
// width: 56px;
|
||||
// height: 62px;
|
||||
margin-bottom: 18px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
.pic {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
margin-bottom: 8px;
|
||||
// background: #000;
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
.title {
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
color: #2E3A4F;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,238 @@
|
||||
// pages/projectIndex/projectIndex.ts
|
||||
import { getAction } from '../../api/base';
|
||||
|
||||
Page({
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
userInf: {},
|
||||
infObj: {
|
||||
totalCount: 0,
|
||||
speedAlarmCount: 0,
|
||||
fenceAlarmCount: 0
|
||||
},
|
||||
current: 1,
|
||||
listTotal: 0,
|
||||
recordList: []
|
||||
},
|
||||
// 登出
|
||||
logOut() {
|
||||
// 清除缓存
|
||||
wx.setStorageSync('token', '');
|
||||
wx.setStorageSync('userInfo', '');
|
||||
wx.reLaunch({
|
||||
url: '/pages/login/login'
|
||||
});
|
||||
},
|
||||
getUserInf() {
|
||||
this.setData({
|
||||
userInf: wx.getStorageSync('userInfo')
|
||||
});
|
||||
},
|
||||
getInf() {
|
||||
getAction('api/index/vehicleCount')
|
||||
.then((res: any) => {
|
||||
if (res.code == 200) {
|
||||
this.setData({
|
||||
infObj: res.result
|
||||
});
|
||||
} else {
|
||||
wx.showToast({
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
});
|
||||
}
|
||||
})
|
||||
.catch((err: any) => {
|
||||
wx.showToast({
|
||||
title: err.message,
|
||||
icon: 'none'
|
||||
});
|
||||
});
|
||||
},
|
||||
toVehicleMonitoring() {
|
||||
wx.navigateTo({
|
||||
url: '../vehicleMonitoring/global/global',
|
||||
fail: e => {
|
||||
console.log(e);
|
||||
}
|
||||
});
|
||||
},
|
||||
toFailureAler() {
|
||||
wx.navigateTo({
|
||||
url: '../vehicleMonitoring/failureAlert/failureAlert',
|
||||
fail: e => {
|
||||
console.log(e);
|
||||
}
|
||||
});
|
||||
},
|
||||
toPage(e: any) {
|
||||
if (e.currentTarget.dataset.type == 'eventReportRecord') {
|
||||
wx.navigateTo({
|
||||
url: '../eventReport/eventReportRecord/eventReportRecord',
|
||||
fail: e => {
|
||||
console.log(e);
|
||||
}
|
||||
});
|
||||
} else if (e.currentTarget.dataset.type == 'apply') {
|
||||
wx.navigateTo({
|
||||
url: '../vehicleMaintenance/operation/maintainApply/maintainApply',
|
||||
fail: e => {
|
||||
console.log(e);
|
||||
}
|
||||
});
|
||||
} else if (e.currentTarget.dataset.type == 'record') {
|
||||
wx.navigateTo({
|
||||
url: '../vehicleMaintenance/maintainRecord/maintainRecord',
|
||||
fail: e => {
|
||||
console.log(e);
|
||||
}
|
||||
});
|
||||
} else if (e.currentTarget.dataset.type == 'report') {
|
||||
wx.navigateTo({
|
||||
url: '../statement/reportStatement/reportStatement',
|
||||
fail: e => {
|
||||
console.log(e);
|
||||
}
|
||||
});
|
||||
} else if (e.currentTarget.dataset.type == 'upkeepApply') {
|
||||
wx.setStorageSync('type', {
|
||||
type: 'add'
|
||||
});
|
||||
wx.navigateTo({
|
||||
url: '../UpkeepPlan/UpkeepPlanApply/UpkeepPlanApply',
|
||||
fail: e => {
|
||||
console.log(e);
|
||||
}
|
||||
});
|
||||
} else if (e.currentTarget.dataset.type == 'upkeepPlanRecord') {
|
||||
wx.navigateTo({
|
||||
url: '../UpkeepPlan/UpkeepPlanRecord/UpkeepPlanRecord',
|
||||
fail: e => {
|
||||
console.log(e);
|
||||
}
|
||||
});
|
||||
} else if (e.currentTarget.dataset.type == 'upkeepBillRecord') {
|
||||
wx.navigateTo({
|
||||
url: '../UpkeepBill/UpkeepBillRecord/UpkeepBillRecord',
|
||||
fail: e => {
|
||||
console.log(e);
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
getList() {
|
||||
let parms = {
|
||||
type: 2,
|
||||
pageNo: this.data.current,
|
||||
pageSize: -1
|
||||
};
|
||||
this.setData({
|
||||
loading: true
|
||||
});
|
||||
getAction('api/vehicles/backlog/getBacklogPage', parms)
|
||||
.then((res: any) => {
|
||||
this.setData({
|
||||
loading: false
|
||||
});
|
||||
if (res.code == 200) {
|
||||
if (1) {
|
||||
// tmpArr 目前只是调试流程用
|
||||
this.setData({
|
||||
isLast: true,
|
||||
listTotal: res.result.total,
|
||||
recordList: res.result.records
|
||||
});
|
||||
}
|
||||
} else {
|
||||
wx.showToast({
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
});
|
||||
}
|
||||
})
|
||||
.catch((err: any) => {
|
||||
this.setData({
|
||||
loading: false
|
||||
});
|
||||
wx.showToast({
|
||||
title: err.message,
|
||||
icon: 'none'
|
||||
});
|
||||
});
|
||||
},
|
||||
toDetailPage(e: any) {
|
||||
console.log(e.currentTarget.dataset.inf);
|
||||
wx.setStorageSync('backlogInf', e.currentTarget.dataset.inf);
|
||||
// 跳转到违章代办详情
|
||||
wx.navigateTo({
|
||||
url: '../backlog/violation/violation',
|
||||
fail: e => {
|
||||
console.log(e);
|
||||
}
|
||||
});
|
||||
},
|
||||
// 数据录入
|
||||
toDataEntry(e: any) {
|
||||
if (e.currentTarget.dataset.type == 'upkeep') {
|
||||
wx.navigateTo({
|
||||
url: '../UpkeepBill/operation/dataEntryOne/dataEntryOne',
|
||||
fail: e => {
|
||||
console.log(e);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
wx.navigateTo({
|
||||
url: '../vehicleMaintenance/operation/dataEntryOne/dataEntryOne',
|
||||
fail: e => {
|
||||
console.log(e);
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad() {},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
this.getUserInf();
|
||||
this.getInf();
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
this.getList();
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage() {}
|
||||
});
|
||||
@@ -0,0 +1,137 @@
|
||||
<!--pages/projectIndex/projectIndex.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="toVehicleMonitoring">
|
||||
<view class="bg">
|
||||
<image src="https://zuche.cdenvironment.com:25000/htfile/program/images/bg_btn2.png" mode=""/>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="label">车辆监控</view>
|
||||
<view class="val">{{ infObj.totalCount }}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="btn" catchtap="toFailureAler">
|
||||
<view class="bg">
|
||||
<image src="https://zuche.cdenvironment.com:25000/htfile/program/images/bg_btn1.png" mode=""/>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view>
|
||||
<view class="label">电子围栏</view>
|
||||
<view class="val">{{ infObj.fenceAlarmCount }}</view>
|
||||
</view>
|
||||
<view>
|
||||
<view class="label">超速告警</view>
|
||||
<view class="val">{{ infObj.speedAlarmCount }}</view>
|
||||
</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="maintain-container">
|
||||
<view class="top">
|
||||
<view class="left">
|
||||
<view class="icon">
|
||||
<image src="../../images/icon_maintain.png" mode=""/>
|
||||
</view>
|
||||
<view class="val">维修</view>
|
||||
</view>
|
||||
<view class="right" catch:tap="toDataEntry">
|
||||
<view class="icon">
|
||||
<image src="../../images/icon_add.png" mode=""/>
|
||||
</view>
|
||||
<view class="val">数据录入</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="content">
|
||||
<view class="btn apply" data-type="apply" catch:tap="toPage">
|
||||
<view class="bg">
|
||||
<image src="../../images/btn_maintain.png" mode=""/>
|
||||
</view>
|
||||
<view class="val">维修申请</view>
|
||||
</view>
|
||||
<view class="btn record" data-type="record" catch:tap="toPage">
|
||||
<view class="bg">
|
||||
<image src="../../images/btn_maintain_r.png" mode=""/>
|
||||
</view>
|
||||
<view class="val">维修记录</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="maintain-container">
|
||||
<view class="top">
|
||||
<view class="left">
|
||||
<view class="icon">
|
||||
<image src="../../images/icon_maintain.png" mode=""/>
|
||||
</view>
|
||||
<view class="val">保养</view>
|
||||
</view>
|
||||
<view class="right" data-type="upkeep" catch:tap="toDataEntry">
|
||||
<view class="icon">
|
||||
<image src="../../images/icon_add.png" mode=""/>
|
||||
</view>
|
||||
<view class="val">数据录入</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="content">
|
||||
<view class="btn UpkeepBill" data-type="upkeepApply" catch:tap="toPage">
|
||||
<view class="bg">
|
||||
<image src="../../images/btn_upkeep_l.png" mode=""/>
|
||||
</view>
|
||||
<view class="val">新增保养</view>
|
||||
</view>
|
||||
<view class="btn UpkeepBill" data-type="upkeepPlanRecord" catch:tap="toPage">
|
||||
<view class="bg">
|
||||
<image src="../../images/btn_upkeep_c.png" mode=""/>
|
||||
</view>
|
||||
<view class="val">保养计划</view>
|
||||
</view>
|
||||
<view class="btn UpkeepBill" data-type="upkeepBillRecord" catch:tap="toPage">
|
||||
<view class="bg">
|
||||
<image src="../../images/btn_upkeep_r.png" mode=""/>
|
||||
</view>
|
||||
<view class="val">保养台账</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="list-content">
|
||||
<view class="total">违章代办 ({{listTotal}}) </view>
|
||||
<view class="list">
|
||||
<view class="item" wx:for="{{recordList}}" wx:key="index" data-inf="{{item}}" catchtap="toDetailPage">
|
||||
<view class="row">
|
||||
<view class="number-plate">
|
||||
<view class="val">{{item.plateNumber}}</view>
|
||||
</view>
|
||||
<view class="project-name">{{item.projectId_dictText}}</view>
|
||||
</view>
|
||||
<view class="row">
|
||||
<view class="time">违章时间: {{item.time}}</view>
|
||||
<view class="type-list">
|
||||
<view class="type">{{item.violationAct_dictText}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user