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
3720cdcd
Commit
3720cdcd
authored
Sep 20, 2019
by
FE-安焕焕
👣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Loading
parent
d365abf7
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
99 additions
and
263 deletions
+99
-263
interview.server.js
src/api/interview.server.js
+3
-2
resume.server.js
src/api/resume.server.js
+3
-2
home.vue
src/components/home.vue
+3
-3
interview.vue
src/page/interview/interview.vue
+3
-3
allResume.vue
src/page/resume/allResume.vue
+41
-116
channel.vue
src/page/resume/channel.vue
+38
-133
http.service.js
src/service/http.service.js
+8
-4
No files found.
src/api/interview.server.js
View file @
3720cdcd
...
...
@@ -23,10 +23,11 @@ export function SInterview(tid) {
}})
}
// 面试管理查询
export
function
SerchList
(
parmars
)
{
export
function
SerchList
(
parmars
,
status
)
{
return
axios
.
post
(
`
${
sapi
}
/api/interview/findListByQueryVO`
,
parmars
,{
headers
:
{
'
Content-Type
'
:
'
application/json;
'
,
'
X-Requested-With
'
:
'
XMLHttpRequest
'
'
X-Requested-With
'
:
'
XMLHttpRequest
'
,
status
}})
}
//查看简历详情页
...
...
src/api/resume.server.js
View file @
3720cdcd
...
...
@@ -17,9 +17,10 @@ export function downloadone (parmars) {
}})
}
// 搜索
export
function
sousuoList
(
parmars
)
{
export
function
sousuoList
(
parmars
,
status
)
{
return
axios
.
post
(
`
${
sapi
}
/api/resume/findListByQueryVO`
,
parmars
,{
headers
:
{
'
Content-Type
'
:
'
application/json
'
'
Content-Type
'
:
'
application/json
'
,
status
}})
}
//查看简历详情页
...
...
src/components/home.vue
View file @
3720cdcd
...
...
@@ -16,7 +16,7 @@
</Menu>
</Col>
<Col
span=
"21"
class=
"content"
style=
"width:83%;height:100%"
>
<Row
class=
"header"
style=
"height:
3
5px"
>
<Row
class=
"header"
style=
"height:
4
5px"
>
<Col
span=
"20"
>
<Menu
mode=
"horizontal"
:active-name=
"levelOneName"
@
on-select=
"selectMenu"
>
<MenuItem
v-for=
"menu in menuList"
:name=
"menu.name"
:key=
"menu.name"
>
...
...
@@ -327,8 +327,8 @@ import {mapState} from 'vuex'
line-height: 6%
}
.ivu-menu{
height:
35
px;
line-height:
35
px;
height:
43
px;
line-height:
43
px;
.ivu-menu-item{
padding: 0 13px;
margin: 0 49px;
...
...
src/page/interview/interview.vue
View file @
3720cdcd
...
...
@@ -413,7 +413,7 @@ export default {
})
},
// 查询面试信息
serchListInterview
(
page
)
{
serchListInterview
(
page
,
status
)
{
page
=
typeof
(
page
)
==
'
number
'
?
page
:
1
this
.
searchInfo
.
pageIndex
=
page
this
.
pageIndex
=
page
...
...
@@ -428,7 +428,7 @@ export default {
inviterName
:
''
,
}
}
SerchList
(
parmars
).
then
(
res
=>
{
SerchList
(
parmars
,
status
).
then
(
res
=>
{
if
(
res
.
data
.
success
==
true
){
this
.
spinShow
=
false
this
.
totalSize
=
res
.
data
.
body
.
totalNumber
...
...
@@ -731,7 +731,7 @@ export default {
},
mounted
(){
this
.
serchListInterview
()
this
.
serchListInterview
(
null
,
'
init
'
)
// this.Serchlistinterview()
this
.
SerchInvitation
()
this
.
SerchlistinterviewList
()
...
...
src/page/resume/allResume.vue
View file @
3720cdcd
This diff is collapsed.
Click to expand it.
src/page/resume/channel.vue
View file @
3720cdcd
This diff is collapsed.
Click to expand it.
src/service/http.service.js
View file @
3720cdcd
...
...
@@ -12,10 +12,10 @@ instance.defaults.withCredentials = true;
instance
.
defaults
.
headers
.
post
[
'
Content-Type
'
]
=
'
application/x-www-form-urlencoded
'
;
instance
.
defaults
.
headers
[
'
X-Requested-With
'
]
=
'
XMLHttpRequest
'
let
needLoadingRequestCount
=
0
function
startLoading
()
{
//使用Element loading-start 方法
function
startLoading
()
{
store
.
state
.
loading
=
true
}
function
endLoading
()
{
//使用Element loading-close 方法
function
endLoading
()
{
store
.
state
.
loading
=
false
}
function
showFullScreenLoading
()
{
...
...
@@ -30,17 +30,21 @@ function tryHideFullScreenLoading() {
if
(
needLoadingRequestCount
===
0
)
{
setTimeout
(()
=>
{
endLoading
()
},
10
00
)
},
2
00
)
}
}
let
needLoading
=
[
'
resume/findListByQueryVO
'
,
'
sendMail/sendEmailTemplate
'
,
'
resume/forwardResume
'
,
'
interview/findListByQueryVO
'
]
instance
.
interceptors
.
request
.
use
(
function
(
config
)
{
// 在发送请求之前做些什么
if
(
!
config
.
headers
[
'
Content-Type
'
])
{
config
.
headers
[
'
Content-Type
'
]
=
'
application/x-www-form-urlencoded
'
}
if
(
config
.
url
.
indexOf
(
'
findCompanyEmailByKey
'
)
<
0
){
let
url
=
config
.
url
.
split
(
'
api/
'
)[
1
]
let
headers
=
config
.
headers
if
(
headers
.
status
!=
'
init
'
&&
needLoading
.
includes
(
url
)){
showFullScreenLoading
()
}
delete
headers
.
status
return
config
;
},
function
(
error
)
{
// 对请求错误做些什么
...
...
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