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
f4354986
Commit
f4354986
authored
Aug 12, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户中心统计设置ok
parent
6ec99da9
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
66 additions
and
58 deletions
+66
-58
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
+40
-36
No files found.
assets/images/home/user-img1.png
0 → 100644
View file @
f4354986
13.9 KB
assets/images/home/user-img2.png
0 → 100644
View file @
f4354986
21.9 KB
assets/images/home/user-img3.png
0 → 100644
View file @
f4354986
20 KB
assets/images/home/user-img4.png
0 → 100644
View file @
f4354986
7.01 KB
assets/images/home/user-img5.png
0 → 100644
View file @
f4354986
15.2 KB
layouts/basic-layout/product.vue
View file @
f4354986
...
@@ -363,15 +363,24 @@ export default {
...
@@ -363,15 +363,24 @@ export default {
},
},
shoucang
()
{
shoucang
()
{
if
(
this
.
showStar
)
{
if
(
this
.
showStar
)
{
let
url
=
`
${
systemUrl
}
/favorite/delete`
;
this
.
$Modal
.
confirm
({
let
menuId
=
[];
title
:
"取消收藏"
,
menuId
.
push
(
this
.
menuId
);
content
:
"<p>您确定要取消收藏吗</p>"
,
this
.
$api
.
post
(
url
,
menuId
).
then
((
r
)
=>
{
onOk
:
()
=>
{
if
(
r
.
success
)
{
let
url
=
`
${
systemUrl
}
/favorite/delete`
;
this
.
showStar
=
false
;
let
menuId
=
[];
this
.
$Message
.
success
(
"已取消收藏"
);
menuId
.
push
(
this
.
menuId
);
this
.
content
=
"收藏"
;
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
{
}
else
{
let
url
=
`
${
systemUrl
}
/favorite/create`
;
let
url
=
`
${
systemUrl
}
/favorite/create`
;
...
...
pages/home/component/materielChart.vue
View file @
f4354986
<
template
>
<
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"
>
<div
:gutter=
"16"
class=
"row_head"
v-if=
"setStatistics?false:true"
>
<Icon
type=
"ios-images"
class=
"f20"
/>
<Icon
type=
"ios-images"
class=
"f20"
/>
<span
class=
"ml10"
>
物料相关统计
</span>
<span
class=
"ml10"
>
物料相关统计
</span>
</div>
</div>
<div
class=
"echarts-map"
>
<div
class=
"echarts-map"
>
<v-chart
:options=
"braking"
/>
<v-chart
:options=
"braking"
style=
"width:'100%',height:'100%'"
/>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
...
@@ -201,7 +201,7 @@ export default {
...
@@ -201,7 +201,7 @@ export default {
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.16);
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.16);
border-radius: 8px;
border-radius: 8px;
padding: 10px;
padding: 10px;
margin: 0 auto;
margin: 0 auto;
.echarts-map {
.echarts-map {
width: 100%;
width: 100%;
height: 280px;
height: 280px;
...
...
pages/home/component/staChart.vue
View file @
f4354986
...
@@ -7,10 +7,8 @@
...
@@ -7,10 +7,8 @@
<span
class=
"ml10"
>
年度计划各产品类型总数量和各状态数量
</span>
<span
class=
"ml10"
>
年度计划各产品类型总数量和各状态数量
</span>
</div>
</div>
<div
class=
"echarts-map"
>
<div
class=
"echarts-map"
>
<v-chart
<!-- :style="setStatistics?
{width:'400px',height:'270px'}:{width:'100%',height:'100%'}" -->
:options=
"braking"
<v-chart
:options=
"braking"
style=
"width:'100%',height:'100%'"
/>
:style=
"setStatistics?
{width:'400px',height:'270px'}:{width:'100%',height:'100%'}"
/>
</div>
</div>
</Col>
</Col>
<Col
:span=
"16"
style=
"padding-right:20px;"
>
<Col
:span=
"16"
style=
"padding-right:20px;"
>
...
...
pages/home/component/suspendChart.vue
View file @
f4354986
<
template
>
<
template
>
<div
<div
class=
"stachart"
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"
>
<div
class=
"row_head"
v-if=
"setStatistics?false:true"
>
<Icon
type=
"ios-images"
class=
"f20"
/>
<Icon
type=
"ios-images"
class=
"f20"
/>
...
...
pages/home/component/unqualifiedEcharts.vue
View file @
f4354986
...
@@ -7,10 +7,7 @@
...
@@ -7,10 +7,7 @@
<Row
:gutter=
"16"
>
<Row
:gutter=
"16"
>
<Col
:span=
"8"
style=
"padding-right:50px;"
>
<Col
:span=
"8"
style=
"padding-right:50px;"
>
<div
class=
"echarts-map"
>
<div
class=
"echarts-map"
>
<v-chart
<v-chart
:options=
"braking"
style=
"width:'100%',height:'100%'"
/>
:options=
"braking"
:style=
"setStatistics?
{width:'380px',height:'280px'}:{width:'100%',height:'100%'}"
/>
</div>
</div>
</Col>
</Col>
<Col
:span=
"16"
>
<Col
:span=
"16"
>
...
...
pages/home/component/workChart.vue
View file @
f4354986
<
template
>
<
template
>
<div
<div
class=
"stachart"
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"
>
<div
:gutter=
"16"
class=
"row_head"
v-if=
"setStatistics?false:true"
>
<Icon
type=
"ios-images"
class=
"f20"
/>
<Icon
type=
"ios-images"
class=
"f20"
/>
...
...
pages/home/index.vue
View file @
f4354986
...
@@ -91,49 +91,51 @@
...
@@ -91,49 +91,51 @@
<MaterielChart
/>
<MaterielChart
/>
</Col>
</Col>
</Row>
</Row>
<Modal
v-model=
"modal1"
title=
"统计列表显示设置"
width=
"
12
00"
footer-hide
>
<Modal
v-model=
"modal1"
title=
"统计列表显示设置"
width=
"
9
00"
footer-hide
>
<Divider>
<Divider>
<span
style=
"color: #2680eb;"
>
<span
style=
"color: #2680eb;"
>
生产计划状态监控
生产计划状态监控
<Icon
:type=
"show?'md-eye':'md-eye-off'"
@
click=
"clickEye"
/>
<Icon
:type=
"show?'md-eye':'md-eye-off'"
@
click=
"clickEye"
/>
</span>
</span>
</Divider>
</Divider>
<StaChart
:setStatistics=
"setStatistics"
/>
<div
class=
"set-img"
>
<div
class=
"divider-t"
>
<img
src=
"@/assets/images/home/user-img1.png"
style=
"width:630px;height:165px"
/>
<Divider>
<span
style=
"color: #2680eb;"
>
不合格品审理单统计
<Icon
:type=
"show1?'md-eye':'md-eye-off'"
@
click=
"clickEye1"
/>
</span>
</Divider>
<UnqualifiedEcharts
:setStatistics=
"setStatistics"
/>
</div>
</div>
<
div
class=
"divider-t"
>
<
Divider
>
<
Divider
>
<
span
style=
"color: #2680eb;"
>
<span
style=
"color: #2680eb;"
>
不合格品审理单统计
班组工单监控
<Icon
:type=
"show1?'md-eye':'md-eye-off'"
@
click=
"clickEye1"
/>
<Icon
:type=
"show2?'md-eye':'md-eye-off'"
@
click=
"clickEye2"
/
>
</span
>
</span
>
</Divider
>
</Divider
>
<div
class=
"set-img"
>
<
WorkChart
:setStatistics=
"setStatistics
"
/>
<
img
src=
"@/assets/images/home/user-img2.png"
style=
"width:630px;height:165px
"
/>
</div>
</div>
<
div
class=
"divider-t"
>
<
Divider
>
<
Divider
>
<
span
style=
"color: #2680eb;"
>
<span
style=
"color: #2680eb;"
>
班组工单监控
暂停任务统计
<Icon
:type=
"show2?'md-eye':'md-eye-off'"
@
click=
"clickEye2"
/>
<Icon
:type=
"show3?'md-eye':'md-eye-off'"
@
click=
"clickEye3"
/
>
</span
>
</span
>
</Divider
>
</Divider
>
<div
class=
"set-img"
>
<
SuspendChart
:setStatistics=
"setStatistics
"
/>
<
img
src=
"@/assets/images/home/user-img3.png"
style=
"width:310px;height:165px
"
/>
</div>
</div>
<div
class=
"divider-t"
>
<Divider>
<Divider>
<span
style=
"color: #2680eb;"
>
<span
style=
"color: #2680eb;"
>
暂停任务统计
物料相关统计
<Icon
:type=
"show3?'md-eye':'md-eye-off'"
@
click=
"clickEye3"
/>
<Icon
:type=
"show4?'md-eye':'md-eye-off'"
@
click=
"clickEye4"
/>
</span>
</span>
</Divider>
</Divider>
<div
class=
"set-img"
>
<MaterielChart
:setStatistics=
"setStatistics"
/>
<img
src=
"@/assets/images/home/user-img4.png"
style=
"width:310px;height:165px"
/>
</div>
<Divider>
<span
style=
"color: #2680eb;"
>
物料相关统计
<Icon
:type=
"show4?'md-eye':'md-eye-off'"
@
click=
"clickEye4"
/>
</span>
</Divider>
<div
class=
"set-img"
>
<img
src=
"@/assets/images/home/user-img5.png"
style=
"width:310px;height:165px"
/>
</div>
</div>
</Modal>
</Modal>
</div>
</div>
...
@@ -412,7 +414,9 @@ export default {
...
@@ -412,7 +414,9 @@ export default {
margin: 0 auto;
margin: 0 auto;
}
}
}
}
.divider-t {
.set-img {
padding-top: 25px;
width: 100%;
text-align: center;
margin-bottom: 25px;
}
}
</
style
>
</
style
>
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