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
7acfe801
authored
Jul 01, 2020
by
cocomilk2012
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
update
parent
63953a61
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
8 deletions
src/views/ChooseCompany.vue
src/views/SelectIdentity.vue
src/views/ChooseCompany.vue
View file @
7acfe801
<
template
>
<div
class=
"main main-company"
id=
"main_company"
>
<div
class=
"company-item-box"
v-for=
"(item,index) in dispatch_list"
:key=
"index"
>
<p
class=
"company-name"
@
click=
"toCompany_click(item.id)"
>
{{
item
.
fullName
}}
</p>
<img
src=
"../assets/images/right_arrow.png"
alt=
"进入派遣公司"
title=
"进入派遣公司"
/>
<div
class=
"list_wrap"
v-if=
"dispatch_list.length > 0"
>
<div
class=
"company-item-box"
v-for=
"(item,index) in dispatch_list"
:key=
"index"
>
<p
class=
"company-name"
@
click=
"toCompany_click(item.id)"
>
{{
item
.
fullName
}}
</p>
<img
src=
"../assets/images/right_arrow.png"
alt=
"进入派遣公司"
title=
"进入派遣公司"
/>
</div>
</div>
<div
v-else
class=
"no_data"
>
您还没有劳务派遣公司,暂无相关信息
</div>
</div>
</
template
>
...
...
@@ -58,4 +60,10 @@ export default class workInfo extends Vue {
</
script
>
<
style
lang=
"less"
>
.no_data
{
color
:
#999
;
padding
:
20px
;
margin
:
auto
;
font-size
:
14px
;
}
</
style
>
\ No newline at end of file
src/views/SelectIdentity.vue
View file @
7acfe801
...
...
@@ -8,7 +8,7 @@
</div>
</a>
-->
<a
v-if=
"!no_data
&& company_num > 0
"
v-if=
"!no_data"
class=
"si-child"
id=
"dispatch-employee"
@
click=
"toIndex_click"
...
...
@@ -91,7 +91,7 @@ export default class SelectIdentity extends Vue {
}
private
toIndex_click
():
void
{
if
(
this
.
company_num
>
1
)
{
if
(
this
.
company_num
>
1
||
this
.
company_num
==
0
)
{
this
.
ChooseCompany
();
}
...
...
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