mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
修改充电订单状态样式
This commit is contained in:
@@ -160,7 +160,7 @@
|
||||
class="link-type"
|
||||
>订单编号:{{item.orderCode}}</router-link>
|
||||
|
||||
<el-tag type="success" style="margin-left:10px">{{item.orderStatusDescribe}}</el-tag>
|
||||
<el-tag :type="color(item.orderStatus)" style="margin-left:10px">{{item.orderStatusDescribe}}</el-tag>
|
||||
</div>
|
||||
<div>开始时间:{{item.chargeStartTime || '一'}}</div>
|
||||
</div>
|
||||
@@ -272,6 +272,10 @@ export default {
|
||||
this.dataLoading();
|
||||
},
|
||||
methods: {
|
||||
color(e){
|
||||
let arr = ['', 'success', 'info', 'warning', 'danger', 'warning', 'success', 'success']
|
||||
return e ? arr[e] : arr[0]
|
||||
},
|
||||
showOrHide () {
|
||||
if (this.buttonBoolean) {
|
||||
this.icon = 'el-icon-caret-bottom';
|
||||
|
||||
Reference in New Issue
Block a user