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/EquipmentStartWork.vue | 128 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 128 insertions(+), 0 deletions(-) diff --git a/src/views/dnc/base/modules/TerminalIndex/EquipmentStartWork.vue b/src/views/dnc/base/modules/TerminalIndex/EquipmentStartWork.vue new file mode 100644 index 0000000..9ca8f85 --- /dev/null +++ b/src/views/dnc/base/modules/TerminalIndex/EquipmentStartWork.vue @@ -0,0 +1,128 @@ +<template> + <div class="full-screen-container"> + <slot name="function"/> + + <a-tabs default-active-key="1"> + <a-tab-pane tab="鎵撳崱涓婁笅鐝�" key="1" dataset="first"> + <a-space> + <div>璁惧鍚嶇О锛�</div> + <a-select style="width: 250px"> + + </a-select> + </a-space> + + + <div class="button">涓婄彮</div> + </a-tab-pane> + + <a-tab-pane tab="褰撳墠璁惧鐘舵��" key="2"> + <a-table :dataSource="dataSource" :columns="columns" rowKey="id" bordered :pagination="false"/> + </a-tab-pane> + </a-tabs> + </div> +</template> + +<script> + export default { + name: 'EquipmentStartWork', + data() { + return { + columns: [ + { + title: '鐢ㄦ埛缂栧彿', + align: 'center', + dataIndex: 'userId' + }, + { + title: '鐢ㄦ埛鍚嶇О', + align: 'center', + dataIndex: 'username' + }, + { + title: '璁惧缂栧彿', + align: 'center', + dataIndex: 'equipmentId' + }, + { + title: '涓婄彮鎵撳崱鏃堕棿', + align: 'center', + dataIndex: 'startWorkTime' + }, + { + title: '涓嬬彮鎵撳崱鏃堕棿', + align: 'center', + dataIndex: 'finishWorkTime' + } + ], + dataSource: [ + { + id: 1, + equipmentId: '3140132', + userId: '140016', + username: '鏉庨獮', + startWorkTime: '2023/11/13 9:29', + finishWorkTime: '' + }, + { + id: 2, + equipmentId: '3140130', + userId: '140016', + username: '鏉庨獮', + startWorkTime: '2023/11/13 9:29', + finishWorkTime: '' + } + ], + url: { + list: '' + } + } + }, + created() { + + } + } +</script> + +<style scoped lang="less"> + .full-screen-container { + padding: 24px; + display: flex; + flex-direction: column; + + /deep/ .ant-tabs { + flex: 1; + display: flex; + flex-direction: column; + + .ant-tabs-content { + width: 100%; + flex: 1; + + .ant-tabs-tabpane[dataset='first'] { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + + .button { + font-weight: bold; + padding: 40px 80px; + border: 1px solid rgba(0, 0, 0, .2); + border-radius: 10px; + margin-top: 200px; + cursor: pointer; + box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.2), + -6px -6px 16px rgba(255, 255, 255, 0.8), + inset 0 0 0 transparent; + + &:hover { + box-shadow: 0 0 0 transparent, + inset 6px 6px 12px rgba(0, 0, 0, 0.2), + inset -6px -6px 12px rgba(255, 255, 255, 0.8); + } + } + } + } + } + } +</style> \ No newline at end of file -- Gitblit v1.9.3