Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yangpu
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
0
Merge Requests
0
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
郭铭瑶
yangpu
Commits
c2c3683f
Commit
c2c3683f
authored
Nov 24, 2020
by
郭铭瑶
🤘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打包
parent
1f36f2d6
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
27 additions
and
8 deletions
+27
-8
.gitignore
.gitignore
+1
-0
monitor-form.vue
...components/MonitorComponents/MonitorForm/monitor-form.vue
+2
-1
api.js
src/server/api.js
+1
-1
done-component.vue
src/views/components/done-component.vue
+18
-2
green.vue
src/views/components/green.vue
+4
-2
smart-discover.vue
src/views/components/smart-discover.vue
+1
-1
main.vue
src/views/main.vue
+0
-1
No files found.
.gitignore
View file @
c2c3683f
*.zip
# Logs
# Logs
logs
logs
*.log
*.log
...
...
src/components/MonitorComponents/MonitorForm/monitor-form.vue
View file @
c2c3683f
...
@@ -81,8 +81,9 @@ export default {
...
@@ -81,8 +81,9 @@ export default {
.content
.content
flex 1
flex 1
img
img
width
20
%
width
19
%
height .5rem
height .5rem
margin 0.05rem 0
margin 0.05rem 0
margin-right .03rem
cursor pointer
cursor pointer
</
style
>
</
style
>
src/server/api.js
View file @
c2c3683f
...
@@ -2,7 +2,7 @@ let BASE_URL = ''
...
@@ -2,7 +2,7 @@ let BASE_URL = ''
let
DATA_URL
=
''
let
DATA_URL
=
''
switch
(
process
.
env
.
NODE_ENV
)
{
switch
(
process
.
env
.
NODE_ENV
)
{
case
'production'
:
case
'production'
:
BASE_URL
=
'http://10.89.4.164/api'
BASE_URL
=
'http://10.89.4.164
:18080
/api'
// BASE_URL = 'http://yangpu.hm.omniview.pro/api'
// BASE_URL = 'http://yangpu.hm.omniview.pro/api'
DATA_URL
=
'http://10.89.1.208:10005'
DATA_URL
=
'http://10.89.1.208:10005'
break
break
...
...
src/views/components/done-component.vue
View file @
c2c3683f
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
<p
class=
"title"
><span
class=
"dot"
/>
风险报警信息
</p>
<p
class=
"title"
><span
class=
"dot"
/>
风险报警信息
</p>
<m-form
:label-width=
".6"
:model=
"data"
:layout=
"layout"
/>
<m-form
:label-width=
".6"
:model=
"data"
:layout=
"layout"
/>
</div>
</div>
<div
v-for=
"
(item, i) in data.details
"
:key=
"item.id"
>
<div
v-for=
"
item in data.details.slice(1)
"
:key=
"item.id"
>
<p
class=
"title"
><span
class=
"dot"
/>
{{
i
==
0
?
'物业'
:
'街道'
}}
处置
</p>
<p
class=
"title"
><span
class=
"dot"
/>
{{
getName
(
item
.
backStatus
)
}}
处置
</p>
<m-form
:label-width=
".6"
:model=
"item"
:layout=
"detailLayout"
/>
<m-form
:label-width=
".6"
:model=
"item"
:layout=
"detailLayout"
/>
</div>
</div>
</div>
</div>
...
@@ -71,6 +71,22 @@ export default {
...
@@ -71,6 +71,22 @@ export default {
],
],
}
}
},
},
methods
:
{
getName
(
type
)
{
if
(
type
==
'0'
)
{
return
'转物业'
}
if
(
type
==
'1'
||
type
==
'2'
)
{
return
'物业'
}
if
(
type
==
'3'
)
{
return
'转街道'
}
if
(
type
==
'4'
)
{
return
'街道'
}
},
},
}
}
</
script
>
</
script
>
...
...
src/views/components/green.vue
View file @
c2c3683f
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<div
v-for=
"(item, i) in data"
:key=
"item.name"
>
<div
v-for=
"(item, i) in data"
:key=
"item.name"
>
<span
class=
"dot"
:style=
"`border-color:$
{config.colors[i]}`"/>
<span
class=
"dot"
:style=
"`border-color:$
{config.colors[i]}`"/>
<p>
{{
item
.
name
}}
</p>
<p>
{{
item
.
name
}}
</p>
<m-count
:value=
"item.value"
:decimal=
"0"
:style=
"`color:$
{config.colors[i]}`"/>
<m-count
class=
"count"
:value=
"item.value"
:decimal=
"0"
:style=
"`color:$
{config.colors[i]}`"/>
<span
class=
"unit"
>
个
</span>
<span
class=
"unit"
>
个
</span>
</div>
</div>
</div>
</div>
...
@@ -57,7 +57,7 @@ export default {
...
@@ -57,7 +57,7 @@ export default {
margin-bottom .1rem
margin-bottom .1rem
.dot
.dot
display inline-block
display inline-block
width .
1
rem
width .
08
rem
height @width
height @width
border .02rem solid
border .02rem solid
border-radius 50%
border-radius 50%
...
@@ -65,6 +65,8 @@ export default {
...
@@ -65,6 +65,8 @@ export default {
width 50%
width 50%
margin 0 .05rem
margin 0 .05rem
display inline-block
display inline-block
.count
font-size .12rem
.unit
.unit
color #aaa
color #aaa
font-size .08rem
font-size .08rem
...
...
src/views/components/smart-discover.vue
View file @
c2c3683f
...
@@ -54,7 +54,7 @@ export default {
...
@@ -54,7 +54,7 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
setTimeout
(()
=>
this
.
showChart
=
true
,
100
)
setTimeout
(()
=>
this
.
showChart
=
true
,
100
0
)
},
},
computed
:
{
computed
:
{
discoverTrend
()
{
discoverTrend
()
{
...
...
src/views/main.vue
View file @
c2c3683f
...
@@ -216,7 +216,6 @@ export default {
...
@@ -216,7 +216,6 @@ export default {
this
.
detailData
=
data
this
.
detailData
=
data
this
.
detailModal
=
true
this
.
detailModal
=
true
}
else
{
}
else
{
console
.
log
(
this
.
doneData
)
this
.
doneData
=
data
this
.
doneData
=
data
this
.
doneModal
=
true
this
.
doneModal
=
true
}
}
...
...
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