|
@@ -79,7 +79,7 @@
|
|
|
class="item"
|
|
|
effect="light"
|
|
|
placement="bottom"
|
|
|
- content="分配招商人员"
|
|
|
+ content="分配招租人员"
|
|
|
>
|
|
|
<i
|
|
|
class="zoniot_font zoniot-icon-fenpeirenyuan"
|
|
@@ -219,6 +219,13 @@ export default {
|
|
|
if (!this.selectRow.length) {
|
|
|
this.$message.error('您尚未选择要分配的房间,请选择后再操作批量');
|
|
|
return;
|
|
|
+ } else {
|
|
|
+ for (let i = 0; i < this.selectRow.length; i++) {
|
|
|
+ if (this.selectRow[i].releaseStatus == 1) {
|
|
|
+ this.$message.error('已发布无法修改招租人员');
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
new Promise((resolve) => {
|
|
|
this.$store.dispatch('addPopup', {
|
|
@@ -247,7 +254,7 @@ export default {
|
|
|
this.$http
|
|
|
.post('/czc-community/house/rent/out/release', rentOutIds)
|
|
|
.then(({ status, msg }) => {
|
|
|
- if (status == 0 && msg != "发布失败!请先制定招商方案") {
|
|
|
+ if (status == 0 && msg != "发布失败!请先制定招租方案") {
|
|
|
this.$message.success(msg);
|
|
|
this.mixins_search();
|
|
|
} else {
|
|
@@ -287,7 +294,7 @@ export default {
|
|
|
callback: resolve,
|
|
|
row
|
|
|
},
|
|
|
- title: '招商方案'
|
|
|
+ title: '招租方案'
|
|
|
});
|
|
|
}).then(() => {
|
|
|
this.mixins_search();
|
|
@@ -305,7 +312,7 @@ export default {
|
|
|
callback: resolve,
|
|
|
arrData: this.findUser
|
|
|
},
|
|
|
- title: title == 'add' ? '添加招商信息' : '修改招商信息'
|
|
|
+ title: title == 'add' ? '添加招租信息' : '修改招租信息'
|
|
|
});
|
|
|
}).then(() => {
|
|
|
this.mixins_search();
|