Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
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
罗超
confucius
Commits
34287216
Commit
34287216
authored
Dec 02, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
33d835fb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
sysuser.vue
src/pages/school/sysuser.vue
+28
-0
No files found.
src/pages/school/sysuser.vue
View file @
34287216
...
@@ -70,10 +70,14 @@
...
@@ -70,10 +70,14 @@
</div>
</div>
<div
class=
"page-option"
>
<div
class=
"page-option"
>
<q-btn
color=
"accent"
class=
"q-mr-md"
icon=
"add"
label=
"新增管理者"
@
click=
"EditManager(null)"
/>
<q-btn
color=
"accent"
class=
"q-mr-md"
icon=
"add"
label=
"新增管理者"
@
click=
"EditManager(null)"
/>
<q-select
filled
v-model=
"checkedOP"
stack-label
option-value=
"Id"
option-label=
"Name"
style=
"margin-top:20px;"
ref=
"LeaveStatus"
:options=
"operationList"
label=
"更多"
:dense=
"false"
class=
"col-6 q-pr-lg q-pb-lg"
emit-value
map-options
/>
</div>
</div>
</div>
</div>
<div
class=
"page-content"
>
<div
class=
"page-content"
>
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
selection=
"multiple"
:selected
.
sync=
"selected"
:selected-rows-label=
"getSelectedString"
class=
"sticky-right-column-table sticky-tow-column-table"
separator=
"none"
title=
"员工管理"
:data=
"data"
class=
"sticky-right-column-table sticky-tow-column-table"
separator=
"none"
title=
"员工管理"
:data=
"data"
:columns=
"columns"
row-key=
"name"
>
:columns=
"columns"
row-key=
"name"
>
<
template
v-slot:body-cell-UserIcon=
"props"
>
<
template
v-slot:body-cell-UserIcon=
"props"
>
...
@@ -172,6 +176,11 @@
...
@@ -172,6 +176,11 @@
return
{
return
{
currentUrl
:
""
,
currentUrl
:
""
,
columns
:
[{
columns
:
[{
name
:
'desc'
,
required
:
true
,
label
:
''
,
align
:
'left'
,
},{
name
:
'UserIcon'
,
name
:
'UserIcon'
,
label
:
''
,
label
:
''
,
field
:
'UserIcon'
,
field
:
'UserIcon'
,
...
@@ -282,6 +291,21 @@
...
@@ -282,6 +291,21 @@
dateListOne
:
[],
//入职-离职日期
dateListOne
:
[],
//入职-离职日期
dateListTwo
:
[],
//生日开始-结束日期
dateListTwo
:
[],
//生日开始-结束日期
dateListThree
:[],
//开始-结束离职日期
dateListThree
:[],
//开始-结束离职日期
operationList
:[{
//更多操作
Id
:
0
,
Name
:
'离职'
},{
Id
:
1
,
Name
:
'重置密码'
},{
Id
:
2
,
Name
:
'调岗'
},{
Id
:
3
,
Name
:
'调部门'
}],
checkedOP
:
0
,
//选中
selected
:
[],
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -509,6 +533,10 @@
...
@@ -509,6 +533,10 @@
this
.
LeaveStatusList
=
res
.
Data
;
this
.
LeaveStatusList
=
res
.
Data
;
}
}
})
})
},
getSelectedString
(){
console
.
log
(
this
.
selected
,
'selected'
);
return
this
.
selected
.
length
===
0
?
''
:
`
${
this
.
selected
.
length
}
record
${
this
.
selected
.
length
>
1
?
's'
:
''
}
selected of
${
this
.
data
.
length
}
`
}
}
},
},
}
}
...
...
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