|
@@ -1,7 +1,6 @@
|
|
<template>
|
|
<template>
|
|
<view class="container-view">
|
|
<view class="container-view">
|
|
<navBar name="换电记录" type="noBottom"></navBar>
|
|
<navBar name="换电记录" type="noBottom"></navBar>
|
|
-
|
|
|
|
<view class="order-type-view flex-row flex-between">
|
|
<view class="order-type-view flex-row flex-between">
|
|
<view v-if="car_info.car_sn" @click="srcFn(`/pages/carList/carList`)" class="car-model-list flex-row">
|
|
<view v-if="car_info.car_sn" @click="srcFn(`/pages/carList/carList`)" class="car-model-list flex-row">
|
|
<view class="car-model-text">{{car_info.car_name}}</view><img class="right-corner-icon"
|
|
<view class="car-model-text">{{car_info.car_name}}</view><img class="right-corner-icon"
|
|
@@ -16,7 +15,7 @@
|
|
<view v-if="item.status == 3" class="h5">换电成功</view>
|
|
<view v-if="item.status == 3" class="h5">换电成功</view>
|
|
<view v-if="item.status == 4" class="h5">换电失败</view>
|
|
<view v-if="item.status == 4" class="h5">换电失败</view>
|
|
<view v-if="item.status == 0" class="h5">未知</view>
|
|
<view v-if="item.status == 0" class="h5">未知</view>
|
|
- <view class="time">{{item.ctime}}</view>
|
|
|
|
|
|
+ <view class="time">{{dayjsFn(item.ctime)}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="dl">
|
|
<view class="dl">
|
|
<view class="dt">换电单号</view>
|
|
<view class="dt">换电单号</view>
|
|
@@ -39,7 +38,7 @@
|
|
<view class="dt">电柜名称</view>
|
|
<view class="dt">电柜名称</view>
|
|
<view class="dd">{{item.dev_name}}</view>
|
|
<view class="dd">{{item.dev_name}}</view>
|
|
</view>
|
|
</view>
|
|
- <image class="top" src="https://qiniu.bms16.com/FpVjOP5pZY1gXcCcS3TwI0GkywEe" mode=""></image>
|
|
|
|
|
|
+ <!-- <image class="top" src="https://qiniu.bms16.com/FpVjOP5pZY1gXcCcS3TwI0GkywEe" mode=""></image> -->
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
@@ -64,6 +63,9 @@
|
|
this.listFn()
|
|
this.listFn()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ dayjsFn(time){
|
|
|
|
+ return dayjs(time).format('YYYY-MM-DD hh:mm:ss')
|
|
|
|
+ },
|
|
srcFn(url){
|
|
srcFn(url){
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url
|
|
url
|