From f02cf09eb0c6933dd5ccc4dac6c6c09c3b5f3d3c Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期一, 25 八月 2025 15:17:03 +0800 Subject: [PATCH] 1、根据最新设计方案调整设备管理模块点击弹窗样式 2、mdc公司级首页设备管理模块与点击功能联调 --- src/views/eam/repair/modules/EamReportRepairList/EamReportRepairModal.vue | 23 ++++++++++++++++------- 1 files changed, 16 insertions(+), 7 deletions(-) diff --git a/src/views/eam/repair/modules/EamReportRepairList/EamReportRepairModal.vue b/src/views/eam/repair/modules/EamReportRepairList/EamReportRepairModal.vue index 751f2e2..463d0dd 100644 --- a/src/views/eam/repair/modules/EamReportRepairList/EamReportRepairModal.vue +++ b/src/views/eam/repair/modules/EamReportRepairList/EamReportRepairModal.vue @@ -22,7 +22,8 @@ </a-col> <a-col :span="customSpan"> <a-form-model-item label="鏁呴殰寮�濮嬫椂闂�" prop="faultStartTime"> - <a-date-picker v-model="model.faultStartTime" :allowClear="false" value-format="YYYY-MM-DD" + <a-date-picker show-time v-model="model.faultStartTime" :allowClear="false" + value-format="YYYY-MM-DD HH:mm:ss" style="width:100%"/> </a-form-model-item> </a-col> @@ -321,8 +322,8 @@ message: '娑堟伅', description: res.message }) - that.$emit('ok') - that.close() + this.$emit('ok', true) + that.close(true) } else { that.$notification.warning({ message: '娑堟伅', @@ -412,14 +413,22 @@ } }, - close() { - this.$emit('close') + /** + * 鐐规/浜屼繚鏁呴殰鎶ヤ慨濉姤 + * @param record + */ + handleRepair(record) { + this.edit(record) + }, + + close(success = false) { + this.$emit('close', success) this.visible = false if (this.$refs.form) this.$refs.form.clearValidate() }, handleCancel() { - this.close() - } + this.close(false) // 浼犻�掑彇娑堢姸鎬� + }, } } </script> -- Gitblit v1.9.3