-
+
+
下载
+ 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 @@