|
|
@@ -180,7 +180,8 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
mounted () {
|
|
|
- this.getroomtypelist()
|
|
|
+ this.searchroomdata()
|
|
|
+ // this.getroomtypelist()
|
|
|
},
|
|
|
methods: {
|
|
|
// 获取所有房间类型
|
|
|
@@ -188,6 +189,7 @@ export default {
|
|
|
let _this = this
|
|
|
getroomtypelist()
|
|
|
.then(res => {
|
|
|
+ console.log('--getroomtypelist---res----', res)
|
|
|
for (let type of res.info) {
|
|
|
_this.typeList[type.Value] = type.Key
|
|
|
}
|
|
|
@@ -239,6 +241,7 @@ export default {
|
|
|
}
|
|
|
searchmanagingroomdata(params)
|
|
|
.then(function (response) {
|
|
|
+ console.log('------searchmanagingroomdata---', response)
|
|
|
_this.entityList = response.info.items
|
|
|
_this.totalsize = response.info.currentItemCount
|
|
|
})
|