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
a9d8315d
Commit
a9d8315d
authored
Dec 21, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
b7386552
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
4 deletions
+48
-4
index.js
src/api/school/index.js
+11
-0
student-left.vue
src/components/school/student/student-left.vue
+31
-4
stulist.vue
src/components/school/student/stulist.vue
+6
-0
No files found.
src/api/school/index.js
View file @
a9d8315d
...
@@ -666,3 +666,14 @@ export function GetStudentTypeList(data) {
...
@@ -666,3 +666,14 @@ export function GetStudentTypeList(data) {
data
data
});
});
}
}
/**
* 获取客户需求下拉
*/
export
function
GetNeedsList
(
data
)
{
return
request
({
url
:
'/CustomerStudent/GetNeedsList'
,
method
:
'post'
,
data
});
}
\ No newline at end of file
src/components/school/student/student-left.vue
View file @
a9d8315d
...
@@ -224,6 +224,17 @@
...
@@ -224,6 +224,17 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"customer_info_component"
>
<div
class=
"customer_info_Stage"
>
<div
class=
"stage_label"
>
客户需求
</div>
<div
class=
"stage_value"
>
<q-select
filled
v-model=
"customObj.StuNeeds"
style=
"width:185px"
dense
:options=
"NeedData"
option-label=
"Name"
option-value=
"Id"
emit-value
map-options
label=
"客户需求"
/>
</div>
</div>
</div>
<div
class=
"custom_Line"
></div>
<div
class=
"custom_Line"
></div>
<div
class=
"info_title"
>
基本资料
</div>
<div
class=
"info_title"
>
基本资料
</div>
<div
class=
"info_content"
>
<div
class=
"info_content"
>
...
@@ -294,7 +305,8 @@
...
@@ -294,7 +305,8 @@
queryStuStageList
,
//获取客户阶段列表
queryStuStageList
,
//获取客户阶段列表
saveStudent
,
//保存学员信息
saveStudent
,
//保存学员信息
GetStudentTypeList
,
GetStudentTypeList
,
getStudentDorpDownList
getStudentDorpDownList
,
GetNeedsList
}
from
'../../../api/school/index'
;
}
from
'../../../api/school/index'
;
import
{
import
{
getGuestBasicsEnumList
,
getGuestBasicsEnumList
,
...
@@ -352,7 +364,8 @@
...
@@ -352,7 +364,8 @@
CustomerId
:
0
,
//关联同行
CustomerId
:
0
,
//关联同行
QQ
:
''
,
//qq
QQ
:
''
,
//qq
WeChatNo
:
''
,
//微信号
WeChatNo
:
''
,
//微信号
StuType
:
''
//客户类型
StuType
:
''
,
//客户类型
StuNeeds
:
0
//客户需求
},
},
//日语基础列表
//日语基础列表
basicList
:
[],
basicList
:
[],
...
@@ -377,7 +390,8 @@
...
@@ -377,7 +390,8 @@
StuTel
:
''
,
StuTel
:
''
,
QQ
:
''
,
QQ
:
''
,
WeChatNo
:
''
WeChatNo
:
''
}
},
NeedData
:[]
}
}
},
},
created
()
{
created
()
{
...
@@ -391,6 +405,7 @@
...
@@ -391,6 +405,7 @@
this
.
GetCustomerList
();
this
.
GetCustomerList
();
this
.
getCustomTypeList
();
this
.
getCustomTypeList
();
this
.
getStudentDorpDown
();
this
.
getStudentDorpDown
();
this
.
getGetNeedsList
();
if
(
this
.
saveObj
&&
this
.
saveObj
.
StuId
>
0
)
{
if
(
this
.
saveObj
&&
this
.
saveObj
.
StuId
>
0
)
{
this
.
customMsg
.
StuId
=
this
.
saveObj
.
StuId
;
this
.
customMsg
.
StuId
=
this
.
saveObj
.
StuId
;
this
.
checkMsg
.
StuId
=
this
.
saveObj
.
StuId
;
this
.
checkMsg
.
StuId
=
this
.
saveObj
.
StuId
;
...
@@ -399,6 +414,14 @@
...
@@ -399,6 +414,14 @@
},
},
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
//获取客户需求
getGetNeedsList
(){
GetNeedsList
().
then
(
res
=>
{
if
(
res
.
Code
==
1
){
this
.
NeedData
=
res
.
Data
;
}
})
},
//保存学员信息
//保存学员信息
saveStu
()
{
saveStu
()
{
if
(
this
.
customObj
.
StuName
==
''
)
{
if
(
this
.
customObj
.
StuName
==
''
)
{
...
@@ -574,7 +597,10 @@
...
@@ -574,7 +597,10 @@
},
},
//获取客户下拉数据
//获取客户下拉数据
GetCustomerList
()
{
GetCustomerList
()
{
GetCustomerList
().
then
(
res
=>
{
let
msg
=
{
QCreateBy
:
1
}
GetCustomerList
(
msg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
if
(
res
.
Code
==
1
)
{
this
.
customList
=
res
.
Data
;
this
.
customList
=
res
.
Data
;
this
.
allCustomList
=
res
.
Data
;
this
.
allCustomList
=
res
.
Data
;
...
@@ -645,6 +671,7 @@
...
@@ -645,6 +671,7 @@
this
.
customObj
.
StuType
=
tempDate
.
StuType
;
this
.
customObj
.
StuType
=
tempDate
.
StuType
;
this
.
customObj
.
QQ
=
tempDate
.
QQ
;
this
.
customObj
.
QQ
=
tempDate
.
QQ
;
this
.
customObj
.
WeChatNo
=
tempDate
.
WeChatNo
;
this
.
customObj
.
WeChatNo
=
tempDate
.
WeChatNo
;
this
.
customObj
.
StuNeeds
=
tempDate
.
StuNeeds
;
}
}
});
});
},
},
...
...
src/components/school/student/stulist.vue
View file @
a9d8315d
...
@@ -181,6 +181,12 @@
...
@@ -181,6 +181,12 @@
field
:
"StuStageName"
,
field
:
"StuStageName"
,
align
:
"left"
align
:
"left"
},
},
{
name
:
"StuNeedsName"
,
label
:
"客户需求"
,
field
:
"StuNeedsName"
,
align
:
"left"
},
{
{
name
:
"StuProfession"
,
name
:
"StuProfession"
,
label
:
"职业"
,
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