Commit f3064042 authored by 程卓's avatar 程卓

协同处置结束

parent 5ec5c78c
...@@ -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
},
] ]
......
...@@ -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"
/> />
......
...@@ -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>
...@@ -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>
......
<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>
...@@ -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
......
...@@ -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)
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment