Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
Project
Project
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
Administrator
dsk-cr20g
Commits
d5d444a9
Commit
d5d444a9
authored
Sep 14, 2024
by
danfuman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
8cce306e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
3 deletions
+17
-3
index.js
dsk-operate-ui/src/router/index.js
+13
-0
iframeTools.js
dsk-operate-ui/src/utils/iframeTools.js
+3
-2
index.vue
dsk-operate-ui/src/views/macro/policyInquiry/index.vue
+1
-1
No files found.
dsk-operate-ui/src/router/index.js
View file @
d5d444a9
...
@@ -62,6 +62,19 @@ export const constantRoutes = [
...
@@ -62,6 +62,19 @@ export const constantRoutes = [
component
:
()
=>
import
(
'@/views/error/401'
),
component
:
()
=>
import
(
'@/views/error/401'
),
hidden
:
true
hidden
:
true
},
},
{
path
:
''
,
component
:
Layout
,
redirect
:
'index'
,
children
:
[
{
path
:
'index'
,
component
:
()
=>
import
(
'@/views/index'
),
name
:
'Index'
,
meta
:
{
title
:
'首页'
,
icon
:
'index'
,
noCache
:
true
}
}
]
},
{
{
path
:
''
,
path
:
''
,
component
:
Layout
,
component
:
Layout
,
...
...
dsk-operate-ui/src/utils/iframeTools.js
View file @
d5d444a9
...
@@ -83,7 +83,8 @@ class IframeTools {
...
@@ -83,7 +83,8 @@ class IframeTools {
initTime
:
new
Date
().
valueOf
(),
initTime
:
new
Date
().
valueOf
(),
ak
:
accessToken
,
ak
:
accessToken
,
uid
:
accessToken
,
uid
:
accessToken
,
origin
:
this
.
origin
origin
:
this
.
origin
,
hide
:
false
,
};
};
url
=
`
${
url
}${
paramsToQuery
(
query
)
?
"?"
+
paramsToQuery
(
query
)
:
""
}
`
;
url
=
`
${
url
}${
paramsToQuery
(
query
)
?
"?"
+
paramsToQuery
(
query
)
:
""
}
`
;
this
.
queryParams
.
url
=
url
;
this
.
queryParams
.
url
=
url
;
...
@@ -178,4 +179,4 @@ class IframeTools {
...
@@ -178,4 +179,4 @@ class IframeTools {
}
}
export
default
IframeTools
;
export
default
IframeTools
;
\ No newline at end of file
dsk-operate-ui/src/views/macro/policyInquiry/index.vue
View file @
d5d444a9
...
@@ -99,7 +99,7 @@
...
@@ -99,7 +99,7 @@
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
this
.
timelongs
=
res
.
data
.
expire
;
this
.
timelongs
=
res
.
data
.
expire
;
this
.
ak
=
res
.
data
.
accessToken
;
this
.
ak
=
res
.
data
.
accessToken
;
this
.
src
=
`
${
this
.
domain
}
/search/policyInquiry?ak=
${
this
.
ak
}
&initTime=
${
new
Date
().
getTime
()}
&uid=
${
this
.
ak
}
&origin=
${
window
.
location
.
origin
}
`
;
this
.
src
=
`
${
this
.
domain
}
/search/policyInquiry
New
?ak=
${
this
.
ak
}
&initTime=
${
new
Date
().
getTime
()}
&uid=
${
this
.
ak
}
&origin=
${
window
.
location
.
origin
}
`
;
this
.
refreshtoken
();
this
.
refreshtoken
();
}
else
{
}
else
{
clearTimeout
(
this
.
tokentimer
);
clearTimeout
(
this
.
tokentimer
);
...
...
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