Commit b3e356e9 authored by zhangderong's avatar zhangderong

合并代码

parent b5e7ab92
...@@ -28,4 +28,10 @@ export function getChannelMassage() { ...@@ -28,4 +28,10 @@ export function getChannelMassage() {
return axios.get(`${sapi}/api/resume/getSourceList`,{headers: { return axios.get(`${sapi}/api/resume/getSourceList`,{headers: {
'Content-Type':'application/json' 'Content-Type':'application/json'
}}) }})
}
// 判断是否为超级管理员
export function judeAdmin() {
return axios.get(`${sapi}/api/user/isAdmin`,{headers: {
'Content-Type':'application/json'
}})
} }
\ No newline at end of file
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
</Row> </Row>
</template> </template>
<script> <script>
import {getpersonMassage,loginOUT,adoptOneSeeResumeList,getChannelMassage} from '../api/home.server.js' import {getpersonMassage,loginOUT,adoptOneSeeResumeList,getChannelMassage,judeAdmin} from '../api/home.server.js'
import localstorage from '../service/localstorage.service.js' import localstorage from '../service/localstorage.service.js'
export default{ export default{
data() { data() {
...@@ -136,17 +136,25 @@ import localstorage from '../service/localstorage.service.js' ...@@ -136,17 +136,25 @@ import localstorage from '../service/localstorage.service.js'
// 普通用户权限 // 普通用户权限
getMenu(){ getMenu(){
let condition=localstorage.get('isADMIN') let condition=localstorage.get('isADMIN')
this.isadmin=condition let c=JSON.parse(condition)
if(condition == 'false'){ this.isadmin=c.isAdmin
if(this.isadmin == false){
this.menuList[3].child.splice(0,1) this.menuList[3].child.splice(0,1)
} }
// this.selectMenu(this.name) },
} // 判断是否为超级管理员
// judgeadmin(){
// judeAdmin().then(res=>{
// this.isadmin=res.data.body
// // console.log(this.isadmin)
// })
// }
}, },
mounted() { mounted() {
this.getmassage() this.getmassage()
this.getMenu() this.getMenu()
this.getActiveName() this.getActiveName()
// this.judgeadmin()
} }
} }
</script> </script>
......
...@@ -12,10 +12,10 @@ ...@@ -12,10 +12,10 @@
<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">
<span style="margin-left:10px;overflow: hidden;text-overflow:ellipsis;white-space: nowrap;display:inline-block;" @click="Seedetail(item.id)">{{item.ownerName}} |</span> <span style="margin-left:10px;overflow: hidden;text-overflow:ellipsis;white-space: nowrap;display:inline-block;cursor:pointer" @click="Seedetail(item.id)">{{item.ownerName}} |</span>
<span @click="Seedetail(item.id)" style="overflow: hidden;text-overflow:ellipsis;white-space: nowrap;display:inline-block;">{{item.ownerMobile}} |</span> <span @click="Seedetail(item.id)" style="overflow: hidden;text-overflow:ellipsis;white-space: nowrap;display:inline-block;cursor:pointer">{{item.ownerMobile}} |</span>
<span @click="Seedetail(item.id)" style="overflow: hidden;text-overflow:ellipsis;white-space: nowrap;display:inline-block;width:20%">{{item.ownerExpectTitles}}</span> <span @click="Seedetail(item.id)" style="overflow: hidden;text-overflow:ellipsis;white-space: nowrap;display:inline-block;width:20%;cursor:pointer">{{item.ownerExpectTitles}}</span>
<span style="color:#2d8cf0;float:right;margin-right:35px" @click="updateInterview(item.id,item.interviewerName,item.seeTime,item.inviterName)">更改约面信息</span> <span style="color:#2d8cf0;float:right;margin-right:35px;cursor:pointer" @click="updateInterview(item.id,item.interviewerName,item.seeTime,item.inviterName)">更改约面信息</span>
</p> </p>
<p style="margin-top:8px"> <p style="margin-top:8px">
<span style="margin-left:10px;display:inline-block;width:22%;">邀约人: {{item.inviterName}} </span> <span style="margin-left:10px;display:inline-block;width:22%;">邀约人: {{item.inviterName}} </span>
...@@ -26,18 +26,18 @@ ...@@ -26,18 +26,18 @@
<div class="contentState"> <div class="contentState">
<p style="margin-top:8px"> <p style="margin-top:8px">
<span style="margin-left:20px" @click="modal4=true">当前状态</span> <span style="margin-left:20px" @click="modal4=true">当前状态</span>
<span style="float:right;margin:0 20px 0 0px;color:#2d8cf0" @click="Stopinterview(item.id)" v-if="item.flowStatus=='OPTION'">终止面试</span> <span style="float:right;margin:0 20px 0 0px;color:#2d8cf0;cursor:pointer" @click="Stopinterview(item.id)" v-if="item.flowStatus=='OPTION'">终止面试</span>
<span style="float:right;margin:0 20px 0 0px;color:#2d8cf0" @click="Stopinterview(item.id)" v-if="item.flowStatus=='TO_SEE'">终止面试</span> <span style="float:right;margin:0 20px 0 0px;color:#2d8cf0;cursor:pointer" @click="Stopinterview(item.id)" v-if="item.flowStatus=='TO_SEE'">终止面试</span>
<span style="float:right;margin:0 20px 0 0px;color:#2d8cf0" @click="Stopinterview(item.id)" v-if="item.flowStatus=='HAS_SEE'">终止面试</span> <span style="float:right;margin:0 20px 0 0px;color:#2d8cf0;cursor:pointer" @click="Stopinterview(item.id)" v-if="item.flowStatus=='HAS_SEE'">终止面试</span>
<span style="float:right;margin:0 20px 0 0px;color:#2d8cf0" @click="Stopinterview(item.id)" v-if="item.flowStatus=='SEE_FAIL'">终止面试</span> <span style="float:right;margin:0 20px 0 0px;color:#2d8cf0;cursor:pointer" @click="Stopinterview(item.id)" v-if="item.flowStatus=='SEE_FAIL'">终止面试</span>
<span style="float:right;margin:0 20px 0 0px;color:#2d8cf0" @click="Stopinterview(item.id)" v-if="item.flowStatus=='INTERVIEW_FAIL'">终止面试</span> <span style="float:right;margin:0 20px 0 0px;color:#2d8cf0;cursor:pointer" @click="Stopinterview(item.id)" v-if="item.flowStatus=='INTERVIEW_FAIL'">终止面试</span>
<span style="float:right;margin:0 20px 0 0px;color:#2d8cf0" @click="Stopinterview(item.id)" v-if="item.flowStatus=='TO_SENT_OFFER'">终止面试</span> <span style="float:right;margin:0 20px 0 0px;color:#2d8cf0;cursor:pointer" @click="Stopinterview(item.id)" v-if="item.flowStatus=='TO_SENT_OFFER'">终止面试</span>
<span style="float:right;margin:0 20px 0 0px;color:#2d8cf0" @click="Stopinterview(item.id)" v-if="item.flowStatus=='TO_ENTRY'">终止面试</span> <span style="float:right;margin:0 20px 0 0px;color:#2d8cf0;cursor:pointer" @click="Stopinterview(item.id)" v-if="item.flowStatus=='TO_ENTRY'">终止面试</span>
<span style="float:right;margin:0 20px 0 0px;color:#2d8cf0" @click="Stopinterview(item.id)" v-if="item.flowStatus=='HAS_ENTRY'">终止面试</span> <span style="float:right;margin:0 20px 0 0px;color:#2d8cf0;cursor:pointer" @click="Stopinterview(item.id)" v-if="item.flowStatus=='HAS_ENTRY'">终止面试</span>
<span style="float:right;margin:0 20px 0 0px;color:#2d8cf0" @click="Stopinterview(item.id)" v-if="item.flowStatus=='NO_ENTRY'">终止面试</span> <span style="float:right;margin:0 20px 0 0px;color:#2d8cf0;cursor:pointer" @click="Stopinterview(item.id)" v-if="item.flowStatus=='NO_ENTRY'">终止面试</span>
<span style="float:right;margin:0 20px 0 0px;color:#2d8cf0" @click="Stopinterview(item.id)" v-if="item.flowStatus=='PASS'">终止面试</span> <span style="float:right;margin:0 20px 0 0px;color:#2d8cf0;cursor:pointer" @click="Stopinterview(item.id)" v-if="item.flowStatus=='PASS'">终止面试</span>
<span style="float:right;margin:0 20px 0 0px;color:#2d8cf0" @click="Stopinterview(item.id)" v-if="item.flowStatus=='HAS_SENT_OFFER'">终止面试</span> <span style="float:right;margin:0 20px 0 0px;color:#2d8cf0;cursor:pointer" @click="Stopinterview(item.id)" v-if="item.flowStatus=='HAS_SENT_OFFER'">终止面试</span>
<span style="float:right;margin:0 20px 0 10px;color:#2d8cf0" @click="OPPeninterview(item.id)" v-if="item.flowStatus=='END'">重启面试</span> <span style="float:right;margin:0 20px 0 10px;color:#2d8cf0;cursor:pointer" @click="OPPeninterview(item.id)" v-if="item.flowStatus=='END'">重启面试</span>
</p> </p>
<p class="nowstatus" style="margin-top:8px"> <p class="nowstatus" style="margin-top:8px">
<span style="margin:0 20px 0 20px" v-if="item.flowStatus=='OPTION'">备选</span> <span style="margin:0 20px 0 20px" v-if="item.flowStatus=='OPTION'">备选</span>
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
<!-- <Select style="width:40%;float:right;color:#1E90FF" placeholder="变更状态" :label-in-value='true' @on-change="selectchangeElement($event,item.id)" size="small"> <!-- <Select style="width:40%;float:right;color:#1E90FF" placeholder="变更状态" :label-in-value='true' @on-change="selectchangeElement($event,item.id)" size="small">
<Option v-for="(item,index) in nowstate" :key="index" :value="index" >{{item.label}}</Option> <Option v-for="(item,index) in nowstate" :key="index" :value="index" >{{item.label}}</Option>
</Select> --> </Select> -->
<select style="border:0;margin-right:10px;float:right" @change="selectchangeElement($event,item.id)"> <select style="border:0;margin-right:10px;float:right;cursor:pointer" @change="selectchangeElement($event,item.id)">
<option value="0" style="color:#2d8cf0">变更状态 ∨</option> <option value="0" style="color:#2d8cf0">变更状态 ∨</option>
<option value="2" style="color:#2d8cf0">已邀约 </option> <option value="2" style="color:#2d8cf0">已邀约 </option>
<option value="3" style="color:#2d8cf0">邀约失败</option> <option value="3" style="color:#2d8cf0">邀约失败</option>
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
</p> </p>
</div> </div>
<div class="contentRecord" style="text-align:center"> <div class="contentRecord" style="text-align:center">
<p style="margin-top:3px"><span style="color:#2d8cf0;" @click="RecordSEE(item.id,item.ownerName)">操作记录</span></p> <p style="margin-top:3px"><span style="color:#2d8cf0;cursor:pointer" @click="RecordSEE(item.id,item.ownerName)">操作记录</span></p>
<p style="font-size:12px">最后操作人|<span style="margin-left:8px;text-align:center">{{item.d}}</span></p> <p style="font-size:12px">最后操作人|<span style="margin-left:8px;text-align:center">{{item.d}}</span></p>
<p>{{item.modifyTime}}</p> <p>{{item.modifyTime}}</p>
</div> </div>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div class="login"> <div class="login">
<div class="login-content"> <div class="login-content">
<div class="loginContent-left"> <div class="loginContent-left">
<img src="https://o7oe0d6qz.qnssl.com/image/login.jpg"> <img src="https://o7oe0d6qz.qnssl.com/image/login.jpg" class="logimg">
</div> </div>
<div class="loginContent-right"> <div class="loginContent-right">
<div class="logo"> <div class="logo">
...@@ -82,7 +82,7 @@ export default { ...@@ -82,7 +82,7 @@ export default {
} }
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:'updatepsd',params:{userCode:this.formInline.user}})
} }
if(res.data.success==true){ if(res.data.success==true){
this.ISIDMIN=res.data.body this.ISIDMIN=res.data.body
...@@ -110,28 +110,27 @@ export default { ...@@ -110,28 +110,27 @@ export default {
height:100%; height:100%;
} }
.login-content{ .login-content{
width: 65%; width: 100%;
height:760px; max-height:858px;
margin:2.5% auto overflow: hidden;
} }
.loginContent-left { .loginContent-left {
float: left; float: left;
width: 60%; width: 68%;
height: 760px; height:858px;
} }
.loginBtu{ .loginBtu{
width:90%; width:90%;
} }
.loginContent-right{ .loginContent-right{
float: left; float: left;
width: 40%; width: 32%;
height: 760px; height:858px;
border: 1px solid rgba(241,241,241,1) border: 1px solid rgba(241,241,241,1)
} }
.loginContent-left img{ .logimg{
width: 100%; width: 100%;
height: 100%; max-height:858px
} }
.logo{ .logo{
width:100%; width:100%;
......
...@@ -134,6 +134,7 @@ export default { ...@@ -134,6 +134,7 @@ export default {
} }
updatePsd(params).then(res=>{ updatePsd(params).then(res=>{
if(res.data.success==true){ if(res.data.success==true){
console.log(1234444)
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.replace({name:'allResume'}) this.$router.replace({name:'allResume'})
......
...@@ -56,12 +56,12 @@ ...@@ -56,12 +56,12 @@
<span style="display:inline-block;height:100%;font-size: 12px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;margin-top:5px"> <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;cursor:pointer"> <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;cursor:pointer">
</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;cursor:pointer" @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;cursor:pointer" @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;cursor:pointer" @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.ownerSex}} <span v-show="item.ownerWorkYears !==''">|</span> </span> <span style="display:inline-block;height:100%;font-size: 12px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;cursor:pointer" @click="Seedetail(item.id)"> {{item.ownerSex}} <span v-show="item.ownerWorkYears !==''">|</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.ownerWorkYears}}<span v-show="item.ownerExpectTitles !==''">|</span></span> <span style="display:inline-block;height:100%;font-size: 12px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;cursor:pointer" @click="Seedetail(item.id)"> {{item.ownerWorkYears}}<span v-show="item.ownerExpectTitles !==''">|</span></span>
<span style="display:inline-block;height:100%;margin-top:5px;font-size:12px;width:15%;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;" @click="Seedetail(item.id)"> {{item.ownerExpectTitles}}</span> <span style="display:inline-block;height:100%;margin-top:5px;font-size:12px;width:15%;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;cursor:pointer" @click="Seedetail(item.id)"> {{item.ownerExpectTitles}}</span>
<span style="display:inline-block;height:100%;font-size: 12px;width:25%;float:right;text-align:right;margin-right:10px;margin-top:5px"> <span style="display:inline-block;height:100%;font-size: 12px;width:25%;float:right;text-align:right;margin-right:10px;margin-top:5px">
<span style="margin-right:20px;margin-top:5px" v-if="item.flowStatus=='INTERVIEW_OK'"><Icon type="ios-radio-button-on" style="color:#43CD80" /><span style="margin-left:10px">面试合适</span></span> <span style="margin-right:20px;margin-top:5px" v-if="item.flowStatus=='INTERVIEW_OK'"><Icon type="ios-radio-button-on" style="color:#43CD80" /><span style="margin-left:10px">面试合适</span></span>
<span style="margin-right:20px;margin-top:5px" v-else-if="item.flowStatus=='INTERVIEW_FAIL'"><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=='INTERVIEW_FAIL'"><Icon type="ios-radio-button-on" style="color:red" /><span style="margin-left:10px" >面试淘汰</span></span>
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
<span style="margin-right:20px;margin-top:5px" v-else-if="item.flowStatus=='SEE_FAIL'"><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=='SEE_FAIL'"><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: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 style="cursor:pointer" >
<select name="3" id="3" @change="selectFn2($event,item.id,item.flowStatus)"> <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>
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
</span> </span>
<span style="margin-right:20px;margin-top:5px" v-else-if="item.flowStatus=='HAS_SEE'"><Icon type="ios-radio-button-on" style="color:#43CD80" /><span style="margin-left:10px;" >已邀约</span></span> <span style="margin-right:20px;margin-top:5px" v-else-if="item.flowStatus=='HAS_SEE'"><Icon type="ios-radio-button-on" style="color:#43CD80" /><span style="margin-left:10px;" >已邀约</span></span>
<span style="margin-right:10px;margin-top:5px" v-else-if="item.flowStatus=='OPTION'"> <span style="margin-right:10px;margin-top:5px" v-else-if="item.flowStatus=='OPTION'">
<span > <span style="cursor:pointer">
<select name="4" id="4" @change="selectFn3($event,item.id,item.flowStatus)"> <select name="4" id="4" @change="selectFn3($event,item.id,item.flowStatus)">
<option value="1">备选</option> <option value="1">备选</option>
<option value="2">邀请面试</option> <option value="2">邀请面试</option>
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
<span style="margin-right:20px;margin-top:5px" v-else-if="item.flowStatus=='TO_ENTRY'"><Icon type="ios-radio-button-on" style="color:#43CD80" /><span style="margin-left:10px" >待入职</span></span> <span style="margin-right:20px;margin-top:5px" v-else-if="item.flowStatus=='TO_ENTRY'"><Icon type="ios-radio-button-on" style="color:#43CD80" /><span style="margin-left:10px" >待入职</span></span>
<span style="margin-right:20px;margin-top:5px" v-else-if="item.flowStatus=='HAS_ENTRY'"><Icon type="ios-radio-button-on" style="color:#43CD80" /><span style="margin-left:10px">已入职</span></span> <span style="margin-right:20px;margin-top:5px" v-else-if="item.flowStatus=='HAS_ENTRY'"><Icon type="ios-radio-button-on" style="color:#43CD80" /><span style="margin-left:10px">已入职</span></span>
<span style="margin-right:10px;margin-top:5px" v-else-if="item.flowStatus=='PASS'"> <span style="margin-right:10px;margin-top:5px" v-else-if="item.flowStatus=='PASS'">
<span > <span style="cursor:pointer" >
<select name="2" id="2" @change="selectFn4($event,item.id,item.flowStatus)"> <select name="2" id="2" @change="selectFn4($event,item.id,item.flowStatus)">
<option value="1">PASS</option> <option value="1">PASS</option>
<option value="2">邀请面试</option> <option value="2">邀请面试</option>
...@@ -104,32 +104,32 @@ ...@@ -104,32 +104,32 @@
</select> </select>
</span> </span>
</span> </span>
<select name="1" id="a" @change="selectFn1($event,item.id,item.flowStatus)" v-else-if="item.flowStatus=='TO_DO'" style="margin-right:10px"> <select name="1" id="a" @change="selectFn1($event,item.id,item.flowStatus)" v-else-if="item.flowStatus=='TO_DO'" style="margin-right:10px;cursor:pointer">
<option value="1">待处理</option> <option value="1">待处理</option>
<option value="2">pass</option> <option value="2">pass</option>
<option value="3">邀请面试</option> <option value="3">邀请面试</option>
<option value="4">备选</option> <option value="4">备选</option>
</select> </select>
<span><Icon type="md-download" @click="downloadONE(item.id)" style="font-size:15px"/></span> <span><Icon type="md-download" @click="downloadONE(item.id)" style="font-size:15px;cursor:pointer"/></span>
<span ><Icon type="md-trash" v-if="item.flowStatus=='TO_SEE'" @click="undelate" style="color:#b5b5b5;font-size:15px"/></span> <span ><Icon type="md-trash" v-if="item.flowStatus=='TO_SEE'" @click="undelate" style="color:#b5b5b5;font-size:15px;cursor:pointer"/></span>
<span ><Icon type="md-trash" v-if="item.flowStatus=='HAS_SEE'" @click="undelate" style="color:#b5b5b5;font-size:15px"/></span> <span ><Icon type="md-trash" v-if="item.flowStatus=='HAS_SEE'" @click="undelate" style="color:#b5b5b5;font-size:15px;cursor:pointer"/></span>
<span ><Icon type="md-trash" v-if="item.flowStatus=='SEE_FAIL'" @click="undelate" style="color:#b5b5b5;font-size:15px"/></span> <span ><Icon type="md-trash" v-if="item.flowStatus=='SEE_FAIL'" @click="undelate" style="color:#b5b5b5;font-size:15px;cursor:pointer"/></span>
<span ><Icon type="md-trash" v-if="item.flowStatus=='INTERVIEW_FAIL'" @click="undelate" style="color:#b5b5b5;font-size:15px"/></span> <span ><Icon type="md-trash" v-if="item.flowStatus=='INTERVIEW_FAIL'" @click="undelate" style="color:#b5b5b5;font-size:15px;cursor:pointer"/></span>
<span ><Icon type="md-trash" v-if="item.flowStatus=='TO_SENT_OFFER'" @click="undelate" style="color:#b5b5b5;font-size:15px"/></span> <span ><Icon type="md-trash" v-if="item.flowStatus=='TO_SENT_OFFER'" @click="undelate" style="color:#b5b5b5;font-size:15px;cursor:pointer"/></span>
<span ><Icon type="md-trash" v-if="item.flowStatus=='TO_ENTRY'" @click="undelate" style="color:#b5b5b5;font-size:15px"/></span> <span ><Icon type="md-trash" v-if="item.flowStatus=='TO_ENTRY'" @click="undelate" style="color:#b5b5b5;font-size:15px;cursor:pointer"/></span>
<span ><Icon type="md-trash" v-if="item.flowStatus=='HAS_ENTRY'" @click="undelate" style="color:#b5b5b5;font-size:15px"/></span> <span ><Icon type="md-trash" v-if="item.flowStatus=='HAS_ENTRY'" @click="undelate" style="color:#b5b5b5;font-size:15px;cursor:pointer"/></span>
<span ><Icon type="md-trash" v-if="item.flowStatus=='NO_ENTRY'" @click="undelate" style="color:#b5b5b5;font-size:15px"/></span> <span ><Icon type="md-trash" v-if="item.flowStatus=='NO_ENTRY'" @click="undelate" style="color:#b5b5b5;font-size:15px;cursor:pointer"/></span>
<span ><Icon type="md-trash" v-if="item.flowStatus=='END'" @click="undelate" style="color:#b5b5b5;font-size:15px"/></span> <span ><Icon type="md-trash" v-if="item.flowStatus=='END'" @click="undelate" style="color:#b5b5b5;font-size:15px;cursor:pointer"/></span>
<span ><Icon type="md-trash" v-if="item.flowStatus=='HAS_SENT_OFFER'" @click="undelate" style="color:#b5b5b5;font-size:15px"/></span> <span ><Icon type="md-trash" v-if="item.flowStatus=='HAS_SENT_OFFER'" @click="undelate" style="color:#b5b5b5;font-size:15px;cursor:pointer"/></span>
<span ><Icon type="md-trash" v-if="item.flowStatus=='PASS'" @click="delateR(item.id)" style="font-size:15px"/></span> <span ><Icon type="md-trash" v-if="item.flowStatus=='PASS'" @click="delateR(item.id)" style="font-size:15px;cursor:pointer"/></span>
<span ><Icon type="md-trash" v-if="item.flowStatus=='OPTION'" @click="delateR(item.id)" style="font-size:15px"/></span> <span ><Icon type="md-trash" v-if="item.flowStatus=='OPTION'" @click="delateR(item.id)" style="font-size:15px;cursor:pointer"/></span>
<span ><Icon type="md-trash" v-if="item.flowStatus=='TO_DO'" @click="delateR(item.id)" style="font-size:15px"/></span> <span ><Icon type="md-trash" v-if="item.flowStatus=='TO_DO'" @click="delateR(item.id)" style="font-size:15px;cursor:pointer"/></span>
<span @click="RecordSEE(item.id,item.ownerName)" style="color:#0092FF">记录</span> <span @click="RecordSEE(item.id,item.ownerName)" style="color:#0092FF;cursor:pointer">记录</span>
</span> </span>
</p> </p>
<p style="margin-top:5px"> <p style="margin-top:5px">
<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: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">
...@@ -384,7 +384,11 @@ import Router from 'vue-router'; ...@@ -384,7 +384,11 @@ import Router from 'vue-router';
handler: function (val, oldVal) { handler: function (val, oldVal) {
if (this.checkboxList.length === this.ajaxData.length) { if (this.checkboxList.length === this.ajaxData.length) {
this.checked=true; this.checked=true;
} else { }
if(this.ajaxData.length==0){
this.checked=false
}
else {
this.checked=false; this.checked=false;
} }
}, },
...@@ -1064,7 +1068,6 @@ import Router from 'vue-router'; ...@@ -1064,7 +1068,6 @@ import Router from 'vue-router';
} }
.Resumecontent{ .Resumecontent{
width: 100%; width: 100%;
cursor:pointer
} }
.massage{ .massage{
height:20px; height:20px;
......
...@@ -55,12 +55,12 @@ ...@@ -55,12 +55,12 @@
<p class="massage" style="margin-top:10px"> <p class="massage" style="margin-top:10px">
<span style="display:inline-block;height:100%;font-size: 12px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;margin-top:5px"> <span style="display:inline-block;height:100%;font-size: 12px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;margin-top:5px">
<input type='checkbox' name='checkboxinput' style="margin-left:10px;cursor:pointer" class='input-checkbox' v-model='checkboxList' :value="item.id" @click="selectInputElement(i,item.id,item.flowStatus,item.STATES)"></span> <input type='checkbox' name='checkboxinput' style="margin-left:10px;cursor:pointer" class='input-checkbox' v-model='checkboxList' :value="item.id" @click="selectInputElement(i,item.id,item.flowStatus,item.STATES)"></span>
<span style="display:inline-block;height:100%;font-size: 12px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;" @click="Seedetail(item.id)">{{item.ownerName}} |</span> <span style="display:inline-block;height:100%;font-size: 12px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;cursor:pointer" @click="Seedetail(item.id)">{{item.ownerName}} |</span>
<span style="display:inline-block;height:100%;font-size: 12px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;" @click="Seedetail(item.id)"> {{item.ownerMobile}} |</span> <span style="display:inline-block;height:100%;font-size: 12px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;cursor:pointer" @click="Seedetail(item.id)"> {{item.ownerMobile}} |</span>
<span style="display:inline-block;height:100%;font-size: 12px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;" @click="Seedetail(item.id)"> {{item.ownerAge}}岁 |</span> <span style="display:inline-block;height:100%;font-size: 12px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;cursor:pointer" @click="Seedetail(item.id)"> {{item.ownerAge}}岁 |</span>
<span style="display:inline-block;height:100%;font-size: 12px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;" @click="Seedetail(item.id)"> {{item.ownerSex}} |</span> <span style="display:inline-block;height:100%;font-size: 12px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;cursor:pointer" @click="Seedetail(item.id)"> {{item.ownerSex}} |</span>
<span style="display:inline-block;height:100%;font-size: 12px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;" @click="Seedetail(item.id)"> {{item.ownerWorkYears}}年 |</span> <span style="display:inline-block;height:100%;font-size: 12px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;cursor:pointer" @click="Seedetail(item.id)"> {{item.ownerWorkYears}}年 |</span>
<span style="display:inline-block;height:100%;font-size: 12px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;width:19%" @click="Seedetail(item.id)"> {{item.ownerExpectTitles}}</span> <span style="display:inline-block;height:100%;font-size: 12px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;width:19%;cursor:pointer" @click="Seedetail(item.id)"> {{item.ownerExpectTitles}}</span>
<span style="display:inline-block;height:100%;font-size: 12px;float:right;text-align:right;margin-right:10px"> <span style="display:inline-block;height:100%;font-size: 12px;float:right;text-align:right;margin-right:10px">
<span style="margin-right:30px;margin-top:5px" v-if="item.flowStatus=='INTERVIEW_OK'"><Icon type="ios-radio-button-on" style="color:#43CD80" /><span style="margin-left:10px">面试合适</span></span> <span style="margin-right:30px;margin-top:5px" v-if="item.flowStatus=='INTERVIEW_OK'"><Icon type="ios-radio-button-on" style="color:#43CD80" /><span style="margin-left:10px">面试合适</span></span>
<span style="margin-right:30px;margin-top:5px" v-else-if="item.flowStatus=='INTERVIEW_FAIL'"><Icon type="ios-radio-button-on" style="color:red" /><span style="margin-left:10px" >面试淘汰</span></span> <span style="margin-right:30px;margin-top:5px" v-else-if="item.flowStatus=='INTERVIEW_FAIL'"><Icon type="ios-radio-button-on" style="color:red" /><span style="margin-left:10px" >面试淘汰</span></span>
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
<span style="margin-right:30px;margin-top:5px" v-else-if="item.flowStatus=='SEE_FAIL'"><Icon type="ios-radio-button-on" style="color:red" /><span style="margin-left:10px" >约面失败</span></span> <span style="margin-right:30px;margin-top:5px" v-else-if="item.flowStatus=='SEE_FAIL'"><Icon type="ios-radio-button-on" style="color:red" /><span style="margin-left:10px" >约面失败</span></span>
<span style="margin-right:30px;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:30px;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:30px;margin-top:5px" v-else-if="item.flowStatus=='TO_SEE'"> <span style="margin-right:30px;margin-top:5px" v-else-if="item.flowStatus=='TO_SEE'">
<span style="text-align:center" > <span style="text-align:center;cursor:pointer" >
<select name="3" id="3" @change="selectFn2($event,item.id)" style="height:18px;text-align:center;margin-top:5px"> <select name="3" id="3" @change="selectFn2($event,item.id)" style="height:18px;text-align:center;margin-top:5px">
<option value="1">邀请面试</option> <option value="1">邀请面试</option>
<option value="2">备选</option> <option value="2">备选</option>
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
<span style="margin-right:30px;margin-top:5px" v-else-if="item.flowStatus=='HAS_SEE'"><Icon type="ios-radio-button-on" style="color:#43CD80" /><span style="margin-left:10px" >已邀约</span></span> <span style="margin-right:30px;margin-top:5px" v-else-if="item.flowStatus=='HAS_SEE'"><Icon type="ios-radio-button-on" style="color:#43CD80" /><span style="margin-left:10px" >已邀约</span></span>
<span style="margin-right:20px;margin-top:5px" v-else-if="item.flowStatus=='OPTION'"> <span style="margin-right:20px;margin-top:5px" v-else-if="item.flowStatus=='OPTION'">
<span> <span>
<select name="4" id="4" @change="selectFn3($event,item.id)" style="height:18px;text-align:center;margin-top:5px"> <select name="4" id="4" @change="selectFn3($event,item.id)" style="height:18px;text-align:center;margin-top:5px;cursor:pointer">
<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>
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
<span style="margin-right:20px;margin-top:5px" v-else-if="item.flowStatus=='HAS_ENTRY'"><Icon type="ios-radio-button-on" style="color:#43CD80" /><span style="margin-left:10px">已入职</span></span> <span style="margin-right:20px;margin-top:5px" v-else-if="item.flowStatus=='HAS_ENTRY'"><Icon type="ios-radio-button-on" style="color:#43CD80" /><span style="margin-left:10px">已入职</span></span>
<span style="margin-right:20px;margin-top:5px" v-else-if="item.flowStatus=='PASS'"> <span style="margin-right:20px;margin-top:5px" v-else-if="item.flowStatus=='PASS'">
<span > <span >
<select name="2" id="2" @change="selectFn4($event,item.id)" style="height:18px;text-align:center;margin-top:5px"> <select name="2" id="2" @change="selectFn4($event,item.id)" style="height:18px;text-align:center;margin-top:5px;cursor:pointer">
<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>
...@@ -103,34 +103,34 @@ ...@@ -103,34 +103,34 @@
</select> </select>
</span> </span>
</span> </span>
<select name="1" id="a" @change="selectFn1($event,item.id)" v-else-if="item.flowStatus=='TO_DO'" style="height:20px;margin-top:5px;margin-right:20px;text-align:center"> <select name="1" id="a" @change="selectFn1($event,item.id)" v-else-if="item.flowStatus=='TO_DO'" style="height:20px;margin-top:5px;margin-right:20px;text-align:center;cursor:pointer">
<option value="1">待处理</option> <option value="1">待处理</option>
<option value="2">pass</option> <option value="2">pass</option>
<option value="3">邀请面试</option> <option value="3">邀请面试</option>
<option value="4">备选</option> <option value="4">备选</option>
</select> </select>
<span><Icon type="md-download" @click="downloadONE(item.id)"/></span> <span><Icon type="md-download" @click="downloadONE(item.id)" style=";cursor:pointer"/></span>
<span ><Icon type="md-trash" v-if="item.flowStatus=='TO_SEE'" @click="undelate" style="color:#b5b5b5"/></span> <span ><Icon type="md-trash" v-if="item.flowStatus=='TO_SEE'" @click="undelate" style="color:#b5b5b5;cursor:pointer"/></span>
<span ><Icon type="md-trash" v-if="item.flowStatus=='HAS_SEE'" @click="undelate" style="color:#b5b5b5"/></span> <span ><Icon type="md-trash" v-if="item.flowStatus=='HAS_SEE'" @click="undelate" style="color:#b5b5b5;cursor:pointer"/></span>
<span ><Icon type="md-trash" v-if="item.flowStatus=='SEE_FAIL'" @click="undelate" style="color:#b5b5b5"/></span> <span ><Icon type="md-trash" v-if="item.flowStatus=='SEE_FAIL'" @click="undelate" style="color:#b5b5b5;cursor:pointer"/></span>
<span ><Icon type="md-trash" v-if="item.flowStatus=='INTERVIEW_FAIL'" @click="undelate" style="color:#b5b5b5"/></span> <span ><Icon type="md-trash" v-if="item.flowStatus=='INTERVIEW_FAIL'" @click="undelate" style="color:#b5b5b5;cursor:pointer"/></span>
<span ><Icon type="md-trash" v-if="item.flowStatus=='TO_SENT_OFFER'" @click="undelate" style="color:#b5b5b5"/></span> <span ><Icon type="md-trash" v-if="item.flowStatus=='TO_SENT_OFFER'" @click="undelate" style="color:#b5b5b5;cursor:pointer"/></span>
<span ><Icon type="md-trash" v-if="item.flowStatus=='TO_ENTRY'" @click="undelate" style="color:#b5b5b5"/></span> <span ><Icon type="md-trash" v-if="item.flowStatus=='TO_ENTRY'" @click="undelate" style="color:#b5b5b5;cursor:pointer"/></span>
<span ><Icon type="md-trash" v-if="item.flowStatus=='HAS_ENTRY'" @click="undelate" style="color:#b5b5b5"/></span> <span ><Icon type="md-trash" v-if="item.flowStatus=='HAS_ENTRY'" @click="undelate" style="color:#b5b5b5;cursor:pointer"/></span>
<span ><Icon type="md-trash" v-if="item.flowStatus=='NO_ENTRY'" @click="undelate" style="color:#b5b5b5"/></span> <span ><Icon type="md-trash" v-if="item.flowStatus=='NO_ENTRY'" @click="undelate" style="color:#b5b5b5;cursor:pointer"/></span>
<span ><Icon type="md-trash" v-if="item.flowStatus=='END'" @click="undelate" style="color:#b5b5b5"/></span> <span ><Icon type="md-trash" v-if="item.flowStatus=='END'" @click="undelate" style="color:#b5b5b5;cursor:pointer"/></span>
<span ><Icon type="md-trash" v-if="item.flowStatus=='HAS_SENT_OFFER'" @click="undelate" style="color:#b5b5b5"/></span> <span ><Icon type="md-trash" v-if="item.flowStatus=='HAS_SENT_OFFER'" @click="undelate" style="color:#b5b5b5;cursor:pointer"/></span>
<span ><Icon type="md-trash" v-if="item.flowStatus=='PASS'" @click="delateR(item.id)"/></span> <span ><Icon type="md-trash" v-if="item.flowStatus=='PASS'" @click="delateR(item.id)" style=";cursor:pointer"/></span>
<span ><Icon type="md-trash" v-if="item.flowStatus=='OPTION'" @click="delateR(item.id)"/></span> <span ><Icon type="md-trash" v-if="item.flowStatus=='OPTION'" @click="delateR(item.id)" style=";cursor:pointer"/></span>
<span ><Icon type="md-trash" v-if="item.flowStatus=='TO_DO'" @click="delateR(item.id)"/></span> <span ><Icon type="md-trash" v-if="item.flowStatus=='TO_DO'" @click="delateR(item.id)" style=";cursor:pointer"/></span>
<span @click="RecordSEE(item.id,item.ownerName)">记录</span> <span @click="RecordSEE(item.id,item.ownerName)" style=";cursor:pointer">记录</span>
</span> </span>
</p> </p>
<p style="margin-top:10px"> <p style="margin-top:10px">
<span style="display:inline-block;font-size: 12px;margin-left:25px;margin-top:10px" v-if="item.srcSite!==''">{{item.deliveryTime}}投递 |</span> <span style="display:inline-block;font-size: 12px;margin-left:25px;margin-top:10px" 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:25px" v-if="item.srcSite==''">{{item.deliveryTime}}上传 |</span>
<span style="display:inline-block;height:100%;font-size: 12px;margin-left:2px">{{item.optSource}} </span> <span style="display:inline-block;height:100%;font-size: 12px;margin-left:2px">{{item.optSource}} <span v-show="item.optSource!==''">|</span> </span>
<span style="display:inline-block;height:100%;font-size: 12px;margin-left:2px">{{item.srcSite}}</span> <span style="display:inline-block;height:100%;font-size: 12px">{{item.srcSite}} </span>
<span style="display:inline-block;height:100%;font-size: 12px;width:30%;float:right;text-align:right;margin-right:10px;margin-top:5px"> <span style="display:inline-block;height:100%;font-size: 12px;width:30%;float:right;text-align:right;margin-right:10px;margin-top:5px">
<span style="margin-left:15px;margin-top:5px">{{item.modifyTime}}</span> <span style="margin-left:15px;margin-top:5px">{{item.modifyTime}}</span>
<span>最后操作人:{{item.d}}</span> <span>最后操作人:{{item.d}}</span>
...@@ -366,7 +366,10 @@ export default { ...@@ -366,7 +366,10 @@ export default {
}, },
methods:{ methods:{
//查询列表 //查询列表
quxiaoxi(){ quxiaoxi(page){
page = typeof(page)=='number'?page:1
this.searchInfo.pageIndex = page
this.pageIndex = page
let parmars={ let parmars={
pageSize:this.searchInfo.pageSize, pageSize:this.searchInfo.pageSize,
pageIndex:this.searchInfo.pageIndex, pageIndex:this.searchInfo.pageIndex,
...@@ -658,12 +661,12 @@ export default { ...@@ -658,12 +661,12 @@ export default {
}, },
pageChange(page){ pageChange(page){
this.pageT=page this.pageT=page
this.SearchList(page) this.quxiaoxi(page)
}, },
pageSizeChange(page){ pageSizeChange(page){
this.searchInfo.pageSize=page this.searchInfo.pageSize=page
this.pageSize=page this.pageSize=page
this.SearchList() this.quxiaoxi()
}, },
// 跳转到面试管理 // 跳转到面试管理
tointerview(){ tointerview(){
...@@ -998,7 +1001,11 @@ export default { ...@@ -998,7 +1001,11 @@ export default {
handler: function (val, oldVal) { handler: function (val, oldVal) {
if (this.checkboxList.length === this.ajaxData.length) { if (this.checkboxList.length === this.ajaxData.length) {
this.checked=true; this.checked=true;
} else { }
if(this.ajaxData.length==0){
this.checked=false
}
else {
this.checked=false; this.checked=false;
} }
}, },
...@@ -1039,7 +1046,6 @@ export default { ...@@ -1039,7 +1046,6 @@ export default {
.Resumecontent{ .Resumecontent{
width: 100%; width: 100%;
margin-top:10px; margin-top:10px;
cursor:pointer
} }
.massage{ .massage{
height:25px; height:25px;
......
...@@ -140,9 +140,10 @@ export default { ...@@ -140,9 +140,10 @@ export default {
mobile:this.formInline.phoneNUmber, mobile:this.formInline.phoneNUmber,
takeResume:this.formInline.model2 takeResume:this.formInline.model2
} }
console.log(parmars)
submitMassage(parmars).then(res=>{ submitMassage(parmars).then(res=>{
console.log(9898787887)
if(res.data.success==true){ if(res.data.success==true){
console.log(9898787887)
this.modal4=true this.modal4=true
} }
}) })
......
...@@ -210,7 +210,14 @@ export default { ...@@ -210,7 +210,14 @@ export default {
this.formInline.PerName='' this.formInline.PerName=''
} }
if(res.data.body.code==0){ if(res.data.body.code==0){
this.$Notice.error({
title: '提示',
desc: '该账户已存在,请勿重复添加',
duration:2
});
this.formInline.PhoneNumber=''
this.formInline.PerName=''
return
} }
}) })
......
...@@ -30,9 +30,9 @@ ...@@ -30,9 +30,9 @@
</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" v-show="this.idAdmin=='true'"> <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:10px;cursor:pointer" v-show="this.idAdmin=='true'" >全选</span> <span style="margin-left:10px;cursor:pointer" v-show="idAdmin==true" >全选</span>
<span style="margin-left:40px;color:#2d8cf0" @click="UntyingAll" v-show="this.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> --> <!-- <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">
...@@ -137,6 +137,7 @@ export default { ...@@ -137,6 +137,7 @@ export default {
pageT:'', pageT:'',
spinShow:true, spinShow:true,
idAdmin:'', idAdmin:'',
admin:'',
NAme:"", NAme:"",
DATA:"", DATA:"",
Tname:'', Tname:'',
...@@ -251,8 +252,6 @@ export default { ...@@ -251,8 +252,6 @@ export default {
} }
queryemailList(parmars).then(res=>{ queryemailList(parmars).then(res=>{
if(res.data.success==true){ if(res.data.success==true){
let condition=localStorage.getItem('isADMIN')
this.idAdmin=condition
this.spinShow=false 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)=>{
...@@ -351,6 +350,11 @@ export default { ...@@ -351,6 +350,11 @@ export default {
pushlist(){ pushlist(){
this.modal2=false this.modal2=false
this.SearchList(this.pageT) this.SearchList(this.pageT)
},
isadminmethods(){
this.admin=localStorage.getItem('isADMIN')
let c=JSON.parse(this.admin)
this.idAdmin=c.isAdmin
} }
}, },
...@@ -368,6 +372,7 @@ export default { ...@@ -368,6 +372,7 @@ export default {
}, },
mounted(){ mounted(){
this.isadminmethods()
this.SearchList() this.SearchList()
} }
......
...@@ -70,9 +70,9 @@ export default function upload(option) { ...@@ -70,9 +70,9 @@ export default function upload(option) {
const headers = option.headers || {}; const headers = option.headers || {};
// if (headers['X-Requested-With'] !== null) { if (headers['X-Requested-With'] !== null) {
// xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest'); xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
// } }
for (let item in headers) { for (let item in headers) {
if (headers.hasOwnProperty(item) && headers[item] !== null) { if (headers.hasOwnProperty(item) && headers[item] !== null) {
......
...@@ -3,7 +3,7 @@ export default{ ...@@ -3,7 +3,7 @@ export default{
init: function (router) { init: function (router) {
router.beforeEach((to, form, next) => { router.beforeEach((to, form, next) => {
let token = localstorage.get('token') let token = localstorage.get('token')
if (!token&&to.name!=='login'&&to.name!=='text') { if (!token&&to.name!=='login'&&to.name!=='updatepsd'&&to.name!=='sweepCode') {
window.location.href = `${window.location.origin}/login` window.location.href = `${window.location.origin}/login`
return return
} }
......
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