|
@@ -83,30 +83,30 @@
|
|
|
</div>
|
|
|
</el-form-item>
|
|
|
|
|
|
- <el-form-item label="酒店设施" prop="hotel_spec_ids" size="mini">
|
|
|
+ <el-form-item label="酒店设施" prop="hotel_spec_tags" size="mini">
|
|
|
<div class="clear-main">
|
|
|
<div class="clear-left">
|
|
|
<el-checkbox
|
|
|
- :indeterminate="isIndeterminate.hotel_spec_ids"
|
|
|
- v-model="checkAll.hotel_spec_ids"
|
|
|
+ :indeterminate="isIndeterminate.hotel_spec_tags"
|
|
|
+ v-model="checkAll.hotel_spec_tags"
|
|
|
size="mini"
|
|
|
style="margin: 0"
|
|
|
@change="
|
|
|
- handleCheckAllChange($event, 'hotel_spec_ids', hotel_spec_ids_options)
|
|
|
+ handleCheckAllChange($event, 'hotel_spec_tags', hotel_spec_tags_options)
|
|
|
"
|
|
|
>全选</el-checkbox
|
|
|
>
|
|
|
</div>
|
|
|
<div class="clear-right">
|
|
|
<el-checkbox-group
|
|
|
- v-model="ruleForm.hotel_spec_ids"
|
|
|
+ v-model="ruleForm.hotel_spec_tags"
|
|
|
size="mini"
|
|
|
style="margin: 0"
|
|
|
@change="
|
|
|
handleCheckedCitiesChange(
|
|
|
$event,
|
|
|
- 'hotel_spec_ids',
|
|
|
- hotel_spec_ids_options
|
|
|
+ 'hotel_spec_tags',
|
|
|
+ hotel_spec_tags_options
|
|
|
)
|
|
|
"
|
|
|
>
|
|
@@ -114,7 +114,7 @@
|
|
|
<el-col :span="3"></el-col>
|
|
|
<el-col
|
|
|
:span="3"
|
|
|
- v-for="(item, index) in hotel_spec_ids_options"
|
|
|
+ v-for="(item, index) in hotel_spec_tags_options"
|
|
|
:key="item + index"
|
|
|
>
|
|
|
<el-checkbox style="margin: 0" size="mini" :label="item + ''">{{
|
|
@@ -125,7 +125,7 @@
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
- @click="openModal('hotel_spec_ids', '酒店设施', hotel_spec_ids_options)"
|
|
|
+ @click="openModal('hotel_spec_tags', '酒店设施', hotel_spec_tags_options)"
|
|
|
>添加</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -134,19 +134,19 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="会议设施" prop="caterer_spec_ids2" size="mini">
|
|
|
+ <el-form-item label="会议设施" prop="conference_spec_tags" size="mini">
|
|
|
<div class="clear-main">
|
|
|
<div class="clear-left">
|
|
|
<el-checkbox
|
|
|
- :indeterminate="isIndeterminate.caterer_spec_ids2"
|
|
|
- v-model="checkAll.caterer_spec_ids2"
|
|
|
+ :indeterminate="isIndeterminate.conference_spec_tags"
|
|
|
+ v-model="checkAll.conference_spec_tags"
|
|
|
style="margin: 0"
|
|
|
size="mini"
|
|
|
@change="
|
|
|
handleCheckAllChange(
|
|
|
$event,
|
|
|
- 'caterer_spec_ids2',
|
|
|
- caterer_spec_ids2_options
|
|
|
+ 'conference_spec_tags',
|
|
|
+ conference_spec_tags_options
|
|
|
)
|
|
|
"
|
|
|
>全选</el-checkbox
|
|
@@ -154,21 +154,21 @@
|
|
|
</div>
|
|
|
<div class="clear-right">
|
|
|
<el-checkbox-group
|
|
|
- v-model="ruleForm.caterer_spec_ids2"
|
|
|
+ v-model="ruleForm.conference_spec_tags"
|
|
|
size="mini"
|
|
|
style="margin: 0"
|
|
|
@change="
|
|
|
handleCheckedCitiesChange(
|
|
|
$event,
|
|
|
- 'caterer_spec_ids2',
|
|
|
- caterer_spec_ids2_options
|
|
|
+ 'conference_spec_tags',
|
|
|
+ conference_spec_tags_options
|
|
|
)
|
|
|
"
|
|
|
>
|
|
|
<el-row>
|
|
|
<el-col
|
|
|
:span="3"
|
|
|
- v-for="(item, index) in caterer_spec_ids2_options"
|
|
|
+ v-for="(item, index) in conference_spec_tags_options"
|
|
|
:key="item + index"
|
|
|
>
|
|
|
<el-checkbox style="margin: 0" size="mini" :label="item + ''">{{
|
|
@@ -179,7 +179,7 @@
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
- @click="openModal('caterer_spec_ids2', '会议设施', caterer_spec_ids2_options)"
|
|
|
+ @click="openModal('conference_spec_tags', '会议设施', conference_spec_tags_options)"
|
|
|
>添加</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -188,37 +188,37 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="客房设施" prop="room_spec_ids" size="mini">
|
|
|
+ <el-form-item label="客房设施" prop="room_spec_tags" size="mini">
|
|
|
<div class="clear-main">
|
|
|
<div class="clear-left">
|
|
|
<el-checkbox
|
|
|
- :indeterminate="isIndeterminate.room_spec_ids"
|
|
|
- v-model="checkAll.room_spec_ids"
|
|
|
+ :indeterminate="isIndeterminate.room_spec_tags"
|
|
|
+ v-model="checkAll.room_spec_tags"
|
|
|
size="mini"
|
|
|
style="margin: 0"
|
|
|
@change="
|
|
|
- handleCheckAllChange($event, 'room_spec_ids', room_spec_ids_options)
|
|
|
+ handleCheckAllChange($event, 'room_spec_tags', room_spec_tags_options)
|
|
|
"
|
|
|
>全选</el-checkbox
|
|
|
>
|
|
|
</div>
|
|
|
<div class="clear-right">
|
|
|
<el-checkbox-group
|
|
|
- v-model="ruleForm.room_spec_ids"
|
|
|
+ v-model="ruleForm.room_spec_tags"
|
|
|
size="mini"
|
|
|
style="margin: 0"
|
|
|
@change="
|
|
|
handleCheckedCitiesChange(
|
|
|
$event,
|
|
|
- 'room_spec_ids',
|
|
|
- room_spec_ids_options
|
|
|
+ 'room_spec_tags',
|
|
|
+ room_spec_tags_options
|
|
|
)
|
|
|
"
|
|
|
>
|
|
|
<el-row>
|
|
|
<el-col
|
|
|
:span="3"
|
|
|
- v-for="(item, index) in room_spec_ids_options"
|
|
|
+ v-for="(item, index) in room_spec_tags_options"
|
|
|
:key="item + index"
|
|
|
>
|
|
|
<el-checkbox style="margin: 0" size="mini" :label="item + ''">{{
|
|
@@ -229,7 +229,7 @@
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
- @click="openModal('room_spec_ids', '客房设施', room_spec_ids_options)"
|
|
|
+ @click="openModal('room_spec_tags', '客房设施', room_spec_tags_options)"
|
|
|
>添加</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -238,19 +238,19 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="餐饮设施" prop="caterer_spec_ids" size="mini">
|
|
|
+ <el-form-item label="餐饮设施" prop="caterer_spec_tags" size="mini">
|
|
|
<div class="clear-main">
|
|
|
<div class="clear-left">
|
|
|
<el-checkbox
|
|
|
- :indeterminate="isIndeterminate.caterer_spec_ids"
|
|
|
- v-model="checkAll.caterer_spec_ids"
|
|
|
+ :indeterminate="isIndeterminate.caterer_spec_tags"
|
|
|
+ v-model="checkAll.caterer_spec_tags"
|
|
|
style="margin: 0"
|
|
|
size="mini"
|
|
|
@change="
|
|
|
handleCheckAllChange(
|
|
|
$event,
|
|
|
- 'caterer_spec_ids',
|
|
|
- caterer_spec_ids_options
|
|
|
+ 'caterer_spec_tags',
|
|
|
+ caterer_spec_tags_options
|
|
|
)
|
|
|
"
|
|
|
>全选</el-checkbox
|
|
@@ -258,21 +258,21 @@
|
|
|
</div>
|
|
|
<div class="clear-right">
|
|
|
<el-checkbox-group
|
|
|
- v-model="ruleForm.caterer_spec_ids"
|
|
|
+ v-model="ruleForm.caterer_spec_tags"
|
|
|
size="mini"
|
|
|
style="margin: 0"
|
|
|
@change="
|
|
|
handleCheckedCitiesChange(
|
|
|
$event,
|
|
|
- 'caterer_spec_ids',
|
|
|
- caterer_spec_ids_options
|
|
|
+ 'caterer_spec_tags',
|
|
|
+ caterer_spec_tags_options
|
|
|
)
|
|
|
"
|
|
|
>
|
|
|
<el-row>
|
|
|
<el-col
|
|
|
:span="3"
|
|
|
- v-for="(item, index) in caterer_spec_ids_options"
|
|
|
+ v-for="(item, index) in caterer_spec_tags_options"
|
|
|
:key="item + index"
|
|
|
>
|
|
|
<el-checkbox style="margin: 0" size="mini" :label="item + ''">{{
|
|
@@ -283,7 +283,7 @@
|
|
|
<el-button
|
|
|
size="mini"
|
|
|
type="text"
|
|
|
- @click="openModal('caterer_spec_ids', '餐饮设施', caterer_spec_ids_options)"
|
|
|
+ @click="openModal('caterer_spec_tags', '餐饮设施', caterer_spec_tags_options)"
|
|
|
>添加</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -346,10 +346,10 @@ export default {
|
|
|
...isIndeterminate,
|
|
|
},
|
|
|
store_spec_ids_options: [],
|
|
|
- caterer_spec_ids_options: config["caterer_spec_ids"],
|
|
|
- hotel_spec_ids_options: config["hotel_spec_ids"],
|
|
|
- room_spec_ids_options: config["room_spec_ids"],
|
|
|
- caterer_spec_ids2_options: config["caterer_spec_ids2"],
|
|
|
+ caterer_spec_tags_options: config["caterer_spec_tags"],
|
|
|
+ hotel_spec_tags_options: config["hotel_spec_tags"],
|
|
|
+ room_spec_tags_options: config["room_spec_tags"],
|
|
|
+ conference_spec_tags_options: config["conference_spec_tags"],
|
|
|
loading: false,
|
|
|
showModel: false,
|
|
|
hand_name: "",
|
|
@@ -388,22 +388,22 @@ export default {
|
|
|
renovation_date,
|
|
|
park_num,
|
|
|
store_spec_ids,
|
|
|
- caterer_spec_ids,
|
|
|
- hotel_spec_ids,
|
|
|
- room_spec_ids,
|
|
|
- caterer_spec_ids2,
|
|
|
+ caterer_spec_tags,
|
|
|
+ hotel_spec_tags,
|
|
|
+ room_spec_tags,
|
|
|
+ conference_spec_tags,
|
|
|
store_desc,
|
|
|
} = this.sitem || {};
|
|
|
this.hand_name = person || "";
|
|
|
this.ruleForm = {
|
|
|
// id: id || "",
|
|
|
renovation_date: renovation_date || "",
|
|
|
- park_num: park_num || "0",
|
|
|
+ park_num: park_num || 0,
|
|
|
store_spec_ids: store_spec_ids || [],
|
|
|
- caterer_spec_ids: caterer_spec_ids || [],
|
|
|
- hotel_spec_ids: hotel_spec_ids || [],
|
|
|
- room_spec_ids: room_spec_ids || [],
|
|
|
- caterer_spec_ids2: caterer_spec_ids2 || [],
|
|
|
+ caterer_spec_tags: caterer_spec_tags || [],
|
|
|
+ hotel_spec_tags: hotel_spec_tags || [],
|
|
|
+ room_spec_tags: room_spec_tags || [],
|
|
|
+ conference_spec_tags: conference_spec_tags || [],
|
|
|
store_desc: store_desc || "",
|
|
|
};
|
|
|
}
|
|
@@ -452,7 +452,7 @@ export default {
|
|
|
let model = JSON.parse(JSON.stringify(this.ruleForm));
|
|
|
model.store_id = this.store_id;
|
|
|
// model.id = this.store_id;
|
|
|
- model.park_num = 0;
|
|
|
+ // model.park_num = 0;
|
|
|
console.log(model);
|
|
|
|
|
|
let res = await asyncRequest.update(model);
|