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
210240cb
Commit
210240cb
authored
Sep 07, 2019
by
zhangderong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发送邮件bug修改
parent
c1419ed1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
128 additions
and
8 deletions
+128
-8
allResume.vue
src/page/resume/allResume.vue
+128
-8
No files found.
src/page/resume/allResume.vue
View file @
210240cb
...
...
@@ -293,6 +293,7 @@
<div
>
<h2
style=
"text-align:center;color:black"
v-show=
"this.isShowAll==false"
>
发送邮件
</h2>
<h2
style=
"text-align:center;color:black"
v-show=
"this.isShowAll==true"
>
新建面试
</h2>
<h3
style=
"text-align:center;color:black"
v-show=
"this.isShowAll==true"
>
<span>
更改为
<span
style=
"color:blue"
>
“新建面试”
</span>
后,你需要从
<span
style=
"color:blue"
>
”面试管理“
</span>
中对该候选人进行后续的操作。
</span></h3>
</div>
<div
class=
"emailModal-title"
>
<div
class=
"emailModalTitle-left"
>
...
...
@@ -304,14 +305,16 @@
</Select><br>
<!--
<span
v-show=
"emailMassage==true"
>
你尚未选择简历,请先选择简历
</span>
-->
</FormItem>
<FormItem
label=
"收件人"
style=
"margin-top:20px"
>
<Input
style=
"width:95%"
v-model=
"emailInline.receiveEmail"
/>
<FormItem
label=
"收件人"
style=
"margin-top:20px"
:show-massage=
'false'
>
<Input
style=
"width:95%"
v-model=
"emailInline.receiveEmail"
@
on-blur=
'receiveEmail'
/>
<span
style=
"position: absolute;left:0;top:30px"
>
输入多个邮箱地址以英文”;“分割
</span>
</FormItem>
<FormItem
label=
"抄送"
style=
"margin-top:20px"
>
<Input
style=
"width:95%"
v-model=
"emailInline.copyname"
/>
<Input
style=
"width:95%"
v-model=
"emailInline.copyname"
@
on-blur=
'copyname'
/>
<span
style=
"position: absolute;left:0;top:30px"
>
输入多个邮箱地址以英文”;“分割
</span>
</FormItem>
<FormItem
label=
"主题"
style=
"margin-top:20px"
>
<Input
style=
"width:95%"
v-model=
"emailInline.theme"
/>
<Input
style=
"width:95%"
v-model=
"emailInline.theme"
@
on-blur=
'theme'
/>
</FormItem>
</Form>
</p>
...
...
@@ -424,6 +427,7 @@ import ckeditor from '../../components/ckeditor'
temp
:
''
,
uploadurl
:
`
${
sapi
}
/api/ckeditor/uploadImage?token=
${
localStorage
.
get
(
'
token
'
)}
&&backUrl=/getimage`
,
isShowAll
:
false
,
isShowTwo
:
false
,
isLimitSize
:
false
,
disabledSingle
:
true
,
emailId
:
''
,
...
...
@@ -591,7 +595,7 @@ import ckeditor from '../../components/ckeditor'
selectFn1
(
e
,
SID
,
itemsta
)
{
this
.
toseeid
=
SID
this
.
emailIdArr
.
push
(
SID
)
this
.
isShow
All
=
true
this
.
isShow
Two
=
true
this
.
ITEMSTA
=
itemsta
// 准备约面
if
(
e
.
target
.
value
==
3
){
...
...
@@ -600,6 +604,7 @@ import ckeditor from '../../components/ckeditor'
})
this
.
emailMOdal
=
true
this
.
emailFlowStatus
=
'
TO_SEE
'
this
.
isShowTwo
=
true
}
// 简历PASS
if
(
e
.
target
.
value
==
2
){
...
...
@@ -668,6 +673,7 @@ import ckeditor from '../../components/ckeditor'
})
this
.
emailMOdal
=
true
this
.
emailFlowStatus
=
'
TO_SEE
'
this
.
isShowTwo
=
true
}
// 简历PASS
if
(
e
.
target
.
value
==
3
){
...
...
@@ -715,6 +721,7 @@ import ckeditor from '../../components/ckeditor'
})
this
.
emailMOdal
=
true
this
.
emailFlowStatus
=
'
TO_SEE
'
this
.
isShowTwo
=
true
}
// 简历PASS
if
(
e
.
target
.
value
==
3
){
...
...
@@ -762,6 +769,7 @@ import ckeditor from '../../components/ckeditor'
})
this
.
emailMOdal
=
true
this
.
emailFlowStatus
=
'
TO_SEE
'
this
.
isShowTwo
=
true
}
// 简历PASS
if
(
e
.
target
.
value
==
1
){
...
...
@@ -1212,14 +1220,21 @@ import ckeditor from '../../components/ckeditor'
},
getEmailContentValue
(
value
){
this
.
temp
=
value
console
.
log
(
this
.
isShowTwo
,
45666666
)
if
(
this
.
isShowTwo
==
true
){
this
.
isShowAll
=
true
this
.
interviewIsShow
=
true
}
else
{
if
(
this
.
emailIdArr
.
length
>
1
&&
(
value
==
'
TEMP_0001
'
||
value
==
'
TEMP_0005
'
||
value
==
'
TEMP_0006
'
)){
this
.
allEmailVilitor
=
true
}
else
{
this
.
allEmailVilitor
=
false
}
if
(
value
==
'
TEMP_0001
'
){
this
.
interviewIsShow
=
true
}
else
{
this
.
interviewIsShow
=
true
this
.
isShowAll
=
true
}
else
{
this
.
interviewIsShow
=
false
this
.
isShowAll
=
false
}
this
.
emailId
=
this
.
emailIdArr
.
length
==
0
?
''
:
this
.
emailIdArr
[
0
]
if
(
value
==
'
TEMP_0001
'
&&
this
.
emailId
==
''
){
...
...
@@ -1237,7 +1252,7 @@ import ckeditor from '../../components/ckeditor'
this
.
interviewBtu
=
false
this
.
isShowAll
=
false
this
.
emailMassage
=
false
}
}
}
this
.
emailCode
=
value
let
parmars
=
{
resumeId
:
this
.
emailId
==
''
?
''
:
this
.
emailId
,
...
...
@@ -1251,7 +1266,6 @@ import ckeditor from '../../components/ckeditor'
})
},
beforUpload
(
uploadFile
){
// console.log(3,aaa)
this
.
uploadFileList
.
push
(
uploadFile
)
this
.
fileList
.
push
(
uploadFile
.
name
)
return
false
...
...
@@ -1274,6 +1288,7 @@ import ckeditor from '../../components/ckeditor'
this
.
formInline
.
UpdateVIEW
=
''
this
.
formInline
.
UpdateTIME
=
''
this
.
emailInline
.
copyname
=
''
this
.
isShowTwo
=
false
this
.
uploadFileList
=
[]
this
.
SouSuo
(
this
.
pageT
)
},
...
...
@@ -1334,6 +1349,23 @@ import ckeditor from '../../components/ckeditor'
desc
:
'
发送邮件成功
'
});
this
.
emailMOdal
=
false
this
.
emailInline
.
modalArr
=
[]
this
.
emailInline
.
theme
=
''
this
.
emailInline
.
receiveEmail
=
''
this
.
emailInline
.
templateContent
=
''
this
.
sad
=
''
this
.
fileList
=
[]
this
.
emailInline
.
moo
=
''
this
.
emailMOdal
=
false
this
.
emailMassage
=
false
this
.
emailIdArr
=
[]
this
.
emailFlowStatus
=
''
this
.
formInline
.
UpdateOWER
=
''
this
.
formInline
.
UpdateVIEW
=
''
this
.
formInline
.
UpdateTIME
=
''
this
.
emailInline
.
copyname
=
''
this
.
isShowTwo
=
false
this
.
uploadFileList
=
[]
this
.
SouSuo
(
this
.
pageT
)
}
if
(
res
.
data
.
success
==
false
){
...
...
@@ -1342,6 +1374,23 @@ import ckeditor from '../../components/ckeditor'
desc
:
'
发送邮件失败
'
});
this
.
emailMOdal
=
false
this
.
emailInline
.
modalArr
=
[]
this
.
emailInline
.
theme
=
''
this
.
emailInline
.
receiveEmail
=
''
this
.
emailInline
.
templateContent
=
''
this
.
sad
=
''
this
.
fileList
=
[]
this
.
emailInline
.
moo
=
''
this
.
emailMOdal
=
false
this
.
emailMassage
=
false
this
.
emailIdArr
=
[]
this
.
emailFlowStatus
=
''
this
.
formInline
.
UpdateOWER
=
''
this
.
formInline
.
UpdateVIEW
=
''
this
.
formInline
.
UpdateTIME
=
''
this
.
emailInline
.
copyname
=
''
this
.
isShowTwo
=
false
this
.
uploadFileList
=
[]
this
.
SouSuo
(
this
.
pageT
)
}
})
...
...
@@ -1368,6 +1417,23 @@ import ckeditor from '../../components/ckeditor'
desc
:
'
发送邮件成功
'
})
this
.
emailMOdal
=
false
this
.
emailInline
.
modalArr
=
[]
this
.
emailInline
.
theme
=
''
this
.
emailInline
.
receiveEmail
=
''
this
.
emailInline
.
templateContent
=
''
this
.
sad
=
''
this
.
fileList
=
[]
this
.
emailInline
.
moo
=
''
this
.
emailMOdal
=
false
this
.
emailMassage
=
false
this
.
emailIdArr
=
[]
this
.
emailFlowStatus
=
''
this
.
formInline
.
UpdateOWER
=
''
this
.
formInline
.
UpdateVIEW
=
''
this
.
formInline
.
UpdateTIME
=
''
this
.
isShowTwo
=
false
this
.
emailInline
.
copyname
=
''
this
.
uploadFileList
=
[]
this
.
SouSuo
(
this
.
pageT
)
}
if
(
res
.
data
.
success
==
false
){
...
...
@@ -1376,6 +1442,23 @@ import ckeditor from '../../components/ckeditor'
desc
:
'
发送邮件失败
'
});
this
.
emailMOdal
=
false
this
.
emailInline
.
modalArr
=
[]
this
.
emailInline
.
theme
=
''
this
.
emailInline
.
receiveEmail
=
''
this
.
emailInline
.
templateContent
=
''
this
.
sad
=
''
this
.
fileList
=
[]
this
.
emailInline
.
moo
=
''
this
.
emailMOdal
=
false
this
.
emailMassage
=
false
this
.
emailIdArr
=
[]
this
.
emailFlowStatus
=
''
this
.
formInline
.
UpdateOWER
=
''
this
.
formInline
.
UpdateVIEW
=
''
this
.
formInline
.
UpdateTIME
=
''
this
.
emailInline
.
copyname
=
''
this
.
isShowTwo
=
false
this
.
uploadFileList
=
[]
this
.
SouSuo
(
this
.
pageT
)
}
})
...
...
@@ -1383,7 +1466,43 @@ import ckeditor from '../../components/ckeditor'
},
changenotice
(
a
){
console
.
log
(
a
,
654321
)
},
receiveEmail
(){
if
(
this
.
emailInline
.
receiveEmail
==
''
){
this
.
$Notice
.
error
({
title
:
'
提示
'
,
desc
:
'
请填写收件人
'
});
}
if
(
!
(
/^
((([
a-z0-9_
\.
-
]
+
)
@
([\d
a-z
\.
-
]
+
)\.([
a-z
\.]{2,6}\;))
*
(([
a-z0-9_
\.
-
]
+
)
@
([\d
a-z
\.
-
]
+
)\.([
a-z
\.]{2,6})))
$/
.
test
(
this
.
emailInline
.
receiveEmail
))){
this
.
$Notice
.
error
({
title
:
'
提示
'
,
desc
:
'
请正确填写收件人邮箱
'
});
}
},
copyname
(){
if
(
this
.
emailInline
.
copyname
==
''
){
this
.
$Notice
.
error
({
title
:
'
提示
'
,
desc
:
'
请填写抄送人
'
});
}
if
(
!
(
/^
((([
a-z0-9_
\.
-
]
+
)
@
([\d
a-z
\.
-
]
+
)\.([
a-z
\.]{2,6}\;))
*
(([
a-z0-9_
\.
-
]
+
)
@
([\d
a-z
\.
-
]
+
)\.([
a-z
\.]{2,6})))
$/
.
test
(
this
.
emailInline
.
copyname
))){
this
.
$Notice
.
error
({
title
:
'
提示
'
,
desc
:
'
请正确填写抄送人邮箱
'
});
}
},
theme
(){
if
(
this
.
emailInline
.
theme
==
''
){
this
.
$Notice
.
error
({
title
:
'
提示
'
,
desc
:
'
请填写主题
'
});
}
},
},
mounted
(){
this
.
SearchList
()
...
...
@@ -1496,6 +1615,7 @@ select{
.emailModal-title
{
height
:
260px
;
width
:
100%
;
}
.emailModalTitle-left
{
height
:
100%
;
...
...
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