Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
front-end-dev
techbook
Commits
5b4e64cd
Commit
5b4e64cd
authored
Apr 17, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉empType相关
parent
3c963821
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
76 deletions
+7
-76
zh.js
src/common/lang/zh.js
+1
-1
searchList.vue
src/components/mobile/searchList.vue
+6
-6
router.js
src/router.js
+0
-6
successCmpt.vue
src/views/loginregister/pages/successCmpt.vue
+0
-63
No files found.
src/common/lang/zh.js
View file @
5b4e64cd
...
...
@@ -138,7 +138,7 @@ module.exports = {
hasLoginAndNotAuthBigBusiness
:
"发布需求后,可搜索更多项目进行对接匹配"
,
hasLoginAndNotAuthSmallBusiness
:
"发布项目后,可搜索更多需求进行对接匹配"
,
auditingAuthBusiness
:
"您提交的信息正在审核中,审核通过后方可查看更多内容"
,
auditRejectBusiness
:
"您的
认证
信息被驳回,请重新提交"
,
auditRejectBusiness
:
"您的
个人
信息被驳回,请重新提交"
,
iKnowTitle
:
"我知道了"
,
},
...
...
src/components/mobile/searchList.vue
View file @
5b4e64cd
...
...
@@ -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.hasLoginAndNotAuthSmall
Business"
),
confirmButtonText
:
this
.
userInfo
.
empType
==
1
?
this
.
$t
(
"topNav.postDemand"
):
this
.
$t
(
"topNav.submitPro
"
),
message
:
this
.
$t
(
"commonTips.hasLoginAndNotAuthBig
Business"
),
confirmButtonText
:
this
.
$t
(
"topNav.postDemand
"
),
cancelButtonText
:
this
.
$t
(
"commonTips.cancel"
),
showCancelButton
:
true
}).
then
(
action
=>
{
if
(
action
==
'confirm'
){
let
url
=
this
.
userInfo
.
empType
==
1
?
"/addPhoneRequire"
:
"/projectreleas
e"
;
let
url
=
"/addPhoneRequir
e"
;
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
});
}
})
...
...
src/router.js
View file @
5b4e64cd
...
...
@@ -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"
,
...
...
src/views/loginregister/pages/successCmpt.vue
deleted
100644 → 0
View file @
3c963821
<
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment