Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
so-manage-ui
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-operation
so-manage-ui
Commits
74871b38
Commit
74871b38
authored
Jul 12, 2023
by
李鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录页配置修改
parent
e5b7d07b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
20 deletions
+9
-20
src/components/login-by-account.vue
src/components/login-by-account.vue
+0
-1
src/page/login/index.vue
src/page/login/index.vue
+9
-18
src/page/main/authority/user/add/system-form.vue
src/page/main/authority/user/add/system-form.vue
+0
-1
No files found.
src/components/login-by-account.vue
View file @
74871b38
...
...
@@ -129,7 +129,6 @@ const getMenu = (search) => {
};
const
getUser
=
()
=>
{
Promise
.
all
([
getUserInfo
(),
getMenu
(
"
1e99371c-187f-4966-94cf-32f116f42ce6
"
)]).
then
((
res
)
=>
{
console
.
log
(
"
res
"
,
res
);
if
(
res
[
0
].
data
.
code
==
200
&&
res
[
1
].
data
.
code
==
200
)
{
let
data
=
(
res
[
1
].
data
.
data
&&
res
[
1
].
data
.
data
[
0
].
children
)
||
[];
store
.
commit
(
"
setUserInfo
"
,
res
[
0
].
data
.
data
);
...
...
src/page/login/index.vue
View file @
74871b38
...
...
@@ -3,7 +3,7 @@
class=
"login-container"
:style=
"
{
'background-image': `url(${
configOptions.b
ackgroundUrl ? JSON.parse(configOptions.backgroundUrl
)[0].url : getImageUrl('bg.png')
configOptions.b
g_image ? JSON.parse(configOptions.bg_image
)[0].url : getImageUrl('bg.png')
})`,
}">
<el-alert
v-if=
"showValidityDays"
class=
"bg-warning"
:title=
"validityTips"
type=
"warning"
/>
...
...
@@ -27,15 +27,15 @@
<div
class=
"bg-msg"
>
<p
v-if=
"configOptions && configOptions.patent"
>
{{
configOptions
.
patent
}}
</p>
<p
v-if=
"configOptions"
>
<span
class=
"can_click_text"
@
click=
"open(configOptions.icp
Url)"
>
{{
configOptions
.
icpFiling
}}
|
</span>
<span
class=
"can_click_text"
@
click=
"open(configOptions.p
ublicSecurityU
rl)"
>
{{
configOptions
.
p
ublicSecurityFiling
}}
<span
class=
"can_click_text"
@
click=
"open(configOptions.icp
_url)"
>
{{
configOptions
.
icp
}}
|
</span>
<span
class=
"can_click_text"
@
click=
"open(configOptions.p
olice_u
rl)"
>
{{
configOptions
.
p
olice
}}
</span>
</p>
<p>
<span
class=
"can_click_text"
@
click=
"open(configOptions.legal
StatementUrl
)"
>
法律声明
</span>
<span
class=
"can_click_text"
@
click=
"open(configOptions.legal
_notice
)"
>
法律声明
</span>
|
<span
class=
"can_click_text"
@
click=
"open(configOptions.privacy
PolicyUrl
)"
>
隐私政策
</span>
<span
class=
"can_click_text"
@
click=
"open(configOptions.privacy
_policy
)"
>
隐私政策
</span>
</p>
</div>
...
...
@@ -73,7 +73,6 @@ const validityTips = ref("");
const
showValidityDays
=
ref
(
false
);
onBeforeMount
(()
=>
{
getLoginPageConfig
();
getSysOptions
();
});
...
...
@@ -84,21 +83,13 @@ const switchPageType = (type) => {
const
password
=
()
=>
{
router
.
push
(
"
/password
"
);
};
const
getLoginPageConfig
=
()
=>
{
axios
.
get
(
`/apaas/system/v5/login/loginDetail`
).
then
((
res
)
=>
{
if
(
res
.
data
.
code
==
200
)
{
configOptions
.
value
=
res
.
data
.
data
||
null
;
store
.
commit
(
"
setSystemLogo
"
,
configOptions
.
value
.
logoUrl
);
}
else
{
ElMessage
.
error
(
res
.
data
.
data
);
}
});
};
//获取首选项配置
const
getSysOptions
=
()
=>
{
axios
.
get
(
`/v1/api/sysOptions`
).
then
((
res
)
=>
{
if
(
res
.
data
.
code
==
200
)
{
const
result
=
res
.
data
.
data
||
{};
const
result
=
res
.
data
.
data
;
configOptions
.
value
=
result
;
if
(
result
.
license_dead_date
&&
result
.
license_inform_day
)
{
calculateValidityDays
(
new
Date
().
getTime
(),
...
...
src/page/main/authority/user/add/system-form.vue
View file @
74871b38
...
...
@@ -131,7 +131,6 @@ watch(
const
setForm
=
(
data
)
=>
{
Object
.
assign
(
systemForm
,
data
);
console
.
log
(
"
systemForm
"
,
systemForm
);
};
const
orgData
=
ref
([]);
...
...
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