Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
X
xzf_uniapp-wechat-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李智书
xzf_uniapp-wechat-web
Commits
172f03e9
Commit
172f03e9
authored
Sep 11, 2024
by
袁玲利
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
异常报告跳转问题修复
parent
09497a1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
51 deletions
+18
-51
src/pages/ConsumptionSystem/AbnormalConsumption/AbnormalConsumption.vue
...umptionSystem/AbnormalConsumption/AbnormalConsumption.vue
+18
-51
No files found.
src/pages/ConsumptionSystem/AbnormalConsumption/AbnormalConsumption.vue
View file @
172f03e9
...
...
@@ -259,31 +259,31 @@
// 时间处理模块
import
dayjs
from
"
dayjs
"
;
import
{
Dialog
}
from
"
vant
"
;
let
gHost
=
"
https://
"
+
window
.
location
.
host
;
var
azAppId
=
'
wx5decb3fc29c94953
'
let
gHost
=
"
https://
"
+
window
.
location
.
host
;
var
azAppId
=
"
wx5decb3fc29c94953
"
;
if
(
window
.
location
.
protocol
!=
"
https:
"
)
{
gHost
=
"
https://uat-pay.xiaopay.net
"
;
azAppId
=
'
wx008a4a07f3d9f7a7
'
azAppId
=
"
wx008a4a07f3d9f7a7
"
;
}
let
az_gHost
=
"
https://
"
+
window
.
location
.
host
;
if
(
window
.
location
.
protocol
!=
"
https:
"
)
{
az_gHost
=
"
https://uat-az-cloud-api.xiaopay.net
"
;
azAppId
=
'
wx008a4a07f3d9f7a7
'
azAppId
=
"
wx008a4a07f3d9f7a7
"
;
}
if
(
window
.
location
.
host
==
"
fpdev.xiaopay.net
"
)
{
az_gHost
=
"
https://dev-az-cloud-api.xiaopay.net
"
;
azAppId
=
'
wx008a4a07f3d9f7a7
'
azAppId
=
"
wx008a4a07f3d9f7a7
"
;
}
if
(
window
.
location
.
host
==
"
uat.xiaopay.net
"
||
window
.
location
.
host
==
"
uat-pay.xiaopay.net
"
)
{
az_gHost
=
"
https://uat-az-cloud-api.xiaopay.net
"
;
azAppId
=
'
wx008a4a07f3d9f7a7
'
azAppId
=
"
wx008a4a07f3d9f7a7
"
;
}
if
(
window
.
location
.
host
==
"
pay.xiaopay.net
"
)
{
az_gHost
=
"
https://az-cloud-api.xiaopay.net
"
;
azAppId
=
'
wx5decb3fc29c94953
'
azAppId
=
"
wx5decb3fc29c94953
"
;
}
export
default
{
name
:
"
AbnormalConsumption
"
,
...
...
@@ -316,51 +316,18 @@ export default {
// this.CloudGatewayToken(options['schoolId'], options['userId'])
},
methods
:
{
// 跳转云平台权益中心
// async openAzMenber() {
// jWeixin.miniProgram.navigateTo({
// url: '/pages/nationalCenterForLesbianRights/index?productId=3'
// })
// },
// 跳转云平台权益中心
// async openAzMenber() {
// jWeixin.miniProgram.navigateTo({
// url: '/pages/nationalCenterForLesbianRights/index?productId=3'
// })
// },
// 跳转云平台权益中心-支付宝
async
openAzMenber_
()
{
// const AuthOauthToken = await this.$getAuthOauthToken(this.currentSwiperInfo['id'])
let
AuthOauthToken
=
await
this
.
$http
.
post
(
{
url
:
az_gHost
+
"
/cgi-xpay/app/user/GetUserLoginCode
"
,
},
{
accountId
:
getQueryParams
(
"
accountId
"
)
}
);
if
(
!
AuthOauthToken
)
{
uni
.
showToast
({
icon
:
"
none
"
,
title
:
'
没有获取到云平台凭证!
'
})
return
}
const
path
=
`pages/sys/quickLogin/quickLogin?AuthOauthToken=
${
AuthOauthToken
}
&origin='XZF'&productId=[3,4,7]&to=
${
encodeURIComponent
(
'
/pages/nationalCenterForLesbianRights/index
'
)}
`
;
console
.
warn
(
'
跳转云平台参数
'
,
path
);
uni
.
navigateToMiniProgram
({
// 安智云校小程序
appId
:
azAppId
,
path
:
path
,
query
:
{
AuthOauthToken
:
AuthOauthToken
,
origin
:
"
XZF
"
,
to
:
encodeURIComponent
(
'
/pages/nationalCenterForLesbianRights/index
'
)
},
success
:
(
res
)
=>
{},
fail
:
(
fail
)
=>
{
uni
.
showToast
({
icon
:
"
none
"
,
title
:
'
您已取消
'
})
}
})
},
async
openAzMenber_
()
{
my
.
navigateTo
({
url
:
"
/pages/ToCloudOrder/ToCloudOrder
"
,
});
},
// 页面跳转
toDoOtherPage
()
{
try
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment