|
|
@ -64,16 +64,6 @@ |
|
|
|
</el-pagination> |
|
|
|
<!-- 弹窗, 新增 / 修改 --> |
|
|
|
<add-or-update v-if="addOrUpdateVisible" ref="addOrUpdate" @refreshDataList="getDataList"></add-or-update> |
|
|
|
<el-dialog |
|
|
|
title="提示" |
|
|
|
:visible.sync="dialogVisible" |
|
|
|
width="420px"> |
|
|
|
<span>是否确认解散物业项目群?</span> |
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
<el-button @click="dialogVisible = false">取 消</el-button> |
|
|
|
<el-button type="primary" @click="deleteData">确 定</el-button> |
|
|
|
</span> |
|
|
|
</el-dialog> |
|
|
|
</div> |
|
|
|
</el-card> |
|
|
|
</template> |
|
|
@ -98,7 +88,6 @@ |
|
|
|
projectName: '', |
|
|
|
}, |
|
|
|
options: [], |
|
|
|
dialogVisible: false, |
|
|
|
deleteId: '' |
|
|
|
} |
|
|
|
}, |
|
|
@ -126,13 +115,15 @@ |
|
|
|
this.dataForm.gridId = value.slice(-1).shift(); |
|
|
|
}, |
|
|
|
beforeDeleteHandle(id) { |
|
|
|
this.deleteId = id; |
|
|
|
this.dialogVisible = true |
|
|
|
this.$confirm("确定解散物业项目群?", this.$t('prompt.title'), { |
|
|
|
confirmButtonText: this.$t('confirm'), |
|
|
|
cancelButtonText: this.$t('cancel'), |
|
|
|
type: 'warning' |
|
|
|
}).then(() => { |
|
|
|
this.deleteId = id; |
|
|
|
this.deleteHandle(this.deleteId); |
|
|
|
}) |
|
|
|
}, |
|
|
|
deleteData() { |
|
|
|
this.dialogVisible = false; |
|
|
|
this.deleteHandle(this.deleteId); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|