From d7ec5835ba9cfcc918ed08c46ecb9a9c207a66a4 Mon Sep 17 00:00:00 2001
From: Wik-T <812952667@qq.com>
Date: Fri, 6 Jan 2023 17:46:31 +0800
Subject: [PATCH] =?UTF-8?q?1.=E8=AE=BE=E5=A4=87=E7=AE=A1=E7=90=86=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Utils/Api.js | 4 ++
pages.json | 28 ++++-----
pages/index/addService/addService.vue | 2 +-
pages/index/doorManage/doorManage.vue | 26 +++++++-
.../merchant-details/merchant-details.vue | 4 +-
.../merchant-management.vue | 2 +-
pages/index/mineService/mineService.vue | 25 ++++----
.../serviceOrderDetails.vue | 60 +++++++++++++++++--
pages/tabBar/home/home.vue | 11 ++--
pages/welcome/welcome.vue | 17 ++++--
unpackage/dist/build/h5/index.html | 2 +-
11 files changed, 136 insertions(+), 45 deletions(-)
diff --git a/Utils/Api.js b/Utils/Api.js
index 94d6da3..26279a7 100644
--- a/Utils/Api.js
+++ b/Utils/Api.js
@@ -129,6 +129,10 @@ export const replace = params => {
export const orderRefund = params => {
return POST('POST', `${base}/deviceOrder/orderRefund`, params).then(res => res.data);
}
+//订单分配退款
+export const deviceRefund = params => {
+ return POST('POST', `${base}/deviceOrder/deviceRefund`, params).then(res => res.data);
+}
// ----------------
diff --git a/pages.json b/pages.json
index e1eadb9..c560622 100644
--- a/pages.json
+++ b/pages.json
@@ -1,18 +1,6 @@
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
- {
- "path": "pages/login/login",
- "style": {
- "navigationBarTextStyle": "white",
- "navigationBarTitleText": "登录",
- "onReachBottomDistance": 50,
- "app-plus": {
- "titleNView": false, //禁用原生导航栏
- "softinputNavBar": "none"
- }
- }
-
- }, {
+ {
"path" : "pages/welcome/welcome",
"style" :
{
@@ -24,7 +12,19 @@
}
}
- }, {
+ },{
+ "path": "pages/login/login",
+ "style": {
+ "navigationBarTextStyle": "white",
+ "navigationBarTitleText": "登录",
+ "onReachBottomDistance": 50,
+ "app-plus": {
+ "titleNView": false, //禁用原生导航栏
+ "softinputNavBar": "none"
+ }
+ }
+
+ }, {
"path": "pages/index/serviceApplicationList/serviceApplicationList",
"style": {
"navigationBarTextStyle": "white",
diff --git a/pages/index/addService/addService.vue b/pages/index/addService/addService.vue
index eaf1221..e901b1b 100644
--- a/pages/index/addService/addService.vue
+++ b/pages/index/addService/addService.vue
@@ -164,7 +164,7 @@
title: '支付中...'
})
jweixin.config({
- debug: true, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
+ // debug: true, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。
appId: self.return_data.appId, // 必填,公众号的唯一标识
timestamp: self.return_data.timeStamp, // 必填,生成签名的时间戳
nonceStr: self.return_data.nonceStr, // 必填,生成签名的随机串
diff --git a/pages/index/doorManage/doorManage.vue b/pages/index/doorManage/doorManage.vue
index a2ab1dc..7416ff0 100644
--- a/pages/index/doorManage/doorManage.vue
+++ b/pages/index/doorManage/doorManage.vue
@@ -38,7 +38,12 @@