Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
frontend
/
qqxb-self-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b9a8d9f0
authored
Jun 28, 2020
by
cocomilk2012
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update
parent
72a37477
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
src/views/SelectIdentity.vue
src/views/SelectIdentity.vue
View file @
b9a8d9f0
...
...
@@ -44,6 +44,7 @@ export default class SelectIdentity extends Vue {
private
id_no
:
string
=
""
;
private
dispatch_list
:
any
[]
=
[];
private
no_data
:
boolean
=
false
;
private
loading
:
any
;
get
id_no_encrytion
():
string
{
return
encodeURI
(
window
.
btoa
(
this
.
id_no
));
...
...
@@ -122,6 +123,7 @@ export default class SelectIdentity extends Vue {
.
then
(
res
=>
{
console
.
log
(
"getDispatchList res="
,
res
);
this
.
dispatch_list
=
res
;
this
.
loading
.
clear
();
})
.
catch
(
err
=>
{
console
.
log
(
"err="
,
err
);
...
...
@@ -129,6 +131,10 @@ export default class SelectIdentity extends Vue {
}
async
created
()
{
this
.
loading
=
Toast
.
loading
({
message
:
"加载中..."
,
forbidClick
:
true
});
await
this
.
getUserInfo
();
if
(
this
.
id_no
)
{
await
this
.
getDispatchList
();
...
...
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