|
|
@@ -30,9 +30,6 @@
|
|
|
<div class="middleCardRight1">
|
|
|
<CarouselTabl v-if="shiyonglvConfig.data.length" :info="shiyonglvConfig" title="仪器设备列表" isup=isup />
|
|
|
</div>
|
|
|
- <!-- <div class="middleCardCenter">
|
|
|
- <middleCard v-if="eBgRateData.data.length" :info="eBgRateData" ref="middleCardCenter"/>
|
|
|
- </div> -->
|
|
|
<dv-decoration-2 :reverse="true" style="width:2%;height:100%;" />
|
|
|
<div class="middleCardRight">
|
|
|
<CarouselTabl v-if="config.data.length" :info="config" title="设备报废列表" />
|
|
|
@@ -49,17 +46,9 @@
|
|
|
<div class="bottomCardLeft0">
|
|
|
<middleCard v-if="weiHuSheBeiData.data.length" :info="weiHuSheBeiData" ref="sheBeiWeiHuRef" />
|
|
|
</div>
|
|
|
- <!-- <dv-decoration-2 :reverse="true" style="width:3%;height:100%;;margin: 0 10px;" /> -->
|
|
|
- <!-- <div style="width:37%">
|
|
|
- <zhuzhuangtu v-if="sheBeiweiHuData.data.length" :info="sheBeiweiHuData" ref="sheBeiWeiHuDataref"/>
|
|
|
- </div> -->
|
|
|
</div>
|
|
|
<dv-decoration-2 :reverse="true" style="width:1%;height:100%;overflow: hidden;box-sizing: border-box;" />
|
|
|
<div style="width:25%;display:flex;">
|
|
|
- <!-- <div style="width:40%">
|
|
|
- <zhuzhuangtu v-if="zhuantaiEData.data.length" :info="zhuantaiEData" ref="zhuantaiEDataref" />
|
|
|
- </div> -->
|
|
|
- <!-- <dv-decoration-2 :reverse="true" style="width:3%;height:100%;" /> -->
|
|
|
<div class="bottomCardright">
|
|
|
<middleCard v-if="jianDingjiaoZhunSheBeiData.data.length" :info="jianDingjiaoZhunSheBeiData" ref="jiandingRef" />
|
|
|
</div>
|
|
|
@@ -69,12 +58,7 @@
|
|
|
<div class="bottomCardLeft">
|
|
|
<middleCard v-if="sheBeiHeChaData.data.length" :info="sheBeiHeChaData" ref="sheBeiHeChaRef"/>
|
|
|
</div>
|
|
|
- <!-- <dv-decoration-2 :reverse="true" style="width:5px;height:330px;margin: 0 10px;" /> -->
|
|
|
- <!-- <div style="width:100%">
|
|
|
- <zhuzhuangtu v-if="bottomData.data.length" :info="bottomData" ref="bottomCardLeft" />
|
|
|
- </div> -->
|
|
|
</div>
|
|
|
-
|
|
|
</div>
|
|
|
</dv-border-box-1>
|
|
|
</dv-full-screen-container>
|
|
|
@@ -84,9 +68,6 @@
|
|
|
import screenfull from "screenfull";
|
|
|
import curdPost from "@/business/platform/form/utils/custom/joinCURD.js";
|
|
|
import { color } from "echarts/lib/export";
|
|
|
-// import { config } from 'public/lib/UEditor/third-party/zeroclipboard/ZeroClipboard';
|
|
|
-// import { acceptList } from "./data.js";
|
|
|
-// import { number } from 'echarts/lib/export';
|
|
|
export default {
|
|
|
name: "checkBoard",
|
|
|
components: {
|
|
|
@@ -180,16 +161,16 @@ export default {
|
|
|
from
|
|
|
(select count(*) as Equipments from t_sbdj) as a,
|
|
|
(select zi_chan_yuan_zhi_ as mony FROM t_sbdj) as a1,
|
|
|
- (select count(*) as addEquipments from t_sbdj where gou_jin_ri_qi_ LIKE '${this_.month}') as b,
|
|
|
- (select count(*) as testEquipments from t_sbjdxzqr where shi_fou_guo_shen_ ='1') as c,
|
|
|
- (select count(*) as testNoEquipments from t_sbjdxzqr) as c1,
|
|
|
- (select count(*) as checkEquipments from t_sbhcjlb where create_time_ LIKE '${this_.month}' and shi_fou_guo_shen_ ='1') as d,
|
|
|
- (select count(*) as checkNoEquipments from t_sbhcjlb where create_time_ LIKE '${this_.month}') as d1,
|
|
|
+ (select count(*) as addEquipments from t_sbdj where gou_jin_ri_qi_ LIKE '%${this_.month}%') as b,
|
|
|
+ (select count(*) as testEquipments FROM t_sbjdxzzx WHERE parent_id_ IN (select id_ FROM t_sbjdxzqr WHERE shi_fou_guo_shen_ ='1' AND bian_zhi_shi_jian LIKE '%${this_.month}%')) as c,
|
|
|
+ (select count(*) as testNoEquipments FROM t_mjsbjdxzjhzb WHERE parent_id_ IN (select id_ FROM t_mjsbjdxzjh WHERE shi_fou_guo_shen_ ='1' AND bian_zhi_shi_jian LIKE '%${this_.month}%')) as c1,
|
|
|
+ (select count(*) as checkEquipments from t_sbqjhcjlb WHERE shi_fou_guo_shen_ ='1' AND bian_zhi_shi_jian LIKE '%${this_.month}%') as d,
|
|
|
+ (select count(*) as checkNoEquipments from t_yqsbhcjh WHERE parent_id_ IN (select id_ FROM t_sbhcjh WHERE shi_fou_guo_shen_ ='1' AND bian_zhi_shi_jian LIKE '%${this_.month}%')) as d1,
|
|
|
(select count(*) as goodEquipments from t_sbdj where she_bei_zhuang_ta ='正常') as e,
|
|
|
(select count(*) as scrapEquipments from t_sbdj where she_bei_zhuang_ta ='停用' or she_bei_zhuang_ta ='报废' or she_bei_zhuang_ta ='报废/停用') as f,
|
|
|
(select count(*) as limitedEquipments from t_sbdj where she_bei_zhuang_ta ='限制使用' or she_bei_zhuang_ta ='备用') as g,
|
|
|
- (select count(*) as weiHuNoEquipments from t_mjsbwhjhzb where create_time_ LIKE '${this_.month}') as h,
|
|
|
- (select count(*) as weiHuEquipments from t_mjsbwhbyjlby where create_time_ LIKE '${this_.month}' and shi_fou_guo_shen_ ='1') as h1`;
|
|
|
+ (select count(*) as weiHuNoEquipments from t_mjsbwhjhzb where create_time_ LIKE '%${this_.month}%') as h,
|
|
|
+ (select count(*) as weiHuEquipments from t_mjsbwhbyjlby where create_time_ LIKE '%${this_.month}%' and shi_fou_guo_shen_ ='1') as h1`;
|
|
|
await curdPost("sql", sql)
|
|
|
.then((res) => {
|
|
|
const data = res.variables.data;
|
|
|
@@ -308,12 +289,12 @@ export default {
|
|
|
title: "",
|
|
|
children: [
|
|
|
{
|
|
|
- label: "本月计划核查数",
|
|
|
+ label: "计划核查数",
|
|
|
value: data[0].checkNoEquipments,
|
|
|
danwei: "",
|
|
|
},
|
|
|
{
|
|
|
- label: "本月已核查数",
|
|
|
+ label: "已核查数",
|
|
|
value: data[0].checkEquipments,
|
|
|
danwei: "",
|
|
|
},
|
|
|
@@ -437,13 +418,6 @@ export default {
|
|
|
this_.jianDingjiaoZhunSheBeiData.color = ["#5470c6", "#38a838"];
|
|
|
this_.jianDingjiaoZhunSheBeiData.config.title = "设备检定/校准完成率";
|
|
|
this_.jianDingjiaoZhunSheBeiData.config.idSelector = "mainJianDing";
|
|
|
- this_.$nextTick(() => {
|
|
|
- // setTimeout(() => {
|
|
|
- // this_.$refs.middleCardCenter.getMiddleLeft();// hhhh xxxx
|
|
|
- // this_.$refs.sheBeiHeChaRef.getMiddleLeft();//
|
|
|
- // this_.$refs.jiandingRef.getMiddleLeft();
|
|
|
- // }, 1000)
|
|
|
- });
|
|
|
objRate = {};
|
|
|
this_.topBarData = result;
|
|
|
})
|
|
|
@@ -453,7 +427,6 @@ export default {
|
|
|
},
|
|
|
getMiddleLeftPieView() {
|
|
|
// [ { value: 1048, name: 'Search Engine' },]
|
|
|
- console.log();
|
|
|
},
|
|
|
async getCarouselShiYonglvTable() { //设备建档信息
|
|
|
let this_ = this;
|