@@ -204,6 +208,7 @@ export default {
loading: false,
timeRange: [],
online: false,
+ summary:true,
btnDisable: false,
@@ -247,7 +252,9 @@ export default {
// type,
// url: res.data.url
// });
+ // console.log('this.formData.activityImgs',res.data.url)
this.formData.activityImgs.push(res.data.url);
+
} else {
this.$message.error(res.msg);
}
@@ -407,7 +414,7 @@ export default {
},
async initForm(type, activityId) {
this.startLoading()
- // console.log("啊实打实的", type, activityId)
+ console.log("啊实打实的", type, activityId)
this.$nextTick(() => {
if (!map) {
@@ -442,6 +449,12 @@ export default {
}
}else if (type === 'records') {
this.records = true
+ }else if(type === 'summary'){
+ this.formData = activityId
+ this.formData.activityImgs = []
+ console.log("this.formData",this.formData)
+ this.records = true
+ this.summary = false
}else{
this.records = false
}
@@ -554,7 +567,7 @@ export default {
})
},
async addActivity() {
- if (this.formType === 'edit') {
+ if (this.formType === 'edit' || this.formType === 'summary') {
let url = '/actual/base/communityActivity/update'
const { data, code, msg } = await requestPost(url, this.formData)
if (code === 0) {
@@ -692,6 +705,7 @@ export default {
this.keyWords = ''
this.online = false
this.formType=''
+ this.summary=true
this.formData = {
id: "",
typeId: "",
diff --git a/src/views/modules/communityParty/activity/summDetails.vue b/src/views/modules/communityParty/activity/summDetails.vue
index e90f0ea3d..c6c3c58fb 100644
--- a/src/views/modules/communityParty/activity/summDetails.vue
+++ b/src/views/modules/communityParty/activity/summDetails.vue
@@ -2,41 +2,38 @@
-
-
-
-
-
-
-
-
-
-
- 最多三张图片
-
-
-
-
![照片]()
-
-
- 暂无照片
-
-
-
+
+
+
+
+
+
+
+
+
+
+ 最多三张图片
+
+
+
+
![照片]()
+
+
+ 暂无照片
+
+
+
取 消
- 确
+ 确
定
diff --git a/src/views/modules/communityParty/comPromotion/event.vue b/src/views/modules/communityParty/comPromotion/event.vue
new file mode 100644
index 000000000..7cc5d2512
--- /dev/null
+++ b/src/views/modules/communityParty/comPromotion/event.vue
@@ -0,0 +1,166 @@
+
+
+
+
+
+
+
+
+ 文章标题:
+
+ {{ formData.title || "--" }}
+
+
+ 标签:
+
+ {{ formData.tagId || "--" }}
+
+
+
+
+
+ 发布时间:
+
+ {{ formData.releaseTime || "--" }}至{{ formData.endTime || "--" }}
+
+
+ 状态:
+
+ {{ formData.status === 1 ? '已下线' : '已发布' || "--" }}
+
+
+
+
+
+
+
+ 是否置顶:
+
+
+
+
+
+
+ 点赞数:
+
+ {{ formData.address || "--" }}
+
+
+
+
+ 转发数
+
+ {{ formData.cutOffTime || "--" }}
+
+
+
+
+
+
+
+ 关 闭
+
+
+
+
+
+
+
From d3f68c0b47c2ffcfc66ffde8988fbdb518b3eb92 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=98=AF=E5=B0=8F=E7=8E=8B=E5=91=80=5C24601?=
<819653817@qq.com>
Date: Tue, 4 Jun 2024 16:38:40 +0800
Subject: [PATCH 28/63] =?UTF-8?q?=E7=AE=A1=E7=90=86=E6=A0=87=E7=AD=BE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../workSys/promotionTab/AddpromotionTab.vue | 19 +++++++++++++------
.../modules/workSys/promotionTab/index.vue | 6 +++---
.../promotionTab/viewPromotionalTags.vue | 4 ++--
3 files changed, 18 insertions(+), 11 deletions(-)
diff --git a/src/views/modules/workSys/promotionTab/AddpromotionTab.vue b/src/views/modules/workSys/promotionTab/AddpromotionTab.vue
index 9ec56bdba..f0c838b96 100644
--- a/src/views/modules/workSys/promotionTab/AddpromotionTab.vue
+++ b/src/views/modules/workSys/promotionTab/AddpromotionTab.vue
@@ -50,7 +50,7 @@
tagName: '',
marde:'',
id:'',
- status:null,
+ status:'',
online:false
@@ -64,14 +64,15 @@
methods: {
handleOnlineRegistration(value) {
- // console.log(value)
+ console.log(value)
if (value) {
this.online = true;
- this.status = 0;
+ this.status = 1;
} else {
this.online = false;
- this.status = 1;
+ this.status = 0;
}
+ console.log( this.status);
},
async initForm(activityId){
console.log('activityIddetailShow',activityId)
@@ -80,9 +81,11 @@
this.id = activityId.id
this.tagName = activityId.tagName
if(activityId.status === 0){
- this.online = true
- }else {
this.online = false
+ this.status = activityId.status
+ }else {
+ this.online = true
+ this.status = activityId.status
}
@@ -101,11 +104,15 @@
},
async addActivity () {
+
if (this.marde === 'edi') {
+ console.log(this.marde)
let url = '/actual/base/advertisingTag/update'
+ console.log(this.status)
let parmer = {
tagName:this.tagName,
status: this.status,
+ id: this.id
}
const { data, code, msg, internalMsg } = await requestPost(url, parmer)
diff --git a/src/views/modules/workSys/promotionTab/index.vue b/src/views/modules/workSys/promotionTab/index.vue
index c3a557a0f..5f9e38e9b 100644
--- a/src/views/modules/workSys/promotionTab/index.vue
+++ b/src/views/modules/workSys/promotionTab/index.vue
@@ -42,7 +42,7 @@
- {{ scope.row.status === 1 ? '关闭' : '显示' }}
+ {{ scope.row.status === 1 ? '显示' : '关闭' }}
@@ -111,8 +111,8 @@
tagName:'',
status:null,
statuslist: [
- { value: 0, label: '显示' },
- { value: 1, label: '不显示' }
+ { value: 0, label: '关闭' },
+ { value: 1, label: '显示' }
],
}
},
diff --git a/src/views/modules/workSys/promotionTab/viewPromotionalTags.vue b/src/views/modules/workSys/promotionTab/viewPromotionalTags.vue
index 5506f40b9..88e2fe4d1 100644
--- a/src/views/modules/workSys/promotionTab/viewPromotionalTags.vue
+++ b/src/views/modules/workSys/promotionTab/viewPromotionalTags.vue
@@ -71,9 +71,9 @@
this.tagName = activityId.tagName
console.log("asdasd ",activityId)
if(activityId.status === 0){
- this.online = true
- }else{
this.online = false
+ }else{
+ this.online = true
}
},
handleComfirm() {
From e36caff7e2d20ca96d791744a6b46ab458a160e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=98=AF=E5=B0=8F=E7=8E=8B=E5=91=80=5C24601?=
<819653817@qq.com>
Date: Fri, 14 Jun 2024 15:27:56 +0800
Subject: [PATCH 29/63] =?UTF-8?q?=E9=A2=84=E8=A7=88=E5=88=A0=E9=99=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/modules/communityService/labelConfig/addForm.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/modules/communityService/labelConfig/addForm.vue b/src/views/modules/communityService/labelConfig/addForm.vue
index a5d404be5..945dc9b1d 100644
--- a/src/views/modules/communityService/labelConfig/addForm.vue
+++ b/src/views/modules/communityService/labelConfig/addForm.vue
@@ -231,7 +231,7 @@
取 消
- 预览
+
确 定
From be08ecc9bfd2bde31bb1647969143355b4ac3d21 Mon Sep 17 00:00:00 2001
From: duanliangtao <48194157+duanliangtao@users.noreply.github.com>
Date: Sat, 15 Jun 2024 14:02:59 +0800
Subject: [PATCH 30/63] =?UTF-8?q?=E4=BF=A1=E6=81=AF=E6=97=A0=E8=AF=AF?=
=?UTF-8?q?=E7=A1=AE=E8=AE=A4=E6=8E=A5=E5=8F=A3=E5=8F=82=E6=95=B0=E4=BC=A0?=
=?UTF-8?q?=E9=94=99=E4=B8=8E=E9=80=9A=E8=BF=87=E6=88=BF=E5=B1=8B=E6=96=B0?=
=?UTF-8?q?=E5=A2=9E=E5=B1=85=E6=B0=91=E6=97=B6=E6=88=BF=E5=B1=8B=E6=98=BE?=
=?UTF-8?q?=E7=A4=BA=E9=94=99=E8=AF=AF=E7=9A=84bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/modules/base/resi.vue | 65 ++++++++++-----------
src/views/modules/portrayal/house/index.vue | 2 +-
2 files changed, 32 insertions(+), 35 deletions(-)
diff --git a/src/views/modules/base/resi.vue b/src/views/modules/base/resi.vue
index 6a4237c51..425acbde7 100644
--- a/src/views/modules/base/resi.vue
+++ b/src/views/modules/base/resi.vue
@@ -738,22 +738,18 @@ export default {
}
},
confirmBatch() {
- if (this.selection.length > 0) {
- this.$confirm("是否确认信息", "提示", {
- confirmButtonText: "确定",
- cancelButtonText: "取消",
- type: "warning",
+ this.$confirm("是否确认信息", "提示", {
+ confirmButtonText: "确定",
+ cancelButtonText: "取消",
+ type: "warning",
+ })
+ .then(() => {
+ this.confirresiBatch();
})
- .then(() => {
- this.confirresiBatch();
- })
- .catch((err) => {
- if (err == "cancel") {
- }
- });
- } else {
- this.$message.warning("请先选择要确认信息的居民");
- }
+ .catch((err) => {
+ if (err == "cancel") {
+ }
+ });
},
handleSizeChange(val) {
console.log(`每页 ${val} 条`);
@@ -1093,26 +1089,27 @@ export default {
},
async confirresiBatch() {
- if (this.selection.length === 0)
- return this.$message.error("请选择之后进行操作");
- let orgId = this.selection.map((item) => item.resiId);
- console.log(this.selection);
+ let _obj = JSON.parse(JSON.stringify(this.$refs.myResiSearch.form));
+ _obj.attentionCrowds = _obj.attentionCrowds.flat();
+
const url = `/actual/base/residentCategoryUpdateInfo/unchangeMultiUpdate`;
- let parm = {
- orgId:orgId,
- orgType: "agency",
- pageNo: 1,
- pageSize: 100
-
- };
- const { data, code, msg } = await requestPost(url, parm);
- console.log(data, "data");
- if (code !== 0) {
- return this.$message.error(msg);
- } else {
- this.$message.success("确认成功");
- this.handleSearchFrom();
- }
+
+ let params = {
+ pageNo: 1,
+ pageSize: 100,
+ ..._obj,
+ };
+
+ console.log(params);
+
+ const { data, code, msg } = await requestPost(url, params);
+ console.log(data, "data");
+ if (code !== 0) {
+ return this.$message.error(msg);
+ } else {
+ this.$message.success("确认成功");
+ this.handleSearchFrom();
+ }
},
async deleteresiBatch() {
diff --git a/src/views/modules/portrayal/house/index.vue b/src/views/modules/portrayal/house/index.vue
index 954ace650..05a91b9f4 100644
--- a/src/views/modules/portrayal/house/index.vue
+++ b/src/views/modules/portrayal/house/index.vue
@@ -301,7 +301,7 @@ export default {
// this.$router.push({ name: 'add-resi' });
this.$router.push({
name: "add-resi",
- params: { agencyId: "1673584241869238273",gridId: "1673585475279826946",villageId:"1673600667388780545",buildId:"1673600667527192577",unitId:"1673600667577524226",homeId:"1673600737530126338"},
+ params: {gridId: this.houseDetailObj.gridId,villageId:this.houseDetailObj.neighborHoodId,buildId:this.houseDetailObj.buildingId,unitId:this.houseDetailObj.buildingUnitId,homeId:this.houseDetailObj.id},
});
},
From cb7daea5bd657913f0e29453e268246732884d27 Mon Sep 17 00:00:00 2001
From: duanliangtao <48194157+duanliangtao@users.noreply.github.com>
Date: Mon, 24 Jun 2024 15:11:06 +0800
Subject: [PATCH 31/63] =?UTF-8?q?=E9=87=8D=E6=96=B0=E6=89=BE=E5=9B=9E?=
=?UTF-8?q?=E5=B1=85=E6=B0=91=E7=9A=84=E6=99=BA=E8=83=BD=E5=AF=BC=E5=87=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/modules/base/resi.vue | 48 ++++++++++++++++++++++++++++++++-
1 file changed, 47 insertions(+), 1 deletion(-)
diff --git a/src/views/modules/base/resi.vue b/src/views/modules/base/resi.vue
index dfe271647..105820401 100644
--- a/src/views/modules/base/resi.vue
+++ b/src/views/modules/base/resi.vue
@@ -75,7 +75,7 @@
style="margin-left: 10px"
size="small"
class="diy-button--white"
- @click="handleExport"
+ @click="diyExport"
:loading="exportLoading"
plain
>{{exportBtnTitle}}确 定
+
+
+
+
+
@@ -281,6 +288,7 @@ import { Loading } from "element-ui"; // 引入Loading服务
import resiChangeTransfer from "../../components/resiChangeTransfer.vue";
import resideathAdd from "../plugins/change/resideathAdd.vue";
+import diyInfo from "./diyInfo.vue";
let loading;
export default {
components: {
@@ -292,6 +300,7 @@ export default {
resiChangeRecord,
resiChangeTransfer,
resideathAdd,
+ diyInfo,
},
data() {
return {
@@ -339,6 +348,9 @@ export default {
tableDataTow: [],
valueb: '',
searchList: [],
+ exportList: [],
+ diyDialog: false,
+
treeData: [],
autoOpenArr: [],
@@ -661,6 +673,40 @@ export default {
this.$refs.ref_changerecord.initForm(row);
},
+ async diyExport() {
+ await this.getExportList();
+ console.log(this.$refs['']);
+ },
+
+ handleDiyClose() {
+ this.diyDialog = false;
+ },
+
+ async getExportList(type) {
+ const url = "/oper/customize/icformitemgroup/list";
+ let params = {
+ formCode: "resident_base_info",
+ };
+
+ const { data, code, msg } = await requestPost(url, params);
+
+ if (code === 0) {
+ data.forEach((item) => {
+ (async (id) => {
+ // item.queryItemList = await this.getExportChildList(id)
+ item.queryItemList = [];
+ })(item.id);
+ });
+ this.exportList = [...data];
+ this.$nextTick(() => {
+ this.diyDialog = true;
+ });
+ console.log("获取详情成功getExportList----", this.exportList);
+ } else {
+ this.$message.error(msg);
+ }
+ },
+
diaClose() {
this.tranferShow = false;
this.deathShow = false;
From cc65955228946cb74906ac16ac7fe5a8c0ea35c1 Mon Sep 17 00:00:00 2001
From: duanliangtao <48194157+duanliangtao@users.noreply.github.com>
Date: Mon, 24 Jun 2024 17:10:54 +0800
Subject: [PATCH 32/63] =?UTF-8?q?=E5=B1=85=E6=B0=91=E5=AD=97=E6=AE=B5?=
=?UTF-8?q?=E5=88=97=E8=A1=A8=E5=A2=9E=E5=8A=A0=E6=88=BF=E5=B1=8B=E7=9A=84?=
=?UTF-8?q?=E5=AF=BC=E5=87=BA=E4=BF=A1=E6=81=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/modules/base/resi.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/modules/base/resi.vue b/src/views/modules/base/resi.vue
index 105820401..6814664d3 100644
--- a/src/views/modules/base/resi.vue
+++ b/src/views/modules/base/resi.vue
@@ -685,7 +685,7 @@ export default {
async getExportList(type) {
const url = "/oper/customize/icformitemgroup/list";
let params = {
- formCode: "resident_base_info",
+ formCode: "resident_base_info,community_info",
};
const { data, code, msg } = await requestPost(url, params);
From bbdee5a25011b87167fc68ddd96058b0ff382743 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=98=AF=E5=B0=8F=E7=8E=8B=E5=91=80=5C24601?=
<819653817@qq.com>
Date: Wed, 26 Jun 2024 10:20:50 +0800
Subject: [PATCH 33/63] =?UTF-8?q?=E7=94=B5=E5=AD=90=E9=97=A8=E7=89=8C?=
=?UTF-8?q?=E4=BA=8C=E7=BB=B4=E7=A0=81=E6=94=B9=E6=88=90=E7=94=B5=E5=AD=90?=
=?UTF-8?q?=E9=97=A8=E6=B4=BE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/modules/base/community/communityTable.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/modules/base/community/communityTable.vue b/src/views/modules/base/community/communityTable.vue
index acfb2f384..de6188ab4 100644
--- a/src/views/modules/base/community/communityTable.vue
+++ b/src/views/modules/base/community/communityTable.vue
@@ -79,7 +79,7 @@