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
d97de990
Commit
d97de990
authored
Feb 15, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
66652be9
aa92220f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
7 deletions
+24
-7
base-manager-ui/admin/.env.yibin
base-manager-ui/admin/.env.yibin
+2
-1
base-manager-ui/admin/src/pages/basicset/site/website.vue
base-manager-ui/admin/src/pages/basicset/site/website.vue
+22
-6
No files found.
base-manager-ui/admin/.env.yibin
View file @
d97de990
...
@@ -2,3 +2,4 @@
...
@@ -2,3 +2,4 @@
NODE_ENV = "production"
NODE_ENV = "production"
VUE_APP_API_BASE_URL=/basics_api
VUE_APP_API_BASE_URL=/basics_api
VUE_APP_API_portal_URL=/portal_home
VUE_APP_API_portal_URL=/portal_home
VUE_APP_API_IMG_URL = ""
\ No newline at end of file
base-manager-ui/admin/src/pages/basicset/site/website.vue
View file @
d97de990
...
@@ -376,13 +376,29 @@ export default {
...
@@ -376,13 +376,29 @@ export default {
this
.
$refs
.
addsite
.
onEdit
(
data
);
this
.
$refs
.
addsite
.
onEdit
(
data
);
}
,
}
,
// 同步数据
// 同步数据
async
handleSync
(
id
)
{
handleSync
(
id
)
{
let
_this
=
this
;
this
.
$confirm
({
title
:
"
系统提示
"
,
content
:
"
确定要同步更新站点数据吗?
"
,
okText
:
"
确定
"
,
okType
:
"
primary
"
,
cancelText
:
"
取消
"
,
centered
:
true
,
maskClosable
:
true
,
icon
:
"
question
"
,
async
onOk
()
{
let
res
=
await
SyncSiteData
({
id
}
);
let
res
=
await
SyncSiteData
({
id
}
);
let
{
code
,
msg
}
=
res
.
data
;
let
{
code
,
msg
}
=
res
.
data
;
if
(
code
==
1
)
{
if
(
code
==
1
)
{
this
.
$message
.
success
(
msg
);
_
this
.
$message
.
success
(
msg
);
}
}
}
,
}
,
onCancel
()
{
console
.
log
(
"
Cancel
"
);
}
,
}
);
}
,
}
,
}
,
}
;
}
;
<
/script
>
<
/script
>
...
...
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