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
2903eb4d
authored
Jun 18, 2020
by
cocomilk2012
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update
parent
35e5169b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
src/views/FlexEmployee.vue
src/views/SelectIdentity.vue
src/views/FlexEmployee.vue
View file @
2903eb4d
...
...
@@ -93,8 +93,8 @@ import { Component, Vue } from "vue-property-decorator";
// }
})
export
default
class
FlexEmployee
extends
Vue
{
private
name
:
string
=
"
迪丽热巴
"
;
//入参
private
birthday
:
string
=
"
1987-10-16"
;
//入参
private
name
:
string
=
""
;
//入参
private
birthday
:
string
=
"
"
;
//
private
accept_work
:
string
=
""
;
private
perform_work
:
string
=
""
;
...
...
@@ -122,6 +122,8 @@ export default class FlexEmployee extends Vue {
}
mounted
()
{
this
.
name
=
localStorage
.
getItem
(
"name"
)
as
string
;
this
.
birthday
=
localStorage
.
getItem
(
"birthday"
)
as
string
;
let
params
=
{
idNo
:
this
.
$route
.
query
.
id_no
//371327198511175134
};
...
...
src/views/SelectIdentity.vue
View file @
2903eb4d
...
...
@@ -7,7 +7,12 @@
<p>
可查看专项订单服务,使用职场小工具
</p>
</div>
</a>
-->
<a
v-if=
"company_num>0"
class=
"si-child"
id=
"dispatch-employee"
@
click=
"toIndex_click"
>
<a
v-if=
"company_num > 0"
class=
"si-child"
id=
"dispatch-employee"
@
click=
"toIndex_click"
>
<img
src=
"../assets/images/agent/dispatch-employee.png"
alt
/>
<div
class=
"si-child-desc"
>
<h4>
我是派遣员工
</h4>
...
...
@@ -79,6 +84,8 @@ export default class SelectIdentity extends Vue {
.
then
(
res
=>
{
if
(
res
.
data
&&
res
.
data
.
uthStatus
&&
res
.
data
.
uthStatus
>
0
)
{
this
.
id_no
=
res
.
data
.
personalIdCardNo
;
localStorage
.
setItem
(
"name"
,
res
.
data
.
personalName
);
localStorage
.
setItem
(
"birthday"
,
res
.
data
.
birthday
);
}
else
{
//TODO: 跳转到实名认证
console
.
log
(
"跳转到实名认证"
,
res
);
...
...
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