Commit ebaaf66e by yancanhua

fix: 查询刷新数据

1 parent 62698c81
......@@ -34,7 +34,7 @@
<a-card class="tabs-card" :bordered="false" style="margin-top: 12px;">
<!--查询栏-->
<m-pagination-query-render :fields="pagination.filterFields" :form="pagination.queryForm"
@onSearch="pageReload" @onReset="handleReset()" :simpleFieldNum="4">
@onSearch="handlePageReload()" @onReset="handleReset()" :simpleFieldNum="4">
<template #cityCodeName="{ record }">
<a-cascader v-model:value="carProvinceCity" :options="areaData" @change="handleChangeCity"
placeholder="请选择省/市" />
......@@ -101,10 +101,10 @@
</a-table>
<!--新增/编辑检测师弹窗-->
<InspectorAddForm ref="inspectorAddFormRef" @emitOk="pageLoad" />
<InspectorAddForm ref="inspectorAddFormRef" @emitOk="getPageLoad()" />
<!--启用/禁用检测师弹窗-->
<EnableDialog ref="enableDialogRef" @emitOk="pageLoad" />
<EnableDialog ref="enableDialogRef" @emitOk="getPageLoad()" />
</a-card>
</div>
......@@ -221,10 +221,21 @@ export default class DetectionInspectorPage extends PaginationComponent<Vehicle>
this.pagination.queryForm.region = code;
}
handlePageReload() {
this.pageReload();
this.getInspectSummary();
}
getPageLoad() {
this.pageLoad();
this.getInspectSummary();
}
//重置查询条件
handleReset() {
this.carProvinceCity = [];
this.pageReset();
this.getInspectSummary();
}
handleAdd(data): void {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!