Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mancheng_code
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hanxiao
mancheng_code
Commits
2fd0205e
Commit
2fd0205e
authored
Jul 31, 2023
by
liudx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
隐藏相关入口
parent
4e57127d
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
44 additions
and
21 deletions
+44
-21
src/assets/images/header/head-title-left.png
+0
-0
src/assets/images/index/headbg-title.png
+0
-0
src/components/Header.vue
+7
-0
src/views/atlas/atlas.vue
+8
-1
src/views/atlas/pages/enterprise.vue
+8
-7
src/views/atlas/pages/policy.vue
+3
-2
src/views/login/login.vue
+17
-10
vue.config.js
+1
-1
No files found.
src/assets/images/header/head-title-left.png
View file @
2fd0205e
45.4 KB
|
W:
|
H:
44.6 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/images/index/headbg-title.png
View file @
2fd0205e
224 KB
|
W:
|
H:
200 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/components/Header.vue
View file @
2fd0205e
...
@@ -138,10 +138,17 @@ export default {
...
@@ -138,10 +138,17 @@ export default {
},
},
methods
:
{
methods
:
{
handleSelect
(
key
)
{
handleSelect
(
key
)
{
//2023.7.31隐藏除产业图谱其他的入口
if
(
key
==
"atlas"
)
{
this
.
activeIndex
=
key
;
this
.
activeIndex
=
key
;
if
(
this
.
$route
.
name
!==
key
)
{
if
(
this
.
$route
.
name
!==
key
)
{
this
.
$router
.
push
({
name
:
key
});
this
.
$router
.
push
({
name
:
key
});
}
}
}
//原代码
// this.activeIndex = key;
// if (this.$route.name !== key) {
// this.$router.push({ name: key });
},
},
goLogin
()
{
goLogin
()
{
this
.
$message
({
this
.
$message
({
...
...
src/views/atlas/atlas.vue
View file @
2fd0205e
...
@@ -180,7 +180,7 @@ export default {
...
@@ -180,7 +180,7 @@ export default {
img
:
"icon-06.png"
,
img
:
"icon-06.png"
,
img_select
:
"icon-06-select.png"
,
img_select
:
"icon-06-select.png"
,
title
:
"产业评估"
,
title
:
"产业评估"
,
}
}
,
],
],
// 行业id
// 行业id
industry_id
:
1
,
industry_id
:
1
,
...
@@ -215,7 +215,14 @@ export default {
...
@@ -215,7 +215,14 @@ export default {
methods
:
{
methods
:
{
changeRouter
(
val
)
{
changeRouter
(
val
)
{
console
.
log
(
val
);
//限制其他几个页面入口
if
(
val
==
1
||
val
==
0
||
val
==
4
)
{
this
.
activeRouter
=
val
;
this
.
activeRouter
=
val
;
}
//源代码
//this.activeRouter = val;
},
},
getCateid
(
data
)
{
getCateid
(
data
)
{
...
...
src/views/atlas/pages/enterprise.vue
View file @
2fd0205e
...
@@ -55,14 +55,15 @@
...
@@ -55,14 +55,15 @@
<span>
已收藏
</span>
<span>
已收藏
</span>
</p>
</p>
</div>
</div>
<div
<!-- 2023.7.31隐藏地图入口 -->
<!--
<div
class=
"map-btn no-select"
class=
"map-btn no-select"
v-if=
"mode == 'chain'"
v-if=
"mode == 'chain'"
@
click=
"changeType('map')"
@
click=
"changeType('map')"
>
>
<img
src=
"~@/assets/images/atlas/icon-changemap.png"
alt=
""
/>
<img
src=
"~@/assets/images/atlas/icon-changemap.png"
alt=
""
/>
<span>
切换为地图
</span>
<span>
切换为地图
</span>
</div>
</div>
-->
<div
<div
class=
"map-btn no-select"
class=
"map-btn no-select"
v-if=
"mode == 'map'"
v-if=
"mode == 'map'"
...
@@ -714,11 +715,11 @@ export default {
...
@@ -714,11 +715,11 @@ export default {
aptitude
:
this
.
searchOption
.
qualificat
,
aptitude
:
this
.
searchOption
.
qualificat
,
status
:
this
.
searchOption
.
quoted
,
status
:
this
.
searchOption
.
quoted
,
});
});
this
.
tableData
=
res
.
df
.
map
((
item
,
index
)
=>
{
//
this.tableData = res.df.map((item, index) => {
item
.
index
=
index
+
1
;
//
item.index = index + 1;
return
item
;
//
return item;
});
//
});
this
.
total
=
res
.
size
;
//
this.total = res.size;
},
},
// 前往 企业 详情页
// 前往 企业 详情页
goEnterprise
(
id
)
{
goEnterprise
(
id
)
{
...
...
src/views/atlas/pages/policy.vue
View file @
2fd0205e
...
@@ -7,7 +7,8 @@
...
@@ -7,7 +7,8 @@
<span
:class=
"[policy_level == 1 ? 'active' : '']"
@
click=
"changeLevel(1)"
<span
:class=
"[policy_level == 1 ? 'active' : '']"
@
click=
"changeLevel(1)"
>
国家级
</span
>
国家级
</span
>
>
<span
:class=
"[policy_level == 2 ? 'active' : '']"
@
click=
"changeLevel(2)"
<!-- 2023.7.31隐藏产业政策入口 -->
<!--
<span
:class=
"[policy_level == 2 ? 'active' : '']"
@
click=
"changeLevel(2)"
>
省级
</span
>
省级
</span
>
>
<span
:class=
"[policy_level == 3 ? 'active' : '']"
@
click=
"changeLevel(3)"
<span
:class=
"[policy_level == 3 ? 'active' : '']"
@
click=
"changeLevel(3)"
...
@@ -18,7 +19,7 @@
...
@@ -18,7 +19,7 @@
>
>
<span
:class=
"[policy_level == 5 ? 'active' : '']"
@
click=
"changeLevel(5)"
<span
:class=
"[policy_level == 5 ? 'active' : '']"
@
click=
"changeLevel(5)"
>
开发区
</span
>
开发区
</span
>
>
-->
</div>
</div>
<div
class=
"options clearfix"
v-if=
"policy_level != 0 && policy_level != 3"
>
<div
class=
"options clearfix"
v-if=
"policy_level != 0 && policy_level != 3"
>
<span>
分类筛选:
</span>
<span>
分类筛选:
</span>
...
...
src/views/login/login.vue
View file @
2fd0205e
...
@@ -59,7 +59,8 @@
...
@@ -59,7 +59,8 @@
</div>
</div>
<div
class=
"login-box"
>
<div
class=
"login-box"
>
<ul
class=
"nav "
>
<ul
class=
"nav "
>
<li
<!-- 2023.7.31隐藏外部登录方式 -->
<!--
<li
:class=
"[
:class=
"[
activeName1 == 'outside' ? 'active' : '',
activeName1 == 'outside' ? 'active' : '',
'left-radius ',
'left-radius ',
...
@@ -68,7 +69,7 @@
...
@@ -68,7 +69,7 @@
@
click=
"activeName1 = 'outside'"
@
click=
"activeName1 = 'outside'"
>
>
外部
外部
</li>
</li>
-->
<li
<li
:class=
"[
:class=
"[
activeName1 == 'inside' ? 'active' : '',
activeName1 == 'inside' ? 'active' : '',
...
@@ -440,11 +441,11 @@ export default {
...
@@ -440,11 +441,11 @@ export default {
// 手机号
// 手机号
manage_phone
:
""
,
manage_phone
:
""
,
manage_password
:
""
,
manage_password
:
""
,
phone
:
""
,
//18232666804
phone
:
""
,
//18232666804
// 验证码
// 验证码
vCode
:
""
,
vCode
:
""
,
// 密码
// 密码
password
:
""
,
//Ldx18232666804@
password
:
""
,
//Ldx18232666804@
// 是否发送验证码
// 是否发送验证码
isSend
:
false
,
isSend
:
false
,
isSend2
:
false
,
isSend2
:
false
,
...
@@ -591,8 +592,8 @@ export default {
...
@@ -591,8 +592,8 @@ export default {
this
.
dialogReg
=
false
;
this
.
dialogReg
=
false
;
this
.
dialogVisible
=
true
;
this
.
dialogVisible
=
true
;
},
600
);
},
600
);
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
)
this
.
$message
.
error
(
res
.
data
.
msg
)
;
}
}
},
},
changeSelectIn
(
index
)
{
changeSelectIn
(
index
)
{
...
@@ -699,7 +700,9 @@ export default {
...
@@ -699,7 +700,9 @@ export default {
localStorage
.
setItem
(
"jc_district_name"
,
"晋城市"
);
localStorage
.
setItem
(
"jc_district_name"
,
"晋城市"
);
this
.
$store
.
commit
(
"setToken"
,
res
.
token
);
this
.
$store
.
commit
(
"setToken"
,
res
.
token
);
this
.
$store
.
commit
(
"setFlag"
,
res
.
flag
);
this
.
$store
.
commit
(
"setFlag"
,
res
.
flag
);
this
.
$router
.
push
({
name
:
"home"
});
// this.$router.push({ name: "home" });
//登录之后先跳转到产业图谱页面
this
.
$router
.
push
({
name
:
"atlas"
});
}
}
},
},
// 密码登录接口
// 密码登录接口
...
@@ -728,10 +731,14 @@ export default {
...
@@ -728,10 +731,14 @@ export default {
}
=
this
.
limitsOfAuthority
(
res
.
page_permission_list
);
}
=
this
.
limitsOfAuthority
(
res
.
page_permission_list
);
localStorage
.
setItem
(
"jc_resourcesIndex"
,
resourcesIndex
);
localStorage
.
setItem
(
"jc_resourcesIndex"
,
resourcesIndex
);
localStorage
.
setItem
(
"jc_noAccessRouter"
,
noAccessRouter
);
localStorage
.
setItem
(
"jc_noAccessRouter"
,
noAccessRouter
);
this
.
$router
.
push
({
name
:
indexRouter
});
// this.$router.push({ name: indexRouter });
//登录之后先跳转到产业图谱页面
this
.
$router
.
push
({
name
:
"atlas"
});
// this.$router.push({ name: "home" });
// this.$router.push({ name: "home" });
}
else
{
}
else
{
this
.
$message
.
warning
(
res
.
data
.
msg
)
this
.
$message
.
warning
(
res
.
data
.
msg
)
;
}
}
},
},
limitsOfAuthority
(
pageList
)
{
limitsOfAuthority
(
pageList
)
{
...
...
vue.config.js
View file @
2fd0205e
...
@@ -38,7 +38,7 @@ module.exports = {
...
@@ -38,7 +38,7 @@ module.exports = {
},
},
chainWebpack
:
config
=>
{
chainWebpack
:
config
=>
{
config
.
plugin
(
'html'
).
tap
(
args
=>
{
config
.
plugin
(
'html'
).
tap
(
args
=>
{
args
[
0
].
title
=
'
晋城市
产业招商大数据平台'
args
[
0
].
title
=
'
满城区
产业招商大数据平台'
return
args
return
args
})
})
config
.
resolve
.
alias
.
set
(
"@map"
,
resolve
(
"public/aaa_map_json"
));
config
.
resolve
.
alias
.
set
(
"@map"
,
resolve
(
"public/aaa_map_json"
));
...
...
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