Authored by zhangtianqi

腾讯云租户查询告警信息并增加租户的查询条件

@@ -32,9 +32,9 @@ @@ -32,9 +32,9 @@
32 title="腾讯云租户" 32 title="腾讯云租户"
33 :modal="false" 33 :modal="false"
34 append-to-body 34 append-to-body
35 - width="80%"> 35 + width="95%">
36 <cm-table-page :columns="tableData.columns" :dataList="tableData.dataList" 36 <cm-table-page :columns="tableData.columns" :dataList="tableData.dataList"
37 - :height="height - 163" 37 +
38 :loading="false" 38 :loading="false"
39 :pageSize="queryParams.pageSize" 39 :pageSize="queryParams.pageSize"
40 :showBorder="false" 40 :showBorder="false"
@@ -42,8 +42,8 @@ export default { @@ -42,8 +42,8 @@ export default {
42 let queryParams = Vue.ref({ 42 let queryParams = Vue.ref({
43 tenantId:'', 43 tenantId:'',
44 resTypes:'', 44 resTypes:'',
45 - pageNum:1,  
46 - pageSize:20, 45 + page:1,
  46 + limit:20,
47 }); 47 });
48 48
49 let count = Vue.ref(0); 49 let count = Vue.ref(0);
@@ -99,8 +99,8 @@ export default { @@ -99,8 +99,8 @@ export default {
99 */ 99 */
100 const getTenantList = ()=>{ 100 const getTenantList = ()=>{
101 proxy.$http.get('/api-web/home/alarm/alarmListPage',queryParams.value,(res)=>{ 101 proxy.$http.get('/api-web/home/alarm/alarmListPage',queryParams.value,(res)=>{
102 - count.value = res.data.count;  
103 - tableData.value.dataList = res.data.rows; 102 + count.value = res.count;
  103 + tableData.value.dataList = res.data;
104 }) 104 })
105 } 105 }
106 106