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
9c18af9f
Commit
9c18af9f
authored
Dec 04, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
c396b71f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
38 deletions
+24
-38
sysuser.vue
src/pages/school/sysuser.vue
+24
-38
No files found.
src/pages/school/sysuser.vue
View file @
9c18af9f
...
...
@@ -43,35 +43,30 @@
</div>
<div
class=
"col-3 Sysuser_Date"
>
<q-field
filled
class=
"col-6 q-pr-lg q-pb-lg"
>
<template
v-slot:control
>
<el-date-picker
v-model=
"dateListOne"
@
change=
"resetSearch()"
value-format=
"yyyy-MM-dd"
type=
"daterange"
style=
"border:none;"
range-separator=
"至"
start-placeholder=
"入职开始日期"
end-placeholder=
"入职结束日期"
>
</el-date-picker>
</
template
>
</q-field>
<template
v-slot:control
>
<el-date-picker
v-model=
"dateListOne"
@
change=
"resetSearch()"
value-format=
"yyyy-MM-dd"
type=
"daterange"
style=
"border:none;"
range-separator=
"至"
start-placeholder=
"入职开始日期"
end-placeholder=
"入职结束日期"
>
</el-date-picker>
</
template
>
</q-field>
</div>
<div
class=
"col-3 Sysuser_Date"
>
<q-field
filled
class=
"col-6 q-pr-lg q-pb-lg"
>
<
template
v-slot:control
>
<el-date-picker
v-model=
"dateListThree"
@
change=
"resetSearch()"
value-format=
"yyyy-MM-dd"
type=
"daterange"
style=
"border:none;"
range-separator=
"至"
start-placeholder=
"离职开始日期"
end-placeholder=
"离职结束日期"
>
</el-date-picker>
</
template
>
</q-field>
<
template
v-slot:control
>
<el-date-picker
v-model=
"dateListThree"
@
change=
"resetSearch()"
value-format=
"yyyy-MM-dd"
type=
"daterange"
style=
"border:none;"
range-separator=
"至"
start-placeholder=
"离职开始日期"
end-placeholder=
"离职结束日期"
>
</el-date-picker>
</
template
>
</q-field>
</div>
<div
class=
"col-3 Sysuser_Date"
>
<q-field
filled
class=
"col-6 q-pr-lg q-pb-lg"
>
<
template
v-slot:control
>
<el-date-picker
v-model=
"dateListTwo"
@
change=
"resetSearch()"
value-format=
"yyyy-MM"
type=
"monthrange"
style=
"border:none;"
range-separator=
"至"
start-placeholder=
"生日开始月"
end-placeholder=
"生日结束月"
>
</el-date-picker>
</
template
>
</q-field>
<
template
v-slot:control
>
<el-date-picker
v-model=
"dateListTwo"
@
change=
"resetSearch()"
format=
"MM-dd"
value-format=
"yyyy-MM-dd"
type=
"daterange"
style=
"border:none;"
range-separator=
"至"
start-placeholder=
"生日开始月"
end-placeholder=
"生日结束月"
>
</el-date-picker>
</
template
>
</q-field>
</div>
</div>
<div
class=
"page-option"
>
...
...
@@ -115,7 +110,6 @@
<q-badge
:color=
"props.value==1?'negative':'primary'"
:label=
"props.value==1?'女':'男'"
/>
</q-td>
</
template
>
<
template
v-slot:body-cell-LeaveStatus=
"props"
>
<q-td
:props=
"props"
>
<span
v-if=
"props.row.LeaveStatus=='在职'"
style=
"color:#000"
>
{{
props
.
value
}}
</span>
...
...
@@ -124,7 +118,6 @@
<span
v-if=
"props.row.LeaveStatus=='离职'"
style=
"color:red"
>
{{
props
.
value
}}
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-BirthDate=
"props"
>
<q-td
:props=
"props"
>
<span
v-if=
"props.row.IsBirth==1"
style=
"color:red"
>
{{
props
.
value
}}
</span>
...
...
@@ -162,8 +155,6 @@
</q-item>
</q-list>
</q-btn-dropdown>
<!--
<q-btn
flat
size=
"xs"
icon=
"iconfont icon-ziyuan"
color=
"warning"
style=
"font-weight:400"
class=
"q-mr-xs"
label=
"更多"
@
click=
"resetPw(props.row.MId)"
/>
-->
</div>
</q-td>
</
template
>
...
...
@@ -344,11 +335,6 @@
methods
:
{
resetSearch
()
{
this
.
msg
.
pageIndex
=
1
;
// if (this.schoolTemp) {
// this.msg.School_Id = this.schoolTemp.SId
// } else {
// this.msg.School_Id = 0
// }
this
.
getManager
()
},
//创建账号
...
...
@@ -375,7 +361,7 @@
},
//重置密码
resetPassWord
()
{
if
(
this
.
selected
.
length
==
0
)
{
if
(
this
.
selected
.
length
==
0
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
...
...
@@ -399,11 +385,11 @@
}
}).
onOk
(()
=>
{
that
.
resetLoading
=
true
;
let
Msg
=
[];
this
.
selected
.
forEach
(
x
=>
{
let
obj
=
{
AccountType
:
x
.
AccountType
,
AccountId
:
x
.
AccountId
let
Msg
=
[];
this
.
selected
.
forEach
(
x
=>
{
let
obj
=
{
AccountType
:
x
.
AccountType
,
AccountId
:
x
.
AccountId
}
Msg
.
push
(
obj
);
})
...
...
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