Răsfoiți Sursa

房间管理

all 5 ani în urmă
părinte
comite
52b3b336cd
1 a modificat fișierele cu 4 adăugiri și 1 ștergeri
  1. 4 1
      frontend_web/src/views/managingrooms/index.vue

+ 4 - 1
frontend_web/src/views/managingrooms/index.vue

@@ -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
         })