Commit 84a87405 authored by Gakki's avatar Gakki
parents 131d61df 56494319
...@@ -63,47 +63,47 @@ ...@@ -63,47 +63,47 @@
] ]
}, },
{ {
"path": "/documents/fiveSearch", "name": "fiveSearch", "path": "/documents/fiveSearch", "name": "fiveSearch",
"meta": { "title": "物业五查", "menuPath": true, "menuIcon": "profile", "hideInBread": true }, "meta": { "title": "物业五查", "menuPath": true, "menuIcon": "profile", "hideInBread": true },
"children": [ "children": [
{ {
"path": "/documents/fiveSearch/managerSelfCheckList", "name": "managerSelfCheckList", "path": "/documents/fiveSearch/managerSelfCheckList", "name": "managerSelfCheckList",
"meta": { "title": "小区经理自查", "menuPath": true, "hideInBread": false }, "meta": { "title": "小区经理自查", "menuPath": true, "hideInBread": false},
"children": [ "children": [
{ {
"path": "/documents/fiveSearch/managerSelfCheckList/managerCheckList", "name": "managerCheckList", "path": "/documents/fiveSearch/managerSelfCheckList/managerCheckList", "name": "managerCheckList",
"meta": { "title": "小区经理自查检查单列表", "menuPath": false, "hideInBread": false } "meta": { "title": "小区经理自查检查单列表", "menuPath": false, "hideInBread": false }
}, },
{ {
"path": "/documents/fiveSearch/managerSelfCheckList/managerCheckInfo", "name": "managerCheckInfo", "path": "/documents/fiveSearch/managerSelfCheckList/managerCheckInfo", "name": "managerCheckInfo",
"meta": { "title": "小区经理自查检查单详情", "menuPath": false, "hideInBread": false } "meta": { "title": "小区经理自查检查单详情", "menuPath": false, "hideInBread": false }
}, },
{ {
"path": "/documents/fiveSearch/managerSelfCheckList/managerAllIn", "name": "allIn", "path": "/documents/fiveSearch/managerSelfCheckList/managerAllIn", "name": "allIn",
"meta": { "title": "街道检查情况汇总", "menuPath": false, "hideInBread": false } "meta": { "title": "街道检查情况汇总", "menuPath": false, "hideInBread": false }
} }
] ]
}, },
{ {
"path": "/documents/fiveSearch/doubleWeekCheckList", "name": "doubleWeekCheckList", "path": "/documents/fiveSearch/doubleWeekCheckList", "name": "doubleWeekCheckList",
"meta": { "title": "物企双周查", "menuPath": true, "hideInBread": false }, "meta": { "title": "物企双周查", "menuPath": true, "hideInBread": false },
"children": [ "children": [
{ {
"path": "/documents/fiveSearch/doubleWeekCheckList/doubleCheckList", "name": "doubleCheckList", "path": "/documents/fiveSearch/doubleWeekCheckList/doubleCheckList", "name": "doubleCheckList",
"meta": { "title": "物企双周查列表", "menuPath": false, "hideInBread": false } "meta": { "title": "物企双周查列表", "menuPath": false, "hideInBread": false }
}, },
{ {
"path": "/documents/fiveSearch/doubleWeekCheckList/doubleCheckInfo", "name": "doubleCheckInfo", "path": "/documents/fiveSearch/doubleWeekCheckList/doubleCheckInfo", "name": "doubleCheckInfo",
"meta": { "title": "物企双周查详情", "menuPath": false, "hideInBread": false } "meta": { "title": "物企双周查详情", "menuPath": false, "hideInBread": false }
}, },
{ {
"path": "/documents/fiveSearch/doubleWeekCheckList/doubleAllIn", "name": "allIn", "path": "/documents/fiveSearch/doubleWeekCheckList/doubleAllIn", "name": "allIn",
"meta": { "title": "街道检查情况汇总", "menuPath": false, "hideInBread": false } "meta": { "title": "街道检查情况汇总", "menuPath": false, "hideInBread": false}
} }
] ]
}, },
{ {
"path": "/documents/fiveSearch/mutableList", "name": "mutableList", "path": "/documents/fiveSearch/mutableList", "name": "mutableList",
"meta": { "title": "整改单列表", "menuPath": true, "hideInBread": false }, "meta": { "title": "整改单列表", "menuPath": true, "hideInBread": false },
"children": [ "children": [
{ {
...@@ -112,8 +112,8 @@ ...@@ -112,8 +112,8 @@
} }
] ]
}, },
{ {
"path": "/documents/fiveSearch/monthList", "name": "month", "path": "/documents/fiveSearch/monthList", "name": "month",
"meta": { "title": "房办月查", "menuIcon": "profile", "menuPath": true, "hideInBread": false }, "meta": { "title": "房办月查", "menuIcon": "profile", "menuPath": true, "hideInBread": false },
"children": [ "children": [
{ {
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
"meta": { "title": "房办月查小区列表", "menuPath": false, "hideInBread": false }, "meta": { "title": "房办月查小区列表", "menuPath": false, "hideInBread": false },
"children": [ "children": [
{ {
"path": "/documents/fiveSearch/monthList/monthListSect/monthInfo", "name": "monthInfo", "path": "/documents/fiveSearch/monthList/monthListSect/monthInfo", "name": "monthInfo",
"meta": { "title": "检查详情", "menuPath": false, "hideInBread": false } "meta": { "title": "检查详情", "menuPath": false, "hideInBread": false }
} }
] ]
......
...@@ -27,6 +27,10 @@ const appRoutes = [ ...@@ -27,6 +27,10 @@ const appRoutes = [
path: '/portal-home', name: 'home', component: resolve => require(['@/views/home'], resolve), //Home, path: '/portal-home', name: 'home', component: resolve => require(['@/views/home'], resolve), //Home,
meta: { title: '首页' }, meta: { title: '首页' },
}, },
{
path: '/dashBoard', name: 'dashBoard', component: resolve => require(['@/views/dashBoard'], resolve), //Home,
meta: { title: '首页' },
},
{ path: '/person', name: 'person', component: resolve => require(['@/views/person-center'], resolve), //PersonCenter, { path: '/person', name: 'person', component: resolve => require(['@/views/person-center'], resolve), //PersonCenter,
meta: { title: '个人中心' }, meta: { title: '个人中心' },
}, },
......
...@@ -204,4 +204,6 @@ export default { ...@@ -204,4 +204,6 @@ export default {
GET_LABEL_LIST: MOCK_URL + '/service-customkey-ddd/labels', // 获取标签列表 GET_LABEL_LIST: MOCK_URL + '/service-customkey-ddd/labels', // 获取标签列表
GET_FB_WY_MANAGE_CHECK: '/service-documents-ddd/checkOrder/dahboard/countDatas', //首页-房办月查-物业双周查-经理自查
} }
This diff is collapsed.
This diff is collapsed.
...@@ -7,18 +7,21 @@ ...@@ -7,18 +7,21 @@
<p :class="`${active=='month'?'active':''}`" @click="changeRank('month')">月排行</p> <p :class="`${active=='month'?'active':''}`" @click="changeRank('month')">月排行</p>
<p :class="`${active=='year'?'active':''}`" @click="changeRank('year')">年排行</p> <p :class="`${active=='year'?'active':''}`" @click="changeRank('year')">年排行</p>
<p :class="`${active=='total'?'active':''}`" @click="changeRank('total')">总排行</p> <p :class="`${active=='total'?'active':''}`" @click="changeRank('total')">总排行</p>
<p @click="toMore">···</p> <!-- <p @click="toMore">···</p> -->
</div> </div>
</div> </div>
<div class="content"> <div class="content" >
<div class="list" v-for="(item,index) in list" :key="index"> <div class="list" v-for="(item,index) in list" :key="index">
<div class="left"> <div class="left">
<span :style="`background:${index>2?'rgb(229,230,231)':'#000'};color:${index>2?'rgb(96,97,98)':'#FFF'};`">{{++index}}</span> <span :style="`background:${index>2?'rgb(229,230,231)':'#000'};color:${index>2?'rgb(96,97,98)':'#FFF'};`">{{++index}}</span>
<span>{{item.complaintType}}</span> <span>{{item.complaintType}}</span>
</div> </div>
<div class="danwei">{{item.num}}</div> <!-- <div class="danwei">{{item.num}}</div> -->
</div> </div>
</div> </div>
<!-- <div class="content" v-else style="">
<p> 暂无数据... </p>
</div> -->
</div> </div>
</template> </template>
...@@ -45,6 +48,27 @@ export default { ...@@ -45,6 +48,27 @@ export default {
}) })
} }
if (this.moduletitle == '投诉问题') {
this.getList()
}
if (this.moduletitle == '报修') { // 没接口 假数据
this.list =[
{
complaintType: '供电供水设备经常出现故障',
_id: '高空坠物隐患',
},
{
complaintType: '日常运作出现状况',
_id: '高空坠物隐患',
},
{
complaintType: '各种分摊费和特约维修费',
_id: '高空坠物隐患',
},
]
}
}, },
methods: { methods: {
...mapActions([ ...mapActions([
...@@ -57,6 +81,52 @@ export default { ...@@ -57,6 +81,52 @@ export default {
this.list = this.$com.confirm(res, 'data.content', []).slice(0, 5) this.list = this.$com.confirm(res, 'data.content', []).slice(0, 5)
}) })
} }
if (this.moduletitle == '投诉问题') {
this.getList()
}
if (this.moduletitle == '报修') { // 没接口 假数据
this.list =[
{
complaintType: '供电供水设备经常出现故障',
_id: '高空坠物隐患',
},
{
complaintType: '日常运作出现状况',
_id: '高空坠物隐患',
},
{
complaintType: '各种分摊费和特约维修费',
_id: '高空坠物隐患',
},
]
}
},
getList(){
const date = new Date()
const year = date.getFullYear()
const month = date.getMonth()+1
const params = {}
if(this.active == 'month'){
params.type = 'M'
params.tsMonthly = year + '' + (String(month).length==1?'-0'+month:'-'+month)
}else if(this.active == 'year'){
params.type = 'Y'
params.dateTime = year + ''
}else if(this.active == 'total'){
params.type = 'S'
}
params.tsNum_desc = 'desc'
params.pageNo = 1
params.pageSize = 8
this.$ajax.get({
url: this.$api.GET_TOUSUQUESTION_LIST,
params: params
}).then(res => {
if (res.code === '200') {
this.list = this.$com.confirm(res, 'data.content.content', [])
}
})
}, },
toMore(){ toMore(){
switch (this.moduletitle) { switch (this.moduletitle) {
...@@ -105,16 +175,17 @@ export default { ...@@ -105,16 +175,17 @@ export default {
.box .title >div .active{ .box .title >div .active{
color: rgb(68,136,245); color: rgb(68,136,245);
} }
.box .title >div p:last-child{ /* .box .title >div p:last-child{
color: rgb(68,136,245); color: rgb(68,136,245);
font-weight: 800; font-weight: 800;
font-size: 20px; font-size: 20px;
margin: 0; margin: 0;
} } */
.box .content{ .box .content{
padding:15px; padding:15px;
flex:1; flex:1;
display: flex; display: flex;
min-height:200px;
flex-direction: column; flex-direction: column;
} }
.box .content .list{ .box .content .list{
...@@ -124,6 +195,7 @@ export default { ...@@ -124,6 +195,7 @@ export default {
/* cursor: pointer; */ /* cursor: pointer; */
color: rgb(96,97,98); color: rgb(96,97,98);
align-items: center; align-items: center;
margin:10px 0;
} }
.box .content .list .left{ .box .content .list .left{
......
...@@ -67,17 +67,20 @@ export default { ...@@ -67,17 +67,20 @@ export default {
// width: 240, // width: 240,
dataIndex: 'ieName', dataIndex: 'ieName',
key: 'ieName', key: 'ieName',
width: '20%' width: '20%',
align: 'center',
}, },
{ {
title: '安装位置', title: '安装位置',
dataIndex: 'ieAddr', dataIndex: 'ieAddr',
align: 'center',
key: 'ieAddr', key: 'ieAddr',
width: '20%' width: '20%'
}, },
{ {
title: '设备类型', title: '设备类型',
align: 'center',
dataIndex: 'ieType', dataIndex: 'ieType',
key: 'ieType', key: 'ieType',
width: '10%' width: '10%'
...@@ -85,6 +88,7 @@ export default { ...@@ -85,6 +88,7 @@ export default {
}, },
{ {
title: '维保单位', title: '维保单位',
align: 'center',
dataIndex: 'ieUnit', dataIndex: 'ieUnit',
key: 'ieUnit', key: 'ieUnit',
width: '20%' width: '20%'
...@@ -92,6 +96,7 @@ export default { ...@@ -92,6 +96,7 @@ export default {
}, },
{ {
title: '是否是主出入口', title: '是否是主出入口',
align: 'center',
dataIndex: 'isMainGate', dataIndex: 'isMainGate',
key: 'isMainGate', key: 'isMainGate',
width: '10%' width: '10%'
...@@ -99,6 +104,7 @@ export default { ...@@ -99,6 +104,7 @@ export default {
}, },
{ {
title: '是否有门卫室', title: '是否有门卫室',
align: 'center',
dataIndex: 'ffCode', dataIndex: 'ffCode',
key: 'ffCode', key: 'ffCode',
width: '10%' width: '10%'
...@@ -110,6 +116,7 @@ export default { ...@@ -110,6 +116,7 @@ export default {
{ {
title: '设备名称', title: '设备名称',
// width: 240, // width: 240,
align: 'center',
dataIndex: 'ieName', dataIndex: 'ieName',
key: 'ieName', key: 'ieName',
width: '22%' width: '22%'
...@@ -117,12 +124,14 @@ export default { ...@@ -117,12 +124,14 @@ export default {
}, },
{ {
title: '安装位置', title: '安装位置',
align: 'center',
dataIndex: 'ieAddr', dataIndex: 'ieAddr',
key: 'ieAddr', key: 'ieAddr',
width: '22%' width: '22%'
}, },
{ {
title: '设备类型', title: '设备类型',
align: 'center',
dataIndex: 'ieType', dataIndex: 'ieType',
key: 'ieType', key: 'ieType',
width: '10%' width: '10%'
...@@ -130,6 +139,7 @@ export default { ...@@ -130,6 +139,7 @@ export default {
}, },
{ {
title: '维保单位', title: '维保单位',
align: 'center',
dataIndex: 'ieUnit', dataIndex: 'ieUnit',
key: 'ieUnit', key: 'ieUnit',
width: '22%' width: '22%'
...@@ -137,6 +147,7 @@ export default { ...@@ -137,6 +147,7 @@ export default {
}, },
{ {
title: '启用日期', title: '启用日期',
align: 'center',
dataIndex: 'ieDate', dataIndex: 'ieDate',
key: 'ieDate', key: 'ieDate',
width: '10%' width: '10%'
...@@ -148,12 +159,14 @@ export default { ...@@ -148,12 +159,14 @@ export default {
{ {
title: '设备名称', title: '设备名称',
// width: 240, // width: 240,
align: 'center',
dataIndex: 'ieName', dataIndex: 'ieName',
key: 'ieName', key: 'ieName',
width: '10%' width: '10%'
}, },
{ {
align: 'center',
title: '安装位置', title: '安装位置',
dataIndex: 'ieAddr', dataIndex: 'ieAddr',
key: 'ieAddr', key: 'ieAddr',
...@@ -161,6 +174,7 @@ export default { ...@@ -161,6 +174,7 @@ export default {
}, },
{ {
align: 'center',
title: '设备类型', title: '设备类型',
dataIndex: 'ieType', dataIndex: 'ieType',
key: 'ieType', key: 'ieType',
...@@ -168,6 +182,7 @@ export default { ...@@ -168,6 +182,7 @@ export default {
}, },
{ {
align: 'center',
title: '维保单位', title: '维保单位',
dataIndex: 'ieUnit', dataIndex: 'ieUnit',
key: 'ieUnit', key: 'ieUnit',
...@@ -176,6 +191,7 @@ export default { ...@@ -176,6 +191,7 @@ export default {
}, },
{ {
title: '启用日期', title: '启用日期',
align: 'center',
dataIndex: 'ieDate', dataIndex: 'ieDate',
key: 'ieDate', key: 'ieDate',
width: '8%' width: '8%'
...@@ -183,12 +199,14 @@ export default { ...@@ -183,12 +199,14 @@ export default {
}, },
{ {
title: '型号', title: '型号',
align: 'center',
dataIndex: 'ieModel', dataIndex: 'ieModel',
key: 'ieModel', key: 'ieModel',
width: '5%' width: '5%'
}, },
{ {
title: '品牌', title: '品牌',
align: 'center',
dataIndex: 'ieBrand', dataIndex: 'ieBrand',
key: 'ieBrand', key: 'ieBrand',
width: '5%' width: '5%'
...@@ -196,19 +214,22 @@ export default { ...@@ -196,19 +214,22 @@ export default {
}, },
{ {
title: '特种设备代码', title: '特种设备代码',
dataIndex: 'specialEquipCode', dataIndex: 'specialEquipCode',
key: 'specialEquipCode', align: 'center',
width: '10%' width: '10%'
}, },
{ {
title: '检验单位', title: '检验单位',
align: 'center',
dataIndex: 'inspectionUnit', dataIndex: 'inspectionUnit',
key: 'inspectionUnit', key: 'inspectionUnit',
width: '10%' width: '10%'
}, },
{ {
align: 'center',
title: '救援电话', title: '救援电话',
dataIndex: 'rescuePhone', dataIndex: 'rescuePhone',
key: 'rescuePhone', key: 'rescuePhone',
...@@ -219,6 +240,7 @@ export default { ...@@ -219,6 +240,7 @@ export default {
// 监控 // 监控
jiankong: [ jiankong: [
{ {
align: 'center',
title: '设备名称', title: '设备名称',
// width: 240, // width: 240,
dataIndex: 'ieName', dataIndex: 'ieName',
...@@ -230,6 +252,7 @@ export default { ...@@ -230,6 +252,7 @@ export default {
title: '安装位置', title: '安装位置',
dataIndex: 'ieAddr', dataIndex: 'ieAddr',
key: 'ieAddr', key: 'ieAddr',
align: 'center',
width: '30%' width: '30%'
}, },
...@@ -237,11 +260,13 @@ export default { ...@@ -237,11 +260,13 @@ export default {
title: '设备类型', title: '设备类型',
dataIndex: 'ieType', dataIndex: 'ieType',
key: 'ieType', key: 'ieType',
align: 'center',
width: '10%' width: '10%'
}, },
{ {
title: '维保单位', title: '维保单位',
align: 'center',
dataIndex: 'ieUnit', dataIndex: 'ieUnit',
key: 'ieUnit', key: 'ieUnit',
width: '30%' width: '30%'
...@@ -251,6 +276,7 @@ export default { ...@@ -251,6 +276,7 @@ export default {
// 泵 // 泵
shenghuo: [ shenghuo: [
{ {
align: 'center',
title: '设备名称', title: '设备名称',
// width: 240, // width: 240,
dataIndex: 'ieName', dataIndex: 'ieName',
...@@ -259,12 +285,14 @@ export default { ...@@ -259,12 +285,14 @@ export default {
}, },
{ {
align: 'center',
title: '安装位置', title: '安装位置',
dataIndex: 'ieAddr', dataIndex: 'ieAddr',
key: 'ieAddr', key: 'ieAddr',
width: '18%' width: '18%'
}, },
{ {
align: 'center',
title: '设备类型', title: '设备类型',
dataIndex: 'ieType', dataIndex: 'ieType',
key: 'ieType', key: 'ieType',
...@@ -272,6 +300,7 @@ export default { ...@@ -272,6 +300,7 @@ export default {
}, },
{ {
align: 'center',
title: '维保单位', title: '维保单位',
dataIndex: 'ieUnit', dataIndex: 'ieUnit',
key: 'ieUnit', key: 'ieUnit',
...@@ -280,6 +309,7 @@ export default { ...@@ -280,6 +309,7 @@ export default {
}, },
{ {
title: '生产厂家', title: '生产厂家',
align: 'center',
dataIndex: 'ieFactory', dataIndex: 'ieFactory',
key: 'ieFactory', key: 'ieFactory',
width: '15%' width: '15%'
...@@ -287,6 +317,7 @@ export default { ...@@ -287,6 +317,7 @@ export default {
}, },
{ {
title: '供水门牌号', title: '供水门牌号',
align: 'center',
dataIndex: 'ieWaterDoorplate', dataIndex: 'ieWaterDoorplate',
key: 'ieWaterDoorplate', key: 'ieWaterDoorplate',
width: '18%' width: '18%'
......
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