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
d2ba8334
Commit
d2ba8334
authored
Dec 15, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
f36b1c3b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
25 deletions
+15
-25
student-left.vue
src/components/school/student/student-left.vue
+15
-25
No files found.
src/components/school/student/student-left.vue
View file @
d2ba8334
...
...
@@ -59,7 +59,9 @@
width
:
120px
;
font-size
:
14px
;
}
.student_require
{
color
:
red
;
}
</
style
>
<
template
>
<div>
...
...
@@ -67,7 +69,9 @@
<div
class=
"info_content"
style=
"margin-bottom:0;"
>
<div
class=
"customer_info_component"
>
<div
class=
"customer_info_Stage"
>
<div
class=
"stage_label"
style=
"margin-top:-16px;"
>
客户名称
</div>
<div
class=
"stage_label"
>
<span
class=
"student_require"
>
*
</span>
客户名称
</div>
<div
class=
"stage_value"
>
<q-input
filled
v-model=
"customObj.StuName"
style=
"width:182px;"
ref=
"StuName"
dense
></q-input>
</div>
...
...
@@ -75,14 +79,18 @@
</div>
<div
class=
"customer_info_component"
>
<div
class=
"customer_info_Stage"
>
<div
class=
"stage_label"
style=
"margin-top:-16px;"
>
客户电话
</div>
<div
class=
"stage_label"
>
<span
class=
"student_require"
>
*
</span>
客户电话
</div>
<div
class=
"stage_value"
>
<q-input
filled
v-model=
"customObj.StuTel"
style=
"width:182px;"
@
blur=
"CheckExistsStu()"
ref=
"StuTel"
dense
></q-input>
</div>
</div>
</div>
<div
class=
"info_item"
>
<div
class=
"item_label"
>
客户来源
</div>
<div
class=
"item_label"
>
<span
class=
"student_require"
>
*
</span>
客户来源
</div>
<div
class=
"item_value"
>
<q-select
filled
v-model=
"customObj.CreateType"
@
input=
"resetStuSource()"
dense
:options=
"customFromList"
option-label=
"Name"
option-value=
"Id"
emit-value
map-options
label=
"客户来源"
/>
...
...
@@ -104,7 +112,9 @@
</div>
<div
class=
"info_item"
>
<div
class=
"item_label"
>
收客渠道
</div>
<div
class=
"item_label"
>
<span
class=
"student_require"
>
*
</span>
收客渠道
</div>
<div
class=
"item_value"
>
<q-select
filled
v-model=
"customObj.StuChannel"
dense
:options=
"StuChannelList"
option-label=
"Name"
option-value=
"Id"
emit-value
map-options
/>
...
...
@@ -322,26 +332,6 @@
})
return
}
if
(
this
.
customObj
.
StuChannel
==
6
){
if
(
this
.
customObj
.
PlatformName
==
''
){
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`请填写第三方平台名称`
})
return
}
}
if
(
this
.
customObj
.
StuChannel
==
7
){
if
(
this
.
customObj
.
PlatformName
==
''
){
this
.
$q
.
notify
({
type
:
'negative'
,
position
:
"top"
,
message
:
`请填写其他平台名称`
})
return
}
}
var
myreg
=
/^
[
1
][
3-9
][\d]{9}
/
;
if
(
!
myreg
.
test
(
this
.
customObj
.
StuTel
))
{
this
.
$q
.
notify
({
...
...
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