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
592e2e95
Commit
592e2e95
authored
Aug 13, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
63e8ea13
0979189d
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
41 additions
and
39 deletions
+41
-39
portal-manager-ui/admin/.env
portal-manager-ui/admin/.env
+1
-1
portal-manager-ui/admin/src/api/customer.js
portal-manager-ui/admin/src/api/customer.js
+2
-2
portal-manager-ui/admin/src/components/licenseHint/index.js
portal-manager-ui/admin/src/components/licenseHint/index.js
+13
-12
portal-manager-ui/admin/src/components/watermark/index.js
portal-manager-ui/admin/src/components/watermark/index.js
+13
-12
portal-manager-ui/admin/src/router/index.js
portal-manager-ui/admin/src/router/index.js
+12
-12
No files found.
portal-manager-ui/admin/.env
View file @
592e2e95
# 易政秀
# 易政秀
VUE_APP_API_ES_URL=http://
8.136.255.30
VUE_APP_API_ES_URL=http://
www.ezxiu.cn
# 系统名称
# 系统名称
VUE_APP_systemName = 智慧大厅集成化综合管理平台
VUE_APP_systemName = 智慧大厅集成化综合管理平台
\ No newline at end of file
portal-manager-ui/admin/src/api/customer.js
View file @
592e2e95
import
http
from
"
../request/http
"
;
import
http
from
"
../request/http
"
;
let
baseURL
=
"
http://8.136.255.30
"
let
baseURL
=
process
.
env
.
VUE_APP_API_ES_URL
;
let
proURL
=
process
.
env
.
VUE_APP_API_BASE_URL
;
let
proURL
=
process
.
env
.
VUE_APP_API_BASE_URL
;
// 查询客户管理列表
// 查询客户管理列表
...
...
portal-manager-ui/admin/src/components/licenseHint/index.js
View file @
592e2e95
...
@@ -4,7 +4,9 @@ import store from "@/store"; // 导入 Vuex store 实例
...
@@ -4,7 +4,9 @@ import store from "@/store"; // 导入 Vuex store 实例
const
licenseHintModal
=
vue
.
extend
(
LicenseHintModal
);
const
licenseHintModal
=
vue
.
extend
(
LicenseHintModal
);
function
showLicenseHintModal
(
duration
=
5
)
{
function
showLicenseHintModal
(
duration
=
5
)
{
const
existingModal
=
document
.
getElementById
(
"
licenseHintModal
"
);
const
existingModal
=
document
.
getElementById
(
"
licenseHintModal
"
);
if
(
!
existingModal
)
{
if
(
existingModal
)
{
document
.
body
.
removeChild
(
existingModal
);
}
const
dom
=
new
licenseHintModal
({
const
dom
=
new
licenseHintModal
({
store
,
store
,
el
:
document
.
createElement
(
"
div
"
),
el
:
document
.
createElement
(
"
div
"
),
...
@@ -16,7 +18,6 @@ function showLicenseHintModal(duration = 5) {
...
@@ -16,7 +18,6 @@ function showLicenseHintModal(duration = 5) {
});
});
dom
.
$el
.
id
=
"
licenseHintModal
"
;
dom
.
$el
.
id
=
"
licenseHintModal
"
;
document
.
body
.
appendChild
(
dom
.
$el
);
document
.
body
.
appendChild
(
dom
.
$el
);
}
}
}
function
registryModal
()
{
function
registryModal
()
{
...
...
portal-manager-ui/admin/src/components/watermark/index.js
View file @
592e2e95
...
@@ -12,7 +12,9 @@ let defaultParams = {
...
@@ -12,7 +12,9 @@ let defaultParams = {
};
};
function
showWatermarkCom
(
watermark
=
defaultParams
)
{
function
showWatermarkCom
(
watermark
=
defaultParams
)
{
const
existingModal
=
document
.
getElementById
(
"
Watermark
"
);
const
existingModal
=
document
.
getElementById
(
"
Watermark
"
);
if
(
!
existingModal
)
{
if
(
existingModal
)
{
document
.
body
.
removeChild
(
existingModal
);
}
const
dom
=
new
watermarkCom
({
const
dom
=
new
watermarkCom
({
store
,
store
,
el
:
document
.
createElement
(
"
div
"
),
el
:
document
.
createElement
(
"
div
"
),
...
@@ -24,7 +26,6 @@ function showWatermarkCom(watermark = defaultParams) {
...
@@ -24,7 +26,6 @@ function showWatermarkCom(watermark = defaultParams) {
});
});
dom
.
$el
.
id
=
"
Watermark
"
;
dom
.
$el
.
id
=
"
Watermark
"
;
document
.
body
.
appendChild
(
dom
.
$el
);
document
.
body
.
appendChild
(
dom
.
$el
);
}
}
}
function
registryCom
()
{
function
registryCom
()
{
...
...
portal-manager-ui/admin/src/router/index.js
View file @
592e2e95
...
@@ -26,18 +26,18 @@ router.beforeEach(async (to, from, next) => {
...
@@ -26,18 +26,18 @@ router.beforeEach(async (to, from, next) => {
// let routerPath = store.getters["user/routerList"];
// let routerPath = store.getters["user/routerList"];
// let toRootPathArr = to.matched.map((v) => v.path);
// let toRootPathArr = to.matched.map((v) => v.path);
// let bol = hasIntersection(toRootPathArr, routerPath);
// let bol = hasIntersection(toRootPathArr, routerPath);
let
date
=
moment
().
format
(
"
YYYY-MM-DD
"
);
//
let date = moment().format("YYYY-MM-DD");
let
getDate
=
store
.
getters
[
"
user/licenseInfo
"
].
date
;
//
let getDate = store.getters["user/licenseInfo"].date;
if
(
!
getDate
||
date
!=
getDate
)
{
//
if (!getDate || date != getDate) {
await
store
.
dispatch
(
"
user/checkCipher
"
);
//
await store.dispatch("user/checkCipher");
}
//
}
let
licenseInfo
=
store
.
getters
[
"
user/licenseInfo
"
];
//
let licenseInfo = store.getters["user/licenseInfo"];
if
(
licenseInfo
.
isExpire
)
{
//
if (licenseInfo.isExpire) {
// 打开弹窗
//
// 打开弹窗
Vue
.
prototype
.
$licenseHintModal
();
//
Vue.prototype.$licenseHintModal();
// 打开水印
//
// 打开水印
Vue
.
prototype
.
$watermark
();
//
Vue.prototype.$watermark();
}
//
}
if
(
islogin
)
{
if
(
islogin
)
{
next
();
next
();
// if (routerPath.includes(to.path) || bol) {
// if (routerPath.includes(to.path) || bol) {
...
...
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