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
8fd9c1b6
Commit
8fd9c1b6
authored
Nov 17, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
datasshow
parent
6f24cdd2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
4 deletions
+54
-4
datasShow.vue
pages/aps/results/datasShow.vue
+42
-0
index.vue
pages/aps/results/index.vue
+12
-4
No files found.
pages/aps/results/datasShow.vue
0 → 100644
View file @
8fd9c1b6
<
template
>
<div>
<FooterToolbar
class=
"ftball"
>
<Button
type=
"primary"
>
下一步
</Button>
<Button>
取消
</Button>
</FooterToolbar>
</div>
</
template
>
<
style
>
</
style
>
<
script
>
import
Api
from
"./api"
;
export
default
{
name
:
"datasShow"
,
components
:
{
},
props
:
{
id
:
String
,
},
data
()
{
return
{
};
},
created
()
{
},
methods
:
{
},
watch
:
{
id
(
v
)
{
if
(
v
!=
''
)
{
}
},
},
};
</
script
>
pages/aps/results/index.vue
View file @
8fd9c1b6
...
@@ -36,8 +36,9 @@
...
@@ -36,8 +36,9 @@
<Col
span=
"10"
>
<Col
span=
"10"
>
<a
href=
"#"
@
click=
"comeBlck"
class=
"black"
>
APS排产
</a>
<a
href=
"#"
@
click=
"comeBlck"
class=
"black"
>
APS排产
</a>
</Col>
</Col>
<Col
span=
"10"
style=
"text-align: right;"
v-if=
"gant"
>
<Col
span=
"10"
style=
"text-align: right;"
>
<a
href=
"#"
@
click=
"gantChart"
class=
"gant"
>
甘特图
</a>
<a
href=
"#"
@
click=
"datasShow"
>
数据包
</a>
<a
href=
"#"
@
click=
"gantChart"
v-if=
"gant"
>
甘特图
</a>
</Col>
</Col>
</Row>
</Row>
...
@@ -49,7 +50,7 @@
...
@@ -49,7 +50,7 @@
<Button
type=
"primary"
@
click=
"submit"
>
方案对比
</Button>
<Button
type=
"primary"
@
click=
"submit"
>
方案对比
</Button>
<Button
type=
"default"
@
click=
"cancel"
>
取消
</Button>
<Button
type=
"default"
@
click=
"cancel"
>
取消
</Button>
</div>
</div>
<Modal
v-model=
"modal1Gant"
fullscreen
title=
"甘特图
"
footer-hide
>
<Modal
v-model=
"modal1Gant"
fullscreen
:title=
"modalTitle
"
footer-hide
>
<!--
<Gantt
:id=
"id"
/>
-->
<!--
<Gantt
:id=
"id"
/>
-->
<gantt
:is=
"gantt"
:id=
"id"
/>
<gantt
:is=
"gantt"
:id=
"id"
/>
</Modal>
</Modal>
...
@@ -78,7 +79,8 @@ export default {
...
@@ -78,7 +79,8 @@ export default {
blacks
:
false
,
blacks
:
false
,
gant
:
false
,
gant
:
false
,
gantt
:
null
,
gantt
:
null
,
curPage
:
null
curPage
:
null
,
modalTitle
:
'甘特图'
};
};
},
},
async
fetch
({
store
,
params
})
{
async
fetch
({
store
,
params
})
{
...
@@ -161,7 +163,13 @@ export default {
...
@@ -161,7 +163,13 @@ export default {
//甘特图
//甘特图
gantChart
()
{
gantChart
()
{
this
.
modal1Gant
=
true
;
this
.
modal1Gant
=
true
;
this
.
modalTitle
=
'甘特图'
;
this
.
gantt
=
()
=>
import
(
"./gantt"
);
this
.
gantt
=
()
=>
import
(
"./gantt"
);
},
datasShow
()
{
this
.
modal1Gant
=
true
;
this
.
modalTitle
=
'数据包'
;
this
.
gantt
=
()
=>
import
(
"./datasShow"
);
},
},
changeCheck
(
item
,
i
)
{
changeCheck
(
item
,
i
)
{
this
.
$set
(
this
.
list
,
i
,
item
);
this
.
$set
(
this
.
list
,
i
,
item
);
...
...
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