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
3cb02a8a
Commit
3cb02a8a
authored
Aug 13, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'product' of git.mes123.com:zhouyx/mes-ui into product
parents
8dcaad64
8adc8d73
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
204 additions
and
91 deletions
+204
-91
user-img1.png
assets/images/home/user-img1.png
+0
-0
user-img2.png
assets/images/home/user-img2.png
+0
-0
user-img3.png
assets/images/home/user-img3.png
+0
-0
user-img4.png
assets/images/home/user-img4.png
+0
-0
user-img5.png
assets/images/home/user-img5.png
+0
-0
product.vue
layouts/basic-layout/product.vue
+18
-9
materielChart.vue
pages/home/component/materielChart.vue
+3
-3
staChart.vue
pages/home/component/staChart.vue
+2
-4
suspendChart.vue
pages/home/component/suspendChart.vue
+1
-1
unqualifiedEcharts.vue
pages/home/component/unqualifiedEcharts.vue
+1
-4
workChart.vue
pages/home/component/workChart.vue
+1
-1
index.vue
pages/home/index.vue
+178
-69
No files found.
assets/images/home/user-img1.png
0 → 100644
View file @
3cb02a8a
13.9 KB
assets/images/home/user-img2.png
0 → 100644
View file @
3cb02a8a
21.9 KB
assets/images/home/user-img3.png
0 → 100644
View file @
3cb02a8a
20 KB
assets/images/home/user-img4.png
0 → 100644
View file @
3cb02a8a
7.01 KB
assets/images/home/user-img5.png
0 → 100644
View file @
3cb02a8a
15.2 KB
layouts/basic-layout/product.vue
View file @
3cb02a8a
...
...
@@ -363,15 +363,24 @@ export default {
},
shoucang
()
{
if
(
this
.
showStar
)
{
let
url
=
`
${
systemUrl
}
/favorite/delete`
;
let
menuId
=
[];
menuId
.
push
(
this
.
menuId
);
this
.
$api
.
post
(
url
,
menuId
).
then
((
r
)
=>
{
if
(
r
.
success
)
{
this
.
showStar
=
false
;
this
.
$Message
.
success
(
"已取消收藏"
);
this
.
content
=
"收藏"
;
}
this
.
$Modal
.
confirm
({
title
:
"取消收藏"
,
content
:
"<p>您确定要取消收藏吗</p>"
,
onOk
:
()
=>
{
let
url
=
`
${
systemUrl
}
/favorite/delete`
;
let
menuId
=
[];
menuId
.
push
(
this
.
menuId
);
this
.
$api
.
post
(
url
,
menuId
).
then
((
r
)
=>
{
if
(
r
.
success
)
{
this
.
showStar
=
false
;
this
.
$Message
.
success
(
"已取消收藏"
);
this
.
content
=
"收藏"
;
}
});
},
onCancel
:
()
=>
{
// this.$Message.info("Clicked cancel");
},
});
}
else
{
let
url
=
`
${
systemUrl
}
/favorite/create`
;
...
...
pages/home/component/materielChart.vue
View file @
3cb02a8a
<
template
>
<div
class=
"stachart"
:style=
"setStatistics?
{width:'620px',height:'300px'}:{width:'100%',height:'100%'}"
>
<div
class=
"stachart"
>
<div
:gutter=
"16"
class=
"row_head"
v-if=
"setStatistics?false:true"
>
<Icon
type=
"ios-images"
class=
"f20"
/>
<span
class=
"ml10"
>
物料相关统计
</span>
</div>
<div
class=
"echarts-map"
>
<v-chart
:options=
"braking"
/>
<v-chart
:options=
"braking"
style=
"width:'100%',height:'100%'"
/>
</div>
</div>
</
template
>
...
...
@@ -201,7 +201,7 @@ export default {
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.16);
border-radius: 8px;
padding: 10px;
margin: 0 auto;
margin: 0 auto;
.echarts-map {
width: 100%;
height: 280px;
...
...
pages/home/component/staChart.vue
View file @
3cb02a8a
...
...
@@ -7,10 +7,8 @@
<span
class=
"ml10"
>
年度计划各产品类型总数量和各状态数量
</span>
</div>
<div
class=
"echarts-map"
>
<v-chart
:options=
"braking"
:style=
"setStatistics?
{width:'400px',height:'270px'}:{width:'100%',height:'100%'}"
/>
<!-- :style="setStatistics?
{width:'400px',height:'270px'}:{width:'100%',height:'100%'}" -->
<v-chart
:options=
"braking"
style=
"width:'100%',height:'100%'"
/>
</div>
</Col>
<Col
:span=
"16"
style=
"padding-right:20px;"
>
...
...
pages/home/component/suspendChart.vue
View file @
3cb02a8a
<
template
>
<div
class=
"stachart"
:style=
"setStatistics?
{width:'620px',height:'280px'}:{width:'100%',height:'100%'}
"
style=
"width:'100%',height:'100%'
"
>
<div
class=
"row_head"
v-if=
"setStatistics?false:true"
>
<Icon
type=
"ios-images"
class=
"f20"
/>
...
...
pages/home/component/unqualifiedEcharts.vue
View file @
3cb02a8a
...
...
@@ -7,10 +7,7 @@
<Row
:gutter=
"16"
>
<Col
:span=
"8"
style=
"padding-right:50px;"
>
<div
class=
"echarts-map"
>
<v-chart
:options=
"braking"
:style=
"setStatistics?
{width:'380px',height:'280px'}:{width:'100%',height:'100%'}"
/>
<v-chart
:options=
"braking"
style=
"width:'100%',height:'100%'"
/>
</div>
</Col>
<Col
:span=
"16"
>
...
...
pages/home/component/workChart.vue
View file @
3cb02a8a
<
template
>
<div
class=
"stachart"
:style=
"setStatistics?
{width:'620px',height:'280px'}:{width:'100%',height:'100%'}
"
style=
"width:'100%',height:'100%'
"
>
<div
:gutter=
"16"
class=
"row_head"
v-if=
"setStatistics?false:true"
>
<Icon
type=
"ios-images"
class=
"f20"
/>
...
...
pages/home/index.vue
View file @
3cb02a8a
This diff is collapsed.
Click to expand it.
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