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
f764486f
Commit
f764486f
authored
Dec 15, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/confucius
parents
a6bd57f1
d32db0d5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
19 deletions
+24
-19
student-left.vue
src/components/school/student/student-left.vue
+8
-4
student-visit.vue
src/components/school/student/student-visit.vue
+16
-15
No files found.
src/components/school/student/student-left.vue
View file @
f764486f
...
...
@@ -88,11 +88,15 @@
emit-value
map-options
label=
"客户来源"
/>
</div>
</div>
<div
class=
"info_item"
v-if=
"customObj.CreateType==3||customObj.CreateType==4"
>
<div
class=
"item_label"
>
<span
v-if=
"customObj.CreateType==3"
>
介绍人
</span>
<span
v-if=
"customObj.CreateType==4"
>
转介人
</span>
<div
class=
"info_item"
v-if=
"customObj.CreateType==3"
>
<div
class=
"item_label"
>
介绍人
</div>
<div
class=
"item_value"
>
<q-select
filled
v-model=
"customObj.StuSourceId"
dense
@
filter=
"filterEmployee"
use-input
:options=
"myEmployeeList"
option-label=
"EmployeeName"
option-value=
"Id"
emit-value
map-options
/>
</div>
</div>
<div
class=
"info_item"
v-if=
"customObj.CreateType==4"
>
<div
class=
"item_label"
>
转介人
</div>
<div
class=
"item_value"
>
<q-select
filled
v-model=
"customObj.StuSourceId"
dense
:options=
"customList"
option-label=
"CustomerName"
option-value=
"CustomerId"
emit-value
map-options
/>
...
...
src/components/school/student/student-visit.vue
View file @
f764486f
...
...
@@ -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