Commit 3d38696c authored by zhangderong's avatar zhangderong

20190819更改文件夹名

parent 53aa20b2
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0"> <meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>recruiting-management</title> <title>思坦途</title>
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>
......
...@@ -73,3 +73,9 @@ export function getErcode(){ ...@@ -73,3 +73,9 @@ export function getErcode(){
'Content-Type':'application/json', 'Content-Type':'application/json',
}}) }})
} }
// //下载二维码
// export function downloadErcode(){
// return axios.get(`/text/qrCode/downQrCode`,{headers: {
// 'Content-Type':'application/json',
// }})
// }
\ No newline at end of file
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<Col span="2" class="account"> <Col span="2" class="account">
{{massage}} {{massage}}
</Col> </Col>
<Col span="2" class="sign-out"> <Col span="2" class="sign-out" style="">
<a @click="loginOut" >退出</a> <a @click="loginOut" >退出</a>
</Col> </Col>
</Row> </Row>
......
...@@ -7,14 +7,8 @@ if(process.env.NODE_ENV === 'production'){ ...@@ -7,14 +7,8 @@ if(process.env.NODE_ENV === 'production'){
baseApi ='http://credit.xyqb.com' baseApi ='http://credit.xyqb.com'
contractApi ='http://pdf.quantgroup.cn' contractApi ='http://pdf.quantgroup.cn'
}else{ }else{
// baseApi ='http://credit-chark.liangkebang.com'
baseApi ='http://recruit-ai3.liangkebang.net' baseApi ='http://recruit-ai3.liangkebang.net'
contractApi = `http://recruit-ai3.liangkebang.net` contractApi = `http://recruit-ai3.liangkebang.net`
// baseApi ='http://credit-0zhangheng.q-gp.com'
// baseApi ='http://credit-jinsong.q-gp.com'
// contractApi = `http://pdf-0zhangheng.q-gp.com`
//合同中心
// contractApi =`http://pdf-tower.q-gp.com`
} }
export { baseApi, contractApi } export { baseApi, contractApi }
\ No newline at end of file
...@@ -6,10 +6,10 @@ import 'iview/dist/styles/iview.css'; ...@@ -6,10 +6,10 @@ import 'iview/dist/styles/iview.css';
import App from './App'; import App from './App';
import router from './router'; import router from './router';
import initRouter from './service/init.service.js' import initRouter from './service/init.service.js'
import { HappyScroll } from 'vue-happy-scroll'
import 'vue-happy-scroll/docs/happy-scroll.css' import 'vue-happy-scroll/docs/happy-scroll.css'
Vue.component('happy-scroll', HappyScroll) import {Notice} from 'iview'
Vue.use(iView); Vue.use(iView);
Vue.use(Notice)
Vue.config.productionTip = false; Vue.config.productionTip = false;
initRouter.init(router) initRouter.init(router)
/* eslint-disable no-new */ /* eslint-disable no-new */
......
<template> <template>
<div class="interview"> <div class="interview">
<!-- <Spin size="large" fix v-if="spinShow" style="font-size:25px">加载中...</Spin> -->
<div class="interview-left"> <div class="interview-left">
<div class="leftcontentTop" style="height:120px"> <div class="leftcontentTop" style="height:120px">
<div style="height:90%;float:left;width:30%;background:rgb(0,146,255);margin-left:3%;margin-top:10px"></div> <div style="height:90%;float:left;width:30%;background:rgb(0,146,255);margin-left:3%;margin-top:10px"></div>
<div style="height:90%;float:left;width:30%;background:rgb(253,85,83);margin-left:3%;margin-top:10px"></div> <div style="height:90%;float:left;width:30%;background:rgb(253,85,83);margin-left:3%;margin-top:10px"></div>
<div style="height:90%;float:left;width:30%;background:rgb(0,176,160);margin-left:3%;margin-top:10px"></div> <div style="height:90%;float:left;width:30%;background:rgb(0,176,160);margin-left:3%;margin-top:10px"></div>
</div> </div>
<div style="margin-bottom:40px;float:left;margin-left:20px;width:100%"> <div style="margin-bottom:40px;float:left;margin-left:10px;width:100%">
<div style="margin:50px auto;width:300px;height:200px;line-height:200px;text-align:center;font-size:20px" v-show="Essentialinformation.length==0">暂无数据</div> <div style="margin:50px auto;width:300px;height:200px;line-height:200px;text-align:center;font-size:20px;color:red" v-show="Essentialinformation.length==0">未能找到你搜索的内容</div>
<div class="leftcontentContent" v-for="(item,index) in Essentialinformation " :key='index'> <div class="leftcontentContent" v-for="(item,index) in Essentialinformation " :key='index'>
<div class="contentMassage"> <div class="contentMassage">
<p style="margin-top:7px"> <p style="margin-top:7px">
...@@ -239,6 +240,7 @@ export default { ...@@ -239,6 +240,7 @@ export default {
modal3:false, modal3:false,
modal4:false, modal4:false,
modal5:false, modal5:false,
spinShow:true,
Ishow:[], Ishow:[],
aaaaa:'', aaaaa:'',
nowstate:[{value:'已邀约',label:'已邀约'},{value:'邀约失败',label:'邀约失败'},{value:'面试淘汰',label:'面试淘汰'},{value:'待offer',label:'待offer'},{value:'已发offer',label:'已发offer'},{value:'待入职',label:'待入职'},{value:'未入职',label:'未入职'},{value:'已入职',label:'已入职'},], nowstate:[{value:'已邀约',label:'已邀约'},{value:'邀约失败',label:'邀约失败'},{value:'面试淘汰',label:'面试淘汰'},{value:'待offer',label:'待offer'},{value:'已发offer',label:'已发offer'},{value:'待入职',label:'待入职'},{value:'未入职',label:'未入职'},{value:'已入职',label:'已入职'},],
...@@ -398,6 +400,7 @@ export default { ...@@ -398,6 +400,7 @@ export default {
} }
SerchList(parmars).then(res=>{ SerchList(parmars).then(res=>{
if(res.data.success==true){ if(res.data.success==true){
this.spinShow=false
this.totalSize=res.data.body.totalNumber this.totalSize=res.data.body.totalNumber
this.Essentialinformation=res.data.body.items.map((item,index)=>{ this.Essentialinformation=res.data.body.items.map((item,index)=>{
item.id=item.id item.id=item.id
...@@ -649,6 +652,7 @@ export default { ...@@ -649,6 +652,7 @@ export default {
SerchList(parmars).then(res=>{ SerchList(parmars).then(res=>{
let Ishow=res.data.items let Ishow=res.data.items
if(res.data.success==true){ if(res.data.success==true){
this.spinShow=false
this.totalSize=res.data.body.totalNumber this.totalSize=res.data.body.totalNumber
this.Essentialinformation=res.data.body.items.map((item,index)=>{ this.Essentialinformation=res.data.body.items.map((item,index)=>{
item.id=item.id item.id=item.id
...@@ -712,16 +716,16 @@ export default { ...@@ -712,16 +716,16 @@ export default {
} }
.interview-left{ .interview-left{
/* min-height: 1900px; */ /* min-height: 1900px; */
height: 800px; min-height: 800px;
overflow-y: auto; overflow-y: auto;
overflow-x:hidden; overflow-x:hidden;
width: 63%; width: 70%;
float: left; float: left;
background: #F2F2F2; background: #F2F2F2;
} }
.interview-right{ .interview-right{
height:500px; height:500px;
width: 36%; width: 29%;
float: left; float: left;
background:white; background:white;
margin-top:10px; margin-top:10px;
...@@ -740,7 +744,7 @@ export default { ...@@ -740,7 +744,7 @@ export default {
width: 53%; width: 53%;
height: 60px; height: 60px;
float: left; float: left;
margin-left: 1%; margin-left: 0%;
background: white; background: white;
margin-top: 10px margin-top: 10px
/* margin-bottom: 35px */ /* margin-bottom: 35px */
......
...@@ -11,19 +11,20 @@ ...@@ -11,19 +11,20 @@
<h3>登录</h3> <h3>登录</h3>
</div> </div>
<div class="login_content"> <div class="login_content">
<Form ref="formInline" :model="formInline" :rules="ruleInline" > <Form ref="formInline" :model="formInline" :rules="ruleInline" style="height:120px;width:92%">
<FormItem prop="user"> <FormItem prop="user">
<Input type="text" v-model="formInline.user" placeholder="Username" class="wordStyle" > <Input type="text" v-model="formInline.user" placeholder="请输入11位默认手机号" class="wordStyle" >
<Icon type="ios-person-outline" slot="prepend"></Icon> <Icon type="ios-person-outline" slot="prepend"></Icon>
</Input> </Input>
</FormItem> </FormItem>
<FormItem prop="password"> <FormItem prop="password">
<Input type="password" v-model="formInline.password" placeholder="Password" class="wordStyle" > <Input type="password" v-model="formInline.password" placeholder="请输入默认密码" class="wordStyle" @keyup.enter.native='login'>
<Icon type="ios-lock-outline" slot="prepend"></Icon> <Icon type="ios-lock-outline" slot="prepend"></Icon>
</Input> </Input>
<span style="color:red;margin-top;5px" v-show="noteconTime==true">{{notecontent}}</span>
</FormItem> </FormItem>
</Form> </Form>
<span type="primary" style="line-height:30px;height:30px;width:440px;margin-left:30px; border-radius: 5px;background:rgb(0, 146, 255);color:rgb(255,255,255);display:inline-block;text-align:center" @click="login">登录</span> <Button type="primary" class="loginBtu" @click="login">登录</Button>
</div> </div>
<div class="copy"> <div class="copy">
...@@ -42,6 +43,8 @@ export default { ...@@ -42,6 +43,8 @@ export default {
data () { data () {
return { return {
channelarr:[], channelarr:[],
notecontent:'',
noteconTime:false,
ISIDMIN:'', ISIDMIN:'',
formInline: { formInline: {
user: '', user: '',
...@@ -49,11 +52,11 @@ export default { ...@@ -49,11 +52,11 @@ export default {
}, },
ruleInline: { ruleInline: {
user: [ user: [
{ required: true, message: '请输入正确的手机号', trigger: 'blur' } { required: true, pattern:/^[1][3,4,5,7,8,6,9][0-9]{9}$/, message: '请输入正确的手机号', trigger: 'blur' }
], ],
password: [ password: [
{ required: true, message: '请输入正确的密码', trigger: 'blur' }, { required: true, message: '请输入正确的密码', trigger: 'blur' },
{ type: 'string', min: 4, message: '', trigger: 'blur' } { type: 'string', min: 4, message: '请输入正确的密码', trigger: 'blur' }
] ]
} }
} }
...@@ -73,15 +76,26 @@ export default { ...@@ -73,15 +76,26 @@ export default {
userCode:this.formInline.user, userCode:this.formInline.user,
password:this.formInline.password password:this.formInline.password
} }
if(this.formInline.user==''||this.formInline.password==''){
return
}
login(params).then(res=>{ login(params).then(res=>{
if(res.data.body.code=='100'){ if(res.data.body.code=='100'){
this.$router.push({name:'text',params:{userCode:this.formInline.user}}) this.$router.push({name:'text',params:{userCode:this.formInline.user}})
console.log('3323aa')
} }
if(res.data.success==true){ if(res.data.success==true){
this.ISIDMIN=res.data.body this.ISIDMIN=res.data.body
this.$router.push({name:"allResume"}) this.$router.push({name:"allResume"})
localStorage.setItem('isADMIN',JSON.stringify(this.ISIDMIN)) localStorage.setItem('isADMIN',JSON.stringify(this.ISIDMIN))
return
}
if(res.data.success==false){
this.noteconTime=true
this.notecontent=res.data.body.message
setTimeout(() => {
this.noteconTime=false
}, 3000)
return
} }
}) })
} }
...@@ -92,23 +106,27 @@ export default { ...@@ -92,23 +106,27 @@ export default {
.login{ .login{
width:100%; width:100%;
height:100%; height:100%;
background: #EAEAEA;
} }
.login-content{ .login-content{
width: 1200px; width: 65%;
height: 1000px; height:760px;
margin-left: 500px; margin:2.5% auto
} }
.loginContent-left { .loginContent-left {
float: left; float: left;
width: 620px; width: 60%;
height: 740px height: 760px;
}
.loginBtu{
width:440px;
} }
.loginContent-right{ .loginContent-right{
float: left; float: left;
width: 500px; width: 40%;
height: 740px; height: 760px;
background: #ffffff border: 1px solid rgba(241,241,241,1)
/* background:rgba(241,241,241,1) */
} }
.loginContent-left img{ .loginContent-left img{
width: 100%; width: 100%;
...@@ -132,6 +150,7 @@ export default { ...@@ -132,6 +150,7 @@ export default {
.login_content{ .login_content{
height: 200px; height: 200px;
width: 100%; width: 100%;
margin-left: 40px
} }
.copy{ .copy{
width: 100%; width: 100%;
...@@ -144,6 +163,6 @@ export default { ...@@ -144,6 +163,6 @@ export default {
} }
.wordStyle{ .wordStyle{
width: 440px; width: 440px;
margin-left: 30px /* margin-left: 30px */
} }
</style> </style>
...@@ -11,16 +11,18 @@ ...@@ -11,16 +11,18 @@
<h3>首次登录请修改密码</h3> <h3>首次登录请修改密码</h3>
</div> </div>
<div class="updatePsd_content"> <div class="updatePsd_content">
<Form ref="formInline" :model="formInline" :rules="ruleInline" > <Form ref="formInline" :model="formInline" class="formcontent">
<FormItem prop="password"> <FormItem class="formitemcontent">
<Input type="password" v-model="formInline.password" placeholder="Password" class="wordStyle" > <Input type="password" v-model="formInline.password" placeholder="Password" class="wordStyle" @on-change='verification'>
<Icon type="ios-lock-outline" slot="prepend"></Icon> <Icon type="ios-lock-outline" slot="prepend"></Icon>
</Input> </Input>
<span style="color:Grey;margin-left:30px" v-show="fistcontent">4-20位且不得与默认密码相同</span>
</FormItem> </FormItem>
<FormItem prop="passwordTwo"> <FormItem style="margin-top:-20px" class="formitemcontent">
<Input type="password" v-model="formInline.passwordTwo" placeholder="Password" class="wordStyle" > <Input type="password" v-model="formInline.passwordTwo" placeholder="Password" class="wordStyle">
<Icon type="ios-lock-outline" slot="prepend"></Icon> <Icon type="ios-lock-outline" slot="prepend"></Icon>
</Input> </Input>
<span style="color:Grey;margin-left:30px;color:red" v-show="twocontent">{{twocontentmessage}}</span>
</FormItem> </FormItem>
</Form> </Form>
<button type="primary" style="height:30px;width:440px;margin-left:30px; border-radius: 5px;background:rgb(0, 146, 255);color:rgb(255,255,255)" @click="loginT">登录</button> <button type="primary" style="height:30px;width:440px;margin-left:30px; border-radius: 5px;background:rgb(0, 146, 255);color:rgb(255,255,255)" @click="loginT">登录</button>
...@@ -44,18 +46,11 @@ export default { ...@@ -44,18 +46,11 @@ export default {
passwordTwo: '', passwordTwo: '',
password: '' password: ''
}, },
fistcontent:true,
twocontent:false,
twocontentmessage:'',
channelarr:[], channelarr:[],
ISIDMIN:'', ISIDMIN:'',
ruleInline: {
passwordTwo: [
{ required: true, message: '请输入相同的的密码', trigger: 'blur' },
{ type: 'string', min: 4, message: '', trigger: 'blur' }
],
password: [
{ required: true, message: '请输入正确的密码', trigger: 'blur' },
{ type: 'string', min: 4, message: '', trigger: 'blur' }
]
}
} }
}, },
methods: { methods: {
...@@ -74,22 +69,75 @@ export default { ...@@ -74,22 +69,75 @@ export default {
password:this.formInline.password, password:this.formInline.password,
confirmPassWord:this.formInline.passwordTwo confirmPassWord:this.formInline.passwordTwo
} }
updatePsd(params).then(res=>{ if(this.formInline.passwordTwo!==this.formInline.password){
if(res.data.body.code=='101'){ this.twocontentmessage='输入密码不一致,请重新输入'
this.$Message.error('输入的密码与初始密码相同,请输入不同的密码') this.twocontent=true
setInterval(() => {
this.twocontent=false
}, 3000)
return
}
if(this.formInline.password.length>20){
this.twocontentmessage='请输入4-20位密码'
setInterval(() => {
this.twocontent=false
}, 3000)
return
}
if(this.formInline.password.length<4){
this.twocontentmessage='请输入4-20位密码'
setInterval(() => {
this.twocontent=false
}, 3000)
return return
} }
if(res.data.body.code=='102'){ if(this.formInline.password.length==0){
this.$Message.error('两次输入的密码不一致,请输入不同的密码') this.twocontentmessage='密码不能为空'
setInterval(() => {
this.twocontent=false
}, 3000)
return return
} }
if(this.formInline.passwordTwo.length==0){
this.twocontentmessage='请输入相同的确认密码'
setInterval(() => {
this.twocontent=false
}, 3000)
return
}
updatePsd(params).then(res=>{
if(res.data.success==true){ if(res.data.success==true){
this.ISIDMIN=res.data.body this.ISIDMIN=res.data.body
localStorage.setItem('isADMIN',JSON.stringify(this.ISIDMIN)) localStorage.setItem('isADMIN',JSON.stringify(this.ISIDMIN))
this.$router.push({name:'allResume'}) this.$router.replace({name:'allResume'})
}
if(res.data.body.code='101'){
this.twocontentmessage=res.data.body.message
} }
}) })
},
verification(){
if(this.formInline.password.length==0){
this.fistcontent=true
} }
if(this.formInline.password==''){
this.fistcontent=true
}
if(this.formInline.password.length<4){
this.fistcontent=true
}
if(this.formInline.password.length>4){
this.fistcontent=false
}
if(this.formInline.password.length>20){
this.fistcontent=true
}
},
} }
} }
</script> </script>
...@@ -151,4 +199,10 @@ export default { ...@@ -151,4 +199,10 @@ export default {
width: 440px; width: 440px;
margin-left: 30px margin-left: 30px
} }
.formcontent{
height:130px;
}
.formitemcontent{
height:60px;
}
</style> </style>
<template> <template>
<div class="allResume"> <div class="allResume">
<!-- <Spin size="large" fix v-if="spinShow" style="font-size:25px">加载中...</Spin> -->
<div class="allResume-left"> <div class="allResume-left">
<Form :label-width="80"> <Form :label-width="80">
<FormItem label="关键词:" style="margin-top:20px"> <FormItem label="关键词:" style="margin-top:20px">
...@@ -27,7 +28,6 @@ ...@@ -27,7 +28,6 @@
<Option v-for="item in ownerWorkYears2" :value="item.value" :key="item.value">{{item.label}}</Option> <Option v-for="item in ownerWorkYears2" :value="item.value" :key="item.value">{{item.label}}</Option>
</Select> </Select>
</span><br> </span><br>
<span v-show="Black==true" style="color:red;margin-left:10%">最低年限不能大于最高年限</span>
</FormItem> </FormItem>
</Form> </Form>
...@@ -39,21 +39,21 @@ ...@@ -39,21 +39,21 @@
<div class="allResume-right"> <div class="allResume-right">
<div class="resumeRightContentTop"> <div class="resumeRightContentTop">
<div style="width:100%;height:80px;margin-top:20px"> <div style="width:100%;height:80px;margin-top:20px">
<div style="width:40%;height:100%;float:left;background:rgb(61,169,247);margin-left:60px;line-height:80px;text-align:center;color:white;font-size:20px">数据展示</div> <div style="width:47%;height:100%;float:left;background:rgb(61,169,247);margin-left:10px;line-height:80px;text-align:center;color:white;font-size:20px">数据展示</div>
<div style="width:40%;height:100%;float:left;background:rgb(253,85,83);margin-left:30px;line-height:80px;text-align:center;color:white;font-size:20px">提示语</div> <div style="width:48%;height:100%;float:left;background:rgb(253,85,83);margin-left:30px;line-height:80px;text-align:center;color:white;font-size:20px">提示语</div>
</div> </div>
<div style="background:background:rgba(255,255,255,1);width:100%;margin-top:20px;height:40px;line-height:40px;border-bottom:1px solid black"> <div style="background:background:rgba(255,255,255,1);width:100%;margin-top:20px;height:40px;line-height:40px;border-bottom:1px solid black;margin-bottom:10px">
<input type='checkbox' class='input-checkbox' v-model='checked' @click='checkedAll' style="margin-left:10px"><span style="margin-left:10px">全选</span> <input type='checkbox' class='input-checkbox' v-model='checked' @click='checkedAll' style="margin-left:10px"><span style="margin-left:10px">全选</span>
<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:10px;" @click="allexport">导出列表</Button> <Button type="primary" size="small" style="float:right;margin-right:10px;" @click="allexport">导出列表</Button>
</div> </div>
<div style="width:100%;float:left;margin-bottom:40px"> <div style="width:100%;float:left;margin-bottom:40px" class="a">
<div style="margin:50px auto;width:300px;height:200px;line-height:200px;text-align:center;font-size:20px" 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:red" v-show="ajaxData.length==0">未能找到你搜索的内容</div>
<div class="Resumecontent" v-for='(item,i) in ajaxData' :key="i"> <div class="Resumecontent" v-for='(item,i) in ajaxData' :key="i" @mouseover="ahove" >
<div class="detailResume" id="a" style="background:rgba(241,241,241,1);"> <div class="detailResume" id="a" style="">
<p style="margin-top:10px"> <p>
<span style="display:inline-block;height:100%;font-size: 12px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;"><input type='checkbox' name='checkboxinput' class='input-checkbox' v-model='checkboxList' :value="item.id" @click="selectInputElement(i,item.id,item.flowStatus,item.STATES)" style="margin-left:10px;"></span> <span style="display:inline-block;height:100%;font-size: 12px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;margin-top:5px"><input type='checkbox' name='checkboxinput' class='input-checkbox' v-model='checkboxList' :value="item.id" @click="selectInputElement(i,item.id,item.flowStatus,item.STATES)" style="margin-left:10px;"></span>
<span style="display:inline-block;height:100%;font-size: 12px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;" @click="Seedetail(item.id)">{{item.ownerName}} <span v-show="item.ownerMobile !==''">|</span></span> <span style="display:inline-block;height:100%;font-size: 12px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;" @click="Seedetail(item.id)">{{item.ownerName}} <span v-show="item.ownerMobile !==''">|</span></span>
<span style="display:inline-block;height:100%;font-size: 12px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;" @click="Seedetail(item.id)"> {{item.ownerMobile}} <span v-show="item.ownerAge !==''">|</span></span> <span style="display:inline-block;height:100%;font-size: 12px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;" @click="Seedetail(item.id)"> {{item.ownerMobile}} <span v-show="item.ownerAge !==''">|</span></span>
<span style="display:inline-block;height:100%;font-size: 12px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;" @click="Seedetail(item.id)"> {{item.ownerAge}}<span v-show="item.ownerSex !==''">|</span></span> <span style="display:inline-block;height:100%;font-size: 12px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;" @click="Seedetail(item.id)"> {{item.ownerAge}}<span v-show="item.ownerSex !==''">|</span></span>
...@@ -69,10 +69,11 @@ ...@@ -69,10 +69,11 @@
<span style="margin-right:20px;margin-top:5px" v-else-if="item.flowStatus=='NO_ENTRY'"><Icon type="ios-radio-button-on" style="color:red" /><span style="margin-left:10px">未入职</span></span> <span style="margin-right:20px;margin-top:5px" v-else-if="item.flowStatus=='NO_ENTRY'"><Icon type="ios-radio-button-on" style="color:red" /><span style="margin-left:10px">未入职</span></span>
<span style="margin-right:10px;margin-top:5px" v-else-if="item.flowStatus=='TO_SEE'"> <span style="margin-right:10px;margin-top:5px" v-else-if="item.flowStatus=='TO_SEE'">
<span > <span >
<select name="3" id="3" @change="selectFn2($event,item.id)"> <select name="3" id="3" @change="selectFn2($event,item.id,item.flowStatus)">
<option value="1">邀请面试</option> <option value="1">邀请面试</option>
<option value="2">备选</option> <option value="2">备选</option>
<option value="3">PASS</option> <option value="3">PASS</option>
<option value="4">待处理</option>
</select> </select>
</span> </span>
</span> </span>
...@@ -83,6 +84,7 @@ ...@@ -83,6 +84,7 @@
<option value="1">备选</option> <option value="1">备选</option>
<option value="2">邀请面试</option> <option value="2">邀请面试</option>
<option value="3">PASS</option> <option value="3">PASS</option>
<option value="4">待处理</option>
</select> </select>
</span> </span>
</span> </span>
...@@ -96,6 +98,7 @@ ...@@ -96,6 +98,7 @@
<option value="1">PASS</option> <option value="1">PASS</option>
<option value="2">邀请面试</option> <option value="2">邀请面试</option>
<option value="3">备选</option> <option value="3">备选</option>
<option value="4">待处理</option>
</select> </select>
</span> </span>
</span> </span>
...@@ -122,8 +125,9 @@ ...@@ -122,8 +125,9 @@
<span @click="RecordSEE(item.id,item.ownerName)" style="color:#0092FF">记录</span> <span @click="RecordSEE(item.id,item.ownerName)" style="color:#0092FF">记录</span>
</span> </span>
</p> </p>
<p style="margin-top:10px"> <p style="margin-top:5px">
<span style="display:inline-block;font-size: 12px;margin-left:25px">{{item.deliveryTime}}投递 |</span> <span style="display:inline-block;font-size: 12px;margin-left:25px" v-if="item.srcSite!==''">{{item.deliveryTime}}投递 |</span>
<span style="display:inline-block;font-size: 12px;margin-left:25px" v-if="item.srcSite==''">{{item.deliveryTime}}上传 |</span>
<span style="display:inline-block;font-size: 12px;margin-left:3px">{{item.optSource}}<span v-show="item.srcSite!==''"> |</span></span> <span style="display:inline-block;font-size: 12px;margin-left:3px">{{item.optSource}}<span v-show="item.srcSite!==''"> |</span></span>
<span style="display:inline-block;font-size: 12px;margin-left:3px">{{item.srcSite}}</span> <span style="display:inline-block;font-size: 12px;margin-left:3px">{{item.srcSite}}</span>
<span style="display:inline-block;font-size: 12px;width:30%;float:right;text-align:right;margin-right:10px"> <span style="display:inline-block;font-size: 12px;width:30%;float:right;text-align:right;margin-right:10px">
...@@ -134,7 +138,7 @@ ...@@ -134,7 +138,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="pageBottom" style="width:59%;background:rgba(255,255,255,1);text-align:center;position:fixed;bottom:0"> <div class="pageBottom" style="width:59%;background:rgba(241,241,241,1);text-align:center;position:fixed;bottom:0;height:40px">
<Page :total="totalSize" show-elevator show-total @on-change="pageChange" @on-page-size-change="pageSizeChange" :current='pageIndex' :page-size='pageSize' style="text-align:center;margin-top:4px"></Page> <Page :total="totalSize" show-elevator show-total @on-change="pageChange" @on-page-size-change="pageSizeChange" :current='pageIndex' :page-size='pageSize' style="text-align:center;margin-top:4px"></Page>
</div> </div>
</div> </div>
...@@ -283,7 +287,7 @@ ...@@ -283,7 +287,7 @@
:closable='false'> :closable='false'>
<div > <div >
<h2 style="text-align: center;color:black">提示</h2> <h2 style="text-align: center;color:black">提示</h2>
<p style="text-align: center;">请选择元素再进行下载</p> <p style="text-align: center;">选项不能为空</p>
</div> </div>
<div slot='footer' style="text-align:center"> <div slot='footer' style="text-align:center">
<Button type='primary' @click='modal6=false'>取消</Button> <Button type='primary' @click='modal6=false'>取消</Button>
...@@ -308,6 +312,8 @@ import Router from 'vue-router'; ...@@ -308,6 +312,8 @@ import Router from 'vue-router';
modal6:false, modal6:false,
modal7:false, modal7:false,
DOSTA:'', DOSTA:'',
DOWNLOAD:'',
spinShow: true,
options3: { options3: {
disabledDate (date) { disabledDate (date) {
return date && date.valueOf() <Date.now()-3600*24*1000; return date && date.valueOf() <Date.now()-3600*24*1000;
...@@ -338,6 +344,7 @@ import Router from 'vue-router'; ...@@ -338,6 +344,7 @@ import Router from 'vue-router';
all:'all', all:'all',
lrgs:'', lrgs:'',
a:'', a:'',
pageT:'',
toseeid:'', toseeid:'',
item:[], item:[],
STATE:'', STATE:'',
...@@ -364,6 +371,7 @@ import Router from 'vue-router'; ...@@ -364,6 +371,7 @@ import Router from 'vue-router';
ownerWorkYears2:'', ownerWorkYears2:'',
}, },
arr:[], arr:[],
bg:'',
sexs:[{Num1:'',status1:'不限'},{Num1:'0',status1:""},{Num1:'0',status1:''}], sexs:[{Num1:'',status1:'不限'},{Num1:'0',status1:""},{Num1:'0',status1:''}],
Education:[{Num2:'',status2:'不限'},{Num2:"0",status2:'专科以下'},{Num2:'1',status2:'专科及以上'},{Num2:'2',status2:'本科及以上'},{Num2:'3',status2:'硕士及以上'},{Num2:'4',status2:'博士及以上'},{Num2:'99',status2:'985/211'}], Education:[{Num2:'',status2:'不限'},{Num2:"0",status2:'专科以下'},{Num2:'1',status2:'专科及以上'},{Num2:'2',status2:'本科及以上'},{Num2:'3',status2:'硕士及以上'},{Num2:'4',status2:'博士及以上'},{Num2:'99',status2:'985/211'}],
state:[{Num3:[],status3:'不限',sta:true},{Num3:'TO_DO',status3:'待处理',sta:false},{Num3:'OPTION',status3:'备选',sta:false},{Num3:'PASS',status3:'Pass',sta:false},{Num3:'TO_SEE',status3:'邀请面试',sta:false},{Num3:'HAS_SEE',status3:'已邀约',sta:false},{Num3:'SEE_FAIL',status3:'邀约失败',sta:false}, state:[{Num3:[],status3:'不限',sta:true},{Num3:'TO_DO',status3:'待处理',sta:false},{Num3:'OPTION',status3:'备选',sta:false},{Num3:'PASS',status3:'Pass',sta:false},{Num3:'TO_SEE',status3:'邀请面试',sta:false},{Num3:'HAS_SEE',status3:'已邀约',sta:false},{Num3:'SEE_FAIL',status3:'邀约失败',sta:false},
...@@ -612,6 +620,8 @@ import Router from 'vue-router'; ...@@ -612,6 +620,8 @@ import Router from 'vue-router';
} }
serchList(parmars).then(res=>{ serchList(parmars).then(res=>{
if(res.data.success==true){ if(res.data.success==true){
this.checkboxList=[]
this.spinShow=false
this.totalSize=res.data.body.totalNumber this.totalSize=res.data.body.totalNumber
this.quanxuan.push(res.data.body.items.id) this.quanxuan.push(res.data.body.items.id)
this.ajaxData=res.data.body.items.map((item,index)=>{ this.ajaxData=res.data.body.items.map((item,index)=>{
...@@ -709,16 +719,17 @@ import Router from 'vue-router'; ...@@ -709,16 +719,17 @@ import Router from 'vue-router';
} }
} }
if(this.searchInfo.ownerWorkYears1>this.searchInfo.ownerWorkYears2){ if(this.searchInfo.ownerWorkYears1>this.searchInfo.ownerWorkYears2){
this.$Message.error('最低年限不能大于最高年限') this.$Notice.error({
return title: '提示',
} desc: '最高年限不能大于最低年限'
if(this.searchInfo.ownerWorkYears2<this.searchInfo.ownerWorkYears1){ });
this.$Message.error('最高年限不能小于最小年限')
return return
} }
sousuoList(parmars).then(res=>{ sousuoList(parmars).then(res=>{
let Ishow=res.data.items let Ishow=res.data.items
if(res.data.success==true){ if(res.data.success==true){
this.checkboxList=[]
this.spinShow=false
this.totalSize=res.data.body.totalNumber this.totalSize=res.data.body.totalNumber
this.ajaxData=res.data.body.items.map((item,index)=>{ this.ajaxData=res.data.body.items.map((item,index)=>{
item.id=item.id item.id=item.id
...@@ -780,6 +791,8 @@ import Router from 'vue-router'; ...@@ -780,6 +791,8 @@ import Router from 'vue-router';
}, },
// 选择input元素 // 选择input元素
selectInputElement(index,doID,doStatus,sss){ selectInputElement(index,doID,doStatus,sss){
this.DOWNLOAD=doID
this.checkboxList.push(doID)
sss=!sss sss=!sss
this.ajaxData[index].STATES=sss this.ajaxData[index].STATES=sss
Array.prototype.indexOf = function(val) { Array.prototype.indexOf = function(val) {
...@@ -840,7 +853,10 @@ import Router from 'vue-router'; ...@@ -840,7 +853,10 @@ import Router from 'vue-router';
// 批量下载简历 // 批量下载简历
downloadAll(){ downloadAll(){
if(this.checkboxList==''){ if(this.checkboxList==''){
this.modal6=true this.$Notice.error({
title: '提示',
desc: '选项不能为空'
});
return return
} }
let url='/text/api/resume/download/formatted/compress' let url='/text/api/resume/download/formatted/compress'
...@@ -859,7 +875,7 @@ import Router from 'vue-router'; ...@@ -859,7 +875,7 @@ import Router from 'vue-router';
deleteREsume(this.delateARRALL2).then(res=>{ deleteREsume(this.delateARRALL2).then(res=>{
if(res.data.success==true){ if(res.data.success==true){
this.modal3=false this.modal3=false
this.SearchList() this.SearchList(this.pageT)
} }
}) })
}, },
...@@ -898,10 +914,16 @@ import Router from 'vue-router'; ...@@ -898,10 +914,16 @@ import Router from 'vue-router';
} }
} }
if(tempArray2.length!==0){ if(tempArray2.length!==0){
this.modal5=true this.$Notice.error({
title: '提示',
desc: '您选中的简历中包含不可删除简历'
});
} }
if(this.delateARRALL.length==0){ if(this.delateARRALL.length==0){
this.$Message.error('未选择删除元素') this.$Notice.error({
title: '提示',
desc: '选项不能为空'
});
return return
} }
if(tempArray2.length==0){ if(tempArray2.length==0){
...@@ -923,7 +945,10 @@ import Router from 'vue-router'; ...@@ -923,7 +945,10 @@ import Router from 'vue-router';
} }
} }
if(tempArray2.length!==0){ if(tempArray2.length!==0){
this.modal5=true this.$Notice.error({
title: '提示',
desc: '您选中的简历中包含不可删除简历'
});
} }
Array.prototype.indexOf = function(val) { Array.prototype.indexOf = function(val) {
for (var i = 0; i < this.length; i++) { for (var i = 0; i < this.length; i++) {
...@@ -943,7 +968,7 @@ import Router from 'vue-router'; ...@@ -943,7 +968,7 @@ import Router from 'vue-router';
this.modal7=false this.modal7=false
this.delateARRALL=[] this.delateARRALL=[]
this.flowStatusarr=[] this.flowStatusarr=[]
this.SearchList() this.SearchList(this.pageT)
} }
}) })
}, },
...@@ -972,6 +997,8 @@ import Router from 'vue-router'; ...@@ -972,6 +997,8 @@ import Router from 'vue-router';
}, },
//改变页码 //改变页码
pageChange(page){ pageChange(page){
this.pageT=page
console.log(this.pageT)
this.SearchList(page) this.SearchList(page)
}, },
pageSizeChange(page){ pageSizeChange(page){
...@@ -988,6 +1015,11 @@ import Router from 'vue-router'; ...@@ -988,6 +1015,11 @@ import Router from 'vue-router';
this.modal2=false this.modal2=false
this.SearchList() this.SearchList()
}, },
// 鼠标滑过事件
ahove(){
console.log(88838383838838838883)
this.bg = 'background-color:red';
}
}, },
mounted(){ mounted(){
...@@ -998,23 +1030,24 @@ import Router from 'vue-router'; ...@@ -998,23 +1030,24 @@ import Router from 'vue-router';
<style> <style>
.allResume{ .allResume{
width: 100%; width: 100%;
height:100%
/* min-height: 1100px; */ /* min-height: 1100px; */
} }
.allResume-left{ .allResume-left{
height: 800px; height: 800px;
/* height: 100%; */
width: 29%; width: 29%;
box-shadow:#dcdee2 0 0 6px 1px; box-shadow:#dcdee2 0 0 6px 1px;
float: left; float: left;
} }
.allResume-right{ .allResume-right{
/* min-height: 2000px; */
height: 800px; height: 800px;
overflow-y: auto; overflow-y: auto;
width: 70%; width: 70%;
float: left; float: left;
margin-left:1%; margin-left:1%;
background:rgba(255,255,255,1); /* background:rgba(255,255,255,1); */
} }
.resumeRightContentTop{ .resumeRightContentTop{
...@@ -1023,7 +1056,6 @@ import Router from 'vue-router'; ...@@ -1023,7 +1056,6 @@ import Router from 'vue-router';
} }
.Resumecontent{ .Resumecontent{
width: 100%; width: 100%;
margin-top:10px;
} }
.massage{ .massage{
height:20px; height:20px;
...@@ -1119,6 +1151,8 @@ color: #0092FF ...@@ -1119,6 +1151,8 @@ color: #0092FF
.detailResume{ .detailResume{
width:100%; width:100%;
height:60px; height:60px;
/* margin-top:40px */ }
.a div:nth-child(2n){
background:rgba(241,241,241,1);
} }
</style> </style>
<template> <template>
<div class="channel"> <div class="channel">
<!-- <Spin size="large" fix v-if="spinShow" style="font-size:20px">加载中...</Spin> -->
<div class="channel-left"> <div class="channel-left">
<Form :label-width="80"> <Form :label-width="80">
<FormItem label="关键词:" style="margin-top:20px"> <FormItem label="关键词:" style="margin-top:20px">
...@@ -47,8 +48,8 @@ ...@@ -47,8 +48,8 @@
<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:10px;" @click="allexport">导出列表</Button> <Button type="primary" size="small" style="float:right;margin-right:10px;" @click="allexport">导出列表</Button>
</div> </div>
<div style="margin-bottom:40px;float:left;width:100%"> <div style="margin-bottom:40px;float:left;width:100%" class="a">
<div style="margin:50px auto;width:300px;height:200px;line-height:200px;text-align:center;font-size:20px" 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:red" v-show="ajaxData.length==0">未能找到你搜索的内容</div>
<div class="Resumecontent" v-for='(item,i) in ajaxData' :key="i"> <div class="Resumecontent" v-for='(item,i) in ajaxData' :key="i">
<div class="detailResume" id="a" style="background:rgba(241,241,241,1);height:65px"> <div class="detailResume" id="a" style="background:rgba(241,241,241,1);height:65px">
<p class="massage" style="margin-top:10px"> <p class="massage" style="margin-top:10px">
...@@ -72,6 +73,7 @@ ...@@ -72,6 +73,7 @@
<option value="1">邀请面试</option> <option value="1">邀请面试</option>
<option value="2">备选</option> <option value="2">备选</option>
<option value="3">PASS</option> <option value="3">PASS</option>
<option value="4">待处理</option>
</select> </select>
</span> </span>
</span> </span>
...@@ -82,6 +84,7 @@ ...@@ -82,6 +84,7 @@
<option value="1">备选</option> <option value="1">备选</option>
<option value="2">邀请面试</option> <option value="2">邀请面试</option>
<option value="3">PASS</option> <option value="3">PASS</option>
<option value="4">待处理</option>
</select> </select>
</span> </span>
</span> </span>
...@@ -95,6 +98,7 @@ ...@@ -95,6 +98,7 @@
<option value="1">PASS</option> <option value="1">PASS</option>
<option value="2">邀请面试</option> <option value="2">邀请面试</option>
<option value="3">备选</option> <option value="3">备选</option>
<option value="4">待处理</option>
</select> </select>
</span> </span>
</span> </span>
...@@ -290,6 +294,7 @@ export default { ...@@ -290,6 +294,7 @@ export default {
clickIndex1: 0, clickIndex1: 0,
clickIndex2: 0, clickIndex2: 0,
clickIndex3:0, clickIndex3:0,
spinShow:true,
keywords:'', keywords:'',
biaoshi:'', biaoshi:'',
toseeid:'', toseeid:'',
...@@ -304,6 +309,7 @@ export default { ...@@ -304,6 +309,7 @@ export default {
lrgs:'', lrgs:'',
a:'', a:'',
id:'', id:'',
pageT:'',
modal1:false, modal1:false,
modal2:false, modal2:false,
modal3:false, modal3:false,
...@@ -354,6 +360,7 @@ export default { ...@@ -354,6 +360,7 @@ export default {
} }
}, },
methods:{ methods:{
//查询列表
quxiaoxi(){ quxiaoxi(){
let parmars={ let parmars={
pageSize:this.searchInfo.pageSize, pageSize:this.searchInfo.pageSize,
...@@ -364,6 +371,8 @@ export default { ...@@ -364,6 +371,8 @@ export default {
} }
adoptOneSeeResumeList(parmars).then(res=>{ adoptOneSeeResumeList(parmars).then(res=>{
if(res.data.success==true){ if(res.data.success==true){
this.checkboxList=[]
thid.spinShow=false
this.totalSize=res.data.body.totalNumber this.totalSize=res.data.body.totalNumber
this.quanxuan.push(res.data.body.items.id) this.quanxuan.push(res.data.body.items.id)
this.ajaxData=res.data.body.items.map((item,index)=>{ this.ajaxData=res.data.body.items.map((item,index)=>{
...@@ -638,6 +647,7 @@ export default { ...@@ -638,6 +647,7 @@ export default {
window.open(newpage.href, '_blank'); window.open(newpage.href, '_blank');
}, },
pageChange(page){ pageChange(page){
this.pageT=page
this.SearchList(page) this.SearchList(page)
}, },
pageSizeChange(page){ pageSizeChange(page){
...@@ -660,7 +670,7 @@ export default { ...@@ -660,7 +670,7 @@ export default {
deleteREsume(this.delateARRALL2).then(res=>{ deleteREsume(this.delateARRALL2).then(res=>{
if(res.data.success==true){ if(res.data.success==true){
this.modal3=false this.modal3=false
this.quxiaoxi() this.quxiaoxi(this.pageT)
} }
}) })
}, },
...@@ -814,7 +824,7 @@ export default { ...@@ -814,7 +824,7 @@ export default {
this.modal7=false this.modal7=false
this.delateARRALL=[] this.delateARRALL=[]
this.flowStatusarr=[] this.flowStatusarr=[]
this.quxiaoxi() this.quxiaoxi(this.pageT)
} }
}) })
}, },
...@@ -900,6 +910,8 @@ export default { ...@@ -900,6 +910,8 @@ export default {
sousuoList(parmars).then(res=>{ sousuoList(parmars).then(res=>{
let Ishow=res.data.items let Ishow=res.data.items
if(res.data.success==true){ if(res.data.success==true){
this.checkboxList=[]
this.spinShow=false
this.ajaxData=res.data.body.items.map((item,index)=>{ this.ajaxData=res.data.body.items.map((item,index)=>{
item.id=item.id item.id=item.id
item.ownerName=item.ownerName item.ownerName=item.ownerName
...@@ -941,6 +953,7 @@ export default { ...@@ -941,6 +953,7 @@ export default {
} }
adoptOneSeeResumeList(parmars).then(res=>{ adoptOneSeeResumeList(parmars).then(res=>{
if(res.data.success==true){ if(res.data.success==true){
this.checkboxList=[]
this.totalSize=res.data.body.totalNumber this.totalSize=res.data.body.totalNumber
this.quanxuan.push(res.data.body.items.id) this.quanxuan.push(res.data.body.items.id)
this.ajaxData=res.data.body.items.map((item,index)=>{ this.ajaxData=res.data.body.items.map((item,index)=>{
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
</div> </div>
</template> </template>
<script> <script>
import {getErcode} from '../../api/stystem.server.js' import {getErcode,downloadErcode} from '../../api/stystem.server.js'
export default { export default {
data(){ data(){
return { return {
...@@ -21,36 +21,19 @@ export default { ...@@ -21,36 +21,19 @@ export default {
//取到二维码 //取到二维码
getercode(){ getercode(){
getErcode().then(res=>{ getErcode().then(res=>{
console.log(res) console.log(res.data.body)
if(res.data.success==true){ if(res.data.success==true){
this.url=res.data.body this.url=res.data.body
} }
}) })
}, },
downPic (img) { downPic (img) {
// this.url2='/text/qrCode/getQrCodeBase64' window.location.href=`/text/qrCode/downQrCode`
var image = new Image()
image.setAttribute('crossOrigin', 'anonymous')
image.onload = function () {
var canvas = document.createElement('canvas')
canvas.width = image.width
canvas.height = image.height
var context = canvas.getContext('2d')
context.drawImage(image, 0, 0, image.width, image.height)
var url = canvas.toDataURL('image/png') // 得到图片的base64编码数据
var a = document.createElement('a') // 生成一个a元素
var event = new MouseEvent('click') // 创建一个单击事件
a.download = img.name || 'photo' // 设置图片名称
a.href = url // 将生成的URL设置为a.href属性
a.dispatchEvent(event) // 触发a的单击事件
}
image.src = img.url
} }
}, },
mounted(){ mounted(){
this.getercode() this.getercode()
console.log( this.url2='/text/qrCode/getQrCodeBase64')
} }
} }
</script> </script>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div class="addAcount"> <div class="addAcount">
<p style="margin-top:10px"> <p style="margin-top:10px">
<span style="font-size:18px;color:#2d8cf0;margin-left:18px;">新增账户</span> <span style="font-size:18px;color:#2d8cf0;margin-left:18px;">新增账户</span>
<span style="margin-left:10px">以下内容均为必填项</span> <span style="margin-left:10px;color:Grey">以下内容均为必填项</span>
</p> </p>
<Form :label-width="130" :model="formInline" :rules="ruleInline"> <Form :label-width="130" :model="formInline" :rules="ruleInline">
<FormItem label="配置登录账号:" style="margin-top:20px" prop="PhoneNumber"> <FormItem label="配置登录账号:" style="margin-top:20px" prop="PhoneNumber">
...@@ -14,15 +14,15 @@ ...@@ -14,15 +14,15 @@
</FormItem> </FormItem>
</Form> </Form>
<p> <p>
<span style="margin-left:18px">初始登录密码</span> <span style="margin-left:25px">初始登录密码</span>
<span style="margin-left:8px">默认是"123456",新用户首次登录需修改后才能进入系统。</span> <span style="margin-left:10px">默认是"123456",新用户首次登录需修改后才能进入系统。</span>
<span style=""><Button type="primary" size='small' style="color:#ffffff;margin-left:20px; border-radius: 5px" @click="addacount"> 添加</Button></span> <span style="margin-left:30px"><Button type="primary" size='small' style="color:#ffffff;margin-left:20px;width:60px" @click="addacount"> 添加</Button></span>
</p> </p>
</div> </div>
<div class="accountMange"> <div class="accountMange">
<p style="height:40px;line-height:40px"> <p style="height:40px;line-height:40px">
<span style="font-size:18px;color:#2d8cf0;margin-left:18px">账户管理</span> <span style="font-size:18px;color:#2d8cf0;margin-left:18px">账户管理</span>
<span style="margin-left:10px">删除后该用户将无法登录,该账户上传的简历仍然保留。</span> <span style="margin-left:10px;color:Grey">删除后该用户将无法登录,该账户上传的简历仍然保留。</span>
</p> </p>
<p style="border-bottom:1px solid black;line-height:30px;margin-bottom:10px"> <p style="border-bottom:1px solid black;line-height:30px;margin-bottom:10px">
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
</p> </p>
<!-- <Table ref="selection" :columns="columns4" :data="data1"></Table> --> <!-- <Table ref="selection" :columns="columns4" :data="data1"></Table> -->
<div style="overflow-y: auto;height:480px;amrgin-bottom:40px"> <div style="overflow-y: auto;height:480px;amrgin-bottom:40px">
<!-- <Spin size="large" fix v-if="spinShow" style="font-size:25px">加载中...</Spin> -->
<div v-for='item in ajaxData' :key="item.id" style=""> <div v-for='item in ajaxData' :key="item.id" style="">
<div class="detailQQ"> <div class="detailQQ">
<input type='checkbox' name='checkboxinput' class='input-checkbox' v-model='checkboxList' :value="item.id" style="margin-left:25px" @click="delateArr(item.id)"> <input type='checkbox' name='checkboxinput' class='input-checkbox' v-model='checkboxList' :value="item.id" style="margin-left:25px" @click="delateArr(item.id)">
...@@ -116,6 +117,7 @@ export default { ...@@ -116,6 +117,7 @@ export default {
checked: false, checked: false,
userName:'', userName:'',
userCode:'', userCode:'',
spinShow:true,
delateARR:[], delateARR:[],
id:'', id:'',
I:'', I:'',
...@@ -171,7 +173,6 @@ export default { ...@@ -171,7 +173,6 @@ export default {
this.delateARR.push(item.id) this.delateARR.push(item.id)
}); });
} }
console.log(11111111,this.delateARR,this.checkboxList)
}, },
//添加账户 //添加账户
addacount(){ addacount(){
...@@ -209,6 +210,7 @@ export default { ...@@ -209,6 +210,7 @@ export default {
} }
queryaccountList(parmars).then(res=>{ queryaccountList(parmars).then(res=>{
if(res.data.success==true){ if(res.data.success==true){
this.spinShow=false
this.totalSize=res.data.body.totalNumber this.totalSize=res.data.body.totalNumber
this.ajaxData=res.data.body.items.map((item,index)=>{ this.ajaxData=res.data.body.items.map((item,index)=>{
item.id=item.id item.id=item.id
...@@ -306,7 +308,7 @@ export default { ...@@ -306,7 +308,7 @@ export default {
<style> <style>
.pageBottom{ .pageBottom{
height: 40px; height: 40px;
width: 81.4%; width: 84.4%;
background:#EDEDED; background:#EDEDED;
position: fixed; position: fixed;
bottom: 0; bottom: 0;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div class="addEmail"> <div class="addEmail">
<p style="margin-top:10px"> <p style="margin-top:10px">
<span style="font-size:18px;color:#2d8cf0;margin-left:18px">新增接受邮箱</span> <span style="font-size:18px;color:#2d8cf0;margin-left:18px">新增接受邮箱</span>
<span style="margin-left:10px">绑定邮箱以接收简历</span> <span style="margin-left:10px;color:Grey">绑定邮箱以接收简历</span>
</p> </p>
<Form :label-width="100" :model="formInline" :rules="ruleInline"> <Form :label-width="100" :model="formInline" :rules="ruleInline">
<FormItem label="邮箱账号" style="margin-top:20px" prop="emailNumber"> <FormItem label="邮箱账号" style="margin-top:20px" prop="emailNumber">
...@@ -26,13 +26,15 @@ ...@@ -26,13 +26,15 @@
<div class="Emailmange"> <div class="Emailmange">
<p style="height:40px;line-height:40px"> <p style="height:40px;line-height:40px">
<span style="font-size:18px;color:#2d8cf0;margin-left:18px">邮箱管理</span> <span style="font-size:18px;color:#2d8cf0;margin-left:18px">邮箱管理</span>
<span style="margin-left:10px">解绑后不在接受该邮箱下的简历,之前接受的简历仍然保留。</span> <span style="margin-left:10px;color:Grey">解绑后不再接受该邮箱下的简历,之前接收的简历仍然保留。</span>
</p> </p>
<p style="border-bottom:1px solid black;line-height:30px"> <p style="border-bottom:1px solid black;line-height:30px" >
<input type='checkbox' class='input-checkbox' v-model='checked' v-on:click='checkedAll' style="margin-left:25px"><span style="margin-left:15px">全选</span> <input type='checkbox' class='input-checkbox' v-model='checked' v-on:click='checkedAll' style="margin-left:25px" v-show="idAdmin==true">
<span style="margin-left:40px;color:#2d8cf0" @click="UntyingAll">解绑</span> <span style="margin-left:15px" v-show="idAdmin==true">全选</span>
<span style="margin-left:40px;color:#2d8cf0" @click="UntyingAll" v-show="idAdmin==true">解绑</span>
</p> </p>
<Spin size="large" fix v-if="spinShow" style="font-size:25px" v-show="idAdmin==true">加载中...</Spin>
<div v-for='item in ajaxData' :key="item.id" class="emailList"> <div v-for='item in ajaxData' :key="item.id" class="emailList">
<input type='checkbox' name='checkboxinput' class='input-checkbox' v-model='checkboxList' :value="item.id" style="margin-left:25px;margin-top:20px" @click="selectUntyingEle(item.id)"/> <input type='checkbox' name='checkboxinput' class='input-checkbox' v-model='checkboxList' :value="item.id" style="margin-left:25px;margin-top:20px" @click="selectUntyingEle(item.id)"/>
<span style="margin-left:5px" >{{item.belongs}}</span> <span style="margin-left:5px" >{{item.belongs}}</span>
...@@ -47,7 +49,7 @@ ...@@ -47,7 +49,7 @@
<span style="margin-left:150px" v-if="item.c=='正常'" >{{item.syncMailMsg}}</span> <span style="margin-left:150px" v-if="item.c=='正常'" >{{item.syncMailMsg}}</span>
<span style="margin-left:150px;color:red" v-if="item.c=='系统'" >{{item.syncMailMsg}}</span> <span style="margin-left:150px;color:red" v-if="item.c=='系统'" >{{item.syncMailMsg}}</span>
</div> </div>
<div class="pageBottom"> <div class="pageBottom" v-show="idAdmin==true">
<Page :total="totalSize" show-elevator show-total @on-change="pageChange" @on-page-size-change="pageSizeChange" :current='pageIndex' :page-size='pageSize' style="text-align:center;margin-top:8px"></Page> <Page :total="totalSize" show-elevator show-total @on-change="pageChange" @on-page-size-change="pageSizeChange" :current='pageIndex' :page-size='pageSize' style="text-align:center;margin-top:8px"></Page>
</div> </div>
</div> </div>
...@@ -134,6 +136,9 @@ export default { ...@@ -134,6 +136,9 @@ export default {
modal3:false, modal3:false,
modal4:false, modal4:false,
modal5:false, modal5:false,
condition:'',
spinShow:true,
idAdmin:'',
NAme:"", NAme:"",
DATA:"", DATA:"",
Tname:'', Tname:'',
...@@ -244,6 +249,7 @@ export default { ...@@ -244,6 +249,7 @@ export default {
} }
queryemailList(parmars).then(res=>{ queryemailList(parmars).then(res=>{
if(res.data.success==true){ if(res.data.success==true){
this.spinShow=false
this.totalSize=res.data.body.totalNumber this.totalSize=res.data.body.totalNumber
this.ajaxData=res.data.body.items.map((item,index)=>{ this.ajaxData=res.data.body.items.map((item,index)=>{
item.syncStartDate=item.syncStartDate item.syncStartDate=item.syncStartDate
...@@ -347,6 +353,8 @@ export default { ...@@ -347,6 +353,8 @@ export default {
}, },
mounted(){ mounted(){
let condition=localStorage.getItem('isADMIN')
this.idAdmin=condition
this.SearchList() this.SearchList()
} }
......
...@@ -74,12 +74,12 @@ ...@@ -74,12 +74,12 @@
</div> </div>
<div class="leftcontrentFotter"> <div class="leftcontrentFotter">
<h5 style="width:100%;height:40px;background:rgb(0,176,160);text-align:center;line-height:40px;color:white">上传记录</h5> <h5 style="width:100%;height:40px;background:rgb(0,176,160);text-align:center;line-height:40px;color:white;font-size:20px">上传记录</h5>
<div style="width:100%;background:rgb(0,176,160); opacity: 0.7;height:462px;overflow-y:auto;"> <div style="width:100%;background:rgb(0,176,160); opacity: 0.7;height:462px;overflow-y:auto;">
<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">
<p @click="getResumeData(item.resumeId)" style="margin-top:5px"> <p @click="getResumeData(item.resumeId)" style="margin-top:10px">
<span style="color:#000000;margin:5px 0 0 10px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;">{{item.name}} |</span> <span style="color:#000000;margin:10px 0 0 10px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;">{{item.name}} |</span>
<span style="color:#000000;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;">{{item.mobile}} |</span> <span style="color:#000000;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;">{{item.mobile}} |</span>
<span style="color:#000000;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;">{{item.age}}岁|</span> <span style="color:#000000;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;">{{item.age}}岁|</span>
<span style="color:#000000;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;">{{item.gender}} |</span> <span style="color:#000000;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;">{{item.gender}} |</span>
...@@ -87,11 +87,11 @@ ...@@ -87,11 +87,11 @@
<span style="color:#000000;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;">{{item.degree}} |</span> <span style="color:#000000;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;">{{item.degree}} |</span>
<span style="color:#000000;width:28%;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;">{{item.expectedTitle}}</span> <span style="color:#000000;width:28%;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;">{{item.expectedTitle}}</span>
</p> </p>
<p style="margin-top:0px"> <p style="margin-top:0px;color:Grey">
<span style="color:#000000;margin:5px 0 0 10px;display:inline-block">{{item.createTime}}入库|</span> <span style="color:Grey;margin:5px 0 0 10px;display:inline-block">{{item.createTime}}入库|</span>
<span>{{item.creator}}</span> <span>{{item.creator}}</span>
</p> </p>
<Button type="primary" size="small" style="margin:-60px 0 0 85%" @click="delateONE(item.resumeId)">删除</Button> <Button type='primary' style="margin:-60px 0 0 80%;width:80px" @click="delateONE(item.resumeId)">删除</Button>
</div> </div>
</div> </div>
</div> </div>
...@@ -491,7 +491,7 @@ import ajax from '../../service/ajax' ...@@ -491,7 +491,7 @@ import ajax from '../../service/ajax'
} }
.contentMASSAGE{ .contentMASSAGE{
width:90%; width:90%;
height:50px; height:70px;
margin-top: 3%; margin-top: 3%;
margin-left: 5%; margin-left: 5%;
background: white; background: white;
......
...@@ -26,6 +26,7 @@ instance.interceptors.response.use(function (response) { ...@@ -26,6 +26,7 @@ instance.interceptors.response.use(function (response) {
if(response.status >= 200 && response.status < 300){ if(response.status >= 200 && response.status < 300){
if (response.data.body.code == '900'){ if (response.data.body.code == '900'){
this.$Message.error('您的账号已在其他地方登录,如不是您个人操作,请及时修改密码')
window.location.href = `${window.location.origin}/login` window.location.href = `${window.location.origin}/login`
} }
if(response.data.success){ if(response.data.success){
...@@ -34,16 +35,16 @@ instance.interceptors.response.use(function (response) { ...@@ -34,16 +35,16 @@ instance.interceptors.response.use(function (response) {
else { else {
if (response.data.body.message){ if (response.data.body.message){
Notice.error({desc:`${response.data.body.message}`}) // Notice.error({desc:`${response.data.body.message}`})
} }
return Promise.resolve(response); return Promise.resolve(response);
} }
} else { } else {
return Promise.resolve(response); // return Promise.resolve(response);
} }
return response; return response;
}, error => { }, error => {
Notice.error({desc:`${error.response.data.body.message}`}) // Notice.error({desc:`${error.response.data.body.message}`})
}); });
export default instance export default instance
// export default axios // export default axios
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment