|
@@ -26,6 +26,9 @@ $(function(){
|
|
|
initConsole()//质控列表
|
|
|
getBarData(2)//图标数据获取
|
|
|
dateChange()
|
|
|
+ $(window).resize(function(){
|
|
|
+ resizeBox()
|
|
|
+ })
|
|
|
$(window).click(function(){
|
|
|
window.parent.userActionHide()
|
|
|
$(".toggleSlide ul").css("display","none")
|
|
@@ -64,22 +67,33 @@ $(function(){
|
|
|
function getDetails(){
|
|
|
$(".part02 .bingli,.part02 .bingliLis,.part03 .circle .title,.pubEchartB.paymoney .title").click(function(){
|
|
|
focusMenuItem("YH-ZKK-GKSQXZB_XQ");
|
|
|
+ $(parent.document).find("#contentIframe").attr("src","./deptScoreDetailControl.html?from=1&dateType="+dateType)
|
|
|
})
|
|
|
$(".part03 .partTitlePub").click(function(){
|
|
|
- hospital=="台州市立"?focusMenuItem("YH-ZKK-GKSJJBLZB_XQ"):focusMenuItem("YH-ZKK-BASYHGLZB_XQ");
|
|
|
+ if(hospital=="台州市立"){
|
|
|
+ focusMenuItem("YH-ZKK-GKSJJBLZB_XQ")
|
|
|
+ $(parent.document).find("#contentIframe").attr("src","./jiaji.html?from=1&dateType="+dateType)
|
|
|
+ }else{
|
|
|
+ focusMenuItem("YH-ZKK-BASYHGLZB_XQ");
|
|
|
+ $(parent.document).find("#contentIframe").attr("src","./partDetailControl.html?from=1&dateType="+dateType)
|
|
|
+ }
|
|
|
})
|
|
|
$(".paymoney.pubEchart .title").click(function(){
|
|
|
if($(this).text().indexOf("花费")!==-1){
|
|
|
- focusMenuItem("YH-ZKK-KSPJZYHF_XQ");
|
|
|
+ focusMenuItem("YH-ZKK-KSPJZYHF_XQ");
|
|
|
+ $(parent.document).find("#contentIframe").attr("src","./payDetail.html?from=1&dateType="+dateType)
|
|
|
}else{
|
|
|
- focusMenuItem("YH-ZKK-KSPJZYTS_XQ");
|
|
|
+ focusMenuItem("YH-ZKK-KSPJZYTS_XQ");
|
|
|
+ $(parent.document).find("#contentIframe").attr("src","./dayDetail.html?from=1&dateType="+dateType)
|
|
|
}
|
|
|
})
|
|
|
$(".defect .partTitlePub").click(function(){//from 1 console / 2 deptConsole
|
|
|
focusMenuItem("YH-ZKK-GMKQXZB_XQ");
|
|
|
+ $(parent.document).find("#contentIframe").attr("src","./mukuaiControl.html?from=1&dateType="+dateType)
|
|
|
})
|
|
|
$(".circleB .title").click(function(){
|
|
|
- focusMenuItem("YH-ZKK-TMQXZB_XQ");
|
|
|
+ focusMenuItem("YH-ZKK-TMQXZB_XQ");
|
|
|
+ $(parent.document).find("#contentIframe").attr("src","./tiaomuControl.html?from=1&dateType="+dateType)
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -98,34 +112,34 @@ function resizeBox(){
|
|
|
})
|
|
|
}
|
|
|
//所有数据切换日期筛选
|
|
|
-function dateChange(){
|
|
|
- $(".monthYear .mon").click(function(){
|
|
|
- $(this).css({
|
|
|
- backgroundColor:'#00A1FF',
|
|
|
- color:'#fff',
|
|
|
- opacity:'0.9',
|
|
|
- }).siblings().css({
|
|
|
- color:'#fff',
|
|
|
- opacity:'0.6',
|
|
|
- backgroundColor:'#203463'
|
|
|
+ function dateChange(){
|
|
|
+ $(".monthYear .mon").click(function(){
|
|
|
+ $(this).css({
|
|
|
+ backgroundColor:'#00A1FF',
|
|
|
+ color:'#E9EBEF',
|
|
|
+ "border-color":'#00A1FF'
|
|
|
+ }).siblings().css({
|
|
|
+ "border-color":'#A5ADBF',
|
|
|
+ color:'#A5ADBF',
|
|
|
+ backgroundColor:'#203463'
|
|
|
+ })
|
|
|
+ dateType = 1
|
|
|
+ getBarData(1)
|
|
|
})
|
|
|
- dateType = 1
|
|
|
- getBarData(1)
|
|
|
- })
|
|
|
- $(".monthYear .year").click(function(){
|
|
|
- $(this).css({
|
|
|
- backgroundColor:'#00A1FF',
|
|
|
- color:'#fff',
|
|
|
- opacity:'0.9',
|
|
|
- }).siblings().css({
|
|
|
- color:'#fff',
|
|
|
- opacity:'0.6',
|
|
|
- backgroundColor:'#203463'
|
|
|
+ $(".monthYear .year").click(function(){
|
|
|
+ $(this).css({
|
|
|
+ backgroundColor:'#00A1FF',
|
|
|
+ color:'#E9EBEF',
|
|
|
+ "border-color":'#00A1FF'
|
|
|
+ }).siblings().css({
|
|
|
+ "border-color":'#A5ADBF',
|
|
|
+ color:'#A5ADBF',
|
|
|
+ backgroundColor:'#203463'
|
|
|
+ })
|
|
|
+ dateType = 2
|
|
|
+ getBarData(2)
|
|
|
})
|
|
|
- dateType = 2
|
|
|
- getBarData(2)
|
|
|
- })
|
|
|
-}
|
|
|
+ }
|
|
|
//控制台数
|
|
|
function initConsole(result){
|
|
|
let url = {
|
|
@@ -415,14 +429,14 @@ function part02pan(data,dom){
|
|
|
rich: {
|
|
|
val: {
|
|
|
fontSize: 12,
|
|
|
- color: '#fff',
|
|
|
+ color: '#E9EBEF',
|
|
|
/*fontWeight: 'bold',*/
|
|
|
padding: [10, 0]
|
|
|
},
|
|
|
name: {
|
|
|
fontSize: 12,
|
|
|
fontWeight: 'normal',
|
|
|
- color: '#777',
|
|
|
+ color: '#E9EBEF',
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -477,7 +491,7 @@ function lineChart(dataX,dataY){
|
|
|
left: 0,
|
|
|
textStyle: {
|
|
|
fontSize: 14,
|
|
|
- color:'#fff',
|
|
|
+ color:'#E9EBEF',
|
|
|
fontWeight: 400
|
|
|
}
|
|
|
}],
|
|
@@ -506,7 +520,7 @@ function lineChart(dataX,dataY){
|
|
|
data: dataX,
|
|
|
axisLabel: {//x轴刻度
|
|
|
textStyle: {
|
|
|
- color: '#fff'
|
|
|
+ color: '#E9EBEF'
|
|
|
},
|
|
|
rotate:'45',
|
|
|
formatter: function (value) {
|
|
@@ -519,7 +533,7 @@ function lineChart(dataX,dataY){
|
|
|
},
|
|
|
axisLine: {//x轴
|
|
|
lineStyle:{
|
|
|
- color:'#fff'
|
|
|
+ color:'#4A5D8E'
|
|
|
}
|
|
|
}
|
|
|
},
|
|
@@ -528,7 +542,7 @@ function lineChart(dataX,dataY){
|
|
|
axisLabel: {
|
|
|
formatter: '{value} %',
|
|
|
textStyle: {
|
|
|
- color: '#fff'
|
|
|
+ color: '#E9EBEF'
|
|
|
}
|
|
|
},
|
|
|
|
|
@@ -540,7 +554,7 @@ function lineChart(dataX,dataY){
|
|
|
},
|
|
|
splitLine:{//分割线
|
|
|
lineStyle:{
|
|
|
- color:'#EFF3FC'
|
|
|
+ color:'#344876'
|
|
|
}
|
|
|
}
|
|
|
},
|
|
@@ -585,7 +599,7 @@ function lineChartSpecial(dataX,dataY){
|
|
|
},
|
|
|
axisLabel: {//x轴刻度
|
|
|
textStyle: {
|
|
|
- color: '#fff'
|
|
|
+ color: '#E9EBEF'
|
|
|
},
|
|
|
rotate:45,
|
|
|
formatter: function (value) {
|
|
@@ -598,7 +612,7 @@ function lineChartSpecial(dataX,dataY){
|
|
|
},
|
|
|
axisLine: {//x轴
|
|
|
lineStyle:{
|
|
|
- color:'#fff'
|
|
|
+ color:'#4A5D8E'
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -614,12 +628,12 @@ function lineChartSpecial(dataX,dataY){
|
|
|
},
|
|
|
axisLabel: {//y轴刻度
|
|
|
textStyle: {
|
|
|
- color: '#fff'
|
|
|
+ color: '#E9EBEF'
|
|
|
}
|
|
|
},
|
|
|
splitLine:{//分割线
|
|
|
lineStyle:{
|
|
|
- color:'#4A5D8E'
|
|
|
+ color:'#344876'
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -631,7 +645,7 @@ function lineChartSpecial(dataX,dataY){
|
|
|
left: 10,
|
|
|
textStyle: {
|
|
|
fontSize: 14,
|
|
|
- color:'#fff',
|
|
|
+ color:'#E9EBEF',
|
|
|
fontWeight: 400
|
|
|
}
|
|
|
}],
|
|
@@ -677,7 +691,7 @@ function barChartPay(dataX,dataY){
|
|
|
},
|
|
|
axisLabel: {//x轴刻度
|
|
|
textStyle: {
|
|
|
- color: '#fff'
|
|
|
+ color: '#E9EBEF'
|
|
|
},
|
|
|
rotate:45,
|
|
|
formatter: function (value) {
|
|
@@ -690,7 +704,7 @@ function barChartPay(dataX,dataY){
|
|
|
},
|
|
|
axisLine: {//x轴
|
|
|
lineStyle:{
|
|
|
- color:'#AAAAAA'
|
|
|
+ color:'#4A5D8E'
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -706,12 +720,12 @@ function barChartPay(dataX,dataY){
|
|
|
},
|
|
|
axisLabel: {//y轴刻度
|
|
|
textStyle: {
|
|
|
- color: '#fff'
|
|
|
+ color: '#E9EBEF'
|
|
|
}
|
|
|
},
|
|
|
splitLine:{//分割线
|
|
|
lineStyle:{
|
|
|
- color:'#4A5D8E'
|
|
|
+ color:'#344876'
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -723,7 +737,7 @@ function barChartPay(dataX,dataY){
|
|
|
left: 10,
|
|
|
textStyle: {
|
|
|
fontSize: 14,
|
|
|
- color:'#fff',
|
|
|
+ color:'#E9EBEF',
|
|
|
fontWeight: 400
|
|
|
}
|
|
|
}],
|
|
@@ -856,7 +870,7 @@ function barChart(data,type){
|
|
|
left: 10,
|
|
|
textStyle: {
|
|
|
fontSize: 14,
|
|
|
- color:'#fff',
|
|
|
+ color:'#E9EBEF',
|
|
|
fontWeight: 400
|
|
|
}
|
|
|
}],
|
|
@@ -867,7 +881,7 @@ function barChart(data,type){
|
|
|
top:15,
|
|
|
selectedMode:false,
|
|
|
textStyle:{
|
|
|
- color:'#fff'
|
|
|
+ color:'#E9EBEF'
|
|
|
},
|
|
|
formatter: function (name) {
|
|
|
return name;
|
|
@@ -893,7 +907,7 @@ function barChart(data,type){
|
|
|
data: dataX,
|
|
|
axisLabel: {//x轴刻度
|
|
|
textStyle: {
|
|
|
- color: '#fff'
|
|
|
+ color: '#E9EBEF'
|
|
|
},
|
|
|
rotate:'45',
|
|
|
formatter: function (value) {
|
|
@@ -922,12 +936,12 @@ function barChart(data,type){
|
|
|
},
|
|
|
axisLabel: {//y轴刻度
|
|
|
textStyle: {
|
|
|
- color: '#fff'
|
|
|
+ color: '#E9EBEF'
|
|
|
}
|
|
|
},
|
|
|
splitLine:{//分割线
|
|
|
lineStyle:{
|
|
|
- color:'#4A5D8E'
|
|
|
+ color:'#344876'
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -985,14 +999,14 @@ function emptyCircle(data){
|
|
|
rich: {
|
|
|
val: {
|
|
|
fontSize: 24,
|
|
|
- color: '#fff',
|
|
|
+ color: '#E9EBEF',
|
|
|
fontWeight: 'bold',
|
|
|
padding: [10, 0]
|
|
|
},
|
|
|
name: {
|
|
|
fontSize: 12,
|
|
|
fontWeight: 'normal',
|
|
|
- color: '#fff',
|
|
|
+ color: '#E9EBEF',
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -1079,14 +1093,14 @@ function emptyCircleB(data){
|
|
|
rich: {
|
|
|
val: {
|
|
|
fontSize: 24,
|
|
|
- color: '#fff',
|
|
|
+ color: '#E9EBEF',
|
|
|
fontWeight: 'bold',
|
|
|
padding: [10, 0]
|
|
|
},
|
|
|
name: {
|
|
|
fontSize: 12,
|
|
|
fontWeight: 'normal',
|
|
|
- color: '#fff',
|
|
|
+ color: '#E9EBEF',
|
|
|
}
|
|
|
}
|
|
|
}
|