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
8e800121
Commit
8e800121
authored
Jan 06, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
ff48df02
cd28513f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
5 deletions
+9
-5
PageTop.vue
src/components/index/PageTop.vue
+3
-3
main.js
src/main.js
+1
-1
projectlist.vue
src/views/mobile/projectment/projectlist.vue
+4
-0
projectreleasechild.vue
src/views/mobile/projectment/projectreleasechild.vue
+1
-1
No files found.
src/components/index/PageTop.vue
View file @
8e800121
...
...
@@ -228,9 +228,9 @@
}
this
.
currentIndex
=
index
;
window
.
sessionStorage
.
setItem
(
"currentNav"
,
index
);
if
((
index
==
1
||
index
==
2
)
&&!
this
.
userInfo
)
{
this
.
$router
.
push
(
'/login'
);
}
//
if((index==1||index==2)&&!this.userInfo) {
//
this.$router.push('/login');
//
}
if
(
index
==
5
)
this
.
$router
.
push
(
"/knowledge"
);
if
(
index
==
4
)
this
.
$router
.
push
(
"/useHelp"
);
if
(
index
==
0
)
this
.
$router
.
push
(
"/"
);
...
...
src/main.js
View file @
8e800121
...
...
@@ -160,7 +160,7 @@ router.beforeEach((to, from, next) => {
if
(
window
.
sessionStorage
.
getItem
(
"userInfo"
)
==
null
){
if
(
to
.
name
==
'dashboard'
||
to
.
name
==
'indexView'
||
to
.
name
==
'login'
||
to
.
name
==
'mobileLoginCmpt'
||
to
.
name
==
'emailLoginCmpt'
||
to
.
name
==
'mobileRegisterCmpt'
||
to
.
name
==
'emailRegisterCmpt'
||
to
.
name
==
'completeInfoCmpt'
||
to
.
name
==
'successCmpt'
||
to
.
name
==
'findPasswordCmpt'
||
to
.
name
==
'modifyPasswordCmpt'
||
to
.
name
==
'passSuccessCmpt'
||
to
.
name
==
'indexView'
||
to
.
name
==
"mobileIndex"
||
to
.
name
==
"mobileLogin"
||
to
.
name
==
"loginByPhone"
||
to
.
name
==
"loginByEmail"
||
to
.
name
==
"mobileRegister"
||
to
.
name
==
"registerComplete"
||
to
.
name
==
"shareRequire"
||
to
.
name
==
"shareProject"
||
to
.
name
==
"knowledgeList"
||
to
.
name
==
"knowledgeDetail"
||
to
.
name
==
'vip'
||
to
.
name
==
'vipList'
||
to
.
name
==
'loadEmail'
||
to
.
name
==
'openEmail'
||
to
.
name
==
"viewRequire"
||
to
.
name
==
"phoneBusinessList"
||
to
.
name
==
"phoneBusinessDetail"
||
to
.
name
==
"phoneRequireDetail"
||
to
.
name
==
"bigBusinessList"
||
to
.
name
==
"bigBusinessDetail"
||
to
.
name
==
"requireDetail"
||
to
.
name
==
"mixSearch"
){
}
else
{
if
(
to
.
path
==
'/projectdetails'
||
to
.
path
==
'/seeprojectlist'
||
to
.
path
==
'/projectlist'
||
to
.
path
==
'/viewproject'
||
to
.
path
==
'/templateMobile1'
||
to
.
path
==
'/knowledge'
||
to
.
path
==
'/knowledgedetails'
||
to
.
path
==
'/termserviceed'
||
to
.
path
==
'/privacypolicyed'
||
to
.
path
==
'/contactused'
||
to
.
path
==
'/aboutused'
||
to
.
path
==
'/casedetailsed'
||
to
.
path
==
'/lndustryfocused'
||
to
.
path
==
'/successfulcaseed'
||
to
.
path
==
'/usehelped'
||
to
.
path
==
'/useHelp'
||
to
.
path
==
'/reminder'
||
to
.
path
==
'/contactus'
||
to
.
path
==
'/privacypolicy'
||
to
.
path
==
'/termservice'
||
to
.
path
==
'/casedetails'
||
to
.
path
==
'/successfulcase'
||
to
.
path
==
'/lndustryfocus'
||
to
.
path
==
'/aboutus'
){
if
(
to
.
path
==
'/
casedetailschild'
||
to
.
path
==
'/lndustryfocuschild'
||
to
.
path
==
'/successfulcasechild'
||
to
.
path
==
'/
projectdetails'
||
to
.
path
==
'/seeprojectlist'
||
to
.
path
==
'/projectlist'
||
to
.
path
==
'/viewproject'
||
to
.
path
==
'/templateMobile1'
||
to
.
path
==
'/knowledge'
||
to
.
path
==
'/knowledgedetails'
||
to
.
path
==
'/termserviceed'
||
to
.
path
==
'/privacypolicyed'
||
to
.
path
==
'/contactused'
||
to
.
path
==
'/aboutused'
||
to
.
path
==
'/casedetailsed'
||
to
.
path
==
'/lndustryfocused'
||
to
.
path
==
'/successfulcaseed'
||
to
.
path
==
'/usehelped'
||
to
.
path
==
'/useHelp'
||
to
.
path
==
'/reminder'
||
to
.
path
==
'/contactus'
||
to
.
path
==
'/privacypolicy'
||
to
.
path
==
'/termservice'
||
to
.
path
==
'/casedetails'
||
to
.
path
==
'/successfulcase'
||
to
.
path
==
'/lndustryfocus'
||
to
.
path
==
'/aboutus'
){
}
else
{
if
(
to
.
path
==
'/projectlist'
||
to
.
path
==
'/phoneBusinessList'
){
...
...
src/views/mobile/projectment/projectlist.vue
View file @
8e800121
...
...
@@ -140,6 +140,7 @@
if
(
this
.
userInfo
){
if
(
this
.
userInfo
.
auditState
==
"AS01"
){
MessageBox
({
title
:
this
.
$t
(
'commonTips.remind'
),
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"
),
cancelButtonText
:
this
.
$t
(
"commonTips.cancel"
),
...
...
@@ -153,6 +154,7 @@
}
if
(
this
.
userInfo
.
auditState
==
"AS04"
){
MessageBox
({
title
:
this
.
$t
(
'commonTips.remind'
),
message
:
this
.
$t
(
"commonTips.auditRejectBusiness"
),
confirmButtonText
:
this
.
$t
(
"commonTitle.goEdit"
),
cancelButtonText
:
this
.
$t
(
"commonTips.cancel"
),
...
...
@@ -166,6 +168,7 @@
}
if
(
this
.
userInfo
.
auditState
==
"AS02"
){
MessageBox
({
title
:
this
.
$t
(
'commonTips.remind'
),
message
:
this
.
$t
(
"commonTips.auditingAuthBusiness"
),
confirmButtonText
:
this
.
$t
(
"commonTips.iKnowTitle"
),
showCancelButton
:
false
...
...
@@ -173,6 +176,7 @@
}
}
else
{
MessageBox
({
title
:
this
.
$t
(
'commonTips.remind'
),
message
:
this
.
$t
(
"commonTips.loginMore"
),
confirmButtonText
:
this
.
$t
(
"mobile.alreadyLogin"
),
cancelButtonText
:
this
.
$t
(
"commonTips.cancel"
),
...
...
src/views/mobile/projectment/projectreleasechild.vue
View file @
8e800121
...
...
@@ -115,7 +115,7 @@
</el-upload>
<div
style=
"position: absolute;left: 2.3rem;top: 0px;width: 4rem;line-height: 0.3rem;text-align: left"
>
<p
style=
"line-height: 0.4rem;font-size: 0.24rem;margin-bottom: 0.6rem"
>
{{
$t
(
'personalAuth.businessCardTitle'
)
}}
</p>
<span
style=
"border: 1px solid #5D78FF;color: #5D78FF;padding: 6px 20px;border-radius: 3px"
@
click=
"iscard"
>
名片示例
</span>
<span
style=
"border: 1px solid #5D78FF;color: #5D78FF;padding: 6px 20px;border-radius: 3px"
@
click=
"iscard"
>
{{
$t
(
'personalAuth.cardEg'
)
}}
</span>
</div>
</div>
</el-form-item>
...
...
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