Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
dd901683
Commit
dd901683
authored
Jun 19, 2021
by
季圣华
Browse files
网址改为配置
parent
9ae64b7b
Changes
4
Hide whitespace changes
Inline
Side-by-side
jshERP-web/public/index.html
View file @
dd901683
...
...
@@ -239,22 +239,26 @@
</style>
<!-- 全局配置 -->
<script>
function
getPlatform
(
type
)
{
let
res
=
''
;
let
ajax
=
new
XMLHttpRequest
();
let
url
=
window
.
_CONFIG
[
'
domianURL
'
]
+
'
/platformConfig/getPlatform/
'
+
type
ajax
.
onreadystatechange
=
function
()
{
if
(
ajax
.
readyState
===
4
&&
ajax
.
status
===
200
)
{
res
=
ajax
.
responseText
;
}
else
{
res
=
'
ERP系统
'
;
}
}
ajax
.
open
(
'
get
'
,
url
,
false
);
ajax
.
send
(
null
);
return
res
;
}
window
.
_CONFIG
=
{};
window
.
_CONFIG
[
'
domianURL
'
]
=
'
/jshERP-boot
'
;
let
statisticsCode
=
'
1cd9bcbaae133f03a6eb19da6579aaba
'
let
sysTitle
;
let
ajax
=
new
XMLHttpRequest
();
let
url
=
window
.
_CONFIG
[
'
domianURL
'
]
+
'
/platformConfig/getPlatformName
'
ajax
.
onreadystatechange
=
function
()
{
if
(
ajax
.
readyState
===
4
&&
ajax
.
status
===
200
)
{
sysTitle
=
ajax
.
responseText
;
}
else
{
sysTitle
=
'
ERP系统
'
;
}
}
ajax
.
open
(
'
get
'
,
url
,
false
);
ajax
.
send
(
null
);
window
.
SYS_TITLE
=
sysTitle
;
window
.
SYS_TITLE
=
getPlatform
(
"
name
"
);
window
.
SYS_URL
=
getPlatform
(
"
url
"
);
window
.
_statistics
=
'
https://hm.baidu.com/hm.js?
'
+
statisticsCode
document
.
title
=
window
.
SYS_TITLE
;
//statistics
...
...
jshERP-web/src/views/dashboard/IndexChart.vue
View file @
dd901683
...
...
@@ -51,7 +51,7 @@
<a-card
:bordered=
"false"
:body-style=
"
{padding: '5'}">
<div
class=
"hidden-xs"
style=
"float:right;"
>
当前版本:V3.0
</div>
©
2015-2030
{{
systemTitle
}}
- Powered By
<a
href=
"
http://www.huaxiaerp.com/
"
target=
"_blank"
>
官方网站
</a>
<a
:
href=
"
systemUrl
"
target=
"_blank"
>
官方网站
</a>
</a-card>
</a-col>
</a-row>
...
...
@@ -87,6 +87,7 @@
data
()
{
return
{
systemTitle
:
window
.
SYS_TITLE
,
systemUrl
:
window
.
SYS_URL
,
loading
:
true
,
center
:
null
,
statistics
:
{},
...
...
jshERP-web/src/views/user/Login.vue
View file @
dd901683
...
...
@@ -45,7 +45,7 @@
<a-row>
<a-col>
© 2015-2030
{{
systemTitle
}}
- Powered By
<a
style=
"color:#00458a;"
href=
"
http://www.huaxiaerp.com/
"
target=
"_blank"
>
官方网站
</a>
<a
style=
"color:#00458a;"
:
href=
"
systemUrl
"
target=
"_blank"
>
官方网站
</a>
</a-col>
</a-row>
</div>
...
...
@@ -74,6 +74,7 @@
return
{
customActiveKey
:
"
tab1
"
,
systemTitle
:
window
.
SYS_TITLE
,
systemUrl
:
window
.
SYS_URL
,
loginBtn
:
false
,
// login type: 0 email, 1 username, 2 telephone
loginType
:
0
,
...
...
jshERP-web/src/views/user/Register.vue
View file @
dd901683
...
...
@@ -68,7 +68,7 @@
<a-row>
<a-col>
© 2015-2030 {{systemTitle}} - Powered By
<a
style=
"color:#00458a;"
href=
"
http://www.huaxiaerp.com/
"
target=
"_blank"
>
官方网站
</a>
<a
style=
"color:#00458a;"
:
href=
"
systemUrl
"
target=
"_blank"
>
官方网站
</a>
</a-col>
</a-row>
</div>
...
...
@@ -107,6 +107,7 @@
data
()
{
return
{
systemTitle
:
window
.
SYS_TITLE
,
systemUrl
:
window
.
SYS_URL
,
form
:
null
,
randCode
:
''
,
randCodeImage
:
''
,
...
...
Write
Preview
Supports
Markdown
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