From 75f182263580bd9d2da222c24576c4336e51617e Mon Sep 17 00:00:00 2001 From: JS-LM <2497833386@QQ.com> Date: Fri, 2 Jun 2023 16:26:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jsowell-ui/src/views/order/order/index.vue | 64 ++++++++++++++++------ 1 file changed, 47 insertions(+), 17 deletions(-) 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 { };