Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
pda-ui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pda
pda-ui
Commits
caa06cca
Commit
caa06cca
authored
Jan 28, 2024
by
何远江
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gantt图不显示问题修改
parent
f56268df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
12 deletions
+3
-12
ganttx.vue
src/views/mes/pro/schedule/ganttx.vue
+3
-12
No files found.
src/views/mes/pro/schedule/ganttx.vue
View file @
caa06cca
<
template
>
<div
ref=
"gantt"
></div>
<div
ref=
"gantt"
style=
"width: 100%;"
></div>
</
template
>
<
script
>
...
...
@@ -32,17 +32,6 @@ export default {
},
},
watch
:
{
// tasks: {
// handler(val) {
// if (val.data.length) {
// this.reload()
// }
// },
// deep: true,
// },
},
created
()
{},
mounted
:
function
()
{
...
...
@@ -63,6 +52,8 @@ export default {
gantt
.
clearAll
();
this
.
addTodayLine
();
gantt
.
parse
(
this
.
$props
.
tasks
);
console
.
log
(
'this.$props.tasks'
,
this
.
$props
.
tasks
)
gantt
.
render
();
},
addTodayLine
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment