Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
xugong
hls-xcmg-vue-app
Commits
1a0543f4
Commit
1a0543f4
authored
Feb 05, 2020
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
48939923
Pipeline
#4715
canceled with stages
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
16 deletions
+44
-16
dev.env.js
config/dev.env.js
+2
-2
bank-info.vue
src/pages/userBindNew/np/bank-info.vue
+20
-6
bankInfo.vue
src/pages/userBindNew/org/bankInfo.vue
+22
-8
No files found.
config/dev.env.js
View file @
1a0543f4
...
...
@@ -8,9 +8,9 @@ module.exports = merge(prodEnv, {
debug
:
true
,
isMobilePlatform
:
false
,
loginPath
:
'"http://180.104.121.66:8088/oauth/token?client_id=client2&client_secret=secret&grant_type=password&username=appadmin&password=" '
,
basePath
:
'"http://180.104.121.66:8088/r/api/interface?sysName=XCMG_
DEV
&apiName="'
,
basePath
:
'"http://180.104.121.66:8088/r/api/interface?sysName=XCMG_
UAT
&apiName="'
,
rootPath
:
'"http://180.104.121.66:8088/r/api"'
,
filePath
:
'"http://180.104.121.66:8088/r/api/app/fileViewSvc?sysName=XCMG_
DEV
&apiName=file_view&"'
,
filePath
:
'"http://180.104.121.66:8088/r/api/app/fileViewSvc?sysName=XCMG_
UAT
&apiName=file_view&"'
,
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
appId
:
'"com.xcmg.app"'
,
currentVersion
:
'"1.7.6"'
,
...
...
src/pages/userBindNew/np/bank-info.vue
View file @
1a0543f4
...
...
@@ -225,12 +225,26 @@ export default {
name
:
'MyInfo'
,
})
}
else
if
(
vm
.
certification_status
===
'N'
)
{
// vm.$router.push({
// name: 'Certification',
// params: {
// authUrl: vm.authUrl,
// },
// })
const
u
=
navigator
.
userAgent
const
isiOS
=
!!
u
.
match
(
/
\(
i
[^
;
]
+;
(
U;
)?
CPU.+Mac OS X/
)
if
(
isiOS
)
{
cordova
.
InAppBrowser
.
open
(
vm
.
authUrl
,
'_blank'
,
'location=yes'
)
console
.
log
(
'ios'
)
}
else
{
vm
.
$router
.
push
({
name
:
'Certification'
,
params
:
{
authUrl
:
vm
.
authUrl
,
},
})
console
.
log
(
'android'
)
}
}
else
{
vm
.
$router
.
push
({
name
:
'MyInfo'
,
...
...
src/pages/userBindNew/org/bankInfo.vue
View file @
1a0543f4
...
...
@@ -313,12 +313,26 @@ export default {
})
}
else
{
if
(
vm
.
authUrl
)
{
// vm.$router.push({
// name: 'Certification',
// params: {
// authUrl: vm.authUrl,
// },
// })
const
u
=
navigator
.
userAgent
const
isiOS
=
!!
u
.
match
(
/
\(
i
[^
;
]
+;
(
U;
)?
CPU.+Mac OS X/
)
if
(
isiOS
)
{
cordova
.
InAppBrowser
.
open
(
vm
.
authUrl
,
'_blank'
,
'location=yes'
)
console
.
log
(
'ios'
)
}
else
{
vm
.
$router
.
push
({
name
:
'Certification'
,
params
:
{
authUrl
:
vm
.
authUrl
,
},
})
console
.
log
(
'android'
)
}
}
else
{
vm
.
$router
.
push
({
name
:
'MyInfo'
,
...
...
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