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
6900dd48
Commit
6900dd48
authored
Sep 27, 2019
by
zhangderong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发送失败时加入错误提示
parent
d9d86667
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
126 additions
and
9 deletions
+126
-9
App.vue
src/App.vue
+25
-0
allResume.vue
src/page/resume/allResume.vue
+8
-0
channel.vue
src/page/resume/channel.vue
+8
-0
resumeDetail.vue
src/page/resume/resumeDetail.vue
+83
-6
upload.vue
src/page/upload/upload.vue
+2
-2
util.js
src/service/util.js
+0
-1
No files found.
src/App.vue
View file @
6900dd48
...
@@ -38,6 +38,7 @@ export default {
...
@@ -38,6 +38,7 @@ export default {
width
:
100%
;
width
:
100%
;
cursor
:
auto
;
cursor
:
auto
;
text-align
:
left
;
text-align
:
left
;
overflow-x
:
hidden
;
font-family
:
'PingFangSC-Regular'
,
'Avenir'
,
Helvetica
,
Arial
,
sans-serif
;
font-family
:
'PingFangSC-Regular'
,
'Avenir'
,
Helvetica
,
Arial
,
sans-serif
;
-webkit-font-smoothing
:
antialiased
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
-moz-osx-font-smoothing
:
grayscale
;
...
@@ -47,6 +48,8 @@ export default {
...
@@ -47,6 +48,8 @@ export default {
-moz-user-select
:
text
!important
;
/*火狐*/
-moz-user-select
:
text
!important
;
/*火狐*/
-ms-user-select
:
text
!important
;
/*IE10*/
-ms-user-select
:
text
!important
;
/*IE10*/
user-select
:
text
!important
;
user-select
:
text
!important
;
}
}
.pc
{
.pc
{
height
:
100%
;
height
:
100%
;
...
@@ -57,6 +60,28 @@ export default {
...
@@ -57,6 +60,28 @@ export default {
min-width
:
unset
;
min-width
:
unset
;
min-height
:
unset
;
min-height
:
unset
;
}
}
::-webkit-scrollbar
{
width
:
8px
;
height
:
8px
;
background-color
:
#F5F5F5
;
}
/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track
{
-webkit-box-shadow
:
inset
0
0
6px
rgba
(
0
,
0
,
0
,
0.3
);
border-radius
:
10px
;
background-color
:
#Eff4f6
;
}
/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb
{
border-radius
:
10px
;
-webkit-box-shadow
:
inset
0
0
6px
rgba
(
0
,
0
,
0
,
.3
);
background-color
:
#BDBDBD
;
}
/* .ivu-btn-primary{
/* .ivu-btn-primary{
background: #0092FF!important
background: #0092FF!important
} */
} */
...
...
src/page/resume/allResume.vue
View file @
6900dd48
...
@@ -527,6 +527,7 @@ import {mapState} from 'vuex'
...
@@ -527,6 +527,7 @@ import {mapState} from 'vuex'
selectFn3STA
:
''
,
selectFn3STA
:
''
,
selectFn4STA
:
''
,
selectFn4STA
:
''
,
limentName
:
0
,
limentName
:
0
,
errorMassage
:
''
,
errorCode
:
''
,
errorCode
:
''
,
emailMassage
:
false
,
emailMassage
:
false
,
allEmailVilitor
:
false
,
allEmailVilitor
:
false
,
...
@@ -1783,6 +1784,7 @@ import {mapState} from 'vuex'
...
@@ -1783,6 +1784,7 @@ import {mapState} from 'vuex'
this
.
SouSuo
(
this
.
pageT
)
this
.
SouSuo
(
this
.
pageT
)
}
else
{
}
else
{
this
.
errorCode
=
res
.
data
.
body
.
code
this
.
errorCode
=
res
.
data
.
body
.
code
this
.
errorMassage
=
res
.
data
.
body
.
message
this
.
modal8
=
false
this
.
modal8
=
false
this
.
clearInterviewee
()
this
.
clearInterviewee
()
if
(
this
.
errorCode
==
'
40001
'
){
if
(
this
.
errorCode
==
'
40001
'
){
...
@@ -1791,6 +1793,12 @@ import {mapState} from 'vuex'
...
@@ -1791,6 +1793,12 @@ import {mapState} from 'vuex'
if
(
this
.
errorCode
==
'
40002
'
){
if
(
this
.
errorCode
==
'
40002
'
){
this
.
modal13
=
true
this
.
modal13
=
true
}
}
if
(
this
.
errorCode
==
'
0
'
){
this
.
$Notice
.
error
({
title
:
'
提示
'
,
desc
:
this
.
errorMassage
})
}
// setTimeout(() => {
// setTimeout(() => {
// this.$Notice.error({
// this.$Notice.error({
// title: '提示',
// title: '提示',
...
...
src/page/resume/channel.vue
View file @
6900dd48
...
@@ -534,6 +534,7 @@ export default {
...
@@ -534,6 +534,7 @@ export default {
disabledSingle
:
true
,
disabledSingle
:
true
,
emailId
:
''
,
emailId
:
''
,
RescopyArr
:[],
RescopyArr
:[],
errorMassage
:
''
,
interelement
:
'
1
'
,
interelement
:
'
1
'
,
emailIdArr
:[],
emailIdArr
:[],
attachFileList
:[],
attachFileList
:[],
...
@@ -1737,6 +1738,7 @@ export default {
...
@@ -1737,6 +1738,7 @@ export default {
this
.
SouSuo
(
this
.
pageT
)
this
.
SouSuo
(
this
.
pageT
)
}
else
{
}
else
{
this
.
errorCode
=
res
.
data
.
body
.
code
this
.
errorCode
=
res
.
data
.
body
.
code
this
.
errorMassage
=
res
.
data
.
body
.
message
this
.
clearInterviewee
()
this
.
clearInterviewee
()
this
.
modal8
=
false
this
.
modal8
=
false
if
(
this
.
errorCode
==
'
40001
'
){
if
(
this
.
errorCode
==
'
40001
'
){
...
@@ -1745,6 +1747,12 @@ export default {
...
@@ -1745,6 +1747,12 @@ export default {
if
(
this
.
errorCode
==
'
40002
'
){
if
(
this
.
errorCode
==
'
40002
'
){
this
.
modal13
=
true
this
.
modal13
=
true
}
}
if
(
this
.
errorCode
==
'
0
'
){
this
.
$Notice
.
error
({
title
:
'
提示
'
,
desc
:
this
.
errorMassage
})
}
// setTimeout(() => {
// setTimeout(() => {
// this.$Notice.success({
// this.$Notice.success({
// title: '提示',
// title: '提示',
...
...
src/page/resume/resumeDetail.vue
View file @
6900dd48
...
@@ -272,6 +272,44 @@
...
@@ -272,6 +272,44 @@
<Button
type=
'primary'
@
click=
"confireSendEmail"
>
确定
</Button>
<Button
type=
'primary'
@
click=
"confireSendEmail"
>
确定
</Button>
</div>
</div>
</Modal>
</Modal>
<!-- 发送失败再次发送 -->
<Modal
v-model=
"modal11"
width=
'350px'
:closable=
'false'
>
<div
>
<h2
style=
"text-align: center;color:black"
>
提示
</h2>
<p
style=
"text-align:center;margin-top:10px;font-size: 14px;text-align:left;"
>
{{
errorInfo
}}
</p>
</div>
<div
slot=
'footer'
style=
"text-align:center"
>
<Button
type=
'primary'
@
click=
'cancelSubmit'
>
取消
</Button>
<Button
type=
'primary'
@
click=
"sendFail"
>
确定
</Button>
</div>
</Modal>
<Modal
v-model=
"modal12"
width=
'450px'
:closable=
'false'
:footer-hide=
'true'
:mask-closable=
'false'
>
<div
style=
"text-align:center"
>
<h2
style=
"text-align: center;color:black;font-size:16px"
>
发送失败
</h2>
<p
style=
"text-align: center;color:black;margin-top:15px;font-size:15px"
>
该面试官没有通过微信端绑定账号,请提醒他关注并绑定。
</p>
<p
style=
"text-align: center;color:#0092FF;margin-top:30px;font-size:15px;cursor:pointer;font-weight: 900"
@
click=
"modal12=false"
>
我已知晓
</p>
</div>
</Modal>
<Modal
v-model=
"modal13"
width=
'480px'
:closable=
'false'
:footer-hide=
'true'
:mask-closable=
'false'
>
<div
style=
"text-align:center"
>
<h2
style=
"text-align: center;color:black;font-size:16px"
>
发送失败
</h2>
<p
style=
"text-align: center;color:black;margin-top:15px;font-size:15px"
>
该面试官没有关注微信,无法接收通知,请提醒他关注并绑定。
</p>
<p
style=
"text-align: center;color:#0092FF;margin-top:30px;font-size:15px;cursor:pointer;font-weight: 900"
@
click=
"modal13=false"
>
我已知晓
</p>
</div>
</Modal>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -298,7 +336,11 @@ export default {
...
@@ -298,7 +336,11 @@ export default {
loading1
:
false
,
loading1
:
false
,
modal8
:
false
,
modal8
:
false
,
modal10
:
false
,
modal10
:
false
,
modal11
:
false
,
modal12
:
false
,
modal13
:
false
,
boxIsShow
:
false
,
boxIsShow
:
false
,
errorMassage
:
''
,
interviewee
:
[],
interviewee
:
[],
contentName
:
''
,
contentName
:
''
,
a
:{
'
a_b
'
:
'
hjbjhbjbh
'
,
'
b
'
:
'
4
'
},
a
:{
'
a_b
'
:
'
hjbjhbjbh
'
,
'
b
'
:
'
4
'
},
...
@@ -330,6 +372,7 @@ export default {
...
@@ -330,6 +372,7 @@ export default {
downresume
:
''
,
downresume
:
''
,
detialID
:
''
,
detialID
:
''
,
showBtn
:
''
,
showBtn
:
''
,
errorInfo
:
''
,
isShowAll
:
false
,
isShowAll
:
false
,
isShowTwo
:
false
,
isShowTwo
:
false
,
interviewIsShow
:
false
,
interviewIsShow
:
false
,
...
@@ -580,7 +623,7 @@ export default {
...
@@ -580,7 +623,7 @@ export default {
this
.
delateARRALL
=
[]
this
.
delateARRALL
=
[]
this
.
flowStatusarr
=
[]
this
.
flowStatusarr
=
[]
},
},
sendNotice
()
{
sendNotice
:
_debounce
(
function
()
{
this
.
$refs
.
transpondFrom
.
validate
(
valid
=>
{
this
.
$refs
.
transpondFrom
.
validate
(
valid
=>
{
if
(
!
this
.
transpondFrom
.
interviewerName
){
if
(
!
this
.
transpondFrom
.
interviewerName
){
return
return
...
@@ -601,6 +644,7 @@ export default {
...
@@ -601,6 +644,7 @@ export default {
},
300
)
},
300
)
}
else
{
}
else
{
this
.
errorCode
=
res
.
data
.
body
.
code
this
.
errorCode
=
res
.
data
.
body
.
code
this
.
errorMassage
=
res
.
data
.
body
.
message
this
.
modal8
=
false
this
.
modal8
=
false
this
.
clearInterviewee
()
this
.
clearInterviewee
()
if
(
this
.
errorCode
==
'
40001
'
){
if
(
this
.
errorCode
==
'
40001
'
){
...
@@ -609,10 +653,16 @@ export default {
...
@@ -609,10 +653,16 @@ export default {
if
(
this
.
errorCode
==
'
40002
'
){
if
(
this
.
errorCode
==
'
40002
'
){
this
.
modal13
=
true
this
.
modal13
=
true
}
}
if
(
this
.
errorCode
==
'
0
'
){
this
.
$Notice
.
error
({
title
:
'
提示
'
,
desc
:
this
.
errorMassage
})
}
}
}
})
})
})
})
},
},
800
),
transpond
()
{
//打开转发简历的modal
transpond
()
{
//打开转发简历的modal
this
.
$refs
.
transpondFrom
.
resetFields
()
this
.
$refs
.
transpondFrom
.
resetFields
()
this
.
modal8
=
true
this
.
modal8
=
true
...
@@ -622,7 +672,8 @@ export default {
...
@@ -622,7 +672,8 @@ export default {
this
.
contentName
=
''
this
.
contentName
=
''
},
},
// 确认发送邮件
// 确认发送邮件
confireSendEmail
(){
// _debounce(confireSendEmail,500),
confireSendEmail
:
_debounce
(
function
(){
this
.
sad
=
this
.
getEditorValue
()
this
.
sad
=
this
.
getEditorValue
()
if
(
this
.
sad
==
''
){
if
(
this
.
sad
==
''
){
this
.
$Notice
.
error
({
this
.
$Notice
.
error
({
...
@@ -726,7 +777,7 @@ export default {
...
@@ -726,7 +777,7 @@ export default {
}
}
})
})
}
}
},
},
800
),
getEditorValue
(
value
){
// 调编辑器组件方法获取数据
getEditorValue
(
value
){
// 调编辑器组件方法获取数据
return
this
.
$refs
.
editor
.
getValue
()
return
this
.
$refs
.
editor
.
getValue
()
},
},
...
@@ -746,6 +797,32 @@ export default {
...
@@ -746,6 +797,32 @@ export default {
if
(
this
.
detailSta
==
'
OPTION
'
){
if
(
this
.
detailSta
==
'
OPTION
'
){
this
.
optionDisabled
=
true
this
.
optionDisabled
=
true
}
}
},
cancelSubmit
(){
this
.
emailMOdal
=
false
this
.
modal11
=
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
.
formInline
.
sendWeixin
=
true
this
.
emailInline
.
copyname
=
''
this
.
isShowTwo
=
false
this
.
uploadFileList
=
[]
this
.
clearInterviewee
()
},
sendFail
(){
this
.
modal11
=
false
},
},
// 待处理
// 待处理
todo
(){
todo
(){
...
@@ -804,7 +881,7 @@ export default {
...
@@ -804,7 +881,7 @@ export default {
.resumeDetail-left
{
.resumeDetail-left
{
float
:
left
;
float
:
left
;
width
:
860px
;
width
:
860px
;
min-height
:
10
00px
min-height
:
2
00px
/* border: 1px solid #999 */
/* border: 1px solid #999 */
}
}
.pic
img
{
.pic
img
{
...
@@ -818,7 +895,7 @@ export default {
...
@@ -818,7 +895,7 @@ export default {
}
}
.interviewee
.name
{
.interviewee
.name
{
position
:
relative
;
position
:
relative
;
left
:
1
8
px
;
left
:
1
3
px
;
top
:
-20px
;
top
:
-20px
;
display
:
inline-block
;
display
:
inline-block
;
/* margin-left: 200px */
/* margin-left: 200px */
...
...
src/page/upload/upload.vue
View file @
6900dd48
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
>
>
<Button
@
click=
'selFiles'
style=
'width:20%;margin-top:40px;margin-left:-4px;color:black'
>
选择文件
</Button>
<Button
@
click=
'selFiles'
style=
'width:20%;margin-top:40px;margin-left:-4px;color:black'
>
选择文件
</Button>
<div
class=
'contentTips'
>
<div
class=
'contentTips'
>
<p
style=
"font-size:12px;margin-left:
3.5%;text-align:center
;height:40px;line-height:40px;width:90%;display:inline-block;margin-top:30px"
>
单个文件不能大于2MB,支持html,doc,docx,txt,pdf等格式,暂时不支持压缩格式
</p>
<p
style=
"font-size:12px;margin-left:
5%;text-align:left
;height:40px;line-height:40px;width:90%;display:inline-block;margin-top:30px"
>
单个文件不能大于2MB,支持html,doc,docx,txt,pdf等格式,暂时不支持压缩格式
</p>
<p
style=
"font-size:12px;margin-left:2%;text-align:center;height:40px;line-height:40px;width:90%"
>
支持最多二十份简历批量上传
</p>
<p
style=
"font-size:12px;margin-left:2%;text-align:center;height:40px;line-height:40px;width:90%"
>
支持最多二十份简历批量上传
</p>
</div>
</div>
<Button
@
click=
'uploadBtn'
style=
'width:20%;margin-left:38%;margin-top:30px'
type=
'primary'
>
上传
</Button>
<Button
@
click=
'uploadBtn'
style=
'width:20%;margin-left:38%;margin-top:30px'
type=
'primary'
>
上传
</Button>
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
</Modal>
</Modal>
</div>
</div>
<div
class=
"leftcontrentFotter"
>
<div
class=
"leftcontrentFotter"
>
<h5
style=
"width:100%;height:
7%
;background:rgb(0,176,160);text-align:center;line-height:40px;color:white;font-size:15px;font-weight:bold"
>
上传记录
</h5>
<h5
style=
"width:100%;height:
40px
;background:rgb(0,176,160);text-align:center;line-height:40px;color:white;font-size:15px;font-weight:bold"
>
上传记录
</h5>
<div
style=
"width:100%;background:rgb(0,176,160); opacity: 0.7;overflow-y:auto;height:93%;"
>
<div
style=
"width:100%;background:rgb(0,176,160); opacity: 0.7;overflow-y:auto;height:93%;"
>
<!--
<div
style=
"width:100%;height:10px;background:rgb(0,176,160)"
></div>
-->
<!--
<div
style=
"width:100%;height:10px;background:rgb(0,176,160)"
></div>
-->
<div
class=
"contentMASSAGE"
v-for=
"(item,index) in ajaxData"
:key=
"index"
>
<div
class=
"contentMASSAGE"
v-for=
"(item,index) in ajaxData"
:key=
"index"
>
...
...
src/service/util.js
View file @
6900dd48
...
@@ -20,7 +20,6 @@ export function _throttle (fn, interval) {
...
@@ -20,7 +20,6 @@ export function _throttle (fn, interval) {
let
last
=
null
let
last
=
null
let
timer
=
null
let
timer
=
null
interval
=
interval
||
200
interval
=
interval
||
200
return
function
()
{
return
function
()
{
let
self
=
this
let
self
=
this
let
args
=
arguments
let
args
=
arguments
...
...
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