Selaa lähdekoodia

生产管理完成

linan 4 vuotta sitten
vanhempi
commit
6dabc9f2fa
2 muutettua tiedostoa jossa 311 lisäystä ja 360 poistoa
  1. 19 3
      css/fzfx.css
  2. 292 357
      fzfx.html

+ 19 - 3
css/fzfx.css

@@ -280,7 +280,8 @@
     flex-direction: column; 
 }*/
 .grid-wrapper .bottom .wrapper .chartBlock {
-    display: flex;
+	display: flex;
+	justify-content: space-between;
     height:calc(100% - 40px);
 }
 .grid-wrapper .bottom .wrapper .chartBlock > #chartBottom1 ,.grid-wrapper .bottom .wrapper .chartBlock > #chartBottom2{
@@ -292,6 +293,18 @@
 .grid-wrapper .bottom .wrapper .chartBlock > #chartBottom1{
 	position:relative;
 }
+
+/* 新 */
+.grid-wrapper .bottom .bottom_left{
+	width: 33.3%;
+}
+.grid-wrapper .bottom .bottom_middle{
+	width: 33.3%;
+}
+.grid-wrapper .bottom .bottom_righy{
+	width: 33.3%;
+}
+/* end */
 #chartBottom1 .choosebtn{
 	position:absolute;
 	right:1em;
@@ -509,8 +522,11 @@
 	height:50%;
 	
 }
