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
96685c4f
Commit
96685c4f
authored
Dec 14, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
d076d758
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
11 deletions
+10
-11
student-left.vue
src/components/school/student/student-left.vue
+7
-7
student-visit.vue
src/components/school/student/student-visit.vue
+3
-4
No files found.
src/components/school/student/student-left.vue
View file @
96685c4f
...
...
@@ -259,6 +259,10 @@
StuChannelList
:
[],
//收客渠道
AssistDropList
:
[],
//协助人员
customFromList
:
[],
//客户来源
checkMsg
:{
StuId
:
0
,
StuTel
:
''
}
}
},
created
()
{
...
...
@@ -271,6 +275,7 @@
this
.
getCustomFrom
();
if
(
this
.
saveObj
&&
this
.
saveObj
.
StuId
>
0
)
{
this
.
customMsg
.
StuId
=
this
.
saveObj
.
StuId
;
this
.
checkMsg
.
StuId
=
this
.
saveObj
.
StuId
;
this
.
queryStuInfo
();
}
},
...
...
@@ -330,8 +335,6 @@
return
}
}
console
.
log
(
this
.
customObj
,
'11111'
);
return
var
myreg
=
/^
(((
13
[
0-9
]{1})
|
(
15
[
0-9
]{1})
|
(
18
[
0-9
]{1}))
+
\d{8})
$/
;
if
(
!
myreg
.
test
(
this
.
customObj
.
StuTel
))
{
this
.
$q
.
notify
({
...
...
@@ -454,11 +457,8 @@
},
//验证手机号
CheckExistsStu
(){
let
msg
=
{
StuId
:
this
.
saveObj
.
StuId
,
StuTel
:
this
.
customObj
.
StuTel
}
CheckExistsStu
(
msg
).
then
(
res
=>
{
this
.
checkMsg
.
StuTel
=
this
.
customObj
.
StuTel
CheckExistsStu
(
this
.
checkMsg
).
then
(
res
=>
{
})
}
...
...
src/components/school/student/student-visit.vue
View file @
96685c4f
...
...
@@ -175,7 +175,7 @@
Id
:
0
,
//编号
IsVisit
:
0
,
//到访状态(1-已到访,0-未到访)
Feedback
:
''
//反馈
}
}
,
}
},
created
()
{
...
...
@@ -189,8 +189,7 @@
this
.
getList
();
let
userInfo
=
this
.
getLocalStorage
();
if
(
userInfo
){
this
.
VisitMsg
.
ReceptionPersion
=
Number
(
userInfo
.
AccountId
);
this
.
$forceUpdate
();
this
.
VisitMsg
.
ReceptionPersion
=
parseInt
(
userInfo
.
Id
);
}
},
methods
:
{
...
...
@@ -303,7 +302,7 @@
this
.
VisitMsg
.
School_Id
=
0
;
this
.
VisitMsg
.
Date
=
''
;
this
.
VisitMsg
.
VisitTime
=
''
;
this
.
VisitMsg
.
ReceptionPersion
=
''
;
//
this.VisitMsg.ReceptionPersion = '';
this
.
VisitMsg
.
Remark
=
''
;
this
.
VisitMsg
.
Feedback
=
''
;
this
.
isShowAdd
=
false
;
...
...
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