diff --git a/src/assets/images/home/azb.png b/src/assets/images/home/azb.png new file mode 100644 index 000000000..4c01c070a Binary files /dev/null and b/src/assets/images/home/azb.png differ diff --git a/src/assets/images/home/azbj.png b/src/assets/images/home/azbj.png new file mode 100644 index 000000000..f1576d11d Binary files /dev/null and b/src/assets/images/home/azbj.png differ diff --git a/src/assets/images/home/blqsn.png b/src/assets/images/home/blqsn.png new file mode 100644 index 000000000..b7139b762 Binary files /dev/null and b/src/assets/images/home/blqsn.png differ diff --git a/src/assets/images/home/dbry1.png b/src/assets/images/home/dbry1.png new file mode 100644 index 000000000..c0f8b04f6 Binary files /dev/null and b/src/assets/images/home/dbry1.png differ diff --git a/src/assets/images/home/dy.png b/src/assets/images/home/dy.png index ae6a61994..a35a647d6 100644 Binary files a/src/assets/images/home/dy.png and b/src/assets/images/home/dy.png differ diff --git a/src/assets/images/home/dyz.png b/src/assets/images/home/dyz.png new file mode 100644 index 000000000..795dd36a4 Binary files /dev/null and b/src/assets/images/home/dyz.png differ diff --git a/src/assets/images/home/gqty.png b/src/assets/images/home/gqty.png new file mode 100644 index 000000000..ba6b7fd33 Binary files /dev/null and b/src/assets/images/home/gqty.png differ diff --git a/src/assets/images/home/gyg.png b/src/assets/images/home/gyg.png index 377fb70f9..073fefaba 100644 Binary files a/src/assets/images/home/gyg.png and b/src/assets/images/home/gyg.png differ diff --git a/src/assets/images/home/ldry.png b/src/assets/images/home/ldry.png index 41a2d28a2..2192f1782 100644 Binary files a/src/assets/images/home/ldry.png and b/src/assets/images/home/ldry.png differ diff --git a/src/assets/images/home/lset.png b/src/assets/images/home/lset.png new file mode 100644 index 000000000..2b50ed2d8 Binary files /dev/null and b/src/assets/images/home/lset.png differ diff --git a/src/assets/images/home/qz.png b/src/assets/images/home/qz.png new file mode 100644 index 000000000..9abee8b00 Binary files /dev/null and b/src/assets/images/home/qz.png differ diff --git a/src/assets/images/home/sqjz.png b/src/assets/images/home/sqjz.png new file mode 100644 index 000000000..4afb8044d Binary files /dev/null and b/src/assets/images/home/sqjz.png differ diff --git a/src/assets/images/home/wgy.png b/src/assets/images/home/wgy.png new file mode 100644 index 000000000..765ad4dce Binary files /dev/null and b/src/assets/images/home/wgy.png differ diff --git a/src/assets/images/home/xdry.png b/src/assets/images/home/xdry.png new file mode 100644 index 000000000..927801b9d Binary files /dev/null and b/src/assets/images/home/xdry.png differ diff --git a/src/assets/images/home/xjcrs.png b/src/assets/images/home/xjcrs.png new file mode 100644 index 000000000..fd7e7dba8 Binary files /dev/null and b/src/assets/images/home/xjcrs.png differ diff --git a/src/assets/images/home/xjry.png b/src/assets/images/home/xjry.png new file mode 100644 index 000000000..43a4877cc Binary files /dev/null and b/src/assets/images/home/xjry.png differ diff --git a/src/assets/images/home/xjyqt.png b/src/assets/images/home/xjyqt.png new file mode 100644 index 000000000..71f9cc9e0 Binary files /dev/null and b/src/assets/images/home/xjyqt.png differ diff --git a/src/components/PopHomeTip/index.vue b/src/components/PopHomeTip/index.vue index 8835899ed..11a45d118 100644 --- a/src/components/PopHomeTip/index.vue +++ b/src/components/PopHomeTip/index.vue @@ -4,8 +4,8 @@
家庭类别
- - {{ getHomeTypesMap(itm)[0] }} + + {{itm}}
暂无
@@ -39,39 +39,46 @@ export default { // 家庭类别Map getHomeTypesMap(item) { const homeTypeMap = new Map([ - ["partyFlag", { name: "党员", icon: "dy" }], - ["subsistenceAllowanceFlag", { name: "低保人员", icon: "dbry" }], - ["ensureHouseFlag", { name: "保障房人员", icon: "bzfry" }], - ["unemployedFlag", { name: "失业人员", icon: "syry" }], - ["fertileWomanFlag", { name: "育龄妇女", icon: "ylfn" }], - ["veteranFlag", { name: "退役军人", icon: "tyjr" }], - ["unitedFrontFlag", { name: "统战人员", icon: "tzry" }], - ["petitionOfficerFlag", { name: "信访人员", icon: "xfry" }], - ["volunteerFlag", { name: "志愿者", icon: "zyz" }], - ["oldPeopleFlag", { name: "老年人", icon: "lnr" }], - ["emptyNesterFlag", { name: "空巢老人", icon: "kclr" }], - ["specialSupportFlag", { name: "特扶人员", icon: "tfry" }], - ["disabledFlag", { name: "失能人员", icon: "snry" }], - ["dementedFlag", { name: "失智人员", icon: "szry" }], - ["disabilityFlag", { name: "残疾人", icon: "cjr" }], - ["seriousIllnessFlag", { name: "大病人员", icon: "dbry" }], - ["chronicDiseaseFlag", { name: "慢性病人员", icon: "mxbry" }], - ["specialCrowdFlag", { name: "特殊人群", icon: "tsry" }], - ["tenantFlag", { name: "租户", icon: "zh" }], - ["floatingFlag", { name: "流动人员", icon: "ldry" }], - ["liveAloneFlag", { name: "独居老人", icon: "kclr" }], - ["publicWelfareFlag", { name: "公益岗人员", icon: "gyg" }], - ]); - return [homeTypeMap.get(item).name, homeTypeMap.get(item).icon]; + ["群众", "qz"], + ["流动人员", "dbry"], + ["党员", "dy"], + ["共青团员", "gqty"], + ["残疾人", "cjr"], + ["大病人员", "dbry"], + ["慢病人员", "mxbry"], + ["老年人", "lnr"], + ["低保人员", "dbry1"], + ["退役军人", "tyjr"], + ["保障房人员", "bzfry"], + ["育龄妇女", "ylfn"], + ["特扶人员", "tfry"], + ["留守儿童", "lset"], + ["艾滋病人员", "azb"], + ["失业人员", "syry"], + ["新阶层人士", "xjcrs"], + ["新就业群体", "xjyqt"], + ["安置帮教", "azbj"], + ["吸毒人员", "xdry"], + ["社区矫正", "sqjz"], + ["不良青少年", "blqsn"], + ["肇事肇祸精神病", "szry"], + ["邪教人员", "xjry"], + ["信访人员", "xfry"], + ["统战人员", "tzry"], + ["志愿者", "zyz"], + ["网格员", "wgy"], + ["楼长", "lzdyz"], + ["单元长", "dyz"], + ["公益岗", "gyg"], + ]); + return homeTypeMap.get(item); }, getHomeTypes(id) { this.$http.get(`/actual/base/organizational/structure/getResidentCategoryByHouseId?houseId=${id}`).then((res) => { const { code, msg, data } = res.data; if (code === 0) { - const newItem = data[0]; - const itemNumOne = Object.keys(newItem).filter((key) => newItem[key] === 1); - this.homeTypeArr = itemNumOne; + this.homeTypeArr = data.categoryNameList } else { this.$message.error(msg); } diff --git a/src/views/modules/base/community/communityTable.vue b/src/views/modules/base/community/communityTable.vue index e0d3427c8..c549e6357 100644 --- a/src/views/modules/base/community/communityTable.vue +++ b/src/views/modules/base/community/communityTable.vue @@ -16,23 +16,9 @@ uploadFile('community'); } "> - 导入小区数据 + 导入小区楼栋数据 - -
- - 导入楼栋数据 - -
-
-
+
下载楼栋模板 + @click="handleExportModule('building')">下载小区楼栋模板
下载电子门牌二维码 + @click="handleExportIDCard()">下载电子门牌