测试问题修改6

This commit is contained in:
zzyuan 2025-03-28 13:23:54 +08:00
parent 7428bbe72a
commit 3ef015d70c
5 changed files with 24 additions and 11 deletions

View File

@ -578,6 +578,8 @@
"endDateTime":this.formatDate(this.dateRange[1])
}
param.type=1
this.tableListData1 = []
this.total1 = 0
accSubsidyRechargePageApi(param).then(response => {
this.tableListData1 = response.data.pageVO.records;
this.total1 = Number(response.data.pageVO.total);
@ -635,6 +637,8 @@
"endDateTime":this.formatDate(this.dateRange[1])
}
param.type=2
this.tableListData2 = []
this.total2 = 0
accSubsidyClearPageApi(param).then(response => {
this.tableListData2 = response.data.pageVO.records;
this.total2 = Number(response.data.pageVO.total);
@ -657,6 +661,8 @@
"startDateTime":this.formatDate(this.dateRange[0]),
"endDateTime":this.formatDate(this.dateRange[1])
}
this.tableListData3 = []
this.total3 = 0
accSubsidyRepealPageApi(param).then(response => {
this.tableListData3 = response.data.pageVO.records;
this.total3 = Number(response.data.pageVO.total);
@ -679,6 +685,8 @@
"startDateTime":this.formatDate(this.dateRange[0]),
"endDateTime":this.formatDate(this.dateRange[1])
}
this.tableListData4 = []
this.total4 = 0
accSubsidyHandReceivePageApi(param).then(response => {
this.tableListData4 = response.data.resultPage.records;
this.total4 = Number(response.data.resultPage.total);

View File

@ -250,6 +250,8 @@
"startDateTime":this.formatDate(this.dateRange[0]),
"endDateTime":this.formatDate(this.dateRange[1])
}
this.tableListData = []
this.total = 0
if(this.activeName=='cust'){
param.type=0
accountSubsidyCustPageApi(param).then(response => {

View File

@ -279,6 +279,8 @@
"startDate":this.formatDate(this.dateRange[0]),
"endDate":this.formatDate(this.dateRange[1])
}
this.tableListData = []
this.total = 0
if(this.activeName=='cust'){
accountConsumeCustPageApi(param).then(response => {
this.tableListData = response.resultPage.records;

View File

@ -268,6 +268,8 @@
"startDate":this.formatDate(this.dateRange[0]),
"endDate":this.formatDate(this.dateRange[1])
}
this.tableListData = []
this.total = 0
if(this.activeName=='cust'){
walletConsumeCustPageApi(param).then(response => {
this.tableListData = response.resultPage.records;

View File

@ -6,18 +6,18 @@
v-model="queryParams.deviceSearchInfo"
placeholder="请输入关键字"
clearable
style="width: 300px"
style="width: 400px"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="所属区域" prop="areaIdList">
<el-cascader style="width: 400px"
v-model="queryParams.areaIdList" :show-all-levels="false" :filterable="true"
:options="treeOptions" :props="treeProps" collapse-tags
:options="treeOptions" :props="treeProps" collapse-tags clearable
@change="handleTreeChange"></el-cascader>
</el-form-item>
<el-form-item label="所属食堂" prop="canteenIdList">
<el-select v-model="queryParams.canteenIdList" placeholder="请选择所属食堂" collapse-tags :multiple="true" style="width: 400px;" @change="changeQueryCanteen">
<el-select v-model="queryParams.canteenIdList" placeholder="请选择所属食堂" collapse-tags clearable :multiple="true" style="width: 400px;" @change="changeQueryCanteen">
<el-option v-for="item in canteenOptions"
:key="item.canteenId"
:label="item.canteenName"
@ -27,7 +27,7 @@
</el-form-item>
<br>
<el-form-item label="所属档口" prop="stallIdList">
<el-select v-model="queryParams.stallIdList" placeholder="请选择所属档口" collapse-tags :multiple="true" style="width: 500px;">
<el-select v-model="queryParams.stallIdList" placeholder="请选择所属档口" collapse-tags clearable :multiple="true" style="width: 400px;">
<el-option v-for="item in stallOptions"
:key="item.stallId"
:label="item.stallName"
@ -36,7 +36,7 @@
</el-select>
</el-form-item>
<el-form-item label="通讯状态" prop="">
<el-select v-model="queryParams.onlineState" placeholder="请选择通讯状态" style="width: 300px;">
<el-select v-model="queryParams.onlineState" placeholder="请选择通讯状态" style="width: 400px;" clearable>
<el-option v-for="item in statusOptions"
:key="item.id"
:label="item.name"
@ -581,6 +581,7 @@
};
},
mounted(){
this.getTreeData();
if(this.$route.query.areaId){
this.queryParams.areaIdList.push(this.$route.query.areaId+'')
getCanteenByAreaApi({
@ -597,8 +598,6 @@
}
});
});
}else{
this.getTreeData();
}
this.getList()
},
@ -659,7 +658,7 @@
"deviceType":20
}
}
console.log("param",param)
let str = base64.encode(JSON.stringify(param))
// console.log(str)
getDeviceListPageApi({"content":str}).then(response => {