Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wisdom-property
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
郭铭瑶
wisdom-property
Commits
f3064042
Commit
f3064042
authored
Mar 19, 2020
by
程卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
协同处置结束
parent
5ec5c78c
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
126 additions
and
67 deletions
+126
-67
state.js
src/store/state.js
+54
-26
discovery.vue
src/views/components/discovery.vue
+1
-0
handle.vue
src/views/components/handle.vue
+58
-37
operation.vue
src/views/components/operation.vue
+1
-0
repair.vue
src/views/components/repair.vue
+3
-2
supervision.vue
src/views/components/supervision.vue
+5
-1
main.vue
src/views/main.vue
+4
-1
No files found.
src/store/state.js
View file @
f3064042
...
@@ -205,32 +205,60 @@ export default {
...
@@ -205,32 +205,60 @@ export default {
],
],
current
:
1
current
:
1
},
},
// {
{
// title:'金港花园',
title
:
'金港花园'
,
// address:'古楼公路345弄12号',
address
:
'古楼公路345弄12号'
,
// matter:'占用消防通道' , // 事项
matter
:
'占用消防通道'
,
// 事项
// style:'物业督查',
style
:
'物业督查'
,
// department:'消防部门',
department
:
'消防部门'
,
// foundTime:'2020-01-01 12:30:30', // 可能是moment格式
foundTime
:
'2020-01-01 12:30:30'
,
// 可能是moment格式
// sendTime:'2020-01-02 13:30:30',
sendTime
:
'2020-01-02 13:30:30'
,
// fixTime:'2020-01-02 14:30:30',
fixTime
:
'2020-01-02 14:30:30'
,
// successTime:'2020-01-02 16:30:30',
successTime
:
'2020-01-02 16:30:30'
,
// overTime:null,
overTime
:
null
,
// },
step
:[
// {
{
// title:'金港花园',
name
:
'推送'
,
// address:'古楼公路345弄12号',
},
// matter:'占用消防通道' , // 事项
{
// style:'物业督查',
name
:
'处理中'
,
// department:'消防部门',
},
// foundTime:'2020-01-01 12:30:30', // 可能是moment格式
{
// sendTime:'2020-01-02 13:30:30',
name
:
'完成'
,
// fixTime:'2020-01-02 14:30:30',
},
// successTime:'2020-01-02 16:30:30',
{
// overTime:null,
name
:
'数据入库'
// },
}
],
current
:
1
},
{
title
:
'金港花园'
,
address
:
'古楼公路345弄12号'
,
matter
:
'占用消防通道'
,
// 事项
style
:
'物业督查'
,
department
:
'消防部门'
,
foundTime
:
'2020-01-01 12:30:30'
,
// 可能是moment格式
sendTime
:
'2020-01-02 13:30:30'
,
fixTime
:
'2020-01-02 14:30:30'
,
successTime
:
'2020-01-02 16:30:30'
,
overTime
:
null
,
step
:[
{
name
:
'推送'
,
},
{
name
:
'处理中'
,
},
{
name
:
'完成'
,
},
{
name
:
'数据入库'
}
],
current
:
1
},
]
]
...
...
src/views/components/discovery.vue
View file @
f3064042
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
:label="data.title"
:label="data.title"
:count="+data.num"
:count="+data.num"
:unit="data.unit"
:unit="data.unit"
labelColor="#5587b7"
countColor="#00f2ff"
countColor="#00f2ff"
size="1.2rem"
size="1.2rem"
/>
/>
...
...
src/views/components/handle.vue
View file @
f3064042
...
@@ -3,35 +3,33 @@
...
@@ -3,35 +3,33 @@
<div
class=
"card"
v-for=
"(data,i) in $store.state.handleList"
:key=
"i"
>
<div
class=
"card"
v-for=
"(data,i) in $store.state.handleList"
:key=
"i"
>
<div
class=
"title"
>
<div
class=
"title"
>
<p>
{{
data
.
title
}}
</p>
<p>
{{
data
.
title
}}
</p>
<span>
{{
data
.
address
}}
</span>
<div
class=
"line"
></div>
<p>
{{
data
.
address
}}
</p>
</div>
</div>
<!--
<div
class=
"body"
>
<div
class=
"body"
>
<ul>
<div>
<li>
<p>
协同事项
</p>
<p>
协同事项
</p>
<span>
{{
data
.
matter
}}
</span
>
<p>
{{
data
.
matter
}}
</p
>
</li
>
</div
>
<li
>
<div
>
<p>
发现方式
</p>
<p>
发现方式
</p>
<span>
{{
data
.
style
}}
</span
>
<p>
{{
data
.
style
}}
</p
>
</li
>
</div
>
<li
>
<div
>
<p>
接受部门
</p>
<p>
接受部门
</p>
<span>
{{
data
.
department
}}
</span
>
<p>
{{
data
.
department
}}
</p
>
</li
>
</div
>
<li
>
<div
>
<p>
推送时间
</p>
<p>
推送时间
</p>
<span>
{{
data
.
sendTime
}}
</span>
<p>
{{
data
.
sendTime
}}
</p>
</li>
</div>
</ul>
</div>
</div>
<div
class=
"foot"
>
<div
class=
"foot"
>
<m-step
<m-step
:steps=
"data.step"
:steps=
"data.step"
:current=
"data.current"
:current=
"data.current"
/>
></m-step>
</div>
</div>
-->
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -47,18 +45,41 @@ export default {
...
@@ -47,18 +45,41 @@ export default {
.handle
.handle
width 100%
width 100%
height 100%
height 100%
.card
padding-bottom 1rem
.title
display flex
display flex
align-items center
align-items center
>.title
justify-content space-between
width 100%
.line
height 0.1rem
background-color #094981
flex 1
margin 0 0.7rem
p
font-size 1rem
color #ffffff
font-weight 700
&:last-child
color $fontColor
font-size 0.6rem
.body
display flex
display flex
align-items center
align-items center
justify-content flex-start
justify-content space-between
>p
div
width 50%
flex 1
>span
font-size .5rem
width 50%
margin 1rem 0
p
padding-top 0.2rem
padding-right 0.5rem
white-space nowrap
overflow hidden
text-overflow ellipsis
color $fontColor
font-size 0.6rem
&:last-child
color $edgeColor
font-size .9rem
</
style
>
</
style
>
src/views/components/operation.vue
View file @
f3064042
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
size=
"1.2rem"
size=
"1.2rem"
:unit=
"data.unit"
:unit=
"data.unit"
countColor=
"#00f2ff"
countColor=
"#00f2ff"
labelColor=
"#5587b7"
:icon=
"require(`@/assets/images/$
{data.img}`)"/>
:icon=
"require(`@/assets/images/$
{data.img}`)"/>
</div>
</div>
</
template
>
</
template
>
...
...
src/views/components/repair.vue
View file @
f3064042
<
template
>
<
template
>
<div
class=
"repair"
>
<div
class=
"repair"
>
<m-brief
<m-brief
class=
"
r-
card"
class=
"card"
v-for=
"(data,i) in $store.state.repairList"
v-for=
"(data,i) in $store.state.repairList"
:key=
"i"
:key=
"i"
:label=
"data.title"
:label=
"data.title"
:icon=
"require(`@/assets/images/$
{data.img}`) "
:icon=
"require(`@/assets/images/$
{data.img}`) "
:unit="`/${data.allNum}`"
:unit="`/${data.allNum}`"
:count="+data.num"
:count="+data.num"
labelColor="#5587b7"
countColor="#00f2ff"
countColor="#00f2ff"
size="1.2rem"
size="1.2rem"
/>
/>
...
@@ -26,7 +27,7 @@ export default {
...
@@ -26,7 +27,7 @@ export default {
align-items center
align-items center
width 100%
width 100%
height 100%
height 100%
.
r-
card
.card
width 50%
width 50%
</
style
>
</
style
>
src/views/components/supervision.vue
View file @
f3064042
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<div
class=
"line"
/>
<div
class=
"line"
/>
</div>
</div>
<div
class=
"list"
>
<div
class=
"list"
>
<div
v-for=
"(data,i) in $store.state.supervisionCommunityList"
:key=
"i"
>
<div
v-for=
"(data,i) in $store.state.supervisionCommunityList"
:key=
"i"
@
click=
"$emit('clickCommunity',data)"
>
<p>
{{
data
.
title
}}
</p>
<p>
{{
data
.
title
}}
</p>
</div>
</div>
</div>
</div>
...
@@ -87,6 +87,7 @@ export default {
...
@@ -87,6 +87,7 @@ export default {
align-items center
align-items center
color $fontColor
color $fontColor
margin-top .5rem
margin-top .5rem
font-size 0.8rem
>img
>img
width 1rem
width 1rem
height 1rem
height 1rem
...
@@ -102,6 +103,9 @@ export default {
...
@@ -102,6 +103,9 @@ export default {
white-space nowrap
white-space nowrap
overflow hidden
overflow hidden
text-overflow ellipsis
text-overflow ellipsis
color #5587b7
font-weight 600
font-size 0.8rem
.situation
.situation
.content
.content
margin-top 1rem
margin-top 1rem
...
...
src/views/main.vue
View file @
f3064042
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
<Discovery
/>
<Discovery
/>
</m-card>
</m-card>
<m-card
area=
"box5"
title=
"物业督查"
mode=
"4"
:icon=
"require('@/assets/images/icon5.png')"
>
<m-card
area=
"box5"
title=
"物业督查"
mode=
"4"
:icon=
"require('@/assets/images/icon5.png')"
>
<Supervision/>
<Supervision
@
clickCommunity=
"clickCommunity"
/>
</m-card>
</m-card>
<m-card
area=
"box6"
title=
"协同处置"
mode=
"4"
:icon=
"require('@/assets/images/icon6.png')"
>
<m-card
area=
"box6"
title=
"协同处置"
mode=
"4"
:icon=
"require('@/assets/images/icon6.png')"
>
<Handle/>
<Handle/>
...
@@ -55,6 +55,9 @@ export default {
...
@@ -55,6 +55,9 @@ export default {
methods
:
{
methods
:
{
handleSelect
(
data
)
{
handleSelect
(
data
)
{
console
.
log
(
data
)
console
.
log
(
data
)
},
clickCommunity
(
data
){
console
.
log
(
data
)
}
}
}
}
}
}
...
...
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