Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1
Overview
Overview
Details
Activity
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
吴迪
gs1
Commits
f3b15d81
Commit
f3b15d81
authored
Dec 20, 2021
by
Jianli Ou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
个人中心首页购买GLN页面跳转
parent
6cb01877
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
3 deletions
+17
-3
myManage.js
src/axios/module/myManage.js
+6
-1
index.vue
src/views/MyManage/UnVerify/index.vue
+11
-2
No files found.
src/axios/module/myManage.js
View file @
f3b15d81
...
@@ -58,6 +58,10 @@ const tycpdmfirmupdateSystem = (params = {}) => {
...
@@ -58,6 +58,10 @@ const tycpdmfirmupdateSystem = (params = {}) => {
const
tycpdmfirmReturnFile
=
(
params
=
{})
=>
{
const
tycpdmfirmReturnFile
=
(
params
=
{})
=>
{
return
`
${
hostUrl
}
/office/tycpdmfirm/api/returnFile?status=
${
params
.
status
}
&fileType=
${
params
.
fileType
}
&id=
${
params
.
id
}
`
return
`
${
hostUrl
}
/office/tycpdmfirm/api/returnFile?status=
${
params
.
status
}
&fileType=
${
params
.
fileType
}
&id=
${
params
.
id
}
`
}
}
// 个人中心首页 LGN页面跳转
const
redirectGLN
=
()
=>
{
return
POST
(
`
${
Prefix
}
/office/tycpdmfirm/authApi/redirectGLN`
)
}
//
//
export
default
{
export
default
{
memberInfo
,
memberInfo
,
...
@@ -72,5 +76,6 @@ export default {
...
@@ -72,5 +76,6 @@ export default {
tycpdmfirmAudit
,
tycpdmfirmAudit
,
tycpdmfirmChangeAuditList
,
tycpdmfirmChangeAuditList
,
tycpdmfirmupdateSystem
,
tycpdmfirmupdateSystem
,
tycpdmfirmReturnFile
tycpdmfirmReturnFile
,
redirectGLN
}
}
src/views/MyManage/UnVerify/index.vue
View file @
f3b15d81
...
@@ -34,8 +34,7 @@
...
@@ -34,8 +34,7 @@
>
>
</p>
</p>
<p
v-if=
"loginInfo.isXT === 2"
style=
"padding-left:24px"
>
<p
v-if=
"loginInfo.isXT === 2"
style=
"padding-left:24px"
>
您可以——前往
<a
href=
"http://gln.gs1cn.org/number.aspx?id=1"
target=
"_blank"
您可以——前往
<a
@
click=
"redirectGLN"
>
购买GLN
</a
>
购买GLN
</a
>
>
</p>
</p>
</li>
</li>
...
@@ -154,6 +153,16 @@ export default {
...
@@ -154,6 +153,16 @@ export default {
}
}
}
}
},
},
methods
:
{
async
redirectGLN
()
{
const
result
=
await
this
.
$api
.
myManage
.
redirectGLN
()
if
(
result
.
success
)
{
window
.
open
(
result
.
data
,
'_black'
)
}
else
{
this
.
$message
.
error
(
result
.
returnMsg
)
}
}
},
mounted
()
{
mounted
()
{
this
.
loginInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'loginInfo'
))
this
.
loginInfo
=
JSON
.
parse
(
localStorage
.
getItem
(
'loginInfo'
))
}
}
...
...
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