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
6977ce2a
Commit
6977ce2a
authored
Sep 06, 2019
by
zhangderong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
968eadd9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
439 additions
and
262 deletions
+439
-262
allResume.vue
src/page/resume/allResume.vue
+50
-25
channel.vue
src/page/resume/channel.vue
+382
-232
sweepCode.vue
src/page/sweepCode/sweepCode.vue
+7
-5
No files found.
src/page/resume/allResume.vue
View file @
6977ce2a
...
@@ -290,14 +290,15 @@
...
@@ -290,14 +290,15 @@
width=
'1000px'
width=
'1000px'
:closable=
'false'
>
:closable=
'false'
>
<div
>
<div
>
<h2
style=
"text-align:center;color:black"
>
发送邮件
</h2>
<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>
</div>
</div>
<div
class=
"emailModal-title"
>
<div
class=
"emailModal-title"
>
<div
class=
"emailModalTitle-left"
>
<div
class=
"emailModalTitle-left"
>
<p>
<p>
<Form
:label-width=
"60"
:model=
"emailInline"
label-position=
"left"
style=
"margin-left:
20px
"
>
<Form
:label-width=
"60"
:model=
"emailInline"
label-position=
"left"
style=
"margin-left:
5%
"
>
<FormItem
label=
"选择模板"
style=
"margin-top:20px"
>
<FormItem
label=
"选择模板"
style=
"margin-top:20px"
>
<Select
style=
"width:95%"
@
on-change=
'getEmailContentValue'
>
<Select
style=
"width:95%"
@
on-change=
'getEmailContentValue'
v-model=
"emailInline.moo"
>
<Option
v-for=
"(item,index) in emailInline.modalArr"
:key=
"index"
:value=
"item.templateCode"
>
{{
item
.
templateName
}}
</Option>
<Option
v-for=
"(item,index) in emailInline.modalArr"
:key=
"index"
:value=
"item.templateCode"
>
{{
item
.
templateName
}}
</Option>
</Select>
</Select>
</FormItem>
</FormItem>
...
@@ -317,36 +318,41 @@
...
@@ -317,36 +318,41 @@
<h3
style=
"text-align:center;margin-top:30px"
>
请输入约面信息
</h3>
<h3
style=
"text-align:center;margin-top:30px"
>
请输入约面信息
</h3>
<Form
:label-width=
"75"
ref=
"formInline"
:rules=
"ruleInline"
:model=
"formInline"
style=
"margin-top:27px"
label-position=
"left"
>
<Form
:label-width=
"75"
ref=
"formInline"
:rules=
"ruleInline"
:model=
"formInline"
style=
"margin-top:27px"
label-position=
"left"
>
<FormItem
label=
"邀约人"
style=
"margin-top:20px"
prop=
"UpdateOWER"
>
<FormItem
label=
"邀约人"
style=
"margin-top:20px"
prop=
"UpdateOWER"
>
<Input
v-model=
"formInline.UpdateOWER"
style=
"width:
8
0%"
:maxlength=
"5"
/>
<Input
v-model=
"formInline.UpdateOWER"
style=
"width:
10
0%"
:maxlength=
"5"
/>
</FormItem>
</FormItem>
<FormItem
label=
"面试时间"
style=
"margin-top:20px"
prop=
"UpdateTIME"
>
<FormItem
label=
"面试时间"
style=
"margin-top:20px"
prop=
"UpdateTIME"
>
<DatePicker
type=
"datetime"
style=
"width:
8
0%"
v-model=
"formInline.UpdateTIME"
format=
"yyyy-MM-dd HH:mm"
@
on-change=
"changeTime"
:options=
"options3"
:editable=
'false'
></DatePicker>
<DatePicker
type=
"datetime"
style=
"width:
10
0%"
v-model=
"formInline.UpdateTIME"
format=
"yyyy-MM-dd HH:mm"
@
on-change=
"changeTime"
:options=
"options3"
:editable=
'false'
></DatePicker>
</FormItem>
</FormItem>
<FormItem
label=
"面试官"
style=
"margin-top:20px"
prop=
'UpdateVIEW'
>
<FormItem
label=
"面试官"
style=
"margin-top:20px"
prop=
'UpdateVIEW'
>
<Input
v-model=
"formInline.UpdateVIEW"
style=
"width:
8
0%"
:maxlength=
"5"
/>
<Input
v-model=
"formInline.UpdateVIEW"
style=
"width:
10
0%"
:maxlength=
"5"
/>
</FormItem>
</FormItem>
</Form>
</Form>
</div>
</div>
</div>
</div>
<div
class=
"ckeditor"
>
<div
class=
"ckeditor"
>
<ckeditor
:value=
'sad'
:uploadUrl=
'uploadurl'
></ckeditor>
<ckeditor
:value=
'sad'
:uploadUrl=
'uploadurl'
@
getValue=
'getEditorValue'
height=
'300px'
width=
'100%'
style=
"margin-left:3%"
></ckeditor>
</div>
</div>
<div
class=
"uploadEnclosure"
>
<div
class=
"uploadEnclosure"
>
<p><span>
添加附件
</span><span
style=
"margin-left:10px"
>
<p
style=
"height:50px;"
>
<span
style=
"font-size:14px;display:inline-block;margin:20px 0 0 3%"
>
添加附件
</span>
<span
style=
"margin-left:500px"
>
<Upload
<Upload
multiple
multiple
action=
""
>
:before-upload=
'beforUpload'
<Button
>
选择文件
</Button>
action=
"//jsonplaceholder.typicode.com/posts/"
>
<Button
size=
'small'
style=
"margin:-40px 0 0 90px"
type=
"primary"
>
选择文件
</Button>
</Upload>
</Upload>
</span>
</span>
</p>
</p>
<p></p>
<p
v-for=
"(item,index) in fileList"
:key=
"index"
style=
"height:30px;line-height:30px"
>
<span
style=
"margin-left:60px"
>
{{
item
}}
</span>
<span><Icon
type=
"md-close"
@
click=
"delateFile(index)"
style=
"font-size:16px;float:right;margin-right:80px"
/></span>
</p>
</div>
</div>
<div
slot=
'footer'
style=
"text-align:center"
class=
"Ubt"
>
<div
slot=
'footer'
style=
"text-align:center"
class=
"Ubt"
>
<Button
type=
'primary'
@
click=
'emailModalPush'
>
取消
</Button>
<Button
type=
'primary'
@
click=
'emailModalPush'
>
取消
</Button>
<Button
type=
'primary'
@
click=
'emailMOdal=false'
v-show=
"beforeBtu==true"
>
上一步
</Button>
<Button
type=
'primary'
@
click=
'emailMOdal=false'
v-show=
"this.isShowAll==false"
>
发送
</Button>
<Button
type=
'primary'
@
click=
'emailMOdal=false'
>
发送
</Button>
<Button
type=
'primary'
@
click=
'emailMOdal=false'
v-show=
"this.isShowAll==true"
>
添加并发送
</Button>
<Button
type=
'primary'
@
click=
'emailMOdal=false'
>
添加约面并发送
</Button>
</div>
</div>
</Modal>
</Modal>
</div>
</div>
...
@@ -382,6 +388,7 @@ import ckeditor from '../../components/ckeditor'
...
@@ -382,6 +388,7 @@ import ckeditor from '../../components/ckeditor'
UpdateVIEW
:
''
UpdateVIEW
:
''
},
},
emailInline
:{
emailInline
:{
moo
:
''
,
modalArr
:[],
modalArr
:[],
copyname
:
''
,
copyname
:
''
,
receiveEmail
:
''
,
//收件人
receiveEmail
:
''
,
//收件人
...
@@ -389,7 +396,8 @@ import ckeditor from '../../components/ckeditor'
...
@@ -389,7 +396,8 @@ import ckeditor from '../../components/ckeditor'
Enclosure
:[],
//附件
Enclosure
:[],
//附件
templateContent
:
''
,
//模板内容
templateContent
:
''
,
//模板内容
},
},
uploadurl
:
''
,
fileList
:[],
uploadurl
:
'
192.168.28.10
'
,
isShowAll
:
false
,
isShowAll
:
false
,
RescopyArr
:[],
RescopyArr
:[],
interelement
:
'
1
'
,
interelement
:
'
1
'
,
...
@@ -402,6 +410,7 @@ import ckeditor from '../../components/ckeditor'
...
@@ -402,6 +410,7 @@ import ckeditor from '../../components/ckeditor'
modal5
:
false
,
modal5
:
false
,
modal6
:
false
,
modal6
:
false
,
modal7
:
false
,
modal7
:
false
,
title
:
''
,
emailMOdal
:
false
,
emailMOdal
:
false
,
DOSTA
:
''
,
DOSTA
:
''
,
DOWNLOAD
:
''
,
DOWNLOAD
:
''
,
...
@@ -1169,6 +1178,13 @@ import ckeditor from '../../components/ckeditor'
...
@@ -1169,6 +1178,13 @@ import ckeditor from '../../components/ckeditor'
},
},
// 发送邮件
// 发送邮件
sendEmail
(){
sendEmail
(){
if
(
this
.
emailId
==
''
){
this
.
$Notice
.
error
({
title
:
'
提示
'
,
desc
:
'
未选中元素
'
});
return
}
this
.
emailInline
.
modalArr
=
[]
this
.
emailInline
.
modalArr
=
[]
this
.
emailMOdal
=
true
this
.
emailMOdal
=
true
getEmailMoo
().
then
(
res
=>
{
getEmailMoo
().
then
(
res
=>
{
...
@@ -1179,9 +1195,11 @@ import ckeditor from '../../components/ckeditor'
...
@@ -1179,9 +1195,11 @@ import ckeditor from '../../components/ckeditor'
if
(
value
==
'
TEMP_0001
'
){
if
(
value
==
'
TEMP_0001
'
){
this
.
interviewIsShow
=
true
this
.
interviewIsShow
=
true
this
.
interviewBtu
=
true
this
.
interviewBtu
=
true
this
.
isShowAll
=
true
}
else
{
}
else
{
this
.
interviewIsShow
=
false
this
.
interviewIsShow
=
false
this
.
interviewBtu
=
false
this
.
interviewBtu
=
false
this
.
isShowAll
=
false
}
}
this
.
emailCode
=
value
this
.
emailCode
=
value
let
parmars
=
{
let
parmars
=
{
...
@@ -1193,10 +1211,14 @@ import ckeditor from '../../components/ckeditor'
...
@@ -1193,10 +1211,14 @@ import ckeditor from '../../components/ckeditor'
this
.
emailInline
.
receiveEmail
=
res
.
data
.
body
.
receiveEmail
this
.
emailInline
.
receiveEmail
=
res
.
data
.
body
.
receiveEmail
this
.
emailInline
.
templateContent
=
res
.
data
.
body
.
templateContent
this
.
emailInline
.
templateContent
=
res
.
data
.
body
.
templateContent
this
.
sad
=
this
.
emailInline
.
templateContent
this
.
sad
=
this
.
emailInline
.
templateContent
console
.
log
(
this
.
sad
)
})
})
},
},
beforUpload
(
aaa
){
console
.
log
(
aaa
,
File
,
aaa
.
name
)
this
.
fileList
.
push
(
aaa
.
name
)
console
.
log
(
this
.
fileList
)
return
false
},
// 发送全部内容
// 发送全部内容
sendContent
(){},
sendContent
(){},
emailModalPush
(){
emailModalPush
(){
...
@@ -1204,9 +1226,18 @@ import ckeditor from '../../components/ckeditor'
...
@@ -1204,9 +1226,18 @@ import ckeditor from '../../components/ckeditor'
this
.
emailInline
.
theme
=
''
this
.
emailInline
.
theme
=
''
this
.
emailInline
.
receiveEmail
=
''
this
.
emailInline
.
receiveEmail
=
''
this
.
emailInline
.
templateContent
=
''
this
.
emailInline
.
templateContent
=
''
this
.
sad
=
''
this
.
fileList
=
[]
this
.
emailInline
.
moo
=
''
this
.
emailMOdal
=
false
this
.
emailMOdal
=
false
this
.
SouSuo
(
this
.
pageT
)
this
.
SouSuo
(
this
.
pageT
)
}
},
getEditorValue
(
value
){
console
.
log
(
value
,
3333333333
)
},
delateFile
(
index
){
this
.
fileList
.
splice
(
index
,
1
)
},
},
},
mounted
(){
mounted
(){
this
.
SearchList
()
this
.
SearchList
()
...
@@ -1319,7 +1350,6 @@ select{
...
@@ -1319,7 +1350,6 @@ select{
.emailModal-title
{
.emailModal-title
{
height
:
260px
;
height
:
260px
;
width
:
100%
;
width
:
100%
;
border
:
1px
solid
black
}
}
.emailModalTitle-left
{
.emailModalTitle-left
{
height
:
100%
;
height
:
100%
;
...
@@ -1332,15 +1362,10 @@ select{
...
@@ -1332,15 +1362,10 @@ select{
float
:
left
;
float
:
left
;
}
}
.ckeditor
{
.ckeditor
{
height
:
300px
;
width
:
100%
width
:
100%
;
border
:
1px
solid
yellow
;
}
}
.uploadEnclosure
{
.uploadEnclosure
{
height
:
200px
;
width
:
100%
;
width
:
100%
;
border
:
1px
solid
red
}
}
.Ubt
button
{
.Ubt
button
{
margin-left
:
40px
margin-left
:
40px
...
...
src/page/resume/channel.vue
View file @
6977ce2a
...
@@ -44,6 +44,7 @@
...
@@ -44,6 +44,7 @@
<Button
type=
"primary"
size=
"small"
style=
"margin-left:2%;width:50px"
@
click=
"downloadAll"
>
下载
</Button>
<Button
type=
"primary"
size=
"small"
style=
"margin-left:2%;width:50px"
@
click=
"downloadAll"
>
下载
</Button>
<Button
type=
"primary"
size=
"small"
style=
"margin-left:2%;width:50px"
@
click=
"delateAll"
>
删除
</Button>
<Button
type=
"primary"
size=
"small"
style=
"margin-left:2%;width:50px"
@
click=
"delateAll"
>
删除
</Button>
<Button
type=
"primary"
size=
"small"
style=
"float:right;margin-right:20px;margin-top:0.6%"
@
click=
"allexport"
>
导出列表
</Button>
<Button
type=
"primary"
size=
"small"
style=
"float:right;margin-right:20px;margin-top:0.6%"
@
click=
"allexport"
>
导出列表
</Button>
<Button
type=
"primary"
size=
"small"
style=
"float:right;margin-right:20px;margin-top:0.6%"
@
click=
"sendEmail"
>
发送邮件
</Button>
</div>
</div>
<div
style=
"margin-bottom:40px;float:left;width:100%;overflow-y: auto;height:100%"
class=
"a"
>
<div
style=
"margin-bottom:40px;float:left;width:100%;overflow-y: auto;height:100%"
class=
"a"
>
<div
style=
"margin:50px auto;width:300px;height:200px;line-height:200px;text-align:center;font-size:20px;color:LightGray"
v-show=
"ajaxData.length==0"
>
暂无数据
</div>
<div
style=
"margin:50px auto;width:300px;height:200px;line-height:200px;text-align:center;font-size:20px;color:LightGray"
v-show=
"ajaxData.length==0"
>
暂无数据
</div>
...
@@ -280,15 +281,86 @@
...
@@ -280,15 +281,86 @@
<Button
type=
'primary'
@
click=
"cofdelateAll"
>
确定
</Button>
<Button
type=
'primary'
@
click=
"cofdelateAll"
>
确定
</Button>
</div>
</div>
</Modal>
</Modal>
<!-- 发送邮件 -->
<Modal
v-model=
"emailMOdal"
width=
'1000px'
:closable=
'false'
>
<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>
</div>
<div
class=
"emailModal-title"
>
<div
class=
"emailModalTitle-left"
>
<p>
<Form
:label-width=
"60"
:model=
"emailInline"
label-position=
"left"
style=
"margin-left:5%"
>
<FormItem
label=
"选择模板"
style=
"margin-top:20px"
>
<Select
style=
"width:95%"
@
on-change=
'getEmailContentValue'
v-model=
"emailInline.moo"
>
<Option
v-for=
"(item,index) in emailInline.modalArr"
:key=
"index"
:value=
"item.templateCode"
>
{{
item
.
templateName
}}
</Option>
</Select>
</FormItem>
<FormItem
label=
"收件人"
style=
"margin-top:20px"
>
<Input
style=
"width:95%"
v-model=
"emailInline.receiveEmail"
/>
</FormItem>
<FormItem
label=
"抄送"
style=
"margin-top:20px"
>
<Input
style=
"width:95%"
v-model=
"emailInline.copyname"
/>
</FormItem>
<FormItem
label=
"主题"
style=
"margin-top:20px"
>
<Input
style=
"width:95%"
v-model=
"emailInline.theme"
/>
</FormItem>
</Form>
</p>
</div>
<div
class=
"emailModalTitle-right"
v-show=
"interviewIsShow==true"
>
<h3
style=
"text-align:center;margin-top:30px"
>
请输入约面信息
</h3>
<Form
:label-width=
"75"
ref=
"formInline"
:rules=
"ruleInline"
:model=
"formInline"
style=
"margin-top:27px"
label-position=
"left"
>
<FormItem
label=
"邀约人"
style=
"margin-top:20px"
prop=
"UpdateOWER"
>
<Input
v-model=
"formInline.UpdateOWER"
style=
"width:100%"
:maxlength=
"5"
/>
</FormItem>
<FormItem
label=
"面试时间"
style=
"margin-top:20px"
prop=
"UpdateTIME"
>
<DatePicker
type=
"datetime"
style=
"width:100%"
v-model=
"formInline.UpdateTIME"
format=
"yyyy-MM-dd HH:mm"
@
on-change=
"changeTime"
:options=
"options3"
:editable=
'false'
></DatePicker>
</FormItem>
<FormItem
label=
"面试官"
style=
"margin-top:20px"
prop=
'UpdateVIEW'
>
<Input
v-model=
"formInline.UpdateVIEW"
style=
"width:100%"
:maxlength=
"5"
/>
</FormItem>
</Form>
</div>
</div>
<div
class=
"ckeditor"
>
<ckeditor
:value=
'sad'
:uploadUrl=
'uploadurl'
@
getValue=
'getEditorValue'
height=
'300px'
width=
'100%'
style=
"margin-left:3%"
></ckeditor>
</div>
<div
class=
"uploadEnclosure"
>
<p
style=
"height:50px;"
>
<span
style=
"font-size:14px;display:inline-block;margin:20px 0 0 3%"
>
添加附件
</span>
<span
style=
"margin-left:500px"
>
<Upload
multiple
:before-upload=
'beforUpload'
action=
"//jsonplaceholder.typicode.com/posts/"
>
<Button
size=
'small'
style=
"margin:-40px 0 0 90px"
type=
"primary"
>
选择文件
</Button>
</Upload>
</span>
</p>
<p
v-for=
"(item,index) in fileList"
:key=
"index"
style=
"height:30px;line-height:30px"
>
<span
style=
"margin-left:60px"
>
{{
item
}}
</span>
<span><Icon
type=
"md-close"
@
click=
"delateFile(index)"
style=
"font-size:16px;float:right;margin-right:80px"
/></span>
</p>
</div>
<div
slot=
'footer'
style=
"text-align:center"
class=
"Ubt"
>
<Button
type=
'primary'
@
click=
'emailModalPush'
>
取消
</Button>
<Button
type=
'primary'
@
click=
'emailMOdal=false'
v-show=
"this.isShowAll==false"
>
发送
</Button>
<Button
type=
'primary'
@
click=
'emailMOdal=false'
v-show=
"this.isShowAll==true"
>
添加并发送
</Button>
</div>
</Modal>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
moment
from
'
moment
'
import
moment
from
'
moment
'
import
{
adoptOneSeeResumeList
,
serchList
,
downloadone
,
sousuoList
,
seedetail
,
PASS
,
OPTION
,
deleteREsume
,
downloadOne
,
exportLIST
,
recodeLIST
,
addinterview
,
TODORes
}
from
'
../../api/resume.server.js
'
import
{
adoptOneSeeResumeList
,
serchList
,
downloadone
,
sousuoList
,
seedetail
,
PASS
,
OPTION
,
deleteREsume
,
downloadOne
,
exportLIST
,
recodeLIST
,
addinterview
,
TODORes
,
getEmailMoo
,
getEmailContent
}
from
'
../../api/resume.server.js
'
import
{
import
{
sapi
sapi
}
from
'
../../config
'
}
from
'
../../config
'
import
ckeditor
from
'
../../components/ckeditor
'
export
default
{
export
default
{
data
(){
data
(){
return
{
return
{
...
@@ -308,6 +380,26 @@ export default {
...
@@ -308,6 +380,26 @@ export default {
UpdateTIME
:
''
,
UpdateTIME
:
''
,
UpdateVIEW
:
''
UpdateVIEW
:
''
},
},
emailInline
:{
moo
:
''
,
modalArr
:[],
copyname
:
''
,
receiveEmail
:
''
,
//收件人
theme
:
''
,
//主题
Enclosure
:[],
//附件
templateContent
:
''
,
//模板内容
},
fileList
:[],
uploadurl
:
'
192.168.28.10
'
,
isShowAll
:
false
,
RescopyArr
:[],
interelement
:
'
1
'
,
emailId
:
''
,
emailCode
:
''
,
title
:
''
,
interviewIsShow
:
false
,
emailMOdal
:
false
,
sad
:
''
,
a
:[],
a
:[],
checked
:
false
,
checked
:
false
,
activeClass
:
0
,
activeClass
:
0
,
...
@@ -380,52 +472,10 @@ export default {
...
@@ -380,52 +472,10 @@ export default {
checkboxList
:[]
checkboxList
:[]
}
}
},
},
components
:{
ckeditor
},
methods
:{
methods
:{
//查询列表
// quxiaoxi(page){
// page = typeof(page)=='number'?page:1
// this.searchInfo.pageIndex = page
// this.pageIndex = page
// let parmars={
// pageSize:this.searchInfo.pageSize,
// pageIndex:this.searchInfo.pageIndex,
// parameter:{
// optSourceCode:this.$route.params.channelname
// }
// }
// this.ajaxData=[]
// adoptOneSeeResumeList(parmars).then(res=>{
// if(res.data.success==true){
// this.checkboxList=[]
// this.spinShow=false
// this.totalSize=res.data.body.totalNumber
// this.quanxuan.push(res.data.body.items.id)
// this.ajaxData=res.data.body.items.map((item,index)=>{
// item.id=item.id
// item.ownerName=item.ownerName
// item.ownerSex=item.ownerSex
// item.deliveryTime=item.deliveryTime
// item.belongs=item.belongs
// item.emailSendtime=item.emailSendtime
// item.ownerMobile=item.ownerMobile
// item.ownerHighestDegree=item.ownerHighestDegree
// item.ownerExpectTitles=item.ownerExpectTitles
// item.flowStatus=item.flowStatus
// item.ownerAge=item.ownerAge
// item.ownerWorkYears=item.ownerWorkYears
// item.modifyTime=item.modifyTime
// item.srcSite=item.srcSite
// item.STATES=false
// item.isShow=false
// item.optSource=item.optSource
// item.modifier=item.modifier
// item.c=item.modifier==''?item.modifier:item.modifier.split('_')
// item.d=item.c[0]
// return item
// })
// }
// })
// },
// 判断输入年限的大小
// 判断输入年限的大小
judge1
(
value
){
judge1
(
value
){
this
.
searchInfo
.
ownerWorkYears1
=
value
.
value
this
.
searchInfo
.
ownerWorkYears1
=
value
.
value
...
@@ -468,166 +518,159 @@ export default {
...
@@ -468,166 +518,159 @@ export default {
},
},
//操作处理面试状态
//操作处理面试状态
selectFn1
(
e
,
SID
)
{
selectFn1
(
e
,
SID
,
itemsta
)
{
this
.
toseeid
=
SID
this
.
toseeid
=
SID
this
.
emailId
=
SID
this
.
isShowAll
=
true
this
.
ITEMSTA
=
itemsta
// 准备约面
// 准备约面
if
(
e
.
target
.
value
==
3
){
if
(
e
.
target
.
value
==
3
){
this
.
modal2
=
true
getEmailMoo
().
then
(
res
=>
{
TOSEE
().
then
()
this
.
emailInline
.
modalArr
.
push
(
res
.
data
.
body
[
0
])
})
this
.
emailMOdal
=
true
}
}
// 简历PASS
// 简历PASS
if
(
e
.
target
.
value
==
2
){
if
(
e
.
target
.
value
==
2
){
let
parmars
=
{
let
parmars
=
{
status
:
"
PASS
"
,
status
:
"
PASS
"
,
id
:
SID
,
id
:
SID
,
}
PASS
(
parmars
).
then
(
res
=>
{
if
(
res
.
data
.
success
==
true
){
this
.
SouSuo
(
this
.
pageT
)
}
}
PASS
(
parmars
).
then
(
res
=>
{
})
if
(
res
.
data
.
success
==
true
){
this
.
SouSuo
(
this
.
pageT
)
}
})
}
}
// 简历备选
// 简历备选
if
(
e
.
target
.
value
==
4
){
if
(
e
.
target
.
value
==
4
){
let
parmars
=
{
let
parmars
=
{
status
:
"
OPTION
"
,
status
:
"
OPTION
"
,
id
:
SID
,
id
:
SID
,
}
OPTION
(
parmars
).
then
(
res
=>
{
if
(
res
.
data
.
success
==
true
){
this
.
SouSuo
(
this
.
pageT
)
}
}
OPTION
(
parmars
).
then
(
res
=>
{
})
if
(
res
.
data
.
success
==
true
){
this
.
SouSuo
(
this
.
pageT
)
}
})
}
}
},
},
selectFn2
(
e
,
SID
)
{
addINTERVIEW
(){
this
.
toseeid
=
SID
let
parmars
=
{
// 准备约面
resumeId
:
this
.
toseeid
,
if
(
e
.
target
.
value
==
1
){
inviterName
:
this
.
formInline
.
UpdateOWER
,
let
parmars
=
{
interviewerName
:
this
.
formInline
.
UpdateVIEW
,
status
:
"
TO_SEE
"
,
seeTime
:
moment
(
this
.
formInline
.
UpdateTIME
).
format
(
'
YYYY-MM-DD HH:mm
'
),
id
:
SID
,
}
this
.
modal2
=
true
}
// 简历PASS
if
(
e
.
target
.
value
==
3
){
let
parmars
=
{
status
:
"
PASS
"
,
id
:
SID
,
}
PASS
(
parmars
).
then
(
res
=>
{
if
(
res
.
data
.
success
==
true
){
this
.
SouSuo
(
this
.
pageT
)
}
})
}
}
// 简历备选
if
(
this
.
formInline
.
UpdateOWER
==
''
||
this
.
formInline
.
UpdateVIEW
==
''
||
this
.
formInline
.
UpdateTIME
==
''
){
if
(
e
.
target
.
value
==
2
){
this
.
$Notice
.
error
({
let
parmars
=
{
title
:
'
提示
'
,
status
:
"
OPTION
"
,
desc
:
'
请您填写完整的约面信息
'
id
:
SID
,
});
}
return
OPTION
(
parmars
).
then
(
res
=>
{
if
(
res
.
data
.
success
==
true
){
this
.
SouSuo
(
this
.
pageT
)
}
})
}
}
if
(
e
.
target
.
value
==
4
){
addinterview
(
parmars
).
then
(
res
=>
{
let
parmars
=
{
if
(
res
.
data
.
success
==
true
){
status
:
"
TO_DO
"
,
this
.
modal2
=
false
id
:
SID
,
this
.
formInline
.
UpdateOWER
=
''
this
.
formInline
.
UpdateVIEW
=
''
this
.
formInline
.
UpdateTIME
=
''
this
.
SouSuo
(
this
.
pageT
)
}
}
TODORes
(
parmars
).
then
(
res
=>
{
if
(
res
.
data
.
body
.
code
==
0
){
if
(
res
.
data
.
success
==
true
){
this
.
SouSuo
(
this
.
pageT
)
this
.
SouSuo
(
this
.
pageT
)
}
}
})
})
}
},
},
selectFn3
(
e
,
SID
)
{
nextStep
(){
this
.
toseeid
=
SID
this
.
beforeBtu
=
true
// 准备约面
this
.
modal2
=
false
if
(
e
.
target
.
value
==
2
){
this
.
emailMOdal
=
true
let
parmars
=
{
},
status
:
"
TO_SEE
"
,
selectFn2
(
e
,
SID
,
itemsta
)
{
id
:
SID
,
this
.
ITEMSTA
=
itemsta
this
.
toseeid
=
SID
// 准备约面
if
(
e
.
target
.
value
==
1
){
getEmailMoo
().
then
(
res
=>
{
this
.
emailInline
.
modalArr
.
push
(
res
.
data
.
body
[
0
])
})
this
.
emailMOdal
=
true
// this.modal2=true
}
}
this
.
modal2
=
true
// 简历PASS
}
if
(
e
.
target
.
value
==
3
){
// 简历PASS
let
parmars
=
{
if
(
e
.
target
.
value
==
3
){
status
:
"
PASS
"
,
let
parmars
=
{
id
:
SID
,
status
:
"
PASS
"
,
}
id
:
SID
,
PASS
(
parmars
).
then
(
res
=>
{
if
(
res
.
data
.
success
==
true
){
this
.
SouSuo
(
this
.
pageT
)
}
})
}
}
PASS
(
parmars
).
then
(
res
=>
{
// 简历备选
if
(
res
.
data
.
success
==
true
){
if
(
e
.
target
.
value
==
2
){
this
.
SouSuo
(
this
.
pageT
)
let
parmars
=
{
status
:
"
OPTION
"
,
id
:
SID
,
}
}
})
OPTION
(
parmars
).
then
(
res
=>
{
}
if
(
res
.
data
.
success
==
true
){
// 简历备选
this
.
SouSuo
(
this
.
pageT
)
if
(
e
.
target
.
value
==
1
){
}
let
parmars
=
{
})
status
:
"
OPTION
"
,
id
:
SID
,
}
}
OPTION
(
parmars
).
then
(
res
=>
{
if
(
e
.
target
.
value
==
2
){
if
(
res
.
data
.
success
==
true
){
let
parmars
=
{
this
.
SouSuo
(
this
.
pageT
)
status
:
"
TO_DO
"
,
id
:
SID
,
}
}
})
TODORes
(
parmars
).
then
(
res
=>
{
}
if
(
res
.
data
.
success
==
true
){
if
(
e
.
target
.
value
==
4
){
this
.
SouSuo
(
this
.
pageT
)
let
parmars
=
{
}
status
:
"
TO_DO
"
,
})
id
:
SID
,
}
}
},
TODORes
(
parmars
).
then
(
res
=>
{
selectFn3
(
e
,
SID
,
itemsta
)
{
if
(
res
.
data
.
success
==
true
){
this
.
ITEMSTA
=
itemsta
this
.
SouSuo
(
this
.
pageT
)
this
.
toseeid
=
SID
// 准备约面
if
(
e
.
target
.
value
==
2
){
getEmailMoo
().
then
(
res
=>
{
this
.
emailInline
.
modalArr
.
push
(
res
.
data
.
body
[
0
])
})
this
.
emailMOdal
=
true
// this.modal2=true
}
}
})
// 简历PASS
}
if
(
e
.
target
.
value
==
3
){
},
let
parmars
=
{
selectFn4
(
e
,
SID
)
{
status
:
"
PASS
"
,
this
.
toseeid
=
SID
id
:
SID
,
// 准备约面
}
if
(
e
.
target
.
value
==
2
){
PASS
(
parmars
).
then
(
res
=>
{
let
parmars
=
{
if
(
res
.
data
.
success
==
true
){
status
:
"
TO_SEE
"
,
this
.
SouSuo
(
this
.
pageT
)
id
:
SID
,
}
}
})
this
.
modal2
=
true
}
// 简历PASS
if
(
e
.
target
.
value
==
1
){
let
parmars
=
{
status
:
"
PASS
"
,
id
:
SID
,
}
PASS
(
parmars
).
then
(
res
=>
{
if
(
res
.
data
.
success
==
true
){
this
.
SouSuo
(
this
.
pageT
)
}
}
})
// 简历备选
}
if
(
e
.
target
.
value
==
1
){
// 简历备选
let
parmars
=
{
if
(
e
.
target
.
value
==
3
){
status
:
"
OPTION
"
,
let
parmars
=
{
id
:
SID
,
status
:
"
OPTION
"
,
}
id
:
SID
,
OPTION
(
parmars
).
then
(
res
=>
{
}
if
(
res
.
data
.
success
==
true
){
OPTION
(
parmars
).
then
(
res
=>
{
this
.
SouSuo
(
this
.
pageT
)
if
(
res
.
data
.
success
==
true
){
}
this
.
SouSuo
(
this
.
pageT
)
})
}
}
})
if
(
e
.
target
.
value
==
4
){
}
if
(
e
.
target
.
value
==
4
){
let
parmars
=
{
let
parmars
=
{
status
:
"
TO_DO
"
,
status
:
"
TO_DO
"
,
id
:
SID
,
id
:
SID
,
...
@@ -638,31 +681,52 @@ export default {
...
@@ -638,31 +681,52 @@ export default {
}
}
})
})
}
}
},
},
addINTERVIEW
(){
selectFn4
(
e
,
SID
,
itemsta
)
{
let
parmars
=
{
this
.
ITEMSTA
=
itemsta
resumeId
:
this
.
toseeid
,
this
.
toseeid
=
SID
inviterName
:
this
.
formInline
.
UpdateOWER
,
// 准备约面
interviewerName
:
this
.
formInline
.
UpdateVIEW
,
if
(
e
.
target
.
value
==
2
){
seeTime
:
moment
(
this
.
formInline
.
UpdateTIME
).
format
(
'
YYYY-MM-DD HH:mm
'
),
getEmailMoo
().
then
(
res
=>
{
this
.
emailInline
.
modalArr
.
push
(
res
.
data
.
body
[
0
])
})
this
.
emailMOdal
=
true
}
}
if
(
this
.
formInline
.
UpdateOWER
==
''
||
this
.
formInline
.
UpdateTIME
==
''
||
this
.
formInline
.
UpdateVIEW
==
''
){
// 简历PASS
this
.
$Message
.
error
(
'
请填写完整的约面信息
'
)
if
(
e
.
target
.
value
==
1
){
return
let
parmars
=
{
status
:
"
PASS
"
,
id
:
SID
,
}
PASS
(
parmars
).
then
(
res
=>
{
if
(
res
.
data
.
success
==
true
){
this
.
SouSuo
(
this
.
pageT
)
}
})
}
// 简历备选
if
(
e
.
target
.
value
==
3
){
let
parmars
=
{
status
:
"
OPTION
"
,
id
:
SID
,
}
OPTION
(
parmars
).
then
(
res
=>
{
if
(
res
.
data
.
success
==
true
){
this
.
SouSuo
(
this
.
pageT
)
}
})
}
if
(
e
.
target
.
value
==
4
){
let
parmars
=
{
status
:
"
TO_DO
"
,
id
:
SID
,
}
TODORes
(
parmars
).
then
(
res
=>
{
if
(
res
.
data
.
success
==
true
){
this
.
SouSuo
(
this
.
pageT
)
}
})
}
}
addinterview
(
parmars
).
then
(
res
=>
{
if
(
res
.
data
.
success
==
true
){
this
.
modal2
=
false
this
.
formInline
.
UpdateOWER
=
''
this
.
formInline
.
UpdateTIME
=
''
this
.
formInline
.
UpdateVIEW
=
''
this
.
SouSuo
(
this
.
pageT
)
}
if
(
res
.
data
.
body
.
code
==
0
){
this
.
modal2
=
false
this
.
SouSuo
(
this
.
pageT
)
}
})
},
},
changeTime
(
b
){
changeTime
(
b
){
this
.
UpdateTIME
=
b
this
.
UpdateTIME
=
b
...
@@ -711,31 +775,32 @@ export default {
...
@@ -711,31 +775,32 @@ export default {
},
},
// 选择input元素
// 选择input元素
selectInputElement
(
index
,
doID
,
doStatus
,
sss
){
selectInputElement
(
index
,
doID
,
doStatus
,
sss
){
sss
=!
sss
sss
=!
sss
this
.
ajaxData
[
index
].
STATES
=
sss
this
.
emailId
=
doID
Array
.
prototype
.
indexOf
=
function
(
val
)
{
this
.
ajaxData
[
index
].
STATES
=
sss
for
(
var
i
=
0
;
i
<
this
.
length
;
i
++
)
{
Array
.
prototype
.
indexOf
=
function
(
val
)
{
if
(
this
[
i
]
==
val
)
return
i
;
for
(
var
i
=
0
;
i
<
this
.
length
;
i
++
)
{
}
if
(
this
[
i
]
==
val
)
return
i
;
return
-
1
;
}
}
return
-
1
;
Array
.
prototype
.
remove
=
function
(
val
)
{
}
var
index
=
this
.
indexOf
(
val
);
Array
.
prototype
.
remove
=
function
(
val
)
{
if
(
index
>
-
1
)
{
var
index
=
this
.
indexOf
(
val
);
this
.
splice
(
index
,
1
);
if
(
index
>
-
1
)
{
}
this
.
splice
(
index
,
1
);
}
}
if
(
sss
==
true
){
}
this
.
delateARRALL
.
push
(
doID
)
if
(
sss
==
true
){
this
.
delateARRALL2
.
push
(
doID
)
this
.
delateARRALL
.
push
(
doID
)
this
.
flowStatusarr
.
push
(
doStatus
)
this
.
delateARRALL2
.
push
(
doID
)
}
this
.
flowStatusarr
.
push
(
doStatus
)
if
(
sss
==
false
){
}
this
.
delateARRALL
.
remove
(
doID
)
if
(
sss
==
false
){
this
.
delateARRALL2
.
remove
(
doID
)
this
.
delateARRALL
.
remove
(
doID
)
this
.
flowStatusarr
.
remove
(
doStatus
)
this
.
delateARRALL2
.
remove
(
doID
)
}
this
.
flowStatusarr
.
remove
(
doStatus
)
},
}
},
//选择搜索元素
//选择搜索元素
selectElement1
(
tItem
,
Tindex
){
selectElement1
(
tItem
,
Tindex
){
this
.
searchInfo
.
SEX
=
Tindex
==
0
?
''
:
tItem
;
this
.
searchInfo
.
SEX
=
Tindex
==
0
?
''
:
tItem
;
...
@@ -999,7 +1064,69 @@ export default {
...
@@ -999,7 +1064,69 @@ export default {
},
},
movleave
(
index
,
vvv
){
movleave
(
index
,
vvv
){
this
.
ajaxData
[
index
].
isShow
=
false
this
.
ajaxData
[
index
].
isShow
=
false
}
},
// 发送邮件
sendEmail
(){
if
(
this
.
emailId
==
''
){
this
.
$Notice
.
error
({
title
:
'
提示
'
,
desc
:
'
未选中元素
'
});
return
}
this
.
emailInline
.
modalArr
=
[]
this
.
emailMOdal
=
true
getEmailMoo
().
then
(
res
=>
{
this
.
emailInline
.
modalArr
=
res
.
data
.
body
})
},
getEmailContentValue
(
value
){
if
(
value
==
'
TEMP_0001
'
){
this
.
interviewIsShow
=
true
this
.
interviewBtu
=
true
this
.
isShowAll
=
true
}
else
{
this
.
interviewIsShow
=
false
this
.
interviewBtu
=
false
this
.
isShowAll
=
false
}
this
.
emailCode
=
value
let
parmars
=
{
resumeId
:
this
.
emailId
,
templateCode
:
this
.
emailCode
}
getEmailContent
(
parmars
).
then
(
res
=>
{
this
.
emailInline
.
theme
=
res
.
data
.
body
.
templateSubject
this
.
emailInline
.
receiveEmail
=
res
.
data
.
body
.
receiveEmail
this
.
emailInline
.
templateContent
=
res
.
data
.
body
.
templateContent
this
.
sad
=
this
.
emailInline
.
templateContent
})
},
beforUpload
(
aaa
){
console
.
log
(
aaa
,
File
,
aaa
.
name
)
this
.
fileList
.
push
(
aaa
.
name
)
console
.
log
(
this
.
fileList
)
return
false
},
// 发送全部内容
sendContent
(){},
emailModalPush
(){
this
.
emailInline
.
modalArr
=
[]
this
.
emailInline
.
theme
=
''
this
.
emailInline
.
receiveEmail
=
''
this
.
emailInline
.
templateContent
=
''
this
.
sad
=
''
this
.
fileList
=
[]
this
.
emailInline
.
moo
=
''
this
.
emailMOdal
=
false
this
.
SouSuo
(
this
.
pageT
)
},
getEditorValue
(
value
){
console
.
log
(
value
,
3333333333
)
},
delateFile
(
index
){
this
.
fileList
.
splice
(
index
,
1
)
},
},
},
watch
:
{
watch
:
{
'
$route
'
(
to
,
from
)
{
'
$route
'
(
to
,
from
)
{
...
@@ -1184,5 +1311,28 @@ select{
...
@@ -1184,5 +1311,28 @@ select{
.a
div
:nth-child
(
2n
)
{
.a
div
:nth-child
(
2n
)
{
background
:
rgba
(
241
,
241
,
241
,
1
);
background
:
rgba
(
241
,
241
,
241
,
1
);
}
}
.emailModal-title
{
height
:
260px
;
width
:
100%
;
}
.emailModalTitle-left
{
height
:
100%
;
width
:
60%
;
float
:
left
;
}
.emailModalTitle-right
{
height
:
100%
;
width
:
40%
;
float
:
left
;
}
.ckeditor
{
width
:
100%
}
.uploadEnclosure
{
width
:
100%
;
}
.Ubt
button
{
margin-left
:
40px
}
</
style
>
</
style
>
src/page/sweepCode/sweepCode.vue
View file @
6977ce2a
...
@@ -12,10 +12,10 @@
...
@@ -12,10 +12,10 @@
<Input
placeholder=
"请输入"
style=
"width:85%;"
v-model=
"formInline.InviterPhoneNumber"
size=
"large"
@
on-blur=
'jedugePhone'
/><br>
<Input
placeholder=
"请输入"
style=
"width:85%;"
v-model=
"formInline.InviterPhoneNumber"
size=
"large"
@
on-blur=
'jedugePhone'
/><br>
<span
style=
"position: absolute;top: 100%;left: 0;line-height: 1;padding-top: 6px;color:#ed4014;"
v-show=
"isV==true"
>
请输入正确的手机号码
</span>
<span
style=
"position: absolute;top: 100%;left: 0;line-height: 1;padding-top: 6px;color:#ed4014;"
v-show=
"isV==true"
>
请输入正确的手机号码
</span>
</FormItem>
</FormItem>
<FormItem
label=
"面试时间"
prop=
"time"
style=
"margin-top:
0.05rem
"
>
<FormItem
label=
"面试时间"
prop=
"time"
style=
"margin-top:
10px
"
>
<Input
placeholder=
"请输入"
style=
"width:40%;
margin-top:0.05rem
"
v-model=
"formInline.date"
:readonly=
"true"
size=
"large"
/>
<Input
placeholder=
"请输入"
style=
"width:40%;"
v-model=
"formInline.date"
:readonly=
"true"
size=
"large"
/>
<!--
<DatePicker
type=
"date"
placeholder=
"请选择日期"
style=
"width: 120px;margin-left:20px"
v-model=
"formInline.date"
@
on-change=
"selectDate"
:options=
"options3"
></DatePicker>
-->
<!--
<DatePicker
type=
"date"
placeholder=
"请选择日期"
style=
"width: 120px;margin-left:20px"
v-model=
"formInline.date"
@
on-change=
"selectDate"
:options=
"options3"
></DatePicker>
-->
<TimePicker
type=
"time"
placeholder=
"请选择时间"
style=
"width: 43%
;margin-top:0.05rem
"
v-model=
"formInline.time"
format=
"HH:mm"
@
on-change=
"selectTime"
@
on-focus=
"defaultRRRR"
:editable=
"false"
size=
"large"
></TimePicker>
<TimePicker
type=
"time"
placeholder=
"请选择时间"
style=
"width: 43%"
v-model=
"formInline.time"
format=
"HH:mm"
@
on-change=
"selectTime"
@
on-focus=
"defaultRRRR"
:editable=
"false"
size=
"large"
></TimePicker>
</FormItem>
</FormItem>
<FormItem
label=
"应聘职位"
prop=
"position"
>
<FormItem
label=
"应聘职位"
prop=
"position"
>
<Input
placeholder=
"请输入"
style=
"width:85%;"
v-model=
"formInline.position"
size=
"large"
/>
<Input
placeholder=
"请输入"
style=
"width:85%;"
v-model=
"formInline.position"
size=
"large"
/>
...
@@ -318,13 +318,15 @@ export default {
...
@@ -318,13 +318,15 @@ export default {
/* border: 1px solid yellow */
/* border: 1px solid yellow */
}
}
.fontsize
.ivu-form-item.ivu-form-item-required
{
.fontsize
.ivu-form-item.ivu-form-item-required
{
/* border:1px solid red; */
height
:
30px
;
height
:
30px
;
}
}
.fontsize
.phone
{
.fontsize
.phone
{
/* border:1px solid red; */
/* border:1px solid red; */
height
:
26px
;
height
:
26px
;
}
}
.fontsize
.phone
{
height
:
26px
;
}
.fontsize
.ivu-input.ivu-input-large
{
.fontsize
.ivu-input.ivu-input-large
{
font-size
:
0.23rem
font-size
:
0.23rem
}
}
...
...
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