Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
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
常超
founder_vue
Commits
ede8d59a
Commit
ede8d59a
authored
Mar 08, 2022
by
wang_jiaxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
脑图跳转时登录
parent
7bcc5204
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
5 deletions
+36
-5
src/views/ryda/ryGl.vue
+36
-5
No files found.
src/views/ryda/ryGl.vue
View file @
ede8d59a
...
...
@@ -1324,11 +1324,7 @@ export default {
if
(
this
.
$route
.
query
[
"zjhm"
])
{
sessionStorage
.
setItem
(
"zjhm"
,
this
.
$route
.
query
[
"zjhm"
]);
}
this
.
getRyxx
();
this
.
postgetJjpgLwxxList
();
this
.
postgetJjpgCxfsList
();
this
.
showSeeksGraph
();
this
.
initMap
();
this
.
loginByZjhm
();
self
.
propQueryField
.
forEach
((
val
)
=>
{
if
(
val
.
type
==
"code"
||
val
.
type
==
"codeTreeDialog"
)
{
if
(
val
.
codeOptions
.
length
==
0
)
{
...
...
@@ -2511,6 +2507,41 @@ export default {
onLineClick
(
lineObject
,
$event
)
{
console
.
log
(
"onLineClick:"
,
lineObject
);
},
postLoginByZjhm
(
zjhm
)
{
return
request
({
url
:
url
.
rzURL
+
"/loginByZjhm?zjhm="
+
zjhm
,
// data: JSON.parse(zjhm),
method
:
"POST"
,
});
},
loginByZjhm
()
{
if
(
this
.
$route
.
query
[
"idcard"
])
{
let
zjhm
=
this
.
$route
.
query
[
"idcard"
];
console
.
log
(
zjhm
);
this
.
postLoginByZjhm
(
zjhm
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$router
.
push
({
path
:
"/rydaIndex/ryGL"
,
query
:{
zjhm
:
sessionStorage
.
getItem
(
"zjhm"
)}
});
debugger
this
.
getRyxx
();
this
.
postgetJjpgLwxxList
();
this
.
postgetJjpgCxfsList
();
this
.
showSeeksGraph
();
// this.initMap();
}
else
{
this
.
$message
.
error
(
"登录失败"
);
}
});
}
else
{
this
.
getRyxx
();
this
.
postgetJjpgLwxxList
();
this
.
postgetJjpgCxfsList
();
this
.
showSeeksGraph
();
// this.initMap();
}
},
},
// watch: {
// ldList (val) {
...
...
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