Commit 5b4e64cd authored by zhangyanni's avatar zhangyanni

去掉empType相关

parent 3c963821
......@@ -138,7 +138,7 @@ module.exports = {
hasLoginAndNotAuthBigBusiness:"发布需求后,可搜索更多项目进行对接匹配",
hasLoginAndNotAuthSmallBusiness:"发布项目后,可搜索更多需求进行对接匹配",
auditingAuthBusiness:"您提交的信息正在审核中,审核通过后方可查看更多内容",
auditRejectBusiness:"您的认证信息被驳回,请重新提交",
auditRejectBusiness:"您的个人信息被驳回,请重新提交",
iKnowTitle:"我知道了",
},
......
......@@ -256,13 +256,13 @@
if(this.publicFun.isgetUserRoleFunc(8)||this.publicFun.isgetUserRoleFunc(4)||this.publicFun.isgetUserRoleFunc(7)){
if(this.userInfo.auditState=="AS01"){
MessageBox({
message:this.userInfo.empType==1?this.$t("commonTips.hasLoginAndNotAuthBigBusiness"):this.$t("commonTips.hasLoginAndNotAuthSmallBusiness"),
confirmButtonText:this.userInfo.empType==1?this.$t("topNav.postDemand"):this.$t("topNav.submitPro"),
message:this.$t("commonTips.hasLoginAndNotAuthBigBusiness"),
confirmButtonText:this.$t("topNav.postDemand"),
cancelButtonText:this.$t("commonTips.cancel"),
showCancelButton:true
}).then(action=>{
if(action=='confirm'){
let url = this.userInfo.empType==1?"/addPhoneRequire":"/projectrelease";
let url = "/addPhoneRequire";
this.$router.push({path:url});
}
})
......@@ -374,13 +374,13 @@
if(this.publicFun.isgetUserRoleFunc(8)||this.publicFun.isgetUserRoleFunc(4)||this.publicFun.isgetUserRoleFunc(7)){
if(this.userInfo.auditState=="AS01"){
MessageBox({
message:this.userInfo.empType==1?this.$t("commonTips.hasLoginAndNotAuthBigBusiness"):this.$t("commonTips.hasLoginAndNotAuthSmallBusiness"),
confirmButtonText:this.userInfo.empType==1?this.$t("topNav.postDemand"):this.$t("topNav.submitPro"),
message:this.$t("commonTips.hasLoginAndNotAuthSmallBusiness"),
confirmButtonText:this.$t("topNav.submitPro"),
cancelButtonText:this.$t("commonTips.cancel"),
showCancelButton:true
}).then(action=>{
if(action=='confirm'){
let url = this.userInfo.empType==1?"/addPhoneRequire":"/projectrelease";
let url = "/projectrelease";
this.$router.push({path:url});
}
})
......
......@@ -8,7 +8,6 @@ const mobileLoginCmpt = () => import('views/loginregister/pages/mobileLoginCmpt'
const emailLoginCmpt = () => import('views/loginregister/pages/emailLoginCmpt');//邮箱登录
const mobileRegisterCmpt = () => import('views/loginregister/pages/mobileRegisterCmpt');//手机号注册
const emailRegisterCmpt = () => import('views/loginregister/pages/emailRegisterCmpt');//邮箱注册
const successCmpt = () => import('views/loginregister/pages/successCmpt');//成功
const setPassword = () => import('views/loginregister/pages/setPasswordCmpt');//设置密码
const findPasswordCmpt = () => import('views/loginregister/pages/findPasswordCmpt');//找回密码
const modifyPasswordCmpt = () => import('views/loginregister/pages/modifyPasswordCmpt');//找回密码-修改密码
......@@ -653,11 +652,6 @@ export default new Router({
name: "emailRegisterCmpt",
component: emailRegisterCmpt
},
{
path: '/successCmpt',
name: "successCmpt",
component: successCmpt
},
{
path: '/findPasswordCmpt',
name: "findPasswordCmpt",
......
<template>
<div class="wrapper">
<div class="successIcon">
<i class="iconfont icon-success"></i>
</div>
<div class="successTitle">
<p>{{$t("register.success")}}</p>
<p>{{$t("register.successTitle")}}</p>
</div>
<div class="successButton">
<el-button plain type="primary" @click="handleToIndex(1)">{{$t("register.auth")}}</el-button>
<el-button plain type="primary" @click="handleToIndex(2)">{{$t("register.stroll")}}</el-button>
</div>
</div>
</template>
<script>
export default {
name: "successCmpt",
inject:['reload'],
methods:{
handleToIndex(type){
var userInfo = this.publicFun.getCookie("userInfo") ? JSON.parse(this.Base64.decode(this.publicFun.getCookie("userInfo"))) : "";
if(type==1) this.$router.push("/editAuth");
if(type==2) {
userInfo.empType==0?this.$router.push("/bigBusiness/list"):this.$router.push("/seeprojectlist")
}
}
}
}
</script>
<style scoped lang="scss">
.wrapper{
width: 320px;
& .icon-success:before{
font-size: 94px;
}
&>.successIcon{
padding-top: 100px;
}
&>.successTitle{
font-weight: 400;
color: #3F3F53;
&>p:first-of-type{
font-size: 22px;
padding-top: 30px;
padding-bottom: 18px;
}
&>p:last-of-type{
font-size: 16px;
padding-bottom: 48px;
}
}
&>.successButton{
&>.el-button{
width: 140px;
margin: 0 10px;
}
}
}
</style>
\ No newline at end of file
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