diff --git a/src/views/dataBoard/sida/cpts/fw05zc.vue b/src/views/dataBoard/sida/cpts/fw05zc.vue index a9fc225bd..a76b748ca 100644 --- a/src/views/dataBoard/sida/cpts/fw05zc.vue +++ b/src/views/dataBoard/sida/cpts/fw05zc.vue @@ -1,135 +1,165 @@ - - - - - + + + + + \ No newline at end of file diff --git a/src/views/dataBoard/sida/cpts/fwBarOption04.js b/src/views/dataBoard/sida/cpts/fwBarOption04.js index 96baaff12..3a38c420c 100644 --- a/src/views/dataBoard/sida/cpts/fwBarOption04.js +++ b/src/views/dataBoard/sida/cpts/fwBarOption04.js @@ -14,6 +14,18 @@ export function pieOption() { trigger: 'axis', axisPointer: { type: 'shadow' + }, + formatter: function(params) { + + var relVal = params[0].name + for (var i = 0, l = params.length; i < l; i++) { + if (i == 0) { + relVal += '
' + params[i].marker + params[i].value + '%' + } else { + relVal += '
' + params[i].marker + params[i].value + '' + } + } + return relVal } }, legend: { @@ -43,7 +55,7 @@ export function pieOption() { alignWithLabel: true }, axisLabel: { - interval: 1, + interval: 0, show: true, textStyle: { color: 'rgba(255,255,255,0.85)', //更改坐标轴文字颜色 @@ -96,6 +108,13 @@ export function pieOption() { emphasis: { focus: 'series' }, + // label: { + // normal: { + // show: true, + // position: 'top', + // formatter: '{c} %' + // }, + // }, itemStyle: { color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{ offset: 0, diff --git a/src/views/dataBoard/sida/cpts/fwBarOption05.js b/src/views/dataBoard/sida/cpts/fwBarOption05.js index b742c545a..73eebb827 100644 --- a/src/views/dataBoard/sida/cpts/fwBarOption05.js +++ b/src/views/dataBoard/sida/cpts/fwBarOption05.js @@ -43,7 +43,7 @@ export function pieOption() { alignWithLabel: true }, axisLabel: { - interval: 3, + interval:0, // rotate: 40, show: true, textStyle: { @@ -75,6 +75,7 @@ export function pieOption() { }, }], series: [{ + realtimeSort: true, name: '指派服务数', type: 'bar', barWidth: 12, diff --git a/src/views/dataBoard/sida/wt/event-detail.vue b/src/views/dataBoard/sida/wt/event-detail.vue index 7b855e3a6..4ee9f5aed 100644 --- a/src/views/dataBoard/sida/wt/event-detail.vue +++ b/src/views/dataBoard/sida/wt/event-detail.vue @@ -29,8 +29,24 @@
-
音频:
-
{{ info.attachment_url }}
+
{{attachment_url.attachment_type}}:
+
+ + + +
@@ -77,7 +93,8 @@
- +
回复
回复
@@ -101,77 +118,97 @@ - + \ No newline at end of file diff --git a/src/views/dataBoard/sida/wt/hiddenDanger-detail.vue b/src/views/dataBoard/sida/wt/hiddenDanger-detail.vue index 0ac1e2d26..1b337b0dd 100644 --- a/src/views/dataBoard/sida/wt/hiddenDanger-detail.vue +++ b/src/views/dataBoard/sida/wt/hiddenDanger-detail.vue @@ -810,8 +810,11 @@ this.getInfo(); }, gettab() { - this.info.group_rental.forEach(item => { - this.getUserInfo(item.user_id); + + let users=this.info.group_rental.split(","); + console.log("this.info.group_rental",users) + users.forEach(item => { + this.getUserInfo(item); }); }, getUserInfo(id) { @@ -864,7 +867,7 @@ this.title = '群租房详情'; queryParam.room_id = this.detailId; } else if (this.detailType == '发现问题') { - url = 'group_tenant_info'; + url = 'hidden_danger_info'; this.title = '发现问题详情'; queryParam.hidden_danger_id = this.detailId; } diff --git a/src/views/dataBoard/sida/zy/gonggongList.vue b/src/views/dataBoard/sida/zy/gonggongList.vue index 05741880c..6a7ff6b8b 100644 --- a/src/views/dataBoard/sida/zy/gonggongList.vue +++ b/src/views/dataBoard/sida/zy/gonggongList.vue @@ -1,5 +1,6 @@ - + \ No newline at end of file diff --git a/src/views/modules/base/community/roomDetail.vue b/src/views/modules/base/community/roomDetail.vue index f23bff00e..a6b8bcada 100644 --- a/src/views/modules/base/community/roomDetail.vue +++ b/src/views/modules/base/community/roomDetail.vue @@ -187,7 +187,7 @@ export default { async loadHouseInfo () { const url = - "/actual/base/communityHouse/getHouseDeatilById/" + this.houseId; + "/actual/base/communityHouse/getMaskedHouseDeatilById/" + this.houseId; let params = {}; const { data, code, msg } = await requestPost(url, params); diff --git a/src/views/modules/base/community/roomForm.vue b/src/views/modules/base/community/roomForm.vue index 370b0a9e0..68d18acfa 100644 --- a/src/views/modules/base/community/roomForm.vue +++ b/src/views/modules/base/community/roomForm.vue @@ -269,7 +269,7 @@ export default { async loadHouseInfo () { - const url = "/actual/base/communityHouse/getHouseDeatilById/" + this.houseId + const url = "/actual/base/communityHouse/getClearHouseDeatilById/" + this.houseId let params = {} const { data, code, msg } = await requestPost(url, params) diff --git a/src/views/modules/communityService/policy/policyList.vue b/src/views/modules/communityService/policy/policyList.vue index 822b85b7a..a5158707a 100644 --- a/src/views/modules/communityService/policy/policyList.vue +++ b/src/views/modules/communityService/policy/policyList.vue @@ -41,6 +41,7 @@ placeholder="请输入" size="small" class="u-item-width-normal" + clearable /> @@ -121,6 +122,12 @@ > 导出 + 批量删除
@@ -370,6 +377,30 @@ export default { this.getTableData(); }, methods: { + deleteBatch () { + if (this.selection.length > 0) { + this.$confirm("确认删除选择的楼栋?", "提示", { + confirmButtonText: "确定", + cancelButtonText: "取消", + type: "warning" + }) + .then(() => { + this.delPolicy() + }) + .catch(err => { + if (err == "cancel") { + // this.$message({ + // type: "info", + // message: "已取消删除" + // }); + } + + }); + } else { + this.$message.warning('请先选择要删除的楼栋') + } + }, + handleSearch(val) { console.log(this.formData); this.pageNo = 1; @@ -494,7 +525,22 @@ export default { type: "warning", }) .then(() => { - this.delPolicy(); + this.$http + .post("/governance/policy/deletePolicy", [row.id]) + .then(({ data: res }) => { + console.log("row2", row); + if (res.code !== 0) { + return this.$message.error(res.msg); + } else { + console.log("row3", row); + this.$message.success("删除成功"); + this.getTableData(); + } + }) + .catch((err) => { + console.log("row4", err); + return this.$message.error("网络错误"); + }); }) .catch((err) => { if (err == "cancel") { @@ -518,6 +564,26 @@ export default { this.$message.error("操作失败!"); } }, + //写好的批量删除直接用 + // async delPolicy() { + // if (this.selection.length === 0) + // return this.$message.error("请选择之后进行操作"); + // let policyIds = this.selection.map((item) => item.id); + // this.$http + // .post("/governance/policy/deletePolicy", policyIds) + // .then(({ data: res }) => { + // if (res.code !== 0) { + // return this.$message.error(res.msg); + // } else { + // this.$message.success("删除成功"); + // this.getTableData(); + // } + // }) + // .catch((err) => { + // console.log("row4", err); + // return this.$message.error("网络错误"); + // }); + // }, selectAll(selection) { this.selection = selection; if (selection.length > 0) {