diff --git a/src/assets/img/QRcode.jpg b/src/assets/img/QRcode.jpg new file mode 100644 index 000000000..02ce33966 Binary files /dev/null and b/src/assets/img/QRcode.jpg differ diff --git a/src/assets/scss/modules/management/form-main.scss b/src/assets/scss/modules/management/form-main.scss index 3417848c7..f24cc4d9e 100644 --- a/src/assets/scss/modules/management/form-main.scss +++ b/src/assets/scss/modules/management/form-main.scss @@ -111,4 +111,7 @@ left: 5px; display: flex; justify-content: flex-start; +} +.m-table{ + margin: 20px; } \ No newline at end of file diff --git a/src/views/modules/base/community/communityTable.vue b/src/views/modules/base/community/communityTable.vue index 3bd2be5b8..acfb2f384 100644 --- a/src/views/modules/base/community/communityTable.vue +++ b/src/views/modules/base/community/communityTable.vue @@ -77,6 +77,10 @@ 下载房屋模板 +
+ 下载电子门牌二维码 +
- 更多 + 更多 + @@ -384,6 +388,7 @@ export default { } }); this.getQueryConditions(); + }, methods: { @@ -426,6 +431,7 @@ export default { updateStartDate: this.updateStartDate, updateEndDate: this.updateEndDate, }; + this.$refs.baobiao.init({ elseParams: { categoryKeys: ["house_info"], @@ -863,7 +869,52 @@ export default { } ); }, + + //导入电子门牌信息 + + handleExportIDCard() { + let title = this.agencyObj.label; + title = title + "电子门牌信息"; + let url = "/actual/base/communityHouse/downloadZip"; + console.log(this.agencyObj) + let params = { + pageSize:this.pageSize, + pageNo:this.pageNo, + level:this.agencyObj.level , + id:this.agencyObj.id, + ownerName: this.ownerName, + ownerPhone: this.ownerPhone, + rentFlag: this.rentFlag, + purpose: this.purpose, + remark: this.remark, + updateStartDate: this.updateStartDate, + updateEndDate: this.updateEndDate, + sortType:"asc", + neighborHoodId:"", + buildingId:"", + buildingUnitId:"", + houseId:"", + }; + // if (this.agencyObj.level === "grid") { + // params.gridId = this.agencyObj.id; + // params.agencyId = ""; + // } else { + // params.gridId = ""; + // params.agencyId = this.agencyObj.id; + // } + app.ajax.exportFilePost( + url, + params, + (data, rspMsg) => { + console.log(data) + this.download(data, title + ".zip"); + }, + (rspMsg, data) => { + this.$message.error(rspMsg); + } + ); + }, //导出一户一档 handleExportYihuyidang() { this.yihuyidangDisabled = true; diff --git a/src/views/modules/base/community/roomForm.vue b/src/views/modules/base/community/roomForm.vue index 521111e1e..f1b0ea9ad 100644 --- a/src/views/modules/base/community/roomForm.vue +++ b/src/views/modules/base/community/roomForm.vue @@ -37,7 +37,7 @@ v-model.trim="dataForm.doorName"> - 生成 - + --> - -
-
+ + 下载 + target="_blank" @click="downloadQR">下载电子门牌二维码
@@ -283,23 +284,66 @@ export default { }, + downloadQR(){ + let title = "房屋二维码"; + console.log(this.houseId) + let url = "/actual/base/communityHouse/createHouseQrcode/"; + console.log(url) + let params={ + id:this.houseId + } + app.ajax.exportFilePost( + url, + params, + + (data, rspMsg) => { + console.log(data) + this.download(data, title + ".png"); + }, + (rspMsg, data) => { + this.$message.error(rspMsg); + } + ); + + }, + // 下载文件 + download(data, downFileName) { + if (!data) { + return; + } + + var csvData = new Blob([data]); + + if (window.navigator && window.navigator.msSaveOrOpenBlob) { + window.navigator.msSaveOrOpenBlob(csvData, downFileName); + } + // for Non-IE (chrome, firefox etc.) + else { + var a = document.createElement("a"); + document.body.appendChild(a); + a.style = "display: none"; + var url = window.URL.createObjectURL(csvData); + a.href = url; + a.download = downFileName; + a.click(); + a.remove(); + window.URL.revokeObjectURL(url); + } + }, async loadHouseInfo () { const url = "/actual/base/communityHouse/getClearHouseDeatilById/" + this.houseId - + let params = {} const { data, code, msg } = await requestPost(url, params) - + console.log(data) if (code === 0) { // debugger this.dataForm = { ...data } - this.houseType = this.dataForm.houseType this.purpose = this.dataForm.purpose this.rentFlag = parseInt(this.dataForm.rentFlag) - - } else { this.$message.error(msg) } diff --git a/src/views/modules/communityParty/comPromotion/index.vue b/src/views/modules/communityParty/comPromotion/index.vue new file mode 100644 index 000000000..ce5021693 --- /dev/null +++ b/src/views/modules/communityParty/comPromotion/index.vue @@ -0,0 +1,453 @@ + + + \ No newline at end of file diff --git a/src/views/modules/communityService/fuwuzhaoren/personList.vue b/src/views/modules/communityService/fuwuzhaoren/personList.vue index 74f4e7567..9423daf35 100644 --- a/src/views/modules/communityService/fuwuzhaoren/personList.vue +++ b/src/views/modules/communityService/fuwuzhaoren/personList.vue @@ -97,11 +97,12 @@
+ 公众号消息推送 标记享受服务人员 查询
-
+
+ 已推送 +
@@ -293,7 +298,10 @@ export default { // 重新加载列表 this.handleSearch(); }, - +// 公众号消息推送 +onMessagePush(){ + alert("哥哥,点我") +}, /** * 组织选择触发事件 * @returns {Promise} diff --git a/src/views/modules/communityService/gangweizhaoren/personList.vue b/src/views/modules/communityService/gangweizhaoren/personList.vue index 74f4e7567..4d043ab65 100644 --- a/src/views/modules/communityService/gangweizhaoren/personList.vue +++ b/src/views/modules/communityService/gangweizhaoren/personList.vue @@ -97,6 +97,7 @@
+ 公众号消息推送 标记享受服务人员 查询
@@ -162,6 +163,10 @@ prop="serveTimes" label="享受服务次数"> + 已推送 + @@ -293,7 +298,10 @@ export default { // 重新加载列表 this.handleSearch(); }, - + // 推送公众号 + onMessagePush() { + alert("哥哥,点我") + }, /** * 组织选择触发事件 * @returns {Promise} diff --git a/src/views/modules/communityService/gxxq/index.vue b/src/views/modules/communityService/gxxq/index.vue index 69b3f7c5c..aedd88f64 100644 --- a/src/views/modules/communityService/gxxq/index.vue +++ b/src/views/modules/communityService/gxxq/index.vue @@ -292,13 +292,17 @@ export default { assignFlag: "", }, statusArray: [ + { + value: 2, + label: "待处理", + }, { value: 1, - label: "已指派服务", + label: "已派单", }, { value: 0, - label: "未指派服务", + label: "已完成", }, ], endPickerOptions: { diff --git a/src/views/modules/communityService/jinengzhaoren/personList.vue b/src/views/modules/communityService/jinengzhaoren/personList.vue index 74f4e7567..8d80cfaf1 100644 --- a/src/views/modules/communityService/jinengzhaoren/personList.vue +++ b/src/views/modules/communityService/jinengzhaoren/personList.vue @@ -97,6 +97,7 @@
+ 公众号消息推送 标记享受服务人员 查询
@@ -162,6 +163,10 @@ prop="serveTimes" label="享受服务次数"> + 已推送 + @@ -293,7 +298,10 @@ export default { // 重新加载列表 this.handleSearch(); }, - + //推送公众号 + onMessagePush() { + alert("哥哥,点我") + }, /** * 组织选择触发事件 * @returns {Promise} diff --git a/src/views/modules/communityService/labelConfig/addForm.vue b/src/views/modules/communityService/labelConfig/addForm.vue index d298def0c..a5d404be5 100644 --- a/src/views/modules/communityService/labelConfig/addForm.vue +++ b/src/views/modules/communityService/labelConfig/addForm.vue @@ -231,10 +231,12 @@

取 消 + 预览 确 定
+ @@ -675,6 +677,7 @@ export default { this.formState = false this.handleClickAddRow(); }, + }, props: {}, computed: {}, diff --git a/src/views/modules/communityService/policy/addPolicy.vue b/src/views/modules/communityService/policy/addPolicy.vue index 530b3a537..77ab2a150 100644 --- a/src/views/modules/communityService/policy/addPolicy.vue +++ b/src/views/modules/communityService/policy/addPolicy.vue @@ -150,6 +150,18 @@ 按标签查找
+ + + + { this.$refs["ref_label_form"].initForm("info"); diff --git a/src/views/modules/communityService/policy/personList.vue b/src/views/modules/communityService/policy/personList.vue index 7a0771763..56038d464 100644 --- a/src/views/modules/communityService/policy/personList.vue +++ b/src/views/modules/communityService/policy/personList.vue @@ -122,6 +122,13 @@
+ 公众号消息推送 + 已推送 +
@@ -461,14 +470,12 @@ export default {