From d13f2db56f0a82b9324c19e48d41848e7f5909b3 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期六, 28 十月 2023 18:48:54 +0800 Subject: [PATCH] 工艺信息的组件+人员的组件半成品 --- src/views/dashboard/index.vue | 23 +++++++++++++++++++---- 1 files changed, 19 insertions(+), 4 deletions(-) diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index bba3bcc..c2f2e8a 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -5,9 +5,15 @@ <ChannelCollapse :channels="channels"></ChannelCollapse> </template> <template #middleBlock1>鏍囬</template> - <template #middleBlock2>涓荤湅鏉�</template> + <template #middleBlock2 + >涓荤湅鏉� + <ProcessInfo :process="process"></ProcessInfo> + </template> <template #middleBlock3>浠诲姟璇︽儏</template> - <template #middleBlock4>浜哄憳淇℃伅</template> + <template #middleBlock4 + >浜哄憳淇℃伅 + <PersonInfo :person="person"></PersonInfo> + </template> <template #rightBlock1>鏃堕棿</template> <template #rightBlock2>鐘舵�侀潰鏉�</template> <template #rightBlock3>鐭ヨ瘑搴�</template> @@ -19,7 +25,8 @@ import ChannelCollapse from '@/views/dashboard/components/ChannelCollapse.vue' import type { Task } from '@/api/task' import { chain } from 'lodash-es' - +import ProcessInfo from '@/views/dashboard/components/ProcessInfo.vue' +import PersonInfo from '@/views/dashboard/components/PersonInfo.vue' defineOptions({ name: 'DashboardView' }) @@ -42,7 +49,15 @@ .groupBy((ele) => ele.Channel) .value() }) - +const process = computed(() => { + return { name: '宸ヨ壓鍚嶇О', number: '111' } +}) +const person = computed(() => { + return { + workerName: '濮撳悕', + phone: '111' + } +}) getChannels() </script> -- Gitblit v1.8.0