Browse Source

占比数加%,未办结数字段错误

feature
是小王呀\24601 1 year ago
parent
commit
bb8411c76b
  1. 143
      src/views/modules/shequzhili/analysis/index.vue

143
src/views/modules/shequzhili/analysis/index.vue

@ -19,7 +19,7 @@
</div>
<div class="m-table">
<div style="display: flex;justify-content: space-between;flex-direction:row;">
<div style="margin:30px 0">
<h1 style="font-size: 24px; font-weight: bold;"> 事件统计 </h1>
</div>
<div class="div_room">
@ -57,7 +57,7 @@
<div class="item_content">
<div class="item_row1">
<div class="row_left2">{{analysisList.unresolveTotal}}</div>
<div class="text1">{{analysisList.resolveRate}}%</div>
<div class="text1">{{analysisList.unresolveRate}}%</div>
</div>
<div class="item_row2">
<div class="row_left">未办结事件数</div>
@ -154,8 +154,8 @@
</el-table>
<div style="display: flex;justify-content: space-between;flex-direction:row; height:500px">
<div style="display: flex;width: 50%; padding-right: 5px;flex-direction:column;">
<h1 style="font-size: 24px; font-weight: bold;"> 部门科室工单量统计 </h1>
<div style="display: flex;width: 49%; flex-direction:column;">
<h1 style="font-size: 24px; font-weight: bold; margin: 20px 0;"> 部门科室工单量统计 </h1>
<el-table :data="departmentList" height="250" border class="m-table-item" style="width: 100%">
<!-- <el-table-column label="序号" fixed="left" type="index" align="center" width="50" /> -->
<!-- <el-table-column prop="address" align="center" label="地点" :show-overflow-tooltip="true"></el-table-column> -->
@ -166,15 +166,19 @@
<el-button style="width: 100%" type="text" @click="clickAddressData(row)">{{row.amount}}</el-button>
</template> -->
</el-table-column>
<el-table-column prop="totalRate" align="center" label="占比" :show-overflow-tooltip="true"></el-table-column>
<el-table-column prop="unresolveRate" align="center" label="未办结数" :show-overflow-tooltip="true"></el-table-column>
<el-table-column prop="totalRate" align="center" label="占比" :show-overflow-tooltip="true">
<template slot-scope="scope">
{{ scope.row.totalRate }}%
</template>
</el-table-column>
<el-table-column prop="unresolveTotal" align="center" label="未办结数" :show-overflow-tooltip="true"></el-table-column>
<el-table-column prop="illegalConnectRate" align="center" label="联系当事人超期数" :show-overflow-tooltip="true"></el-table-column>
<el-table-column prop="illegalResolveTotal" align="center" label="办理超期数" :show-overflow-tooltip="true"></el-table-column>
</el-table>
</div>
<div style="display: flex;padding-right: 5px;width: 50%;flex-direction:column;">
<h1 style="font-size: 24px; font-weight: bold;"> 社区工单量统计 </h1>
<div style="display: flex;width: 49%;flex-direction:column;">
<h1 style="font-size: 24px; font-weight: bold; margin: 20px 0;"> 社区工单量统计 </h1>
<el-table :data="communityList" height="300" border class="m-table-item" style="">
<!-- <el-table-column label="序号" fixed="left" type="index" align="center" width="50" /> -->
<!-- <el-table-column prop="address" align="center" label="地点" :show-overflow-tooltip="true"></el-table-column> -->
@ -185,8 +189,13 @@
<el-button style="width: 100%" type="text" @click="clickAddressData(row)">{{row.amount}}</el-button>
</template> -->
</el-table-column>
<el-table-column prop="totalRate" align="center" label="占比" :show-overflow-tooltip="true"></el-table-column>
<el-table-column prop="unresolveRate" align="center" label="未办结数" :show-overflow-tooltip="true"></el-table-column>
<el-table-column prop="totalRate" align="center" label="占比" :show-overflow-tooltip="true">
<template slot-scope="scope">
{{ scope.row.totalRate }}%
</template>
</el-table-column>
<el-table-column prop="unresolveTotal" align="center" label="未办结数" :show-overflow-tooltip="true"></el-table-column>
<el-table-column prop="illegalConnectRate" align="center" label="联系当事人超期数" :show-overflow-tooltip="true"></el-table-column>
<el-table-column prop="illegalResolveTotal" align="center" label="办理超期数" :show-overflow-tooltip="true"></el-table-column>
</el-table>
@ -833,6 +842,9 @@ export default {
//
handleSearch(val) {
this.communityList= [];
this.departmentList=[];
console.log(this.formData);
//
this.cleanReportData();
@ -861,117 +873,6 @@ export default {
if (code === 0) {
this.tableList=this.flattenTree(data);
console.log(this.tableList);
// // {
// // "id": "1",
// // "pid": "0",
// // "customerId": null,
// // "pids": "0",
// // "pidList": null,
// // "parentCategoryCode": null,
// // "categoryName": "",
// // "categoryCode": "A1",
// // "categoryType": "0",
// // "sort": 0,
// // "color": null,
// // "isDisable": 1,
// // "infoCode": "A",
// // "eventCount": 4,
// // "proportion": 100,
// // "level1": "",
// // "level2": null,
// // "level3": null,
// // "level4": null,
// // "level5": null
// // },
// // {
// // "id": "11",
// // "pid": "1",
// // "customerId": null,
// // "pids": "1",
// // "pidList": null,
// // "parentCategoryCode": null,
// // "categoryName": "",
// // "categoryCode": "A102",
// // "categoryType": "1",
// // "sort": 0,
// // "color": null,
// // "isDisable": 1,
// // "infoCode": "A",
// // "eventCount": 2,
// // "proportion": 50,
// // "level1": null,
// // "level2": "",
// // "level3": null,
// // "level4": null,
// // "level5": null
// // },
// // {
// // "id": "98",
// // "pid": "11",
// // "customerId": null,
// // "pids": "1,11",
// // "pidList": null,
// // "parentCategoryCode": null,
// // "categoryName": "",
// // "categoryCode": "A10201",
// // "categoryType": "2",
// // "sort": 0,
// // "color": null,
// // "isDisable": 1,
// // "infoCode": "A",
// // "eventCount": 2,
// // "proportion": 100,
// // "level1":null ,
// // "level2": null,
// // "level3": "",
// // "level4": null,
// // "level5": null
// // },
// // {
// // "id": "14",
// // "pid": "1",
// // "customerId": null,
// // "pids": "1",
// // "pidList": null,
// // "parentCategoryCode": null,
// // "categoryName": "",
// // "categoryCode": "A105",
// // "categoryType": "1",
// // "sort": 0,
// // "color": null,
// // "isDisable": 1,
// // "infoCode": "A",
// // "eventCount": 2,
// // "proportion": 50,
// // "level1": null,
// // "level2": null,
// // "level3": null,
// // "level4":"" ,
// // "level5": null
// // },
// // {
// // "id": "125",
// // "pid": "14",
// // "customerId": null,
// // "pids": "1,14",
// // "pidList": null,
// // "parentCategoryCode": null,
// // "categoryName": "",
// // "categoryCode": "A10507",
// // "categoryType": "2",
// // "sort": 0,
// // "color": null,
// // "isDisable": 1,
// // "infoCode": "A",
// // "eventCount": 2,
// // "proportion": 100,
// // "level1": null,
// // "level2": null,
// // "level3": null,
// // "level4": null,
// // "level5": ""
// // }
// ]
console.log(this.tableList,"lksdjfklj s");
} else {
this.$message.error(msg);

Loading…
Cancel
Save