Commit 5ccc06cc authored by zhengke's avatar zhengke

修改

parent ca87b25d
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
</div> </div>
</div> </div>
<div class="add-img"> <div class="add-img">
<button class="save-Btn" @click="isShowImg=true">新增图片</button> <button class="save-Btn" @click="isShowHotelImg=true">新增图片</button>
</div> </div>
</div> </div>
</div> </div>
...@@ -205,7 +205,7 @@ ...@@ -205,7 +205,7 @@
<el-dialog :title="$t('hotel.hotel_mapLocation')" center :visible.sync="isShowMap"> <el-dialog :title="$t('hotel.hotel_mapLocation')" center :visible.sync="isShowMap">
<tencentMap @map-submit="mapEvent" :address="addMsg.Address"></tencentMap> <tencentMap @map-submit="mapEvent" :address="addMsg.Address"></tencentMap>
</el-dialog> </el-dialog>
<el-dialog title="酒店图片" :visible.sync="isShowImg" width="1240px"> <el-dialog title="酒店图片" :visible.sync="isShowHotelImg" width="1240px">
<comHotelImg :saveObj="HotelImgArr"></comHotelImg> <comHotelImg :saveObj="HotelImgArr"></comHotelImg>
</el-dialog> </el-dialog>
<div class="btn-list"> <div class="btn-list">
...@@ -365,7 +365,7 @@ ...@@ -365,7 +365,7 @@
inputVisible: false, inputVisible: false,
inputValue: '', inputValue: '',
serviceCked: [], serviceCked: [],
isShowImg: false, isShowHotelImg: false,
}; };
}, },
components: { components: {
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</el-col> </el-col>
<el-col class="blue" :span="6"> <el-col class="blue" :span="6">
<span @click="editGroup(index)">编辑</span> <span @click="editGroup(index)">编辑</span>
| <span>删除</span> | <span @click="delGroup(index)">删除</span>
</el-col> </el-col>
</div> </div>
</li> </li>
...@@ -127,6 +127,10 @@ ...@@ -127,6 +127,10 @@
this.GroupName = this.saveObj[index].label; this.GroupName = this.saveObj[index].label;
this.addGroupMsgDig = true; this.addGroupMsgDig = true;
}, },
//删除
delGroup(index){
this.saveObj.splice(index,1);
},
//点击获取图片arr //点击获取图片arr
getImgList(index,obj){ getImgList(index,obj){
this.commonIndex = index; this.commonIndex = index;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment