Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NLT-e-cigarette
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
张伯涛
NLT-e-cigarette
Commits
f7c7cedc
Commit
f7c7cedc
authored
Aug 09, 2022
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
71e44c7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
produceStatistics.vue
src/views/productionStatis/produceStatistics.vue
+18
-18
No files found.
src/views/productionStatis/produceStatistics.vue
View file @
f7c7cedc
...
@@ -87,15 +87,15 @@
...
@@ -87,15 +87,15 @@
{{
scope
.
row
.
type
||
'-'
}}
{{
scope
.
row
.
type
||
'-'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
align=
"center"
prop=
"defectQty"
:show-overflow-tooltip=
"true"
>
<!-- <el-table-column align="center" prop="defectQty" :show-overflow-tooltip="true">--
>
<
template
slot=
"header"
>
<!-- <template slot="header">--
>
<div>
计划生产数量
</div
>
<!-- <div>计划生产数量</div>--
>
<div>
Planned output
</div
>
<!-- <div>Planned output</div>--
>
</
template
>
<!-- </template>--
>
<
template
slot-scope=
"scope"
>
<!-- <template slot-scope="scope">--
>
{{
scope
.
row
.
plannedOutput
||
'-'
}}
<!-- {{ scope.row.plannedOutput || '-' }}-->
</
template
>
<!-- </template>--
>
</el-table-column
>
<!-- </el-table-column>--
>
<el-table-column
align=
"center"
prop=
"inPut"
:show-overflow-tooltip=
"true"
>
<el-table-column
align=
"center"
prop=
"inPut"
:show-overflow-tooltip=
"true"
>
<
template
#
header
>
<
template
#
header
>
<div>
实际生产数量
</div>
<div>
实际生产数量
</div>
...
@@ -322,7 +322,7 @@ export default {
...
@@ -322,7 +322,7 @@ export default {
/** 生产线监控*/
/** 生产线监控*/
getProLineMonitor() {
getProLineMonitor() {
const myChartAge = echarts.init(document.getElementById('
dataCharts_proLineMonitor
'))
const myChartAge = echarts.init(document.getElementById('
dataCharts_proLineMonitor
'))
const colors = [
'
#
209
DFF
',
'
#
BC2C29
', '
#
FF8919
']
const colors = [ '
#
BC2C29
', '
#
FF8919
']
const xData = [] // x轴显示
const xData = [] // x轴显示
const proOutput = [] // y计划生产数量
const proOutput = [] // y计划生产数量
const inputData = [] // y实际生产数量
const inputData = [] // y实际生产数量
...
@@ -331,7 +331,7 @@ export default {
...
@@ -331,7 +331,7 @@ export default {
let maxNum1 = 0
let maxNum1 = 0
this.dataList.forEach(item => {
this.dataList.forEach(item => {
xData.push(item.type)
xData.push(item.type)
proOutput.push(item.plannedOutput)
//
proOutput.push(item.plannedOutput)
inputData.push(item.inPut)
inputData.push(item.inPut)
goodRate.push(item.goodRate)
goodRate.push(item.goodRate)
})
})
...
@@ -391,13 +391,13 @@ export default {
...
@@ -391,13 +391,13 @@ export default {
],
],
series: [
series: [
{
//
{
name: '
计划生产数量
',
//
name: '
计划生产数量
',
type: '
bar
',
//
type: '
bar
',
barWidth: 18,
//
barWidth: 18,
barGap: 0,
//
barGap: 0,
data: proOutput
//
data: proOutput
},
//
},
{
{
name: '
实际生产数量
',
name: '
实际生产数量
',
type: '
bar
',
type: '
bar
',
...
...
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