From 83616e7d8514a8ddd09d926c06944c02f6956ee8 Mon Sep 17 00:00:00 2001 From: bb_pan Date: Tue, 22 Apr 2025 10:38:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96--=E7=BB=BC=E5=90=88=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sgzb-ui/src/views/stquery/deviceFixQuery.vue | 6 ++++-- sgzb-ui/src/views/stquery/deviceScrapQuery.vue | 6 ++++-- sgzb-ui/src/views/stquery/deviceStatusRecord.vue | 6 ++++++ sgzb-ui/src/views/stquery/deviceStatusRecordDeBug.vue | 6 ++++++ sgzb-ui/src/views/stquery/projUsingRecord.vue | 9 ++++++++- 5 files changed, 28 insertions(+), 5 deletions(-) diff --git a/sgzb-ui/src/views/stquery/deviceFixQuery.vue b/sgzb-ui/src/views/stquery/deviceFixQuery.vue index e9250079..5db710a0 100644 --- a/sgzb-ui/src/views/stquery/deviceFixQuery.vue +++ b/sgzb-ui/src/views/stquery/deviceFixQuery.vue @@ -13,7 +13,7 @@ v-model="queryParams.unitId" filterable clearable - @change="GetProData" + @change="getProList" style="width: 240px" placeholder="请选择" > @@ -31,7 +31,7 @@ v-model="queryParams.proId" filterable clearable - @change="GetUnitData" + @change="getUnitList" style="width: 240px" placeholder="请选择" > @@ -277,6 +277,8 @@ export default { this.queryParams.proId = '' this.resetForm('queryForm') this.handleQuery() + this.getUnitList() + this.getProList() }, /** 导出按钮操作 */ diff --git a/sgzb-ui/src/views/stquery/deviceScrapQuery.vue b/sgzb-ui/src/views/stquery/deviceScrapQuery.vue index b76353bc..fce74c16 100644 --- a/sgzb-ui/src/views/stquery/deviceScrapQuery.vue +++ b/sgzb-ui/src/views/stquery/deviceScrapQuery.vue @@ -24,7 +24,7 @@ v-model="queryParams.unitId" filterable clearable - @change="GetProData" + @change="getProList" style="width: 240px" placeholder="请选择" > @@ -42,7 +42,7 @@ v-model="queryParams.proId" filterable clearable - @change="GetUnitData" + @change="getUnitList" style="width: 240px" placeholder="请选择" > @@ -342,6 +342,8 @@ export default { this.queryParams.proId = '' this.resetForm('queryForm') this.handleQuery() + this.getUnitList() + this.getProList() }, /** 导出按钮操作 */ diff --git a/sgzb-ui/src/views/stquery/deviceStatusRecord.vue b/sgzb-ui/src/views/stquery/deviceStatusRecord.vue index 1438b5b6..d384fa63 100644 --- a/sgzb-ui/src/views/stquery/deviceStatusRecord.vue +++ b/sgzb-ui/src/views/stquery/deviceStatusRecord.vue @@ -677,6 +677,8 @@ export default { //查看编码在库数据 openRecords(row) { this.openRecord = true + this.dialogQuery.pageNum = 1 + this.dialogQuery.pageSize = 10 this.dialogQuery.maCode = "" this.dialogQuery.typeId= row.typeId this.getUseMaCodeList() @@ -685,12 +687,16 @@ export default { //查看在用设备 openUserRecords(row) { this.openUseRecord = true + this.dialogQuery.pageNum = 1 + this.dialogQuery.pageSize = 10 this.dialogQuery.typeId= row.typeId this.getUserRecords() }, //查看总保有量编码设备 openAllRecords(row) { this.openAllRecord = true + this.dialogQuery.pageNum = 1 + this.dialogQuery.pageSize = 10 this.dialogQuery.maCode = "" this.dialogQuery.typeId= row.typeId this.getAllRecords() diff --git a/sgzb-ui/src/views/stquery/deviceStatusRecordDeBug.vue b/sgzb-ui/src/views/stquery/deviceStatusRecordDeBug.vue index 15417977..bad6345c 100644 --- a/sgzb-ui/src/views/stquery/deviceStatusRecordDeBug.vue +++ b/sgzb-ui/src/views/stquery/deviceStatusRecordDeBug.vue @@ -660,6 +660,8 @@ export default { //查看编码在库数据 openRecords(row) { this.openRecord = true + this.dialogQuery.pageNum = 1 + this.dialogQuery.pageSize = 10 this.dialogQuery.maCode = "" this.dialogQuery.typeId= row.typeId this.getUseMaCodeList() @@ -668,12 +670,16 @@ export default { //查看在用设备 openUserRecords(row) { this.openUseRecord = true + this.dialogQuery.pageNum = 1 + this.dialogQuery.pageSize = 10 this.dialogQuery.typeId= row.typeId this.getUserRecords() }, //查看总保有量编码设备 openAllRecords(row) { this.openAllRecord = true + this.dialogQuery.pageNum = 1 + this.dialogQuery.pageSize = 10 this.dialogQuery.maCode = "" this.dialogQuery.typeId= row.typeId this.getAllRecords() diff --git a/sgzb-ui/src/views/stquery/projUsingRecord.vue b/sgzb-ui/src/views/stquery/projUsingRecord.vue index 0740ff30..d958ce4c 100644 --- a/sgzb-ui/src/views/stquery/projUsingRecord.vue +++ b/sgzb-ui/src/views/stquery/projUsingRecord.vue @@ -663,6 +663,8 @@ export default { //查看在用设备 openUserRecords(row) { this.openUseRecord = true + this.dialogQuery.pageNum = 1 + this.dialogQuery.pageSize = 10 this.dialogQuery.maCode = "" this.dialogQuery.typeId= row.typeId this.dialogQuery.agreementId= row.agreementId @@ -677,12 +679,13 @@ export default { }, /** 重置按钮操作 */ resetQuery() { - this.getProList() this.queryParams.time = [] this.queryParams.unitId = '' this.queryParams.proId = '' this.resetForm('queryForm') this.handleQuery() + this.getProList() + this.getUnitList() }, /** 导出按钮操作 */ @@ -707,6 +710,8 @@ export default { //查看历史租赁编码设备 openHisCodeRecords(row) { this.openHisCodeRecord = true + this.dialogQuery.pageNum = 1 + this.dialogQuery.pageSize = 10 this.dialogQuery.maCode = "" this.dialogQuery.typeId= row.typeId this.dialogQuery.unitId= row.unitId @@ -716,6 +721,8 @@ export default { //查看历史租赁编码设备 openHisReturnCodeRecords(row) { this.openHisReturnCodeRecord = true + this.dialogQuery.pageNum = 1 + this.dialogQuery.pageSize = 10 this.dialogQuery.maCode = "" this.dialogQuery.typeId= row.typeId this.dialogQuery.unitId= row.unitId