Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
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
周远喜
mes-ui
Commits
ab549b1e
Commit
ab549b1e
authored
Jun 23, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ok
parent
549ce839
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
18 deletions
+8
-18
gantt.vue
pages/aps/results/gantt.vue
+8
-18
No files found.
pages/aps/results/gantt.vue
View file @
ab549b1e
...
...
@@ -284,12 +284,12 @@ let options = {
value
:
"name"
,
width
:
100
,
expander
:
true
,
html
:
true
//
events: {
//
click({ data, column }) {
// alert("description clicked!\n" + data.label
);
//
}
//
}
html
:
true
,
events
:
{
click
({
data
,
column
})
{
this
.
$Message
.
info
(
data
.
name
);
}
}
},
{
id
:
3
,
...
...
@@ -329,17 +329,6 @@ let options = {
value
:
"dispatch_qty"
,
width
:
68
},
{
id
:
10
,
label
:
"parentId"
,
value
:
"parentId"
,
width
:
68
},{
id
:
11
,
label
:
"duration"
,
value
:
"duration"
,
width
:
68
},
{
id
:
9
,
label
:
"%"
,
...
...
@@ -442,13 +431,14 @@ export default {
id
:
r
.
result
[
i
].
op_task_pk
,
name
:
r
.
result
[
i
].
task_name
,
EquipmentNo
:
r
.
result
[
i
].
equip_id
,
// parentId: i
<
5
?
parentId
:
368
,
parentId
:
parentId
,
// start: r.result[i].plan_start,
// endTime: r.result[i].plan_finish,
// endTime: "2020-7-30",
start
:
start
,
duration
:
jg
,
percent
:
0
,
percent
:
i
*
9
,
put_into_qty
:
r
.
result
[
i
].
put_into_qty
,
dispatch_qty
:
r
.
result
[
i
].
dispatch_qty
,
type
:
i
%
2
?
"task"
:
'milestone'
,
...
...
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