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
67a10c0e
Commit
67a10c0e
authored
Dec 15, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
8652627c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
4 deletions
+20
-4
student-left.vue
src/components/school/student/student-left.vue
+20
-4
No files found.
src/components/school/student/student-left.vue
View file @
67a10c0e
...
...
@@ -84,7 +84,7 @@
<div
class=
"info_item"
>
<div
class=
"item_label"
>
客户来源
</div>
<div
class=
"item_value"
>
<q-select
filled
v-model=
"customObj.CreateType"
dense
:options=
"customFromList"
option-label=
"Name"
option-value=
"Id"
<q-select
filled
v-model=
"customObj.CreateType"
@
input=
"resetStuSource()"
dense
:options=
"customFromList"
option-label=
"Name"
option-value=
"Id"
emit-value
map-options
label=
"客户来源"
/>
</div>
</div>
...
...
@@ -94,8 +94,8 @@
<span
v-if=
"customObj.CreateType==4"
>
转介人
</span>
</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
/>
<q-select
filled
v-model=
"customObj.StuSourceId"
dense
:options=
"customList"
option-label=
"CustomerName"
option-value=
"Customer
Id"
emit-value
map-options
/>
</div>
</div>
...
...
@@ -200,7 +200,8 @@
getGuestLearningGoalsEnumList
,
GetStuChannelList
,
CreateTypeList
,
CheckExistsStu
CheckExistsStu
,
GetCustomerList
}
from
'../../../api/sale/sale'
import
{
queryEmployee
...
...
@@ -259,6 +260,7 @@
StuChannelList
:
[],
//收客渠道
AssistDropList
:
[],
//协助人员
customFromList
:
[],
//客户来源
customList
:
[],
checkMsg
:{
StuId
:
0
,
StuTel
:
''
...
...
@@ -273,6 +275,7 @@
this
.
getEmployeeList
();
this
.
GetStuChannelList
();
this
.
getCustomFrom
();
this
.
GetCustomerList
();
if
(
this
.
saveObj
&&
this
.
saveObj
.
StuId
>
0
)
{
this
.
customMsg
.
StuId
=
this
.
saveObj
.
StuId
;
this
.
checkMsg
.
StuId
=
this
.
saveObj
.
StuId
;
...
...
@@ -417,6 +420,15 @@
this
.
customState
=
res
.
Data
;
})
},
//获取客户下拉数据
GetCustomerList
(){
GetCustomerList
().
then
(
res
=>
{
if
(
res
.
Code
==
1
){
this
.
customList
=
res
.
Data
;
}
console
.
log
(
res
,
'数据'
);
})
},
queryStuInfo
()
{
getStudentInfo
({
StuId
:
this
.
customMsg
.
StuId
...
...
@@ -461,6 +473,10 @@
CheckExistsStu
(
this
.
checkMsg
).
then
(
res
=>
{
})
},
//切换客户来源重置
resetStuSource
(){
this
.
customObj
.
StuSourceId
=
0
;
}
}
}
...
...
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