diff --git a/src/views/specialEquipment/maintain/Record--detail.vue b/src/views/specialEquipment/maintain/Record--detail.vue index 9d85a4d1..aa90e75c 100644 --- a/src/views/specialEquipment/maintain/Record--detail.vue +++ b/src/views/specialEquipment/maintain/Record--detail.vue @@ -299,17 +299,20 @@ export default { }, async refreshDetailList() { this.detailLoading = true; - if (!this.form.id) - return this.$message.info('没有找到保养计划相关信息...'); + if (!this.form.id) { + this.$message.info('没有找到保养计划相关信息...'); + this.detailLoading = false; + } try { const res = await this.$axios( - '/base/equipment-maintain-plan-det/page', + '/base/equipment-maintain-log-det/page', { params: { pageNo: this.detailTableQuery.pageNo, pageSize: this.detailTableQuery.pageSize, - planId: this.form.id, + // planId: this.form.id, + logId: this.form.id, }, } ); diff --git a/src/views/specialEquipment/maintain/Record.vue b/src/views/specialEquipment/maintain/Record.vue index 0129b1b1..87f59e7e 100644 --- a/src/views/specialEquipment/maintain/Record.vue +++ b/src/views/specialEquipment/maintain/Record.vue @@ -524,7 +524,7 @@ export default { this.recordDetailVisible = true; this.$nextTick(() => { this.$refs.recordDetailDrawer.show({ - id: value.maintainPlanId, + id: value.id, planMaintainWorker: value.planMaintainWorker, maintainWorker: value.maintainWorker, });