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
5bc78069
Commit
5bc78069
authored
Dec 16, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
65142fce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
6 deletions
+43
-6
studentAddForm.vue
src/components/school/student/studentAddForm.vue
+31
-6
stulist.vue
src/components/school/student/stulist.vue
+12
-0
No files found.
src/components/school/student/studentAddForm.vue
View file @
5bc78069
...
...
@@ -19,7 +19,7 @@
full-mask
mask=
"###########"
label=
"客户电话"
@
input
=
"checkStuTel(1)"
@
blur
=
"checkStuTel(1)"
></q-input>
</div>
<div
class=
"q-mt-xs row q-col-gutter-md"
>
...
...
@@ -31,7 +31,7 @@
full-mask
mask=
"###########"
label=
"客户QQ"
@
input
=
"checkStuTel(2)"
@
blur
=
"checkStuTel(2)"
></q-input>
<q-input
class=
"col-6"
...
...
@@ -39,9 +39,8 @@
v-model=
"customObj.WeChatNo"
dense
full-mask
mask=
"###########"
label=
"客户微信号"
@
input
=
"checkStuTel(3)"
@
blur
=
"checkStuTel(3)"
></q-input>
</div>
<div
class=
"q-mt-xs row q-col-gutter-md"
>
...
...
@@ -117,6 +116,21 @@
class=
"col-6"
/>
</div>
<div
class=
"q-mt-xs row q-col-gutter-md"
>
<q-select
filled
v-model=
"customObj.StuType"
dense
:options=
"customTypeList"
option-label=
"Name"
option-value=
"Id"
emit-value
map-options
label=
"客户类型"
behavior=
"menu"
class=
"col-6"
/>
</div>
<div
class=
"q-mt-xs row q-col-gutter-md"
>
<q-input
filled
...
...
@@ -249,7 +263,8 @@
import
{
getStudentInfo
,
//获取学员客户信息
queryStuStageList
,
//获取客户阶段列表
saveStudent
//保存学员信息
saveStudent
,
//保存学员信息
GetStudentTypeList
}
from
"../../../api/school/index"
;
import
{
getGuestBasicsEnumList
,
...
...
@@ -302,7 +317,8 @@ export default {
customFromList
:
[],
StuChannelList
:
[],
//收客渠道
AssistDropList
:
[],
//协助人员
customList
:[]
customList
:[],
customTypeList
:[]
//客户类型
};
},
created
()
{
...
...
@@ -314,6 +330,7 @@ export default {
this
.
GetStuChannelList
();
this
.
getCustomFrom
();
this
.
GetCustomerList
();
this
.
getCustomTypeList
();
if
(
this
.
saveObj
&&
this
.
saveObj
.
StuId
>
0
)
{
this
.
customMsg
.
StuId
=
this
.
saveObj
.
StuId
;
this
.
queryStuInfo
();
...
...
@@ -466,6 +483,14 @@ export default {
}
})
},
//获取客户类型
getCustomTypeList
(){
GetStudentTypeList
().
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
customTypeList
=
res
.
Data
;
}
})
},
queryStuInfo
()
{
getStudentInfo
({
StuId
:
this
.
customMsg
.
StuId
...
...
src/components/school/student/stulist.vue
View file @
5bc78069
...
...
@@ -151,6 +151,18 @@
field
:
"StuTel"
,
align
:
"left"
},
{
name
:
"QQ"
,
label
:
"QQ"
,
field
:
"QQ"
,
align
:
"left"
},
{
name
:
"WeChatNo"
,
label
:
"微信"
,
field
:
"WeChatNo"
,
align
:
"left"
},
{
name
:
"StuStageName"
,
label
:
"客户阶段"
,
...
...
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