├── .github └── workflows │ └── deploy.yml ├── .gitignore ├── LICENSE ├── README.md ├── index.html ├── package.json ├── public └── favicon.ico ├── screenshot ├── vue_drag_gantt_1.gif ├── vue_drag_gantt_2.gif ├── vue_drag_gantt_3.gif ├── vue_drag_gantt_4.gif └── vue_drag_gantt_5.gif ├── src ├── App.vue ├── api │ ├── dataTemplate.json │ └── mock-data.js ├── components │ ├── demo │ │ ├── checkAdjust.vue │ │ ├── menu-item.vue │ │ └── task-item.vue │ └── v-gantt │ │ ├── block-group │ │ └── block-group.vue │ │ ├── block-row │ │ └── block-row.vue │ │ ├── gantt.scss │ │ ├── gantt.vue │ │ ├── index.js │ │ ├── left-bar │ │ └── index.vue │ │ ├── mark-line │ │ ├── current-time.vue │ │ └── index.vue │ │ ├── mixin │ │ └── dynamic-render.js │ │ └── time-line │ │ └── index.vue ├── main.js ├── store │ └── index.js ├── style │ ├── index.sass │ └── reset.scss └── utils │ ├── gtUtils.js │ ├── timeLineUtils.js │ └── tool.js └── vite.config.js /.github/workflows/deploy.yml: -------------------------------------------------------------------------------- 1 | on: 2 | push: 3 | branches: 4 | - master 5 | pull_request: 6 | 7 | jobs: 8 | deploy: 9 | runs-on: ubuntu-20.04 10 | concurrency: 11 | group: ${{ github.workflow }}-${{ github.ref }} 12 | steps: 13 | - uses: actions/checkout@v3 14 | 15 | - name: Install and Build 16 | run: | 17 | npm install 18 | npm run build 19 | - name: Deploy 20 | uses: JamesIves/github-pages-deploy-action@v4.3.3 21 | with: 22 | branch: gh-pages 23 | folder: dist 24 | single-commit: true 25 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | dist 12 | dist-ssr 13 | package-lock.json 14 | *.local 15 | 16 | # Editor directories and files 17 | webstorm.config.js 18 | .vscode/* 19 | !.vscode/extensions.json 20 | .idea 21 | .DS_Store 22 | *.suo 23 | *.ntvs* 24 | *.njsproj 25 | *.sln 26 | *.sw? 27 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 liyang5945 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |
{{ conflictItem.conflictDesc }}
58 | 59 |