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