|
|
@@ -328,7 +328,7 @@ const onchangepage = (page) => {
|
|
|
}
|
|
|
const pagedata = ref({
|
|
|
total:0,
|
|
|
- size:10,
|
|
|
+ pageSize:10,
|
|
|
current:1
|
|
|
});
|
|
|
|
|
|
@@ -411,7 +411,7 @@ const getalldata = () => {
|
|
|
deviceids = deviceids.replaceAll("device_", "")
|
|
|
listSensor({...pagedata.value, params: {deviceids: deviceids,...searchform.value}}).then(res => {
|
|
|
const {rows,total,page,size} = res;
|
|
|
- pagedata.value = {total:total,current:page, size:10};
|
|
|
+ pagedata.value = {total:total,current:page, pageSize:10};
|
|
|
devicetabledata.value = rows.map(item => {
|
|
|
try{
|
|
|
var statusname = sensor_status.value.find(i => i.value == item.status).label;
|