|
@@ -7,7 +7,7 @@ require("../images/arrow_down.png")
|
|
|
// import 'zrender/lib/svg/svg';
|
|
|
const echarts = require('echarts');
|
|
|
const {post,setCookie,delCookie,getCookie} = require('../js/utils.js');
|
|
|
-let payMoney = [],dayLis = [],dateType = 1,slideType = 1;
|
|
|
+let payMoney = [],dayLis = [],dateType = 2,slideType = 1;
|
|
|
$(function(){
|
|
|
if(!hasData('YH-KZT')){
|
|
|
$("body").html('')
|
|
@@ -18,7 +18,7 @@ $(function(){
|
|
|
}, 1000);
|
|
|
// resizeBox()
|
|
|
initConsole()//质控列表
|
|
|
- getBarData()//图标数据获取
|
|
|
+ getBarData(2)//图标数据获取
|
|
|
dateChange()
|
|
|
$(window).click(function(){
|
|
|
window.parent.userActionHide()
|
|
@@ -38,7 +38,7 @@ $(function(){
|
|
|
//判断有无某一权限
|
|
|
function hasData(data){
|
|
|
let lis = JSON.parse(getCookie("codeLis"))
|
|
|
- // console.log(lis)
|
|
|
+ console.log(lis)
|
|
|
if(lis.indexOf(data)>-1){//有权限
|
|
|
return true
|
|
|
}
|