From d289be3b10e9b259625ca9128b54bc62950c4e48 Mon Sep 17 00:00:00 2001 From: lyh <925863403@qq.com> Date: 星期一, 08 九月 2025 17:57:49 +0800 Subject: [PATCH] 出库状态改为生命周期 其他文档改为电子文档 电子文档新增指派设备结构树 --- src/views/dashboard/modules/DncManagerSignage.vue | 119 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 119 insertions(+), 0 deletions(-) diff --git a/src/views/dashboard/modules/DncManagerSignage.vue b/src/views/dashboard/modules/DncManagerSignage.vue new file mode 100644 index 0000000..9d53be6 --- /dev/null +++ b/src/views/dashboard/modules/DncManagerSignage.vue @@ -0,0 +1,119 @@ +<template> + <div class="home-container"> + <a-card title="鎴戠殑寰呭姙" class="left-container"> + <a slot="extra" href="#" @click="$router.push('/flowable/workflow/FlowTodo')">鏇村</a> + + <!-- 宓屽叆todoList缁勪欢骞惰缃粯璁ゅ垎绫� --> + <todo-list + ref="todoList" + class="embedded-flow-todo" + :defaultCategories="['drApproval','ggApproval','programConfirmApproval','ncFileSettingProcessApproval']"/> + </a-card> + + <!-- 鍙充晶涓や釜灏忓崱鐗� --> + <div class="right-container"> + <a-card title="涓変綅宸ヨ壓鐢熸垚浜у搧缁撴瀯鏍�" class="right-top-container"> + <a slot="extra" href="#" @click="$router.push('/dnc/base/SyncProcessSpecificationInfoList')">鏇村</a> + + <syncProcessList + ref="syncProcessList"/> + </a-card> + + <!--<div class="card top-card">--> + <!--<h2 class="card-title">涓夌淮宸ヨ壓鐢熸垚浜у搧缁撴瀯鏍�</h2>--> + <!--<h2 class="more-btns" @click="gotoSyncProcessList">鏇村</h2>--> + <!--<div class="card-content">--> + <!--<syncProcessList--> + <!--ref="syncProcessList"/>--> + <!--</div>--> + <!--</div>--> + + <a-card title="娲惧伐浠诲姟棰嗗彇"> + + </a-card> + + <!--<div class="card bottom-card">--> + <!--<h2 class="card-title">娲惧伐浠诲姟棰嗗彇</h2>--> + <!--<div class="card-content">--> + <!--</div>--> + <!--</div>--> + </div> + </div> +</template> + +<script> + import TodoList from '@views/dashboard/modules/TodoList.vue' + import SyncProcessList from '@views/dashboard/modules/SyncProcessList.vue' + + + export default { + name: 'DncManagerSignage', + components: { + TodoList, + SyncProcessList + }, + data() { + return {} + }, + mounted() { + this.$nextTick(() => { + if (this.$refs.todoList) { + this.$refs.todoList.loadData(1) + } + }) + }, + methods: {} + } +</script> + +<style scoped lang="less"> + @container-margin: 10px; + + .home-container { + display: flex; + height: 100vh; + gap: @container-margin; + + /deep/ .ant-card { + display: flex; + flex-direction: column; + & ::-webkit-scrollbar { + width: 6px; /* 婊氬姩鏉″搴� */ + } + .ant-card-body { + flex: 1; + overflow: auto; + } + } + + .left-container { + width: 40%; + height: 100%; + + /deep/ .ant-card-body { + padding: 6px 24px 12px; + } + } + + .right-container { + flex: 1; + display: flex; + flex-direction: column; + gap: @container-margin; + + > div { + flex: 1; + } + } + } + + @media (max-width: 992px) { + .home-container { + flex-direction: column; + + > .left-container { + width: 100%; + } + } + } +</style> \ No newline at end of file -- Gitblit v1.9.3