From 7a228d5837e006af03e76db757e0f559e131f4b4 Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期五, 23 五月 2025 13:37:17 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/views/dnc/base/modules/TerminalIndex/ReportEquipmentClose/MaintainShutdownModal.vue | 68 ++++++++++++++++++++++++++++++++++ 1 files changed, 68 insertions(+), 0 deletions(-) diff --git a/src/views/dnc/base/modules/TerminalIndex/ReportEquipmentClose/MaintainShutdownModal.vue b/src/views/dnc/base/modules/TerminalIndex/ReportEquipmentClose/MaintainShutdownModal.vue new file mode 100644 index 0000000..36053ea --- /dev/null +++ b/src/views/dnc/base/modules/TerminalIndex/ReportEquipmentClose/MaintainShutdownModal.vue @@ -0,0 +1,68 @@ +<template> + <a-modal :visible="visible" title="缁存姢鍋滄満" @ok="handleSubmit" @cancel="handleCancel"> + <a-form-model ref="form" :model="model" :rules="validateRules" :labelCol="{span:5}" :wrapperCol="{span:18}"> + <a-form-model-item prop="closeReason" label="鍋滄満鍘熷洜"> + <a-select v-model="model.closeReason" placeholder="璇烽�夋嫨鍋滄満鍘熷洜"> + <a-select-option v-for="item in closeReasonList" :key="item.id"> + {{item.label}} + </a-select-option> + </a-select> + </a-form-model-item> + </a-form-model> + </a-modal> +</template> + +<script> + export default { + name: 'MaintainShutdownModal', + data() { + return { + visible: false, + model: {}, + validateRules: { + closeReason: [{ required: true, message: '璇烽�夋嫨鍋滄満鍘熷洜锛�' }] + }, + closeReasonList: [ + { + id: 1, + label: '鍚冮キ鏃堕棿浼戞伅' + }, + { + id: 2, + label: '宸ヤ綔鏃堕棿浼戞伅' + }, + { + id: 3, + label: '璁″垝鎬у仠鐢�' + }, + { + id: 4, + label: '寰呮枡鍋滄満' + }, + { + id: 5, + label: '棣栦欢璋冭瘯' + }, + { + id: 6, + label: '鍒�閲忓叿鍑嗗' + } + ] + } + }, + methods: { + handleSubmit() { + + }, + + handleCancel() { + this.$refs.form.clearValidate() + this.visible = false + } + } + } +</script> + +<style scoped> + +</style> \ No newline at end of file -- Gitblit v1.9.3