-#chart-fmczfb2,#chart-pzfb2{
-	height:40%;
+#chart-rstl,#chart-rfql,#chart-rpml{
+	height:48%;
+}
+#chart-fql, #chart-stl, #chart-pml{
+	height:52%;
 }
 /*
 .grid-wrapper .bottom .wrapper .block {

+ 292 - 357
fzfx.html

@@ -216,30 +216,6 @@
 							<span class="content">84天</span>
 						</span>
 					</div>
-					<!-- <div class='wait-finish'>
-							<img src="images/todo.png" alt="">
-							<div class='wait-do'>待办</div>
-						</div>
-						<div class='cross-line'></div>
-						<div class="list">
-							<div class="item">
-								<span class="title">待配种:</span>
-								<span class="cont">262头,其中断奶21天未配91头头头头头头头头</span>
-							</div>
-							<div class="item">
-								<span class="title">待配种:</span>
-								<span class="cont">262头,其中断奶21天未配92头头头头头头头</span>
-							</div>
-							<div class="item">
-								<span class="title">待配种:</span>
-								<span class="cont">262头,其中断奶21天未配93头头头头头头头</span>
-							</div>
-							<div class="item">
-								<span class="title">待配种:</span>
-								<span class="cont">262头,其中断奶21天未配94头头头头头头头</span>
-							</div>
-						</div> -->
-
 				</div>
 				<div class="line3">
 					<div id="chartCenter">
@@ -284,10 +260,11 @@
 		</div>
 		<div class="bottom">
 			<div class="wrapper">
+
 				<div class="tab-t">
 					<div class="tab-title">批次配种分娩
 						<div class="ln-Dropdown charts3" id="ln-Dropdown" style="margin-left:100px;font-size:16px;">
-							<i class="ln-Dropdown-text">数据</i> <i>▽</i>
+							<i class="ln-Dropdown-text">数据</i> <i>▽</i>
 							<ul class="ln-Dropdown-content charts3" id="ln-Dropdown-content">
 								<li class="ln-Dropdown-item" value="1">周数据</li>
 								<li class="ln-Dropdown-item" value="2">月数据</li>
@@ -296,113 +273,19 @@
 					</div>
 				</div>
 				<div class="chartBlock">
-					<div id="chartBottom1">
-						<div class='choosebtn'>
-							<div class="choosepc">
-								<div class="choose-item">选择批次</div>
-								<div class="cont"><img alt="" src="images/swtich.png"></div>
-
-							</div>
-							<div class="choosebox">
-								<div class='box-btns'>
-									<a href="javascript:;" class="a_demo_two switch-bt-active">批次
-									</a>
-									<a href="javascript:;" class="a_demo_two">区域
-									</a>
-								</div>
-								<div class='tab-areas'>
-									<div id='tab-area1' class="tab-area">
-										<div class="pc-nums">
-											<div class="item">
-
-												<span class="cont">13245345753</span>
-											</div>
-											<div class="item">
-
-												<span class="cont">13245345753</span>
-											</div>
-											<div class="item">
-
-												<span class="cont">13245345753</span>
-											</div>
-											<div class="item">
-
-												<span class="cont">13245345753</span>
-											</div>
-											<div class="item">
-
-												<span class="cont">13245345753</span>
-											</div>
-											<div class="item">
-
-												<span class="cont">13245345753</span>
-											</div>
-											<div class="item">
-
-												<span class="cont">13245345753</span>
-											</div>
-										</div>
-									</div>
-									<div id='tab-area2' class="tab-area tabshow">
-										<div class="select">
-											<select name="build">
-												<option value="后备舍">后备舍</option>
-												<option value="配怀舍">配怀舍</option>
-												<option value="分娩舍" selected>分娩舍</option>
-
-											</select>
-										</div>
-										<div class='select-list'>
-											<div class="item">
-
-												<span class="cont">1单元</span>
-											</div>
-											<div class="item">
-
-												<span class="cont">2单元</span>
-											</div>
-											<div class="item">
-
-												<span class="cont">3单元</span>
-											</div>
-											<div class="item">
-
-												<span class="cont">4单元</span>
-											</div>
-											<div class="item">
-
-												<span class="cont">5单元</span>
-											</div>
-											<div class="item">
-
-												<span class="cont">6单元</span>
-											</div>
-											<div class="item">
-
-												<span class="cont">7单元</span>
-											</div>
-										</div>
-									</div>
-								</div>
-							</div>
-						</div>
-						<div class='chart-tab-t'>
-							<div class="chart-tab-title">配种分布</div>
-						</div>
-						<div id="chart-pzfb1"></div>
-						<div id="chart-pzfb2"></div>
+					<div class="bottom_left">
+						<div id="chart-rfql"></div>
+						<div id='chart-fql'></div>
 					</div>
-					<div id="chartBottom2">
-						<div class='chart-tab-t'>
-							<div class="chart-tab-title">分娩产仔分布</div>
-						</div>
-						<div id="chart-fmczfb1"></div>
-						<div id="chart-fmczfb2">
-
-						</div>
+					<div class="bottom_middle">
+						<div id="chart-rstl"></div>
+						<div id='chart-stl'></div>
+					</div>
+					<div class="bottom_righy">
+						<div id="chart-rpml"></div>
+						<div id='chart-pml'></div>
 					</div>
 				</div>
-
 			</div>
 		</div>
 	</div>
@@ -413,30 +296,34 @@
 		var dom_ydfscts = document.getElementById("chart-ydfscts");
 		var dom_ttfb = document.getElementById("chart-ttfb");
 		var dom_ydttsl = document.getElementById("chart-ydttsl");
-		var dom_pzfb1 = document.getElementById("chart-pzfb1");
-		var dom_pzfb2 = document.getElementById("chart-pzfb2");
-		var dom_fmczfb1 = document.getElementById("chart-fmczfb1");
-		var dom_fmczfb2 = document.getElementById("chart-fmczfb2");
+		var dom_rfql = document.getElementById("chart-rfql");
+		var dom_fql = document.getElementById("chart-fql");
+		var dom_rstl = document.getElementById("chart-rstl");
+		var dom_stl = document.getElementById("chart-stl");
+		var dom_rpml = document.getElementById("chart-rpml");
+		var dom_pml = document.getElementById("chart-pml");
 		var myChart_clfb = echarts.init(dom_clfb);
 		var myChart_tcqk = echarts.init(dom_tcqk);
 		var myChart_gjdzzcl = echarts.init(dom_gjdzzcl);
-		console.log(myChart_gjdzzcl)
 		var myChart_ydfscts = echarts.init(dom_ydfscts);
 		var myChart_ttfb = echarts.init(dom_ttfb);
 		var myChart_ydttsl = echarts.init(dom_ydttsl);
-		var myChart_pzfb1 = echarts.init(dom_pzfb1);
-		var myChart_pzfb2 = echarts.init(dom_pzfb2);
-		var myChart_fmczfb1 = echarts.init(dom_fmczfb1);
-		var myChart_fmczfb2 = echarts.init(dom_fmczfb2);
+		var myChart_rfql = echarts.init(dom_rfql);
+		var myChart_fql = echarts.init(dom_fql);
+		var myChart_rstl = echarts.init(dom_rstl);
+		var myChart_stl = echarts.init(dom_stl);
+		var myChart_rpml = echarts.init(dom_rpml);
+		var myChart_pml = echarts.init(dom_pml);
 		var app = {};
 		var option_clfb = null, option_tcqk = null, option_gjdzzcl = null, option_ydfscts = null, option_ttfb = null, option_ydttsl = null,
-			option_pzfb1 = null, option_pzfb2 = null, option_fmczfb1 = null, option_fmczfb2 = null;
-		//存栏分布饼状图
+			option_rfql = null, option_fql = null, option_rstl = null, option_stl = null, option_rpml = null, option_pml = null;
+		// 存栏分布饼状图
 		option_clfb = {
 			tooltip: {
 				trigger: 'item',
 				formatter: "{a} <br/>{b}: {c} ({d}%)"
 			},
+			color: ['#5CD9FF', '#56DB63', '#F0E465', '#B9FF82', '#FA75AB', '#BAA3F0', '#FFBDA6', '#FFA1FE'],
 			series: [{
 				name: '存栏分布',
 				type: 'pie',
@@ -487,10 +374,13 @@
 				]
 			}]
 		};
-		//胎次情况柱状图
+		// 胎次情况柱状图
 		option_tcqk = {
 			tooltip: {
-				trigger: 'axis'
+				trigger: 'axis',
+				axisPointer: { // 坐标轴指示器,坐标轴触发有效
+					type: 'shadow' // 默认为直线,可选为:'line' | 'shadow'
+				}
 			},
 			calculable: true,
 			grid: {
@@ -566,7 +456,7 @@
 			]
 		};
 		option_gjdzzcl = {
-				tooltip: {
+			tooltip: {
 				trigger: 'item',
 				formatter: "{a} <br/>{b} : {c}%"
 			},
@@ -619,24 +509,23 @@
 					}
 				},
 				data: [
-				{
-					value: 60,
-					name: '哺乳'
-				},
-				{
-					value: 40,
-					name: '断奶'
-				},
-				{
-					value: 20,
-					name: '育肥'
-				}]
+					{
+						value: 60,
+						name: '哺乳'
+					},
+					{
+						value: 40,
+						name: '断奶'
+					},
+					{
+						value: 20,
+						name: '育肥'
+					}]
 			}]
-			};
-		//月度非生产天数柱状图
+		};
+		// 月度非生产天数柱状图
 		option_ydfscts = {
 			color: ['#3398DB'],
-
 			tooltip: {
 				trigger: 'axis',
 				axisPointer: { // 坐标轴指示器,坐标轴触发有效
@@ -703,13 +592,13 @@
 				},
 			}]
 		};
-		//淘汰分布饼状图
+		// 淘汰分布饼状图
 		option_ttfb = {
-
 			tooltip: {
 				trigger: 'item',
 				formatter: "{a} <br/>{b} : {c} ({d}%)"
 			},
+			color: ['#EEC5A9', '#FFC67D', '#FF905C', '#A3B6F0', '#FA9FFF', '#87D0E8', '#E582E8'],
 			legend: {
 				orient: 'vertical',
 				right: 30,
@@ -726,8 +615,9 @@
 				type: 'pie',
 				radius: '80%',
 				center: ['40%', '50%'],
+				radius: ['0%', '100%'],
 				data: [{
-					value: 10,
+					value: 19,
 					name: '疾病'
 				}, {
 					value: 20,
@@ -742,10 +632,10 @@
 					value: 33,
 					name: '屡配不孕'
 				}, {
-					value: 12,
+					value: 22,
 					name: '分娩低产'
 				}, {
-					value: 67,
+					value: 37,
 					name: '繁殖障碍'
 				}],
 				itemStyle: {
@@ -765,7 +655,7 @@
 				}
 			}]
 		};
-		//月度淘汰数量
+		// 月度淘汰数量
 		option_ydttsl = {
 			grid: {
 				x: 60,
@@ -807,13 +697,13 @@
 					normal: { //颜色渐变函数 前四个参数分别表示四个位置依次为左、下、右、上
 						color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
 							offset: 0,
-							color: '#FF3C38' // 0% 处的颜色
+							color: '#E195F5' // 0% 处的颜色
 						}, {
 							offset: 0.65,
-							color: '#EFC3E6' // 65% 处的颜色
+							color: '#AC9BF5' // 65% 处的颜色
 						}, {
 							offset: 1,
-							color: '#d0c4b0' // 100% 处的颜色
+							color: '#A1C8FF' // 100% 处的颜色
 						}]), //背景渐变色 
 						lineStyle: { // 系列级个性化折线样式  
 							show: false
@@ -832,90 +722,8 @@
 				areaStyle: {}
 			}]
 		};
-		//配种分布1金字塔
-		var colorA = ['#0050e3', '#0061e4', '#0076e4', '#0084e6', '#0084e6', '#0084e6'];
-		option_pzfb1 = {
-			tooltip: {
-				trigger: 'item',
-				formatter: "{a} <br/>{b} : {c}%"
-			},
-			legend: {
-				data: ['阳性', '空胎', '返情', '流产', '阴性', '疑似'],
-				textStyle: {
-					color: '#fff',
-				},
-				bottom: 'bottom'
-			},
-			calculable: true,
-			series: [{
-				name: '漏斗图',
-				type: 'funnel',
-				left: '25%',
-				top: 0,
-				//x2: 80,
-				width: '50%',
-				// height: {totalHeight} - y - y2,
-				min: 0,
-				max: 200,
-				minSize: '0%',
-				maxSize: '100%',
-				sort: 'ascending',
-				gap: 0,
-				color: colorA,
-				label: {
-					show: true,
-					position: 'outside',
-					textStyle: {
-						color: '#fff',
-						fontSize: 14
-					}
-				},
-				labelLine: {
-					length: 10,
-					lineStyle: {
-						width: 1,
-						type: 'solid'
-					}
-				},
-				itemStyle: {
-
-					borderColor: '#fff',
-					borderWidth: 0
-				},
-				emphasis: {
-					label: {
-						fontSize: 20
-					}
-				},
-				data: [{
-					value: 120,
-					name: '阳性'
-				},
-				{
-					value: 100,
-					name: '空胎'
-				},
-				{
-					value: 80,
-					name: '返情'
-				},
-				{
-					value: 60,
-					name: '流产'
-				},
-				{
-					value: 40,
-					name: '阴性'
-				},
-				{
-					value: 20,
-					name: '疑似'
-				}
-				]
-			}]
-		};
-		//配种分布2仪表盘
-		option_pzfb2 = {
+		// 日返青率 仪表盘
+		option_rfql = {
 			tooltip: {
 				formatter: "{a} <br/>{c}%"
 			},
@@ -931,7 +739,6 @@
 				}
 			},
 			series: [{
-				name: '返青率',
 				type: 'gauge',
 				center: ['50%', '50%'],
 				min: 0,
@@ -942,8 +749,9 @@
 					lineStyle: { // 属性lineStyle控制线条样式
 						color: [
 							[0.2, '#ff4500'],
+							[0.6, '#FF9536'],
 							[0.8, '#1e90ff'],
-							[1, 'lime']
+							[1, '#23DE30']
 						],
 						width: 3,
 						shadowColor: '#fff', //默认透明
@@ -963,11 +771,9 @@
 					}
 				},
 				axisLabel: { // 坐标轴小标记
-
 					textStyle: { // 属性lineStyle控制线条样式
-
 						fontSize: 9, //改变仪表盘内刻度数字的大小
-						//shadowColor : '#000', //默认透明
+						// shadowColor : '#000', //默认透明
 					}
 				},
 				pointer: {
@@ -999,37 +805,38 @@
 					fontSize: 12
 				},
 				data: [{
-					value: 75.23,
-					name: '受胎率'
+					value: 55.66,
+					name: '日返青率'
 				}]
 			}]
 		};
-		//分娩产仔分布1柱状图
-		var dataAxis = ['健仔', '弱仔', '畸仔', '死胎', '木乃伊'];
-		var data = [485, 21, 34, 12, 15];
-
-		option_fmczfb1 = {
+		// 返青率
+		option_fql = {
+			title: {
+				text: '返青率',
+				textStyle: {
+					color: '#fff',
+				},
+				left: 'center'
+			},
+			tooltip: {
+				trigger: 'axis',
+				axisPointer: { // 坐标轴指示器,坐标轴触发有效
+					type: 'line' // 默认为直线,可选为:'line' | 'shadow'
+				}
+			},
 			grid: {
-				x: 45,
-				y: 25,
-				x2: 45,
-				y2: 25,
-
+				x: 20,
+				y: 20,
+				x2: 35,
+				y2: 20,
+				containLabel: true
 			},
+			color: ['#7BDFF2'],
 			xAxis: {
 				type: 'category',
-				data: dataAxis,
-				axisLabel: {
-					inside: false,
-					textStyle: {
-						color: '#fff',
-						fontSize: 14
-					},
-
-				},
-				axisTick: {
-					show: false
-				},
+				boundaryGap: false,
+				data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
 				axisLine: {
 					show: true,
 					lineStyle: {
@@ -1040,11 +847,9 @@
 				}
 			},
 			yAxis: {
-
+				type: 'value',
 				axisLabel: {
-
-
-
+					formatter: '{value} %'
 				},
 				axisLine: {
 					show: true,
@@ -1054,49 +859,27 @@
 						width: '1' //坐标线的宽度
 					}
 				},
-				axisTick: {
-					show: true
+				scale: true,
+				min: (val) => {
+					return Math.floor(val.min * 0.95)
 				},
-
+				
 				splitLine: {
-					lineStyle: {
-						type: 'solid',
-						color: '#1c3860', //左边线的颜色
-						width: '1' //坐标线的宽度
-					}
-				}, //网格线
+					show: false
+				}
 			},
 			series: [{
-
-				type: 'pictorialBar',
-				barWidth: "80%",
-				barCategoryGap: '30%',
-				symbol: 'path://M0,10 L10,10 L5,0 L0,10 z',
-				// symbol: 'path://M0,10 L10,10 C5.5,10 5.5,5 5,0 C4.5,5 4.5,10 0,10 z',
-				itemStyle: {
-					normal: {
-						color: function (params) {
-							var colorList = ['#fc232e', '#fe9e1a', '#22aeed', '#52e461', '#903397'];
-							return colorList[params.dataIndex]
-						},
-						label: {
-							show: true, //开启显示
-							position: 'top', //在上方显示
-							textStyle: { //数值样式
-								color: '#fff',
-								fontSize: 16
-							}
-						}
-					}
-				},
-				data: data,
+				data: [89, 85.25, 92.48, 87.75, 89.22, 89.79, 91.68, 87.48, 87.99, 91.56, 88.68, 87.66],
+				type: 'line',
+				markLine: {
+					data: [{ type: "average", name: "平均值" }]
+				}
 			}]
 		};
-		//分娩产仔分布1仪表盘
-
-		option_fmczfb2 = {
+		// 日受胎率 仪表盘
+		option_rstl = {
 			tooltip: {
-				formatter: "{a} <br/>{c}"
+				formatter: "{a} <br/>{c}%"
 			},
 			toolbox: {
 				show: false,
@@ -1110,17 +893,17 @@
 				}
 			},
 			series: [{
-				name: '受胎率',
 				type: 'gauge',
-				center: ['28%', '50%'],
+				center: ['50%', '50%'],
 				min: 0,
 				max: 100,
 				splitNumber: 10,
-				radius: '90%',
+				radius: '85%',
 				axisLine: { // 坐标轴线
 					lineStyle: { // 属性lineStyle控制线条样式
 						color: [
 							[0.2, '#ff4500'],
+							[0.6, '#FF9536'],
 							[0.8, '#1e90ff'],
 							[1, 'lime']
 						],
@@ -1145,7 +928,7 @@
 
 					textStyle: { // 属性lineStyle控制线条样式
 
-						fontSize: 14, //改变仪表盘内刻度数字的大小
+						fontSize: 9, //改变仪表盘内刻度数字的大小
 						//shadowColor : '#000', //默认透明
 					}
 				},
@@ -1157,14 +940,14 @@
 				},
 				title: {
 					// 其余属性默认使用全局文本样式,详见TEXTSTYLE
-
+					offsetCenter: [0, '65%'],
 					fontWeight: 'bolder',
-					fontSize: 14,
+					fontSize: 12,
 					color: "#fff",
 					fontStyle: 'italic'
 				},
 				detail: {
-					fontSize: 16,
+					fontSize: 12,
 					// 其余属性默认使用全局文本样式,详见TEXTSTYLE
 					formatter: function (value) {
 						value = (value + '').split('.');
@@ -1175,25 +958,108 @@
 				},
 				textStyle: {
 					color: "#fff",
-					fontSize: 14
+					fontSize: 12
 				},
 				data: [{
-					value: 88.23,
-					name: '受胎率'
+					value: 86.66,
+					name: '受胎率'
 				}]
+			}]
+		}
+		// 受胎率
+		option_stl = {
+			title: {
+				text: '受胎率',
+				textStyle: {
+					color: '#fff',
+				},
+				left: 'center'
 			},
-			{
-				name: '配娩率',
+			tooltip: {
+				trigger: 'axis',
+				axisPointer: { // 坐标轴指示器,坐标轴触发有效
+					type: 'line' // 默认为直线,可选为:'line' | 'shadow'
+				}
+			},
+			grid: {
+				x: 20,
+				y: 20,
+				x2: 35,
+				y2: 20,
+				containLabel: true
+			},
+			color: ['#F0A6CA'],
+			xAxis: {
+				type: 'category',
+				boundaryGap: false,
+				data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
+				axisLine: {
+					show: true,
+					lineStyle: {
+						type: 'solid',
+						color: '#fff', //左边线的颜色
+						width: '1' //坐标线的宽度
+					}
+				}
+			},
+			yAxis: {
+				type: 'value',
+				axisLabel: {
+					formatter: '{value} %'
+				},
+				axisLine: {
+					show: true,
+					lineStyle: {
+						type: 'solid',
+						color: '#fff', //左边线的颜色
+						width: '1' //坐标线的宽度
+					}
+				},
+				scale: true,
+				min: (val) => {
+					return Math.floor(val.min * 0.95)
+				},
+
+				splitLine: {
+					show: false
+				}
+			},
+			series: [{
+				data: [85, 85.25, 86.56, 88.68, 85.48, 83.68, 84.48, 85.99, 86.75, 84.22, 85.79, 86.66],
+				type: 'line',
+				markLine: {
+					data: [{ type: "average", name: "平均值" }]
+				}
+			}]
+		},
+		// 日配娩率 仪表盘
+		option_rpml = {
+			tooltip: {
+				formatter: "{a} <br/>{c}%"
+			},
+			toolbox: {
+				show: false,
+				feature: {
+					restore: {
+						show: false
+					},
+					saveAsImage: {
+						show: false
+					}
+				}
+			},
+			series: [{
 				type: 'gauge',
-				center: ['65%', '50%'],
+				center: ['50%', '50%'],
 				min: 0,
-				max: 20,
+				max: 100,
 				splitNumber: 10,
-				radius: '90%',
+				radius: '85%',
 				axisLine: { // 坐标轴线
 					lineStyle: { // 属性lineStyle控制线条样式
 						color: [
 							[0.2, '#ff4500'],
+							[0.6, '#FF9536'],
 							[0.8, '#1e90ff'],
 							[1, 'lime']
 						],
@@ -1218,7 +1084,7 @@
 
 					textStyle: { // 属性lineStyle控制线条样式
 
-						fontSize: 14, //改变仪表盘内刻度数字的大小
+						fontSize: 9, //改变仪表盘内刻度数字的大小
 						//shadowColor : '#000', //默认透明
 					}
 				},
@@ -1230,46 +1096,109 @@
 				},
 				title: {
 					// 其余属性默认使用全局文本样式,详见TEXTSTYLE
-
+					offsetCenter: [0, '65%'],
 					fontWeight: 'bolder',
-					fontSize: 14,
+					fontSize: 12,
 					color: "#fff",
-					bottom: 0,
 					fontStyle: 'italic'
 				},
 				detail: {
-					fontSize: 14,
+					fontSize: 12,
 					// 其余属性默认使用全局文本样式,详见TEXTSTYLE
 					formatter: function (value) {
+						console.log(54)
 						value = (value + '').split('.');
 						value.length < 2 && (value.push('00'));
 						return ('00' + value[0]).slice(0 - value[0].length) +
-							'.' + (value[1] + '00').slice(0, 2);
+							'.' + (value[1] + '00').slice(0, 2) + '%';
 					}
 				},
 				textStyle: {
 					color: "#fff",
-					fontSize: 14
+					fontSize: 12
 				},
 				data: [{
-					value: 15.5,
-					name: '配娩率'
+					value: 87.66,
+					name: '配娩率'
 				}]
-			}
+			},
 			]
-		};
+		}
+		// 配娩率
+		option_pml = {
+			title: {
+				text: '配娩率',
+				textStyle: {
+					color: '#fff',
+				},
+				left: 'center'
+			},
+			tooltip: {
+				trigger: 'axis',
+				axisPointer: { // 坐标轴指示器,坐标轴触发有效
+					type: 'line' // 默认为直线,可选为:'line' | 'shadow'
+				}
+			},
+			grid: {
+				x: 20,
+				y: 20,
+				x2: 35,
+				y2: 20,
+				containLabel: true
+			},
+			color: ['#7BDFF2'],
+			xAxis: {
+				type: 'category',
+				boundaryGap: false,
+				data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
+				axisLine: {
+					show: true,
+					lineStyle: {
+						type: 'solid',
+						color: '#fff', //左边线的颜色
+						width: '1' //坐标线的宽度
+					}
+				}
+			},
+			yAxis: {
+				type: 'value',
+				axisLabel: {
+					formatter: '{value} %'
+				},
+				axisLine: {
+					show: true,
+					lineStyle: {
+						type: 'solid',
+						color: '#fff', //左边线的颜色
+						width: '1' //坐标线的宽度
+					}
+				},
+				scale: true,
+				min: (val) => {
+					return Math.floor(val.min * 0.95)
+				},
+
+				splitLine: {
+					show: false
+				}
+			},
+			series: [{
+				data: [92, 91.25, 91.56, 89.48, 89.99, 89.75, 89.22, 89.68, 92.48, 91.68, 90.79, 87.66],
+				type: 'line',
+				markLine: {
+					data: [{ type: "average", name: "平均值" }]
+				}
+			}]
+		}
 		if (option_clfb && typeof option_clfb === "object") {
 			myChart_clfb.setOption(option_clfb, true);
 		}
 		if (option_tcqk && typeof option_tcqk === "object") {
 			myChart_tcqk.setOption(option_tcqk, true);
 		}
-
 		if (option_gjdzzcl && typeof option_gjdzzcl === "object") {
-			console.log('9999')
 			myChart_gjdzzcl.setOption(option_gjdzzcl, true);
 		}
-
 		if (option_ydfscts && typeof option_ydfscts === "object") {
 			myChart_ydfscts.setOption(option_ydfscts, true);
 		}
@@ -1279,18 +1208,24 @@
 		if (option_ydttsl && typeof option_ydttsl === "object") {
 			myChart_ydttsl.setOption(option_ydttsl, true);
 		}
-		if (option_pzfb1 && typeof option_pzfb1 === "object") {
-			myChart_pzfb1.setOption(option_pzfb1, true);
+		if (option_rfql && typeof option_rfql === "object") {
+			myChart_rfql.setOption(option_rfql, true);
 		}
-		if (option_pzfb2 && typeof option_pzfb2 === "object") {
-			myChart_pzfb2.setOption(option_pzfb2, true);
+		if (option_fql && typeof option_fql === "object") {
+			myChart_fql.setOption(option_fql, true);
 		}
-		if (option_fmczfb1 && typeof option_fmczfb1 === "object") {
-			myChart_fmczfb1.setOption(option_fmczfb1, true);
+		if (option_rstl && typeof option_rstl === "object") {
+			myChart_rstl.setOption(option_rstl, true);
 		}
-		if (option_fmczfb2 && typeof option_fmczfb2 === "object") {
-			myChart_fmczfb2.setOption(option_fmczfb2, true);
+		if (option_stl && typeof option_stl === "object") {
+			myChart_stl.setOption(option_stl, true);
 		}
+		if (option_rpml && typeof option_rpml === "object") {
+			myChart_rpml.setOption(option_rpml, true);
+		}
+		if (option_pml && typeof option_pml === "object") {
+				myChart_pml.setOption(option_pml, true);
+			}
 	</script>
 	<script src="js/scrollBar.js" type="text/javascript"></script>
 	<script>