业务组件,
npm install z-gantt --save
npm install
npm run serve
npm run lib
import Gantt from 'z-gantt'
import 'z-gantt/lib/gantt.css'
<gantt
:type="'day'"
:data="staffData"
:theme="theme"
:start="start"
:hide-holiday="hideHoliday"
:loading="loading"
:max="max"
:size="size"
:cellWidth="80"
:cellHeight="30"
ghost
show-desc
/>