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
c263c974
Commit
c263c974
authored
Dec 20, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e2dc0fec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
25 deletions
+49
-25
student-left.vue
src/components/school/student/student-left.vue
+49
-25
No files found.
src/components/school/student/student-left.vue
View file @
c263c974
...
@@ -114,14 +114,27 @@
...
@@ -114,14 +114,27 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"customer_info_component"
>
<div
class=
"customer_info_Stage items-center"
>
<div
class=
"stage_label"
>
<span
class=
"student_require"
>
*
</span>
客户状态
</div>
<div
class=
"stage_value"
>
<q-select
filled
v-model=
"customObj.StuStage"
dense
:options=
"customState"
option-label=
"Name"
style=
"width:185px;"
option-value=
"Id"
emit-value
map-options
label=
"客户状态"
/>
</div>
</div>
</div>
<div
class=
"customer_info_component"
>
<div
class=
"customer_info_component"
>
<div
class=
"customer_info_Stage"
>
<div
class=
"customer_info_Stage"
>
<div
class=
"stage_label"
>
<div
class=
"stage_label"
>
<span
class=
"student_require"
>
*
</span>
客户来源
<span
class=
"student_require"
>
*
</span>
客户来源
</div>
</div>
<div
class=
"stage_value"
>
<div
class=
"stage_value"
>
<q-select
filled
v-model=
"customObj.CreateType"
@
change=
"clearStuMsg()"
style=
"width:185px;"
@
input=
"resetStuSource()"
dense
<q-select
filled
v-model=
"customObj.CreateType"
@
change=
"clearStuMsg()"
style=
"width:185px;"
:options=
"customFromList"
option-label=
"Name"
option-value=
"Id"
emit-value
map-options
label=
"客户来源"
/>
@
input=
"resetStuSource()"
dense
:options=
"customFromList"
option-label=
"Name"
option-value=
"Id"
emit-value
map-options
label=
"客户来源"
/>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -131,8 +144,9 @@
...
@@ -131,8 +144,9 @@
介绍人
介绍人
</div>
</div>
<div
class=
"stage_value"
>
<div
class=
"stage_value"
>
<q-select
filled
v-model=
"customObj.StuSourceId"
style=
"width:185px;"
dense
@
filter=
"filterEmployee"
use-input
<q-select
filled
v-model=
"customObj.StuSourceId"
style=
"width:185px;"
dense
@
filter=
"filterEmployee"
:options=
"myEmployeeList"
option-label=
"EmployeeName"
option-value=
"Id"
emit-value
map-options
/>
use-input
:options=
"myEmployeeList"
option-label=
"EmployeeName"
option-value=
"Id"
emit-value
map-options
/>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -142,8 +156,8 @@
...
@@ -142,8 +156,8 @@
转介人
转介人
</div>
</div>
<div
class=
"stage_value"
>
<div
class=
"stage_value"
>
<q-select
filled
v-model=
"customObj.StuSourceId"
style=
"width:185px;"
use-input
@
filter=
"filterStudent"
dense
:options=
"MyTransListData"
<q-select
filled
v-model=
"customObj.StuSourceId"
style=
"width:185px;"
use-input
@
filter=
"filterStudent"
option-label=
"StuName"
option-value=
"StuId"
emit-value
map-options
/>
dense
:options=
"MyTransListData"
option-label=
"StuName"
option-value=
"StuId"
emit-value
map-options
/>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -153,8 +167,8 @@
...
@@ -153,8 +167,8 @@
收客渠道
收客渠道
</div>
</div>
<div
class=
"stage_value"
>
<div
class=
"stage_value"
>
<q-select
filled
v-model=
"customObj.StuChannel"
style=
"width:185px;"
dense
:options=
"StuChannelList"
option-label=
"Name"
<q-select
filled
v-model=
"customObj.StuChannel"
style=
"width:185px;"
dense
:options=
"StuChannelList"
option-value=
"Id"
emit-value
map-options
/>
option-
label=
"Name"
option-
value=
"Id"
emit-value
map-options
/>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -164,8 +178,8 @@
...
@@ -164,8 +178,8 @@
关联同行
关联同行
</div>
</div>
<div
class=
"stage_value"
>
<div
class=
"stage_value"
>
<q-select
filled
v-model=
"customObj.CustomerId"
style=
"width:185px"
dense
:options=
"customList"
option-label=
"CustomerName"
<q-select
filled
v-model=
"customObj.CustomerId"
style=
"width:185px"
dense
:options=
"customList"
option-value=
"CustomerId"
emit-value
map-options
/>
option-
label=
"CustomerName"
option-
value=
"CustomerId"
emit-value
map-options
/>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -186,11 +200,11 @@
...
@@ -186,11 +200,11 @@
<div
class=
"customer_info_component"
>
<div
class=
"customer_info_component"
>
<div
class=
"customer_info_Stage"
>
<div
class=
"customer_info_Stage"
>
<div
class=
"stage_label"
>
<div
class=
"stage_label"
>
客户类型
<span
class=
"student_require"
>
*
</span>
客户类型
</div>
</div>
<div
class=
"stage_value"
>
<div
class=
"stage_value"
>
<q-select
filled
v-model=
"customObj.StuType"
style=
"width:185px"
dense
:options=
"customTypeList"
option-label=
"Name"
<q-select
filled
v-model=
"customObj.StuType"
style=
"width:185px"
dense
:options=
"customTypeList"
option-value=
"Id"
emit-value
map-options
label=
"客户类型"
/>
option-
label=
"Name"
option-
value=
"Id"
emit-value
map-options
label=
"客户类型"
/>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -216,13 +230,7 @@
...
@@ -216,13 +230,7 @@
</q-field>
</q-field>
</div>
</div>
</div>
</div>
<div
class=
"info_item"
>
<div
class=
"item_label"
>
客户阶段状态
</div>
<div
class=
"item_value"
>
<q-select
filled
v-model=
"customObj.StuStage"
dense
:options=
"customState"
option-label=
"Name"
option-value=
"Id"
emit-value
map-options
label=
"客户状态"
/>
</div>
</div>
<div
class=
"info_item"
>
<div
class=
"info_item"
>
<div
class=
"item_label"
>
日语基础
</div>
<div
class=
"item_label"
>
日语基础
</div>
<div
class=
"item_value"
>
<div
class=
"item_value"
>
...
@@ -344,8 +352,8 @@
...
@@ -344,8 +352,8 @@
customFromList
:
[],
//客户来源
customFromList
:
[],
//客户来源
customTypeList
:
[],
//客户类型
customTypeList
:
[],
//客户类型
customList
:
[],
customList
:
[],
TransListData
:[],
//转介人数据
TransListData
:
[],
//转介人数据
MyTransListData
:[],
MyTransListData
:
[],
checkMsg
:
{
checkMsg
:
{
StuId
:
0
,
StuId
:
0
,
StuTel
:
''
,
StuTel
:
''
,
...
@@ -398,6 +406,22 @@
...
@@ -398,6 +406,22 @@
message
:
`请选择客户来源`
message
:
`请选择客户来源`
})
})
return
return
}
if
(
this
.
customObj
.
StuStage
==
''
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`请选择客户状态`
})
return
}
if
(
this
.
customObj
.
StuType
==
''
)
{
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`请选择客户类型`
})
return
}
}
if
(
this
.
customObj
.
StuTel
!=
''
)
{
if
(
this
.
customObj
.
StuTel
!=
''
)
{
var
myreg
=
/^
[
1
][
3-9
][\d]{9}
/
;
var
myreg
=
/^
[
1
][
3-9
][\d]{9}
/
;
...
@@ -501,9 +525,9 @@
...
@@ -501,9 +525,9 @@
})
})
},
},
//获取转介人下拉
//获取转介人下拉
getStudentDorpDown
(){
getStudentDorpDown
()
{
getStudentDorpDownList
().
then
(
res
=>
{
getStudentDorpDownList
().
then
(
res
=>
{
console
.
log
(
res
,
'res'
);
console
.
log
(
res
,
'res'
);
if
(
res
.
Code
==
1
)
{
if
(
res
.
Code
==
1
)
{
this
.
TransListData
=
res
.
Data
;
this
.
TransListData
=
res
.
Data
;
this
.
MyTransListData
=
res
.
Data
;
this
.
MyTransListData
=
res
.
Data
;
...
@@ -511,7 +535,7 @@
...
@@ -511,7 +535,7 @@
})
})
},
},
//筛选转介人
//筛选转介人
filterStudent
(
val
,
update
,
abort
){
filterStudent
(
val
,
update
,
abort
)
{
update
(()
=>
{
update
(()
=>
{
this
.
MyTransListData
=
this
.
TransListData
.
filter
(
this
.
MyTransListData
=
this
.
TransListData
.
filter
(
v
=>
v
.
StuName
.
indexOf
(
val
)
>
-
1
v
=>
v
.
StuName
.
indexOf
(
val
)
>
-
1
...
...
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