diff --git a/src/api/swapstation/hdz.ts b/src/api/swapstation/hdz.ts index 8996ec9..b0c506e 100644 --- a/src/api/swapstation/hdz.ts +++ b/src/api/swapstation/hdz.ts @@ -102,3 +102,17 @@ export function publicKey(stationCode:any) { } }) } + +//获取小程序二维码 +interface Rcode{ + path:String + width:String +} +export function getCode(params:Rcode) { + return server.request({ + url: '/cloud/batterystation/xcx/qrcode/create', + method: 'get', + params, + responseType:'blob' + }) +} diff --git a/src/views/components/detailstit.vue b/src/views/components/detailstit.vue index 983ab01..3a5d06f 100644 --- a/src/views/components/detailstit.vue +++ b/src/views/components/detailstit.vue @@ -15,7 +15,8 @@
生成公钥
-
查看小程序码
+
生成小程序码
+
@@ -51,24 +52,37 @@ > - 下载 +
+ 下载 +
+ \ No newline at end of file diff --git a/src/views/order/reservation/index.vue b/src/views/order/reservation/index.vue index 2d5975e..99ccac7 100644 --- a/src/views/order/reservation/index.vue +++ b/src/views/order/reservation/index.vue @@ -301,10 +301,10 @@ pageNo:1, //页数 ucode:'', //换电车主ID status:'', - plateNum:'', //车牌号 - swapDayBegin:getDateDaysAgo(30), //预约换电日期开始,示例值(yyyyMMdd) - swapDayEnd:getDateDaysAgo(), //预约换电日期结束 - stationCode:'' //换电站编码 + plateNum:'', //车牌号 + swapDayBegin:getDateDaysAgo(30).replace(/-/g,''), //预约换电日期开始,示例值(yyyyMMdd) + swapDayEnd:getDateDaysAgo().replace(/-/g,''), //预约换电日期结束 + stationCode:'' //换电站编码 }) //查询 diff --git a/src/views/swapstation/hdz/index.vue b/src/views/swapstation/hdz/index.vue index 51e1a63..59809b4 100644 --- a/src/views/swapstation/hdz/index.vue +++ b/src/views/swapstation/hdz/index.vue @@ -371,7 +371,15 @@ :with-header="false" size="70%" > - +
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 84569ff..89dfc8d 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -221,6 +221,20 @@ + + + + +