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.vue |  175 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 175 insertions(+), 0 deletions(-)

diff --git a/src/views/dnc/base/modules/TerminalIndex/ReportEquipmentClose.vue b/src/views/dnc/base/modules/TerminalIndex/ReportEquipmentClose.vue
new file mode 100644
index 0000000..0f5f685
--- /dev/null
+++ b/src/views/dnc/base/modules/TerminalIndex/ReportEquipmentClose.vue
@@ -0,0 +1,175 @@
+<template>
+  <div class="page-view-container">
+    <slot name="function"/>
+
+    <a-card :bordered="false">
+      <!-- 鏌ヨ鍖哄煙 -->
+      <div class="table-page-search-wrapper">
+        <a-form layout="inline">
+          <a-row :gutter="24">
+            <a-col :span="4">
+              <a-form-item label="璁惧">
+                <a-select placeholder="璇烽�夋嫨璁惧" v-model="queryParam.equipmentId"></a-select>
+              </a-form-item>
+            </a-col>
+
+            <a-col :span="4">
+              <a-form-item label="寮�濮嬫椂闂�">
+                <a-date-picker style="width: 100%" show-time placeholder="璇烽�夋嫨寮�濮嬫椂闂�" v-model="queryParam.startTime"/>
+              </a-form-item>
+            </a-col>
+
+            <a-col :span="4">
+              <a-form-item label="缁撴潫鏃堕棿">
+                <a-date-picker style="width: 100%" show-time placeholder="璇烽�夋嫨缁撴潫鏃堕棿" v-model="queryParam.endTime"/>
+              </a-form-item>
+            </a-col>
+
+            <a-col :span="4">
+              <a-form-item label="鍋滄満鍘熷洜">
+                <a-select placeholder="璇烽�夋嫨鍋滄満鍘熷洜" v-model="queryParam.closeReason"></a-select>
+              </a-form-item>
+            </a-col>
+
+            <a-col :span="4">
+              <a-form-item label="鍋滄満鏃堕棿">
+                <a-date-picker style="width: 100%" placeholder="璇烽�夋嫨鍋滄満鏃堕棿" v-model="queryParam.closeTime"/>
+              </a-form-item>
+            </a-col>
+
+            <a-col :span="4">
+              <a-space>
+                <a-button type="primary" @click="searchQuery" icon="search">鏌ヨ</a-button>
+                <a-button @click="searchReset" icon="reload">閲嶇疆</a-button>
+              </a-space>
+            </a-col>
+          </a-row>
+
+
+        </a-form>
+      </div>
+
+      <!-- 鎿嶄綔鎸夐挳鍖哄煙 -->
+      <div class="table-operator">
+        <a-button type="primary" @click="handleMaintainShutdown">缁存姢鍋滄満</a-button>
+        <a-button type="primary" @click="handleSplitShutdownInfo">鎷嗗垎鍋滄満淇℃伅</a-button>
+      </div>
+
+      <a-table :dataSource="dataSource" :columns="columns" rowKey="id" bordered :pagination="false"
+               :rowSelection="{selectedRowKeys, onChange: onSelectChange}"/>
+    </a-card>
+
+    <maintain-shutdown-modal ref="maintainShutdownModal"/>
+
+    <split-shutdown-info-modal ref="splitShutdownInfoModal"/>
+  </div>
+</template>
+
+<script>
+  import { JeecgListMixin } from '@/mixins/JeecgListMixin'
+  import MaintainShutdownModal from './ReportEquipmentClose/MaintainShutdownModal'
+  import SplitShutdownInfoModal from './ReportEquipmentClose/SplitShutdownInfoModal'
+
+  export default {
+    name: 'ReportEquipmentClose',
+    components: { SplitShutdownInfoModal, MaintainShutdownModal },
+    mixins: [JeecgListMixin],
+    data() {
+      return {
+        columns: [
+          {
+            title: '璁惧缂栧彿',
+            align: 'center',
+            dataIndex: 'equipmentId',
+            width: 150
+          },
+          {
+            title: '璁惧鍚嶇О',
+            align: 'center',
+            dataIndex: 'equipmentName'
+          },
+          {
+            title: '鍋滄満缂栧彿',
+            align: 'center',
+            dataIndex: 'shutdownId'
+          },
+          {
+            title: '鍋滄満绫诲瀷',
+            align: 'center',
+            dataIndex: 'shutdownType'
+          },
+          {
+            title: '鍋滄満鏃堕棿',
+            align: 'center',
+            width: 150,
+            dataIndex: 'shutdownDuration'
+          },
+          {
+            title: '寮�濮嬫椂闂�',
+            align: 'center',
+            width: 200,
+            dataIndex: 'startTime'
+          },
+          {
+            title: '缁撴潫鏃堕棿',
+            align: 'center',
+            width: 200,
+            dataIndex: 'endTime'
+          },
+          {
+            title: '褰曞叆绫诲瀷',
+            align: 'center',
+            width: 100,
+            dataIndex: 'recordType'
+          }
+        ],
+        dataSource: [
+          {
+            id: 1,
+            equipmentId: '3140221',
+            equipmentName: '鏁版帶鏈哄簥',
+            shutdownDuration: 360,
+            startTime: '2025-05-20 02:21:49',
+            endTime: '2525-05-20 08:21:59',
+            recordType: '鑷姩涓婃姤'
+          },
+          {
+            id: 2,
+            equipmentId: '3140221',
+            equipmentName: '鏁版帶鏈哄簥',
+            shutdownDuration: 360,
+            startTime: '2025-05-20 02:21:49',
+            endTime: '2525-05-20 08:21:59',
+            recordType: '鑷姩涓婃姤'
+          },
+          {
+            id: 3,
+            equipmentId: '3140221',
+            equipmentName: '鏁版帶鏈哄簥',
+            shutdownDuration: 360,
+            startTime: '2025-05-20 02:21:49',
+            endTime: '2525-05-20 08:21:59',
+            recordType: '鑷姩涓婃姤'
+          }
+        ],
+        url: {
+          list: ''
+        }
+      }
+    },
+    methods: {
+      handleMaintainShutdown() {
+        this.$refs.maintainShutdownModal.visible = true
+        this.$refs.maintainShutdownModal.model = {}
+      },
+
+      handleSplitShutdownInfo() {
+        this.$refs.splitShutdownInfoModal.visible = true
+      }
+    }
+  }
+</script>
+
+<style scoped lang="less">
+
+</style>
\ No newline at end of file

--
Gitblit v1.9.3