From 186022d0c99061dd3886e6ee995b335cf43fe10d Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期四, 10 七月 2025 21:56:35 +0800 Subject: [PATCH] 1、保养规范页面列表新增测试删除功能(菜单权限分配,现网初期导入用) 2、保养规范弹窗新增区分保养项分类标签 --- src/views/eam/maintenance/EamInspectionOrderList.vue | 35 +++++++++++++++++++---------------- 1 files changed, 19 insertions(+), 16 deletions(-) diff --git a/src/views/eam/maintenance/EamInspectionOrderList.vue b/src/views/eam/maintenance/EamInspectionOrderList.vue index 6490a89..fc1b94d 100644 --- a/src/views/eam/maintenance/EamInspectionOrderList.vue +++ b/src/views/eam/maintenance/EamInspectionOrderList.vue @@ -282,21 +282,24 @@ }, handleInspection(id) { var that = this - getAction(that.url.receiveInspectionOrder, { id }).then((res) => { - if (res.success) { - that.$notification.success({ - message: '娑堟伅', - description: res.message - }) - that.loadData() - } else { - // that.$message.warning(res.message); - that.$notification.warning({ - message: '娑堟伅', - description: res.message - }) - } - }) + this.loading = true + getAction(that.url.receiveInspectionOrder, { id }) + .then((res) => { + if (res.success) { + that.$notification.success({ + message: '娑堟伅', + description: res.message + }) + that.loadData() + } else { + // that.$message.warning(res.message); + that.$notification.warning({ + message: '娑堟伅', + description: res.message + }) + this.loading = false + } + }) }, handleOrReceive(id) { if (!this.url.cancelInspectionOrder) { @@ -400,7 +403,7 @@ onInspectionDateChange: function(value, dateString) { this.queryParam.inspectionDateBegin = dateString[0] this.queryParam.inspectionDateEnd = dateString[1] - }, + } } } </script> -- Gitblit v1.9.3