From 83c4a4b74ab056ab447edadb3d06d8e9560c0aff Mon Sep 17 00:00:00 2001
From: Mr.Zhang <710666463@qq.com>
Date: 星期二, 22 八月 2023 11:03:13 +0800
Subject: [PATCH] 大屏公司部门
---
screen_standard/src/components/AppLayout.vue | 17 ++++++-----------
1 files changed, 6 insertions(+), 11 deletions(-)
diff --git a/screen_standard/src/components/AppLayout.vue b/screen_standard/src/components/AppLayout.vue
index 55e5471..8bfebbd 100644
--- a/screen_standard/src/components/AppLayout.vue
+++ b/screen_standard/src/components/AppLayout.vue
@@ -27,7 +27,7 @@
<div class="time">{{ tempDate.time }}</div>
<div class="day">{{ `${tempDate.date} ${tempDate.day}` }}</div>
</div>
- <img src="@/assets/img/title_line@2x.png" class="right-line" alt="">
+ <!-- <img src="@/assets/img/title_line@2x.png" class="right-line" alt=""> -->
</div>
</div>
<!-- 'background': `url(${getAssets(item.bgImg)})`, -->
@@ -54,7 +54,7 @@
<script setup>
import { getAssets } from '@/utils'
import { getDepartmentList } from '@/utils/apis.js'
-import { reactive, toRefs, onMounted } from 'vue';
+import { reactive, toRefs, ref, onMounted } from 'vue';
import { RouterView } from 'vue-router'
const layoutList = [
@@ -71,13 +71,11 @@
time: '',
date: '',
day: ''
- }
+ },
+ comList: []
})
-let { tempCom, isFull, tempDate } = toRefs(data)
-
-const comList = reactive([])
-
+let { tempCom, isFull, tempDate, comList } = toRefs(data)
const selectCom = (item, index) => {
data.tempCom = item
@@ -114,11 +112,8 @@
onMounted(() => {
getDepartmentList(8)
.then(res => {
- debugger
- comList = res
-
+ data.comList = res
data.tempCom = res[0]
- console.log(data.tempCom);
})
.catch(err => {})
const week = ['鏄熸湡涓�', '鏄熸湡浜�', '鏄熸湡涓�', '鏄熸湡鍥�', '鏄熸湡浜�', '鏄熸湡鍏�', '鏄熸湡鏃�',]
--
Gitblit v1.9.3