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
c3d18110
Commit
c3d18110
authored
Dec 08, 2023
by
姬鋆屾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
推,通过接口获取门户口号
parent
59b8cb94
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
3 deletions
+19
-3
portal-manager-ui/admin/src/api/user.js
portal-manager-ui/admin/src/api/user.js
+4
-0
portal-manager-ui/admin/src/views/signIn/signIn.vue
portal-manager-ui/admin/src/views/signIn/signIn.vue
+12
-2
portal-manager-ui/admin/src/views/siteArrange/siteArrange.vue
...al-manager-ui/admin/src/views/siteArrange/siteArrange.vue
+3
-1
No files found.
portal-manager-ui/admin/src/api/user.js
View file @
c3d18110
...
...
@@ -16,6 +16,10 @@ export function LogoutInterface(params) {
export
function
changePassword
(
params
)
{
return
http
.
post
(
`
${
baseURL
}
/zwfw/user/change/password`
,
params
);
}
// 1.2.5. 查询门户口号
export
function
getSlogan
(
params
)
{
return
http
.
post
(
`
${
baseURL
}
/base/param/key?key=title`
);
}
// 管理员修改密码
export
function
editPassword
(
params
)
{
return
http
.
post
(
`
${
baseURL
}
/zwfw/user/reset/password`
,
params
);
...
...
portal-manager-ui/admin/src/views/signIn/signIn.vue
View file @
c3d18110
...
...
@@ -2,7 +2,7 @@
<div
class=
"login h-full w-full"
>
<div
class=
"main h-full w-full flex items-center justify-between"
>
<div
class=
"slogan"
>
<p
class=
"slogan-text slogan-text-1 mb-12"
>
若诗·若画·若尔盖
</p>
<p
class=
"slogan-text slogan-text-1 mb-12"
>
{{
sloganTitle
}}
</p>
<!--
<p
class=
"slogan-text slogan-text-2"
>
似烟·似梦·似天堂
</p>
-->
</div>
<div
class=
"w-[490px] h-[660px]"
>
...
...
@@ -245,7 +245,7 @@
<
script
>
import
Swiper
from
"
swiper
"
;
import
{
LoginInterface
,
changeForgotPassword
}
from
"
@/api/user.js
"
;
import
{
LoginInterface
,
changeForgotPassword
,
getSlogan
}
from
"
@/api/user.js
"
;
import
{
mapMutations
,
mapState
}
from
"
vuex
"
;
import
{
changeAccount
,
changePassWord
}
from
"
@/utils/js/validate
"
;
import
{
encrypt
}
from
"
@/utils
"
;
...
...
@@ -262,6 +262,7 @@ export default {
}
};
return
{
sloganTitle
:
""
,
sysName
:
process
.
env
.
VUE_APP_systemName
,
labelCol
:
{
span
:
0
},
wrapperCol
:
{
span
:
24
},
...
...
@@ -320,6 +321,7 @@ export default {
if
(
this
.
token
)
{
this
.
$router
.
push
(
"
/home
"
);
}
this
.
getTitle
();
this
.
createCode
();
},
mounted
()
{
...
...
@@ -327,6 +329,14 @@ export default {
},
methods
:
{
...
mapMutations
(
"
user
"
,
[
"
set_token
"
,
"
SET_USERDATA
"
,
"
set_siteList
"
]),
getTitle
()
{
getSlogan
().
then
((
res
)
=>
{
if
(
res
.
code
==
1
)
{
this
.
sloganTitle
=
res
.
data
;
localStorage
.
setItem
(
"
sloganTitle
"
,
res
.
data
);
}
});
},
initSwiper
()
{
this
.
mySwiper
=
new
Swiper
(
"
.mySwiper
"
,
{
effect
:
"
cube
"
,
// 方块动画
...
...
portal-manager-ui/admin/src/views/siteArrange/siteArrange.vue
View file @
c3d18110
...
...
@@ -19,7 +19,7 @@
class=
"img-title mb-[42px]"
src=
"@/assets/images/siteArrange/title.png"
/>
-->
<h1
class=
"slogan_title"
>
若诗 · 若画 · 若尔盖
</h1>
<h1
class=
"slogan_title"
>
{{
sloganTitle
}}
</h1>
<div
class=
"slogan"
>
建设高效便民、智慧泛在的智慧政务大厅
</div>
</div>
<!-- 站点 -->
...
...
@@ -118,6 +118,7 @@ import { mapState } from "vuex";
export
default
{
data
()
{
return
{
sloganTitle
:
""
,
api
:
process
.
env
.
VUE_APP_API_IMG_URL
,
siteId
:
Storage
.
get
(
2
,
"
siteId
"
),
arr
:
[],
...
...
@@ -136,6 +137,7 @@ export default {
},
created
()
{
this
.
sloganTitle
=
localStorage
.
getItem
(
"
sloganTitle
"
);
this
.
getCollect
();
this
.
appsListInterface
();
},
...
...
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