Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mobi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wbx-PCAndMobi
mobi
Commits
ed81a11a
Commit
ed81a11a
authored
Jan 08, 2021
by
Gakki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
根据命令打包相应dashboard
parent
4d8c17e7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
api.js
src/server/api.js
+1
-1
home.vue
src/views/home.vue
+10
-3
No files found.
src/server/api.js
View file @
ed81a11a
...
@@ -14,7 +14,7 @@ case 'devol': // 本地线上部署环境下
...
@@ -14,7 +14,7 @@ case 'devol': // 本地线上部署环境下
break
break
case
'pudong-sit'
:
case
'pudong-sit'
:
BASE_URL
=
'http://
xuhui
.hm.omniview.pro/api/v2'
,
BASE_URL
=
'http://
pudong
.hm.omniview.pro/api/v2'
,
// BASE_URL = 'http://211.136.105.193/apiv2' //浦东
// BASE_URL = 'http://211.136.105.193/apiv2' //浦东
FANGDI_URL
=
'http://962121.fgj.sh.gov.cn/wyweb/shanghaiwuye'
FANGDI_URL
=
'http://962121.fgj.sh.gov.cn/wyweb/shanghaiwuye'
...
...
src/views/home.vue
View file @
ed81a11a
<
template
>
<
template
>
<!--
<div
id=
"home"
class=
"layoutPadding"
v-if=
"(this.$api.BASE_URL).indexOf('xuhui') > -1 || (this.$api.BASE_URL).indexOf('31.0.161.39') > -1"
>
-->
<!--
<div
id=
"home"
class=
"layoutPadding"
v-if=
"(this.$api.BASE_URL).indexOf('xuhui') > -1 || (this.$api.BASE_URL).indexOf('31.0.161.39') > -1"
>
-->
<div
id=
"home"
class=
"layoutPadding"
v-if=
"(this.$api.BASE_URL).indexOf('
pudong
') > -1 || (this.$api.BASE_URL).indexOf('31.0.161.39') > -1"
>
<div
id=
"home"
class=
"layoutPadding"
v-if=
"(this.$api.BASE_URL).indexOf('
xuhui
') > -1 || (this.$api.BASE_URL).indexOf('31.0.161.39') > -1"
>
<a-row
type=
"flex"
class=
"align-stretch"
>
<a-row
type=
"flex"
class=
"align-stretch"
>
<a-col
:span=
"24"
>
<a-col
:span=
"24"
>
<a-row
type=
"flex"
style=
"height:100%;"
>
<a-row
type=
"flex"
style=
"height:100%;"
>
...
@@ -567,7 +567,7 @@
...
@@ -567,7 +567,7 @@
</div>
</div>
<div
id=
"home"
class=
"layoutPadding"
v-else
>
<div
id=
"home"
class=
"layoutPadding"
v-else
>
<div
class=
"topBox"
>
<div
class=
"topBox
-l
"
>
<div
class=
"inner"
style=
""
>
<div
class=
"inner"
style=
""
>
<div>
<div>
<p
class=
"top-font"
>
小区数
</p>
<p
class=
"top-font"
>
小区数
</p>
...
@@ -1462,7 +1462,7 @@ export default {
...
@@ -1462,7 +1462,7 @@ export default {
white-space
:
nowrap
;
white-space
:
nowrap
;
}
}
.topBox
.inner
{
.topBox
-l
.inner
{
padding
:
1rem
;
padding
:
1rem
;
width
:
24%
;
width
:
24%
;
display
:
flex
;
display
:
flex
;
...
@@ -1470,4 +1470,11 @@ export default {
...
@@ -1470,4 +1470,11 @@ export default {
background
:
#fff
;
background
:
#fff
;
}
}
.topBox-l
{
width
:
100%
;
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
}
</
style
>
</
style
>
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