|
|
@ -129,9 +129,9 @@ |
|
|
|
</div> |
|
|
|
<div class="item-title" |
|
|
|
style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 450px;"> |
|
|
|
<img v-if="index === 0" class="thumbnail_1" referrerpolicy="no-referrer" |
|
|
|
src="https://lanhu.oss-cn-beijing.aliyuncs.com/psjidpevo98fb607sd028bliakr139r25k82b2fbda-8291-4fe3-b190-bfe723a10036" />{{ |
|
|
|
item.content }} |
|
|
|
<img v-if="item.msgType == 'resident_category'" class="thumbnail_1" style="width: 17px;" |
|
|
|
referrerpolicy="no-referrer" src="~@/assets/images/shuju/renfang/index/zhiding.png" />{{ |
|
|
|
item.content }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="item_left"> |
|
|
@ -403,6 +403,15 @@ export default { |
|
|
|
borderH() { |
|
|
|
this.$http.post("/actual/base/residentCategoryUpdateInfo/getUpdateAndintegrityList").then(({ data: { data } }) => { |
|
|
|
this.tableList = data |
|
|
|
this.tableList.forEach(item => { |
|
|
|
if (typeof item.total === 'number') { |
|
|
|
item.total = this.formatNumberWithCommas(item.total); |
|
|
|
} |
|
|
|
if (typeof item.nonIntegratedNum === 'number') { |
|
|
|
item.nonIntegratedNum = this.formatNumberWithCommas(item.nonIntegratedNum); |
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
console.log("请求成功:", data); |
|
|
|
}); |
|
|
|
}, |
|
|
@ -554,7 +563,10 @@ export default { |
|
|
|
this.$message.error(msg); |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
// 格式化数字 |
|
|
|
formatNumberWithCommas(number) { |
|
|
|
return new Intl.NumberFormat().format(number); |
|
|
|
}, |
|
|
|
//加载组织数据 |
|
|
|
async getPandectData() { |
|
|
|
const url = "/actual/base/residentHouseMerge/communityOverview"; |
|
|
@ -568,7 +580,14 @@ export default { |
|
|
|
if (code === 0) { |
|
|
|
if (data) { |
|
|
|
this.pandectData = data; |
|
|
|
for (let key in this.pandectData) { |
|
|
|
if (!isNaN(this.pandectData[key])) { |
|
|
|
// 如果值可以转换为数字,则进行格式化 |
|
|
|
this.pandectData[key] = this.formatNumberWithCommas(parseFloat(this.pandectData[key])); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} else { |
|
|
|
this.$message.error(msg); |
|
|
|
} |
|
|
|