diff --git a/jsowell-ui/src/views/order/order/index.vue b/jsowell-ui/src/views/order/order/index.vue index 578fdadaf..42073d586 100644 --- a/jsowell-ui/src/views/order/order/index.vue +++ b/jsowell-ui/src/views/order/order/index.vue @@ -27,7 +27,16 @@ /> - + + + +
+ - - - + +
+ {{showOrHideText}} + @@ -148,13 +155,17 @@
- 订单编号:{{item.orderCode}} - {{item.orderStatusDescribe}} + 订单编号:{{item.orderCode}} + + {{item.orderStatusDescribe}}
开始时间:{{item.chargeStartTime || '一'}}
-
- +
+ {{item.transactionCode || '一'}} {{item.stationName || '一'}} {{item.pileConnectorCode || '一'}} @@ -173,10 +184,7 @@ {{item.settleAmount || '一'}}
- 详情 +
@@ -205,6 +213,10 @@ export default { dicts: ['order_status', 'start_mode', 'pay_mode', 'pay_status'], data() { return { + showOrHideText: "显示更多查询条件", + buttonBoolean: false, +//图标,可根据自己的需求匹配 + icon: 'el-icon-caret-bottom', checkAll: false, checkedCities: [], cities: ['订单状态描述', '启动方式', '起始SOC', '终止SOC'], @@ -260,6 +272,17 @@ export default { this.dataLoading(); }, methods: { + showOrHide () { + if (this.buttonBoolean) { + this.icon = 'el-icon-caret-bottom'; + this.showOrHideText = "显示更多查询条件"; + this.buttonBoolean = !this.buttonBoolean; + } else { + this.icon = 'el-icon-caret-top'; + this.showOrHideText = "收起"; + this.buttonBoolean = !this.buttonBoolean; + } + }, startMode(mode){ let arr = this.dict.type.start_mode.find(item => item.value == mode) if (arr == null) { @@ -524,6 +547,13 @@ export default { };