Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
recruiting-management
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
recruiting-management
Commits
0df9f942
Commit
0df9f942
authored
Sep 10, 2019
by
zhangderong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
正文为空提示
parent
a84960f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
20 deletions
+34
-20
allResume.vue
src/page/resume/allResume.vue
+18
-11
channel.vue
src/page/resume/channel.vue
+16
-9
No files found.
src/page/resume/allResume.vue
View file @
0df9f942
...
@@ -1334,16 +1334,17 @@ import ckeditor from '../../components/ckeditor'
...
@@ -1334,16 +1334,17 @@ import ckeditor from '../../components/ckeditor'
getEditorValue
(
value
){
getEditorValue
(
value
){
this
.
emailContent
=
value
this
.
emailContent
=
value
this
.
sad
=
value
this
.
sad
=
value
if
(
this
.
emailContent
==
''
){
// if(this.sad==''){this.$Notice.error({
this
.
isDisable
=
false
// title: '提示',
this
.
$Notice
.
error
({
// desc: '正文不能为空'
title
:
'
提示
'
,
// });
desc
:
'
请填写完整的信息
'
// }
});
// if(this.emailContent==''){
return
// this.isDisable=false
}
else
{
this
.
isDisable
=
true
// }else{
}
// this.isDisable=true
// }
},
},
delateFile
(
index
){
delateFile
(
index
){
this
.
fileList
.
splice
(
index
,
1
)
this
.
fileList
.
splice
(
index
,
1
)
...
@@ -1351,6 +1352,13 @@ import ckeditor from '../../components/ckeditor'
...
@@ -1351,6 +1352,13 @@ import ckeditor from '../../components/ckeditor'
},
},
// 确认发送邮件
// 确认发送邮件
confireSendEmail
(){
confireSendEmail
(){
if
(
this
.
emailContent
==
''
){
this
.
$Notice
.
error
({
title
:
'
提示
'
,
desc
:
'
正文不能为空
'
});
return
}
if
(
this
.
emailInline
.
moo
==
''
){
if
(
this
.
emailInline
.
moo
==
''
){
this
.
$Notice
.
error
({
this
.
$Notice
.
error
({
title
:
'
提示
'
,
title
:
'
提示
'
,
...
@@ -1440,7 +1448,6 @@ import ckeditor from '../../components/ckeditor'
...
@@ -1440,7 +1448,6 @@ import ckeditor from '../../components/ckeditor'
desc
:
'
发送邮件成功
'
desc
:
'
发送邮件成功
'
});
});
this
.
emailMOdal
=
false
this
.
emailMOdal
=
false
this
.
emailInline
.
modalArr
=
[]
this
.
emailInline
.
modalArr
=
[]
this
.
emailInline
.
theme
=
''
this
.
emailInline
.
theme
=
''
this
.
emailInline
.
receiveEmail
=
''
this
.
emailInline
.
receiveEmail
=
''
...
...
src/page/resume/channel.vue
View file @
0df9f942
...
@@ -1227,15 +1227,15 @@ export default {
...
@@ -1227,15 +1227,15 @@ export default {
getEditorValue
(
value
){
getEditorValue
(
value
){
this
.
emailContent
=
value
this
.
emailContent
=
value
this
.
sad
=
value
this
.
sad
=
value
if
(
this
.
emailContent
==
''
){
//
if(this.emailContent==''){
this
.
isDisable
=
false
//
this.isDisable=false
this
.
$Notice
.
error
({
//
this.$Notice.error({
title
:
'
提示
'
,
//
title: '提示',
desc
:
'
请填写完整的信息
'
//
desc: '请填写完整的信息'
});
//
});
}
else
{
//
}else{
this
.
isDisable
=
true
//
this.isDisable=true
}
//
}
},
},
delateFile
(
index
){
delateFile
(
index
){
this
.
fileList
.
splice
(
index
,
1
)
this
.
fileList
.
splice
(
index
,
1
)
...
@@ -1244,6 +1244,13 @@ export default {
...
@@ -1244,6 +1244,13 @@ export default {
},
},
// 确认发送邮件
// 确认发送邮件
confireSendEmail
(){
confireSendEmail
(){
if
(
this
.
emailContent
==
''
){
this
.
$Notice
.
error
({
title
:
'
提示
'
,
desc
:
'
正文不能为空
'
});
return
}
if
(
this
.
emailInline
.
moo
==
''
){
if
(
this
.
emailInline
.
moo
==
''
){
this
.
$Notice
.
error
({
this
.
$Notice
.
error
({
title
:
'
提示
'
,
title
:
'
提示
'
,
...
...
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