|
@@ -47,7 +47,13 @@
|
|
</div>
|
|
</div>
|
|
<!-- 添加弹框 -->
|
|
<!-- 添加弹框 -->
|
|
<div class="dialog-info">
|
|
<div class="dialog-info">
|
|
- <el-dialog :visible.sync="centerDialogVisible" width="1086px" :close-on-press-escape="false" :close-on-click-modal="false">
|
|
|
|
|
|
+ <el-dialog
|
|
|
|
+ :visible.sync="centerDialogVisible"
|
|
|
|
+ @close="handleDialogClose"
|
|
|
|
+ width="1086px"
|
|
|
|
+ :close-on-press-escape="false"
|
|
|
|
+ :close-on-click-modal="false"
|
|
|
|
+ >
|
|
<div class="dialog">
|
|
<div class="dialog">
|
|
<div class="dialog-header">
|
|
<div class="dialog-header">
|
|
<i class="el-dialog__close el-icon el-icon-close" @click="dialogButton('clear')"></i>
|
|
<i class="el-dialog__close el-icon el-icon-close" @click="dialogButton('clear')"></i>
|
|
@@ -240,8 +246,9 @@
|
|
:houseData="houseData"
|
|
:houseData="houseData"
|
|
:peopleData="peopleData"
|
|
:peopleData="peopleData"
|
|
:houseDataNames="houseDataNames"
|
|
:houseDataNames="houseDataNames"
|
|
|
|
+ :houseDataNamesPeople="houseDataNamesPeople"
|
|
:userType="userType"
|
|
:userType="userType"
|
|
- ref="filterHouse"
|
|
|
|
|
|
+ ref="previeInform"
|
|
></previe-inform>
|
|
></previe-inform>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -454,6 +461,7 @@ export default {
|
|
// 获取的房间信息
|
|
// 获取的房间信息
|
|
houseData: [],
|
|
houseData: [],
|
|
houseDataNames: '',
|
|
houseDataNames: '',
|
|
|
|
+ houseDataNamesPeople: '',
|
|
peopleData: [],
|
|
peopleData: [],
|
|
userType: '',
|
|
userType: '',
|
|
// 选中的房间
|
|
// 选中的房间
|
|
@@ -492,6 +500,11 @@ export default {
|
|
mounted() {},
|
|
mounted() {},
|
|
watch: {},
|
|
watch: {},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ // 弹框关闭事件
|
|
|
|
+ handleDialogClose(e) {
|
|
|
|
+ console.log('handleDialogClose=========', e);
|
|
|
|
+ this.$refs.previeInform.closeDialog();
|
|
|
|
+ },
|
|
// 人员树
|
|
// 人员树
|
|
// dataPeople(data) {
|
|
// dataPeople(data) {
|
|
// this.peopleData = data;
|
|
// this.peopleData = data;
|
|
@@ -556,7 +569,7 @@ export default {
|
|
.get('/sc-community/assets/tree/community/find', { buildingType: this.buildingType })
|
|
.get('/sc-community/assets/tree/community/find', { buildingType: this.buildingType })
|
|
.then(({ status, data, msg }) => {
|
|
.then(({ status, data, msg }) => {
|
|
if (status === 0 && data) {
|
|
if (status === 0 && data) {
|
|
- this.$refs.selectTreeHouse.filterhouse(val, data);
|
|
|
|
|
|
+ // this.$refs.selectTreeHouse.filterhouse(val, data);
|
|
// this.ruleForm.issueRoom.checkAll = true;
|
|
// this.ruleForm.issueRoom.checkAll = true;
|
|
// this.ruleForm.issueRoom.radioRoom = '全部房间';
|
|
// this.ruleForm.issueRoom.radioRoom = '全部房间';
|
|
// this.ruleForm.issueRoom.radioStaff = '';
|
|
// this.ruleForm.issueRoom.radioStaff = '';
|
|
@@ -674,7 +687,6 @@ export default {
|
|
this.centerDialogVisible = true;
|
|
this.centerDialogVisible = true;
|
|
this.$refs.upImages.clearImageList('');
|
|
this.$refs.upImages.clearImageList('');
|
|
this.$refs.endit.setContent('');
|
|
this.$refs.endit.setContent('');
|
|
-
|
|
|
|
console.log('发布活动类型', val);
|
|
console.log('发布活动类型', val);
|
|
},
|
|
},
|
|
// 清空
|
|
// 清空
|
|
@@ -918,7 +930,7 @@ export default {
|
|
this.peopleData = data;
|
|
this.peopleData = data;
|
|
this.filterPeople(this.peopleData);
|
|
this.filterPeople(this.peopleData);
|
|
this.filterPeopleName(this.peopleData);
|
|
this.filterPeopleName(this.peopleData);
|
|
- this.houseDataNames = this.PeopleNames.toString();
|
|
|
|
|
|
+ this.houseDataNamesPeople = this.PeopleNames.toString();
|
|
} else {
|
|
} else {
|
|
this.$message(error, res.msg);
|
|
this.$message(error, res.msg);
|
|
}
|
|
}
|
|
@@ -974,6 +986,7 @@ export default {
|
|
|
|
|
|
/** 查看详情*/
|
|
/** 查看详情*/
|
|
clickDatail(row) {
|
|
clickDatail(row) {
|
|
|
|
+ // 弹框关闭事件
|
|
// this.rowDetail = [];
|
|
// this.rowDetail = [];
|
|
this.$http.get('/sc-community-web/notice/find/' + row.id).then((res) => {
|
|
this.$http.get('/sc-community-web/notice/find/' + row.id).then((res) => {
|
|
if (res.status === 0) {
|
|
if (res.status === 0) {
|
|
@@ -1012,6 +1025,7 @@ export default {
|
|
this.contentHtml = res.data.content;
|
|
this.contentHtml = res.data.content;
|
|
this.centerDialogVisible = true;
|
|
this.centerDialogVisible = true;
|
|
this.showDetail = false;
|
|
this.showDetail = false;
|
|
|
|
+ this.$refs.previeInform.closeDialog();
|
|
} else {
|
|
} else {
|
|
return this.$message.error('获取详情失败!请稍后重试');
|
|
return this.$message.error('获取详情失败!请稍后重试');
|
|
}
|
|
}
|