From ec6c121c26d6684fad97c47aa12c605ea35c7554 Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期一, 07 七月 2025 20:08:16 +0800 Subject: [PATCH] 1、点检工单页面列表新增设备型号以及设备名称展示 2、点检工单页面实现新增、编辑、领取以及作废功能 3、保养规范页面调整批量删除提示文字 --- src/views/eam/base/EamMaintenanceStandardList.vue | 34 ++++++++++++++++++++++++++++++++++ 1 files changed, 34 insertions(+), 0 deletions(-) diff --git a/src/views/eam/base/EamMaintenanceStandardList.vue b/src/views/eam/base/EamMaintenanceStandardList.vue index cdb138f..9bd2117 100644 --- a/src/views/eam/base/EamMaintenanceStandardList.vue +++ b/src/views/eam/base/EamMaintenanceStandardList.vue @@ -346,6 +346,40 @@ this.$refs.modalForm.disableSubmit = false }, + batchDel() { + var ids = '' + for (var a = 0; a < this.selectedRowKeys.length; a++) { + ids += this.selectedRowKeys[a] + ',' + } + var that = this + this.$confirm({ + title: '纭鍒犻櫎', + content: '鏄惁鍒犻櫎閫変腑鏁版嵁锛屽彧鏈夊緟鎻愪氦鐘舵�佺殑鏁版嵁鎵嶅彲鍒犻櫎鎴愬姛?', + onOk: function() { + that.loading = true + getAction(that.url.deleteBatch, { ids }) + .then((res) => { + if (res.success) { + that.$notification.success({ + message: '娑堟伅', + description: res.message + }) + that.loadData() + that.onClearSelected() + } else { + that.$notification.warning({ + message: '娑堟伅', + description: res.message + }) + } + }) + .finally(() => { + that.loading = false + }) + } + }) + }, + searchReset() { this.standardId = '-1' this.queryParam = {} -- Gitblit v1.9.3