feat:菜单甘特图页面/一键排查-甘特图拆开两个组件

pull/1/head
黄伟杰 4 weeks ago
parent 6d57b13a75
commit c4fd3bbbb1

@ -1,6 +1,6 @@
<template> <template>
<Dialog v-model="previewVisible" title="排产甘特图预览" width="100%" align-center> <Dialog v-model="previewVisible" title="排产甘特图预览" width="100%" align-center>
<ScheduleGanttPanel :schedule-list="previewScheduleList" :editable="true" height="800px" /> <ScheduleGanttPanelEditable :schedule-list="previewScheduleList" height="800px" />
<template #footer> <template #footer>
<el-button type="primary" :loading="previewSaveLoading" @click="handlePreviewSave"></el-button> <el-button type="primary" :loading="previewSaveLoading" @click="handlePreviewSave"></el-button>
<el-button @click="previewVisible = false">关闭</el-button> <el-button @click="previewVisible = false">关闭</el-button>
@ -10,7 +10,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { PlanApi } from '@/api/mes/plan' import { PlanApi } from '@/api/mes/plan'
import ScheduleGanttPanel from '@/views/mes/components/ScheduleGanttPanel.vue' import ScheduleGanttPanelEditable from './ScheduleGanttPanelEditable.vue'
import dayjs from 'dayjs' import dayjs from 'dayjs'
defineOptions({ name: 'TaskSchedulePreviewDialog' }) defineOptions({ name: 'TaskSchedulePreviewDialog' })

Loading…
Cancel
Save