|
|
|
@ -1,29 +1,25 @@ |
|
|
|
<template> |
|
|
|
<view :style="{ height: height }" class="flex flex-col overflow-hidden u-font-14"> |
|
|
|
<!-- 标题栏 --> |
|
|
|
<Title /> |
|
|
|
|
|
|
|
<view class="container flex flex-col flex-1 mx-auto overflow-hidden bg-gray-100"> |
|
|
|
<!-- 角色栏 --> |
|
|
|
<Roles /> |
|
|
|
<view class="flex flex-col h-full bg-gray-50" @click="openAuth"> |
|
|
|
<view class="relative" @touchmove="onMove"> |
|
|
|
<!-- 日历 --> |
|
|
|
<Calendar @selected-change="onDateChange" :show-back="true" ref="calendar" @handleFindPoint="handleFindPoint" /> |
|
|
|
<!-- 上传 导入wbs --> |
|
|
|
<Upload @success="onUploadSuccess" @error="onUploadError" /> |
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- 日常任务面板 --> |
|
|
|
<Globals /> |
|
|
|
<!-- 项目列表 --> |
|
|
|
<Projects @getProjects="getProjects" class="flex-1 overflow-y-auto" /> |
|
|
|
|
|
|
|
<!-- 定期任务面板 --> |
|
|
|
<TimeLine @getTasks="getTasks" class="flex-1 overflow-hidden" ref="timeLine" /> |
|
|
|
</view> |
|
|
|
<!-- 全局提示框 --> |
|
|
|
<u-top-tips ref="uTips"></u-top-tips> |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
|
|
|
|
<script setup> |
|
|
|
import { |
|
|
|
ref, onMounted |
|
|
|
} from 'vue'; |
|
|
|
import Navbar from '@/components/Title/Title.vue'; |
|
|
|
import Roles from '@/components/Roles/Roles.vue'; |
|
|
|
import Globals from '@/components/Globals/Globals.vue'; |
|
|
|
import TimeLine from '@/components/TimeLine/TimeLine.vue'; |
|
|
|
import { ref, onMounted } from 'vue'; |
|
|
|
import Calendar from '@/components/Calendar/Calendar.vue'; |
|
|
|
import Upload from '@/components/Upload/Upload.vue'; |
|
|
|
import Projects from '@/components/Projects/Projects.vue'; |
|
|
|
|
|
|
|
let height = ref(null); |
|
|
|
|
|
|
|
|