From b6d581e3dc7f85861625a6aa5e849321f0257511 Mon Sep 17 00:00:00 2001 From: zrg <z18737863051@163.com> Date: 星期四, 08 八月 2024 17:29:41 +0800 Subject: [PATCH] 1.产品工艺参数清单, 增加 字段 HTechParamClassID int //工艺参数大类(Gy_TechnologyParameterClass) HSNO int //工艺次序 HStdNextTimes money //理论次序间隔 HTechParamIDStd int //对应设定值工艺参数(Gy_TechnologyParameter) (都是非必录) 2.修改报表格式 --- WebTM/views/质量管理/质量报表/QC_ProcessPerformancePass.html | 42 ++++++++++++++++++++++++++++++++++++++---- 1 files changed, 38 insertions(+), 4 deletions(-) diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_ProcessPerformancePass.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_ProcessPerformancePass.html" index 178d0e8..8a13d45 100644 --- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_ProcessPerformancePass.html" +++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/QC_ProcessPerformancePass.html" @@ -468,6 +468,7 @@ var H_X = [];//X杞存爣棰� var HBackCount = [];//涓嶈壇鎬绘暟 var Pass = [];//鍚堟牸鐜� + var target = [];//鐩爣鍊� var HTitle = "鍚堟牸鐜囪秼鍔垮浘";//鍥惧舰鏍囬 if (option.data.length > 0) { for (let i = 0; i < option.data.length; i++) { @@ -478,6 +479,7 @@ HBackCount.push(option.data[i].涓嶈壇鎬绘暟); Pass.push((option.data[i].鍚堟牸鐜�).replace('%', '')); + target.push(('95.00%').replace('%', '')) } } @@ -507,7 +509,7 @@ } }, legend: { - data: ['涓嶈壇鎬绘暟','鍚堟牸鐜�'], + data: ['涓嶈壇鎬绘暟','鍚堟牸鐜�','鐩爣鍊�'], top: 'bottom', // 灏嗗浘渚嬫斁缃湪鍥捐〃鐨勪笅鏂� left: 'center' // 鎴栬�� 'right'锛屾牴鎹渶瑕佽皟鏁存按骞充綅缃� }, @@ -552,7 +554,10 @@ series: [ { name: '涓嶈壇鎬绘暟', - type: 'bar', + type: 'bar', + label: { + show: true + }, barGap: 0, emphasis: { focus: 'series' @@ -562,11 +567,18 @@ return value; } }, + itemStyle: { + color: '#33CCFF' // 璁剧疆鏌辩姸鍥捐摑鑹� + }, data: HBackCount }, { name: '鍚堟牸鐜�', type: 'line', + label: { + show: true, + formatter: '{c}%' + }, tooltip: { valueFormatter: function (value) { return value; @@ -575,12 +587,34 @@ itemStyle: { normal: { lineStyle: { - color: 'green' // 璁剧疆绾挎潯棰滆壊涓虹豢鑹� + color: '#0066FF' // 璁剧疆绾挎潯棰滆壊涓虹豢鑹� }, - color: 'green' // 璁剧疆绾挎潯棰滆壊涓虹豢鑹� + color: '#0066FF' // 璁剧疆绾挎潯棰滆壊涓虹豢鑹� } }, data: Pass + }, + { + name: '鐩爣鍊�', + type: 'line', + label: { + show: true, + formatter: '{c}%' + }, + tooltip: { + valueFormatter: function (value) { + return value; + } + }, + itemStyle: { + normal: { + lineStyle: { + color: '#FF0000' // 璁剧疆绾挎潯棰滆壊涓虹豢鑹� + }, + color: '#FF0000' // 璁剧疆绾挎潯棰滆壊涓虹豢鑹� + } + }, + data: target } ] }; -- Gitblit v1.9.1