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
f39903f4
Commit
f39903f4
authored
Oct 31, 2019
by
anxixi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
问题修改
parent
89784212
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
7 deletions
+8
-7
zh.js
src/common/lang/zh.js
+1
-1
PageTop.vue
src/components/index/PageTop.vue
+3
-3
mobileTop.vue
src/components/mobile/mobileTop.vue
+2
-2
main.js
src/main.js
+2
-1
No files found.
src/common/lang/zh.js
View file @
f39903f4
...
...
@@ -706,7 +706,7 @@ module.exports = {
companyIntroduction
:
'一句话介绍:'
,
plcompanyIntroduction
:
'请输入一句话介绍'
,
projectIndustryList
:
'技术领域:'
,
plprojectIndustryList
:
'请选择最多三个
所属行业
'
,
plprojectIndustryList
:
'请选择最多三个
技术领域
'
,
companyWebsite
:
'公司网站:'
,
ercompanyWebsite
:
'公司网站填写错误'
,
plcompanyWebsite
:
'请输入公司网站'
,
...
...
src/components/index/PageTop.vue
View file @
f39903f4
...
...
@@ -357,13 +357,13 @@
// ROLE_ORDINARY_MEDIUM = 6;//6普通大B用户
// ROLE_VIP_MEDIUM = 7;//7vip大B用户
if
(
this
.
userInfo
.
roleList
.
length
>
0
&&
this
.
userInfo
.
roleList
[
0
].
roleType
==
2
||
this
.
userInfo
.
roleList
.
length
>
0
&&
this
.
userInfo
.
roleList
[
0
].
roleType
==
5
){
this
.
$router
.
push
({
path
:
"/seeprojectlist"
,
query
:{
remind
:
true
}
})
this
.
$router
.
push
({
path
:
"/seeprojectlist"
})
}
if
(
this
.
userInfo
.
roleList
.
length
>
0
&&
this
.
userInfo
.
roleList
[
0
].
roleType
==
1
)
this
.
$router
.
push
(
"/registeruserlist"
);
if
(
this
.
isCompleteInfo
){
if
(
this
.
userInfo
.
empType
==
0
)
this
.
$router
.
push
({
path
:
"/bigBusiness/list"
,
query
:{
remind
:
true
}
});
if
(
this
.
userInfo
.
empType
==
0
)
this
.
$router
.
push
({
path
:
"/bigBusiness/list"
});
else
{
if
(
this
.
userInfo
.
empType
==
1
)
this
.
$router
.
push
({
path
:
"/seeprojectlist"
,
query
:{
remind
:
true
}
})
if
(
this
.
userInfo
.
empType
==
1
)
this
.
$router
.
push
({
path
:
"/seeprojectlist"
})
}
}
else
this
.
$router
.
push
(
"/completeInfoCmpt"
);
...
...
src/components/mobile/mobileTop.vue
View file @
f39903f4
...
...
@@ -97,8 +97,8 @@
this
.
$router
.
push
(
"/"
);
}
else
{
this
.
currentIndex
=
index
;
if
(
index
==
0
)
this
.
$router
.
push
(
"/projectlist"
);
if
(
index
==
1
)
this
.
$router
.
push
(
"/phoneBusinessList"
);
if
(
index
==
0
)
this
.
$router
.
replace
(
"/projectlist"
);
if
(
index
==
1
)
this
.
$router
.
replace
(
"/phoneBusinessList"
);
if
(
index
==
2
)
this
.
$router
.
push
(
"/lndustryfocused"
);
if
(
index
==
3
)
this
.
$router
.
push
(
"/successfulcaseed"
);
if
(
index
==
4
)
this
.
$router
.
push
(
"/usehelped"
);
...
...
src/main.js
View file @
f39903f4
...
...
@@ -99,6 +99,7 @@ const i18n = new VueI18n({
}
})();
console
.
log
(
router
)
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
// console.log(window.__asxiosPromiseArr)
if
(
window
.
__asxiosPromiseArr
)
{
...
...
@@ -154,7 +155,7 @@ router.beforeEach((to, from, next) => {
if
(
to
.
path
==
'/phoneBusinessList'
){
router
.
replace
(
'/mobileRegister'
);
}
else
{
if
(
ismobile
==
1
)
router
.
push
(
'/mobileRegister'
);
if
(
ismobile
==
1
)
router
.
replace
(
'/mobileRegister'
);
else
router
.
push
(
'/login'
);
}
}
...
...
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