Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
99f9d1cf
Commit
99f9d1cf
authored
Apr 09, 2024
by
王晓旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改数据管理和平台设置背景
parent
740d6328
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
3 deletions
+33
-3
portal-manager-ui/admin/src/views/dataAdmin/dataAdmin.vue
portal-manager-ui/admin/src/views/dataAdmin/dataAdmin.vue
+16
-1
portal-manager-ui/admin/src/views/thePlatformIsSet/setPlatformes.vue
...ger-ui/admin/src/views/thePlatformIsSet/setPlatformes.vue
+17
-2
No files found.
portal-manager-ui/admin/src/views/dataAdmin/dataAdmin.vue
View file @
99f9d1cf
<
template
>
<div
class=
"data-manage w-full h-auto"
>
<div
class=
"data-manage w-full h-auto"
:style=
"
{ backgroundImage: `url(${imgUrl})` }">
<div
class=
"main flex"
>
<div
class=
"out-box flex-1"
>
<router-view
/>
...
...
@@ -75,6 +76,7 @@
<
script
>
import
Swiper
from
"
swiper
"
;
import
{
censusListInterface
}
from
"
@/api/dataAdmin
"
;
import
{
getSlogan
}
from
"
@/api/user.js
"
;
import
Storage
from
"
@/utils/js/Storage
"
;
import
{
mapMutations
}
from
"
vuex
"
;
export
default
{
...
...
@@ -103,6 +105,7 @@ export default {
CensusType_5
:
[],
// 运营
active
:
""
,
censusList
:
[],
// 报表列表
imgUrl
:
""
,
};
},
computed
:
{
...
...
@@ -133,6 +136,7 @@ export default {
},
},
created
()
{
this
.
getTitle
();
this
.
censusListInterface
();
},
mounted
()
{
...
...
@@ -140,6 +144,17 @@ export default {
},
methods
:
{
...
mapMutations
(
"
user
"
,
[
"
SET_routerList
"
]),
getTitle
()
{
getSlogan
(
"
siteImg
"
).
then
((
res
)
=>
{
if
(
res
.
code
==
1
)
{
res
.
data
?
(
this
.
imgUrl
=
res
.
data
)
:
(
this
.
imgUrl
=
require
(
"
@/assets/images/siteArrange/bg_3.jpg
"
));
}
else
{
this
.
imgUrl
=
require
(
"
@/assets/images/siteArrange/bg_3.jpg
"
);
}
});
},
initSwiper
()
{
this
.
mySwiper
=
new
Swiper
(
"
.swiper-container
"
,
{
speed
:
1500
,
...
...
portal-manager-ui/admin/src/views/thePlatformIsSet/setPlatformes.vue
View file @
99f9d1cf
<
template
>
<div
class=
"content"
v-if=
"show"
>
<div
class=
"modal"
>
<div
class=
"modal"
:style=
"
{ backgroundImage: `url(${imgUrl})` }">
<div
class=
"effect-content"
>
<div
class=
"effect-box"
>
<div
class=
"e-icon-box"
></div>
...
...
@@ -55,6 +56,7 @@
import
Storage
from
"
@/utils/js/Storage
"
;
// import "./index.css";
import
{
mapState
,
mapMutations
,
mapGetters
}
from
"
vuex
"
;
import
{
getSlogan
}
from
"
@/api/user.js
"
;
let
_this
=
null
;
const
anim_data
=
{
...
...
@@ -1996,9 +1998,11 @@ export default {
api
:
process
.
env
.
VUE_APP_API_IMG_URL
,
platformPermission
:
[],
show
:
true
,
imgUrl
:
""
,
};
},
created
()
{
this
.
getTitle
();
this
.
$nextTick
(()
=>
{
this
.
getPlatformChildren
();
});
...
...
@@ -2013,6 +2017,17 @@ export default {
...
mapState
(
"
user
"
,
[
"
siteList
"
,
"
userData
"
]),
},
methods
:
{
getTitle
()
{
getSlogan
(
"
siteImg
"
).
then
((
res
)
=>
{
if
(
res
.
code
==
1
)
{
res
.
data
?
(
this
.
imgUrl
=
res
.
data
)
:
(
this
.
imgUrl
=
require
(
"
@/assets/images/siteArrange/bg_3.jpg
"
));
}
else
{
this
.
imgUrl
=
require
(
"
@/assets/images/siteArrange/bg_3.jpg
"
);
}
});
},
// 获取平台子菜单
getPlatformChildren
()
{
let
{
menuList
}
=
this
.
userData
;
...
...
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