projects/mesxc-lb #205

Merged
gtz217 merged 38 commits from projects/mesxc-lb into projects/mesxc-test 2024-02-26 02:14:07 +08:00
2 changed files with 8 additions and 5 deletions
Showing only changes of commit d5551eabb8 - Show all commits

View File

@ -299,17 +299,20 @@ export default {
}, },
async refreshDetailList() { async refreshDetailList() {
this.detailLoading = true; this.detailLoading = true;
if (!this.form.id) if (!this.form.id) {
return this.$message.info('没有找到保养计划相关信息...'); this.$message.info('没有找到保养计划相关信息...');
this.detailLoading = false;
}
try { try {
const res = await this.$axios( const res = await this.$axios(
'/base/equipment-maintain-plan-det/page', '/base/equipment-maintain-log-det/page',
{ {
params: { params: {
pageNo: this.detailTableQuery.pageNo, pageNo: this.detailTableQuery.pageNo,
pageSize: this.detailTableQuery.pageSize, pageSize: this.detailTableQuery.pageSize,
planId: this.form.id, // planId: this.form.id,
logId: this.form.id,
}, },
} }
); );

View File

@ -524,7 +524,7 @@ export default {
this.recordDetailVisible = true; this.recordDetailVisible = true;
this.$nextTick(() => { this.$nextTick(() => {
this.$refs.recordDetailDrawer.show({ this.$refs.recordDetailDrawer.show({
id: value.maintainPlanId, id: value.id,
planMaintainWorker: value.planMaintainWorker, planMaintainWorker: value.planMaintainWorker,
maintainWorker: value.maintainWorker, maintainWorker: value.maintainWorker,
}); });