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>
This diff is collapsed.
<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