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
e564c341
Commit
e564c341
authored
Dec 15, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
ff62d7d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
15 deletions
+16
-15
student-visit.vue
src/components/school/student/student-visit.vue
+16
-15
No files found.
src/components/school/student/student-visit.vue
View file @
e564c341
...
...
@@ -9,7 +9,9 @@
height
:
auto
;
line-height
:
28px
;
}
.el-select-dropdown
{
z-index
:
8888
!important
;
}
</
style
>
<
template
>
<div>
...
...
@@ -38,9 +40,18 @@
</el-time-select>
</
template
>
</q-field>
<q-select
filled
v-model=
"VisitMsg.ReceptionPersion"
style=
"width:250px;"
dense
@
filter=
"filterEmployee"
class=
"col-6 q-pb-lg"
:options=
"myEmployeeList"
option-label=
"EmployeeName"
use-input
option-value=
"Id"
emit-value
map-options
label=
"接待人"
/>
<q-field
filled
class=
"q-pb-lg"
dense
>
<
template
v-slot:control
>
<el-select
v-model=
"VisitMsg.ReceptionPersion"
filterable
style=
"width:225px;"
placeholder=
"接待人"
>
<el-option
v-for=
"item in myEmployeeList"
:key=
"item.Id"
:label=
"item.EmployeeName"
:value=
"item.Id"
>
</el-option>
</el-select>
</
template
>
</q-field>
</div>
<div
class=
"row wrap"
>
<q-input
filled
v-model=
"VisitMsg.Remark"
dense
:rows=
"3"
type=
"textarea"
class=
"col-12 q-pb-lg q-pr-lg"
label=
"备注"
>
...
...
@@ -167,7 +178,6 @@
dataList
:
[],
page_Count
:
0
,
//员工列表
employeeList
:
[],
myEmployeeList
:
[],
isShowEdit
:
false
,
//反馈信息
...
...
@@ -235,18 +245,9 @@
queryEmployee
({
IsLeave
:
1
}).
then
(
res
=>
{
this
.
employeeList
=
res
.
Data
;
this
.
myEmployeeList
=
this
.
ClassList
;
this
.
myEmployeeList
=
res
.
Data
;
})
},
//下拉搜索
filterEmployee
(
val
,
update
,
abort
)
{
update
(()
=>
{
this
.
myEmployeeList
=
this
.
employeeList
.
filter
(
v
=>
v
.
EmployeeName
.
indexOf
(
val
)
>
-
1
);
});
},
//获取到访分页
getList
()
{
queryStudentVisitPage
(
this
.
msg
).
then
(
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