|
|
@@ -33,12 +33,12 @@
|
|
|
line-height: 45%;
|
|
|
text-align:center;
|
|
|
float: left;
|
|
|
- margin: -2.5% 0 0 1%;
|
|
|
+ margin: -2.5% 0 0 6.7%;
|
|
|
font-size: 100%;
|
|
|
color: #fff !important;
|
|
|
align-items: center;
|
|
|
display:flex" >
|
|
|
- <div>
|
|
|
+ <!-- <div>
|
|
|
部门:
|
|
|
</div>
|
|
|
<el-select v-model="bumen" clearable @change="selectAll()" placeholder="请选择部门">
|
|
|
@@ -48,7 +48,7 @@
|
|
|
:label="item.name_"
|
|
|
:value="item.id_">
|
|
|
</el-option>
|
|
|
- </el-select>
|
|
|
+ </el-select> -->
|
|
|
<div>
|
|
|
月份:
|
|
|
</div>
|
|
|
@@ -122,183 +122,157 @@
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
- <!-- <dv-border-box-7 backgroundColor="rgba(6, 30, 93, 0.5)" ><div class="ttitle">质量方针:公正、科学、准确、高效</div></dv-border-box-7>
|
|
|
- <div class="congxiebox7" style="display: flex;justify-content: space-between;padding: 1.5% 0.2%;">
|
|
|
- <div style="width:16.4%">
|
|
|
- <div class="gongshiAll">
|
|
|
- <div class="touwidth">检测任务完成及时率=</div>
|
|
|
- <div style="margin: 0 0.2%;">
|
|
|
- <div class="gongshiXian">及时完成检测项目数量</div>
|
|
|
- <div style="text-align:center;font-size:12px;padding-top: 6%;">有效检测任务总数</div>
|
|
|
+ <dv-border-box-1 style="width: 100%; height: 89%;box-sizing: border-box; overflow: hidden">
|
|
|
+ <div style="height:43%;margin-top:1%" v-for="(item,i) in zhiliangmuNeirong" :key="i" v-show="pageOT==Math.ceil(i/2)">
|
|
|
+ <div class="congxiebox7" style="display:inline-block;margin:1% 1%; height:100%;width:98%;" >
|
|
|
+ <div class="ttitle" style="text-align: center;height:3%">{{item.name}}质量目标与质量指标</div>
|
|
|
+ <div class="componentsData" style="height:90%" v-if="relOf">
|
|
|
+ <!--
|
|
|
+ <s1jianCe :height="'290%'" :width="static=='row' ? '19.5%': '100%'" :colorw = "colorw" :mubiao = "quality[1].val"
|
|
|
+ v-if="showAll || showComponents[5]" :data = "getS2jianCe()" />
|
|
|
+ <s3tousu :height="'290%'" :width="static=='row' ? '19.5%': '100%'" :colorw = "colorw" :mubiao = "quality[3].val"
|
|
|
+ v-if="showAll || showComponents[6]" :data = "getS3tousu()"/>
|
|
|
+ <s13shengWu :height="'290%'" :width="static=='row' ? '19.5%': '100%'" :colorw = "colorw" :mubiao = "quality[4].val"
|
|
|
+ v-if="showAll || showComponents[17]" :data = "getS3tousu()"/> -->
|
|
|
+ <div :id="`card${i}`" style="width:100%;height:100%" ></div>
|
|
|
+ <!-- <div class="nullDate" v-if="zhiliangmuNeirong[i].data.length<=0">暂无数据</div> -->
|
|
|
+ <div class="clear"></div>
|
|
|
</div>
|
|
|
- <div>×100%</div>
|
|
|
+ <dv-decoration-10 style="height:0.5%" v-if="i % 2 != 0 && i != zhiliangmuNeirong.length" />
|
|
|
</div>
|
|
|
- <div class="mubiaozhi">当前目标值:{{quality[0].val}}</div>
|
|
|
+
|
|
|
</div>
|
|
|
- <div style="width:21.4%">
|
|
|
- <div class="gongshiAll">
|
|
|
- <div class="touwidth">检测报告差错率=</div>
|
|
|
- <div style="margin: 0 0.2%;">
|
|
|
- <div class="gongshiXian">统计期内检测数据的差错次数</div>
|
|
|
- <div style="text-align:center;font-size:12px;padding-top: 6%;">统计期内检测报告总数</div>
|
|
|
- </div>
|
|
|
- <div>×100%</div>
|
|
|
+ <!-- <div class="congxiebox7" style="display:inline-block;height:43%;width:98%;margin:1% 1%;text-align: center;overflow:hiddien" v-if="pageOT==Math.floor((zhiliangmuNeirong)/2)">
|
|
|
+ <div class="ttitle" style="margin:2% 0;text-align: center;">质量目标与质量指标公式</div>
|
|
|
+ <div class="componentsData" style="height:82%" v-if="relOf">
|
|
|
+ <dv-scroll-board style="height:100%;white-space:pre-wrap"
|
|
|
+ v-if="(showAll || showComponents[23])&&tableData1.data.length>0"
|
|
|
+ :config="tableData1"
|
|
|
+ />
|
|
|
+ <div class="nullDate" v-if="(showAll || showComponents[23])&&tableData1.data.length<=0">暂无数据</div>
|
|
|
+ <div class="clear"></div>
|
|
|
+
|
|
|
</div>
|
|
|
- <div class="mubiaozhi">当前目标值:{{quality[1].val}}</div>
|
|
|
- </div>
|
|
|
- <div style="width:17.4%">
|
|
|
- <div class="gongshiAll">
|
|
|
- <div class="touwidth">客户满意度=</div>
|
|
|
- <div style="margin: 0 0.2%;">
|
|
|
- <div class="gongshiXian">评分得分*有效问卷数量</div>
|
|
|
- <div style="text-align:center;font-size:12px;padding-top: 6%;">有效问卷总分</div>
|
|
|
- </div>
|
|
|
- <div>×100%</div>
|
|
|
+ </div> -->
|
|
|
+ <!-- <div class="congxiebox7" style="display:inline-block;width:79%;height:85%" v-if="pageOT==1&&bumen==''">
|
|
|
+ <div class="ttitle" style="text-align: center;">各部门质量目标与质量指标</div>
|
|
|
+ <div class="componentsData" v-if="relOf">
|
|
|
+ <s11biaoZhunWu style="height:100%" :width="static=='row' ? '100%': '100%'" :colorw = "colorw"
|
|
|
+ v-if=" buhegelvObj.length>0 && (showAll || showComponents[15])" :data = "getyangPinCaiJiObjNum()"/>
|
|
|
+ <div class="nullDate" v-if="buhegelvObj.length<=0&&( showAll || showComponents[15])">暂无数据</div>
|
|
|
+ <div class="clear"></div>
|
|
|
+
|
|
|
</div>
|
|
|
- <div class="mubiaozhi">当前目标值:{{quality[2].val}}</div>
|
|
|
</div>
|
|
|
- <div style="width:17.4%">
|
|
|
- <div class="gongshiAll">
|
|
|
- <div class="touwidth">投诉率=</div>
|
|
|
- <div style="margin: 0 0.2%;">
|
|
|
- <div class="gongshiXian">统计期内有效投诉项目数</div>
|
|
|
- <div style="text-align:center;font-size:12px;padding-top: 6%;">统计期内检测委托总数</div>
|
|
|
- </div>
|
|
|
- <div>×100%</div>
|
|
|
+ <div class="congxiebox7" style="display:inline-block;width:19%;float:right;height:85%;overflow:hiddien" v-if="pageOT==1&&bumen==''">
|
|
|
+ <div class="ttitle" style="margin:8% 0;text-align: center;">质量目标与质量指标总计</div>
|
|
|
+ <div class="componentsData" v-if="relOf">
|
|
|
+ <dv-scroll-board style="height:100%;"
|
|
|
+ v-if="(showAll || showComponents[22])&&tableData.data.length>0"
|
|
|
+ :config="tableData"
|
|
|
+ />
|
|
|
+ <div class="nullDate" style="height:100%;" v-if="(showAll || showComponents[22])&&tableData.data.length<=0">暂无数据</div>
|
|
|
+ <div class="clear"></div>
|
|
|
+
|
|
|
</div>
|
|
|
- <div class="mubiaozhi">当前目标值:{{quality[3].val}}</div>relOf
|
|
|
- </div>
|
|
|
- <div style="width:27.4%">
|
|
|
- <div class="gongshiAll">
|
|
|
- <div class="touwidth">投诉回复及时率=</div>
|
|
|
- <div style="margin: 0 0.2%;">
|
|
|
- <div class="gongshiXian">统计期内投诉处理完成次数</div>
|
|
|
- <div style="text-align:center;font-size:12px;padding-top: 6%;">统计期内有效投诉总次数</div>
|
|
|
- </div>
|
|
|
- <div>×100%</div>
|
|
|
+ </div> -->
|
|
|
+
|
|
|
+ <div class="congxiebox7" style="display:inline-block;width:98%;margin-top:2%;margin-right:1%;margin-left:1%;height:43%;" v-if="pageOT==Math.ceil(pageAll/2)">
|
|
|
+ <div class="ttitle" style="text-align: center;">人员培训与管理</div>
|
|
|
+ <div class="componentsData" style="height:87%" v-if="relOf">
|
|
|
+ <s4renYuanPeiXun style="height:100%" :width="static=='row' ? '25%': '100%'" :colorw = "colorw"
|
|
|
+ v-if="showAll || showComponents[1]" :data = "getS4renYuanPeiXun()"/>
|
|
|
+ <s4renYuanPeiXunCol style="height:100%" :width="static=='row' ? '25%': '100%'" :colorw = "colorw"
|
|
|
+ v-if="showAll || showComponents[2]" :data = "getS4renYuanPeiXunFB()"/>
|
|
|
+ <s5renYuanJianDu style="height:100%" :width="static=='row' ? '25%': '100%'" :colorw = "colorw"
|
|
|
+ v-if="showAll || showComponents[3]" :data = "getS5renYuanJianDu()"/>
|
|
|
+ <s5renYuanJianDuCol style="height:100%" :width="static=='row' ? '25%': '100%'" :colorw = "colorw"
|
|
|
+ v-if="showAll || showComponents[4]" :data = "getS5renYuanJianDuFB()"/>
|
|
|
+ <!-- <s16bzJunZhu :height="'290%'" :width="static=='row' ? '33%': '100%'" :colorw = "colorw"
|
|
|
+ v-if="showAll || showComponents[20]" :data = "getbzJunZhujNum()"/>
|
|
|
+ <s17bzXiBao :height="'290%'" :width="static=='row' ? '33%': '100%'" :colorw = "colorw"
|
|
|
+ v-if="showAll || showComponents[21]" :data = "getbzXiBaoObjNum()"/> -->
|
|
|
+ <div class="clear"></div>
|
|
|
</div>
|
|
|
- <div class="mubiaozhi">当前目标值:{{quality[4].val}}</div>
|
|
|
- </div>
|
|
|
- </div> -->
|
|
|
- <div class="congxiebox7" style="display:inline-block;height:42%;width:100%;" v-if="pageOT==1&&bumen!=''">
|
|
|
- <div class="ttitle" style="text-align: center;">部门质量目标与质量指标</div>
|
|
|
- <div class="componentsData" style="height:82%" v-if="relOf">
|
|
|
- <!--
|
|
|
- <s1jianCe :height="'290%'" :width="static=='row' ? '19.5%': '100%'" :colorw = "colorw" :mubiao = "quality[1].val"
|
|
|
- v-if="showAll || showComponents[5]" :data = "getS2jianCe()" />
|
|
|
- <s3tousu :height="'290%'" :width="static=='row' ? '19.5%': '100%'" :colorw = "colorw" :mubiao = "quality[3].val"
|
|
|
- v-if="showAll || showComponents[6]" :data = "getS3tousu()"/>
|
|
|
- <s13shengWu :height="'290%'" :width="static=='row' ? '19.5%': '100%'" :colorw = "colorw" :mubiao = "quality[4].val"
|
|
|
- v-if="showAll || showComponents[17]" :data = "getS3tousu()"/> -->
|
|
|
- <s11biaoZhunWucol style="height:100%" :width="static=='row' ? '100%': '100%'" :colorw = "colorw"
|
|
|
- v-if="fenzuzlmb.length>0&&(showAll || showComponents[15])" :data = "getfenzuZLZBObjNum()"/>
|
|
|
- <div class="nullDate" v-if="fenzuzlmb.length<=0&&( showAll || showComponents[15])">暂无数据</div>
|
|
|
- <div class="clear"></div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="congxiebox7" style="display:inline-block;height:42%;width:100%;text-align: center;overflow:hiddien" v-if="pageOT==1&&bumen!=''">
|
|
|
- <div class="ttitle" style="margin:2% 0;text-align: center;">质量目标与质量指标公式</div>
|
|
|
- <div class="componentsData" style="height:82%" v-if="relOf">
|
|
|
- <dv-scroll-board style="height:100%;white-space:pre-wrap"
|
|
|
- v-if="(showAll || showComponents[23])&&tableData1.data.length>0"
|
|
|
- :config="tableData1"
|
|
|
- />
|
|
|
- <div class="nullDate" v-if="(showAll || showComponents[23])&&tableData1.data.length<=0">暂无数据</div>
|
|
|
- <div class="clear"></div>
|
|
|
-
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="congxiebox7" style="display:inline-block;width:79%;height:85%" v-if="pageOT==1&&bumen==''">
|
|
|
- <div class="ttitle" style="text-align: center;">各部门质量目标与质量指标</div>
|
|
|
- <div class="componentsData" v-if="relOf">
|
|
|
- <s11biaoZhunWu style="height:100%" :width="static=='row' ? '100%': '100%'" :colorw = "colorw"
|
|
|
- v-if=" buhegelvObj.length>0 && (showAll || showComponents[15])" :data = "getyangPinCaiJiObjNum()"/>
|
|
|
- <div class="nullDate" v-if="buhegelvObj.length<=0&&( showAll || showComponents[15])">暂无数据</div>
|
|
|
- <div class="clear"></div>
|
|
|
-
|
|
|
+ <dv-decoration-10 style="height:0.5%;width:98%;margin-top:1%;margin-right:1%;margin-left:1%;" v-if="pageOT==Math.ceil(pageAll/2)"/>
|
|
|
+ <div class="congxiebox7" style="display:inline-block;width:98%;margin-top:1%;margin-right:1%;margin-left:1%;height:43%;" v-if="pageOT==Math.ceil(pageAll/2)">
|
|
|
+ <div class="ttitle" style="text-align: center;">设备维保</div>
|
|
|
+ <div class="componentsData" style="height:87%" v-if="relOf">
|
|
|
+ <s7sheBeiJiaoZhun style="height:100%" :width="static=='row' ? '25%': '100%'" :colorw = "colorw"
|
|
|
+ v-if="showAll || showComponents[5]" :data = "getJiaoYanObjNum()"/>
|
|
|
+ <s7sheBeiJiaoZhunCol style="height:100%" :width="static=='row' ? '25%': '100%'" :colorw = "colorw"
|
|
|
+ v-if="showAll || showComponents[6]" :data = "getJiaoYanObjNumFB()"/>
|
|
|
+ <s8sheBeiHeCha style="height:100%" :width="static=='row' ? '25%': '100%'" :colorw = "colorw"
|
|
|
+ v-if="showAll || showComponents[7]" :data = "gethechaObjNum()"/>
|
|
|
+ <s8sheBeiHeChaCol style="height:100%" :width="static=='row' ? '25%': '100%'" :colorw = "colorw"
|
|
|
+ v-if="showAll || showComponents[8]" :data = "gethechaObjNumFB()"/>
|
|
|
+ <div class="clear"></div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="congxiebox7" style="display:inline-block;width:19%;float:right;height:85%;overflow:hiddien" v-if="pageOT==1&&bumen==''">
|
|
|
- <div class="ttitle" style="margin:8% 0;text-align: center;">质量目标与质量指标总计</div>
|
|
|
- <div class="componentsData" v-if="relOf">
|
|
|
- <dv-scroll-board style="height:100%;"
|
|
|
- v-if="(showAll || showComponents[22])&&tableData.data.length>0"
|
|
|
- :config="tableData"
|
|
|
- />
|
|
|
- <div class="nullDate" style="height:100%;" v-if="(showAll || showComponents[22])&&tableData.data.length<=0">暂无数据</div>
|
|
|
- <div class="clear"></div>
|
|
|
+ <div class="congxiebox7" style="display:inline-block;width:98%;margin-top:2%;margin-right:1%;margin-left:1%;height:90%;" v-if="pageOT==Math.ceil(pageAll/2)+1">
|
|
|
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
- <div class="congxiebox7" style="display:inline-block;width:49%;height:25%;" v-if="pageOT==2">
|
|
|
- <div class="ttitle" style="text-align: center;">人员培训与管理</div>
|
|
|
- <div class="componentsData" style="height:87%" v-if="relOf">
|
|
|
- <s4renYuanPeiXun style="height:100%" :width="static=='row' ? '50%': '100%'" :colorw = "colorw"
|
|
|
- v-if="showAll || showComponents[8]" :data = "getS4renYuanPeiXun()"/>
|
|
|
- <s5renYuanJianDu style="height:100%" :width="static=='row' ? '50%': '100%'" :colorw = "colorw"
|
|
|
- v-if="showAll || showComponents[9]" :data = "getS5renYuanJianDu()"/>
|
|
|
- <!-- <s16bzJunZhu :height="'290%'" :width="static=='row' ? '33%': '100%'" :colorw = "colorw"
|
|
|
- v-if="showAll || showComponents[20]" :data = "getbzJunZhujNum()"/>
|
|
|
- <s17bzXiBao :height="'290%'" :width="static=='row' ? '33%': '100%'" :colorw = "colorw"
|
|
|
- v-if="showAll || showComponents[21]" :data = "getbzXiBaoObjNum()"/>
|
|
|
- <div class="clear"></div> -->
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="congxiebox7" style="display:inline-block;width:49%;float:right;height:25%;" v-if="pageOT==2">
|
|
|
- <div class="ttitle" style="text-align: center;">设备维保</div>
|
|
|
- <div class="componentsData" style="height:87%" v-if="relOf">
|
|
|
- <s7sheBeiJiaoZhun style="height:100%" :width="static=='row' ? '50%': '100%'" :colorw = "colorw"
|
|
|
- v-if="showAll || showComponents[12]" :data = "getJiaoYanObjNum()"/>
|
|
|
- <s8sheBeiHeCha style="height:100%" :width="static=='row' ? '50%': '100%'" :colorw = "colorw"
|
|
|
- v-if="showAll || showComponents[11]" :data = "gethechaObjNum()"/>
|
|
|
- <!-- <div class="clear"></div> -->
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="congxiebox7" style="display:inline-block;width:100%;height:60%;" v-if="pageOT==2">
|
|
|
+ <div class="ttitle" style="text-align: center;">质量管理</div>
|
|
|
+ <div class="componentsData" style="height:87%" v-if="relOf">
|
|
|
+ <s9neiBuZhiLiang style="height:50%" :width="static=='row' ? '25%': '100%'" :colorw = "colorw"
|
|
|
+ v-if="showAll || showComponents[9]" :data = "getS9neiBuZhiLiang()"/>
|
|
|
+ <s9neiBuZhiLiangCol style="height:50%" :width="static=='row' ? '25%': '100%'" :colorw = "colorw"
|
|
|
+ v-if="showAll || showComponents[10]" :data = "getS9neiBuZhiLiangFB()"/>
|
|
|
+ <s10waiBuNengLi style="height:50%" :width="static=='row' ? '25%': '100%'" :colorw = "colorw"
|
|
|
+ v-if="showAll || showComponents[11]" :data = "getnengtliObjNum()"/>
|
|
|
+ <s10waiBuNengLiCol style="height:50%" :width="static=='row' ? '25%': '100%'" :colorw = "colorw"
|
|
|
+ v-if="showAll || showComponents[12]" :data = "getnengtliObjNumFB()"/>
|
|
|
+
|
|
|
+ <s15tousu style="height:50%" :width="static=='row' ? '25%': '100%'" :colorw = "colorw"
|
|
|
+ v-if="showAll || showComponents[13]" :data = "getS3tousu()"/>
|
|
|
+ <s15tousuCol style="height:50%" :width="static=='row' ? '25%': '100%'" :colorw = "colorw"
|
|
|
+ v-if="showAll || showComponents[14]" :data = "getS3tousuFB()"/>
|
|
|
+ <s12fengXian style="height:50%" :width="static=='row' ? '25%': '100%'" :colorw = "colorw"
|
|
|
+ v-if="showAll || showComponents[15]" :data = "getS12fengXian()"/>
|
|
|
+ <s12fengXianCol style="height:50%" :width="static=='row' ? '25%': '100%'" :colorw = "colorw"
|
|
|
+ v-if="showAll || showComponents[16]" :data = "getS12fengXianFB()"/>
|
|
|
+
|
|
|
+ <div class="clear"></div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="congxiebox7" style="display:inline-block;width:98%;margin-top:2%;margin-right:1%;margin-left:1%;height:90%;" v-if="pageOT==Math.ceil(pageAll/2)+2">
|
|
|
|
|
|
- <div class="ttitle" style="text-align: center;">质量管理</div>
|
|
|
- <div class="componentsData" style="height:87%" v-if="relOf">
|
|
|
- <s9neiBuZhiLiang style="height:50%" :width="static=='row' ? '25%': '100%'" :colorw = "colorw"
|
|
|
- v-if="showAll || showComponents[13]" :data = "getS9neiBuZhiLiang()"/>
|
|
|
- <s10waiBuNengLi style="height:50%" :width="static=='row' ? '25%': '100%'" :colorw = "colorw"
|
|
|
- v-if="showAll || showComponents[14]" :data = "getnengtliObjNum()"/>
|
|
|
-
|
|
|
- <s15tousu style="height:50%" :width="static=='row' ? '25%': '100%'" :colorw = "colorw"
|
|
|
- v-if="showAll || showComponents[19]" :data = "getS3tousu()"/>
|
|
|
- <s12fengXian style="height:50%" :width="static=='row' ? '25%': '100%'" :colorw = "colorw"
|
|
|
- v-if="showAll || showComponents[16]" :data = "getS12fengXian()"/>
|
|
|
-
|
|
|
- <s2manYiDu style="height:50%" :width="static=='row' ? '25%': '100%'" :colorw = "colorw"
|
|
|
- v-if="showAll || showComponents[7]" :data = "getS2manYiDu()"/>
|
|
|
- <s14bufuhexiang style="height:50%" :width="static=='row' ? '25%': '100%'" :colorw = "colorw"
|
|
|
- v-if="bufuheObj.length>0&&(showAll || showComponents[18])" :data = "getS14bufuhexiang()"/>
|
|
|
- <div class="nullDate1" v-if="bufuheObj.length<=0&&(showAll || showComponents[18])">暂无数据</div>
|
|
|
+ <div class="ttitle" style="text-align: center;">质量管理</div>
|
|
|
+ <div class="componentsData" style="height:87%" v-if="relOf">
|
|
|
+ <s2manYiDu style="height:50%" :width="static=='row' ? '33%': '100%'" :colorw = "colorw"
|
|
|
+ v-if="showAll || showComponents[17]" :data = "getS2manYiDu()"/>
|
|
|
+ <s2manYiDuCol style="height:50%" :width="static=='row' ? '33%': '100%'" :colorw = "colorw"
|
|
|
+ v-if="showAll || showComponents[18]" :data = "getS2manYiDuFB()"/>
|
|
|
+ <s14bufuhexiang style="height:50%" :width="static=='row' ? '33%': '100%'" :colorw = "colorw"
|
|
|
+ v-if="bufuheObj.length>0&&(showAll || showComponents[19])" :data = "getS14bufuhexiang()"/>
|
|
|
+ <div class="nullDate1" v-if="bufuheObj.length<=0&&(showAll || showComponents[19])">暂无数据</div>
|
|
|
+
|
|
|
+ <s1zhiLiangMuBiao style="height:50%" :width="static=='row' ? '33%': '100%'" :colorw = "colorw"
|
|
|
+ v-if="showAll || showComponents[21]" :data = "getS1renwu()"/>
|
|
|
+ <s1zhiLiangMuBiaoCol style="height:50%" :width="static=='row' ? '33%': '100%'" :colorw = "colorw"
|
|
|
+ v-if="showAll || showComponents[22]" :data = "getS1renwuFB()"/>
|
|
|
+ <s16bzJunZhu style="height:50%" :width="static=='row' ? '33%': '100%'" :colorw = "colorw"
|
|
|
+ v-if="gaijinxiangObj.length>0&&(showAll || showComponents[23])" :data = "getbzJunZhujNum()"/>
|
|
|
+ <div class="nullDate1" v-if="gaijinxiangObj.length<=0&&(showAll || showComponents[23])">暂无数据</div>
|
|
|
+ <div class="clear"></div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- <div class="congxiebox7" style="display:inline-block;width:49%;" v-if="pageOT==2">
|
|
|
+ <div class="ttitle" style="text-align: center;">内审计划</div>
|
|
|
+ <div class="componentsData" v-if="relOf">
|
|
|
|
|
|
- <s1zhiLiangMuBiao style="height:50%" :width="static=='row' ? '25%': '100%'" :colorw = "colorw"
|
|
|
- v-if="showAll || showComponents[1]" :data = "getS1renwu()"/>
|
|
|
- <s16bzJunZhu style="height:50%" :width="static=='row' ? '25%': '100%'" :colorw = "colorw"
|
|
|
- v-if="gaijinxiangObj.length>0&&(showAll || showComponents[20])" :data = "getbzJunZhujNum()"/>
|
|
|
- <div class="nullDate1" v-if="gaijinxiangObj.length<=0&&(showAll || showComponents[20])">暂无数据</div>
|
|
|
- <div class="clear"></div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <!-- <div class="congxiebox7" style="display:inline-block;width:49%;" v-if="pageOT==2">
|
|
|
- <div class="ttitle" style="text-align: center;">内审计划</div>
|
|
|
- <div class="componentsData" v-if="relOf">
|
|
|
-
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="congxiebox7" style="display:inline-block;width:49%;float:right;" v-if="pageOT==2">
|
|
|
- <div class="ttitle" style="text-align: center;">管审计划</div>
|
|
|
- <div class="componentsData" v-if="relOf">
|
|
|
-
|
|
|
+ <div class="congxiebox7" style="display:inline-block;width:49%;float:right;" v-if="pageOT==2">
|
|
|
+ <div class="ttitle" style="text-align: center;">管审计划</div>
|
|
|
+ <div class="componentsData" v-if="relOf">
|
|
|
+
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- -->
|
|
|
-
|
|
|
+ -->
|
|
|
|
|
|
|
|
|
+ </dv-border-box-1>
|
|
|
</div>
|
|
|
</div>
|
|
|
</dv-full-screen-container>
|
|
|
@@ -311,34 +285,44 @@
|
|
|
import headerDecoration from './headerDecoration'
|
|
|
|
|
|
import s1zhiLiangMuBiao from './item/s1zhiLiangMuBiao.vue'
|
|
|
+ import s1zhiLiangMuBiaoCol from './item/s1zhiLiangMuBiaoCol.vue'
|
|
|
import s1zhiLiang1 from './item/s1zhiLiang1.vue'
|
|
|
import s1zhiLiang2 from './item/s1zhiLiang2.vue'
|
|
|
import s1zhiLiang3 from './item/s1zhiLiang3.vue'
|
|
|
|
|
|
import s1jianCe from './item/s1jianCe.vue'
|
|
|
import s2manYiDu from './item/s2manYiDu.vue'
|
|
|
+ import s2manYiDuCol from './item/s2manYiDuPro.vue'
|
|
|
import s3tousu from './item/s3tousu.vue'
|
|
|
import s4renYuanPeiXun from './item/s4renYuanPeiXun.vue'
|
|
|
+ import s4renYuanPeiXunCol from './item/s4renYuanPeiXunCol.vue'
|
|
|
import s5renYuanJianDu from './item/s5renYuanJianDu.vue'
|
|
|
+ import s5renYuanJianDuCol from './item/s5renYuanJianDuCol.vue'
|
|
|
import s6sheBeiWeiHu from './item/s6sheBeiWeiHu.vue'
|
|
|
import s7sheBeiJiaoZhun from './item/s7sheBeiJiaoZhun.vue'
|
|
|
+ import s7sheBeiJiaoZhunCol from './item/s7sheBeiJiaoZhunCol.vue'
|
|
|
import s8sheBeiHeCha from './item/s8sheBeiHeCha.vue'
|
|
|
+ import s8sheBeiHeChaCol from './item/s8sheBeiHeChaCol.vue'
|
|
|
import s9neiBuZhiLiang from './item/s9neiBuZhiLiang.vue'
|
|
|
+ import s9neiBuZhiLiangCol from './item/s9neiBuZhiLiangCol.vue'
|
|
|
import s10waiBuNengLi from './item/s10waiBuNengLi.vue'
|
|
|
+ import s10waiBuNengLiCol from './item/s10waiBuNengLiCol.vue'
|
|
|
import s11biaoZhunWu from './item/s11biaoZhunWuCol2.vue'
|
|
|
import s11biaoZhunWucol from './item/s11biaoZhunWuCol.vue'
|
|
|
|
|
|
import s12fengXian from './item/s12fengXian.vue'
|
|
|
+ import s12fengXianCol from './item/s12fengXianCol.vue'
|
|
|
import s13shengWu from './item/s13shengWu.vue'
|
|
|
import s14bufuhexiang from './item/s14bufuhexiangCol.vue'
|
|
|
import s15tousu from './item/s15tousu.vue'
|
|
|
+ import s15tousuCol from './item/s15tousuCol.vue'
|
|
|
import s16bzJunZhu from './item/s16bzJunZhuCol2.vue'
|
|
|
import s17bzXiBao from './item/s17bzXiBao.vue'
|
|
|
|
|
|
|
|
|
import none from './item/none.vue'
|
|
|
-
|
|
|
- import { DBData ,getConfig,getJiaoYanObj, gethechaObj, getnengliObj,getkangningyangpinObj,getgaijinxiangObj,getbufuheObj,getguanshenObj,getneishenObj,getfengxianObj,getyingjiObj,getneibuObj,getwaibuObj,gethechaMGObj,getJiaoYanMGObj,getgangqianpeixunObj,getzaigangrenyuanObj,getfenzuZLZBObj,getzongZLMBObj,getzhiliangzhibiaotitleObj, getyangPinCaiJiObj,getbiaozhunTObj,getbzJunZhuObj,getbzJunZhuTObj,getbzXiBaoObj,getbzXiBaoTObj} from './js/selectDB.js'
|
|
|
+ import echarts from 'echarts'
|
|
|
+ import { DBData ,getConfig,getJiaoYanObj, gethechaObj,getgangqianpeixunFBObj,getguanshenObjFB, getneishenObjFB,getfengxianObjFB,getyingjiObjFB,getwaibuObjFB,getneibuObjFB,getJiaoYanObjFB,gethechaObjFB,getnengliObj,getkangningyangpinObj,getzaigangrenyuanFBObj,getgaijinxiangObj,getbufuheObj,getguanshenObj,getneishenObj,getfengxianObj,getyingjiObj,getneibuObj,getwaibuObj,gethechaMGObj,getJiaoYanMGObj,getgangqianpeixunObj,getzaigangrenyuanObj,getfenzuZLZBObj,getzongZLMBObj,getzhiliangzhibiaotitleObj, getyangPinCaiJiObj,getbiaozhunTObj,getbzJunZhuObj,getbzJunZhuTObj,getbzXiBaoObj,getbzXiBaoTObj} from './js/selectDB.js'
|
|
|
import sendDatas from './sendDatas.js'
|
|
|
import repostCurd from '@/business/platform/form/utils/custom/joinCURD.js'
|
|
|
import * as forEach from 'lodash/forEach'
|
|
|
@@ -350,21 +334,31 @@
|
|
|
s1zhiLiang2,
|
|
|
s1zhiLiang3,
|
|
|
s1zhiLiangMuBiao,
|
|
|
+ s1zhiLiangMuBiaoCol,
|
|
|
s1jianCe,
|
|
|
s2manYiDu,
|
|
|
+ s2manYiDuCol,
|
|
|
s3tousu,
|
|
|
s4renYuanPeiXun,
|
|
|
+ s4renYuanPeiXunCol,
|
|
|
s5renYuanJianDu,
|
|
|
+ s5renYuanJianDuCol,
|
|
|
s6sheBeiWeiHu,
|
|
|
s7sheBeiJiaoZhun,
|
|
|
+ s7sheBeiJiaoZhunCol,
|
|
|
s8sheBeiHeCha,
|
|
|
+ s8sheBeiHeChaCol,
|
|
|
s9neiBuZhiLiang,
|
|
|
+ s9neiBuZhiLiangCol,
|
|
|
s10waiBuNengLi,
|
|
|
+ s10waiBuNengLiCol,
|
|
|
s11biaoZhunWu,
|
|
|
s12fengXian,
|
|
|
+ s12fengXianCol,
|
|
|
s13shengWu,
|
|
|
s14bufuhexiang,
|
|
|
s15tousu,
|
|
|
+ s15tousuCol,
|
|
|
s16bzJunZhu,
|
|
|
s17bzXiBao,
|
|
|
s11biaoZhunWucol
|
|
|
@@ -407,16 +401,36 @@
|
|
|
//获取统计的配置
|
|
|
|
|
|
// if(this.buhegelvObj.length>0){
|
|
|
- this.timer1 = setInterval(()=>{
|
|
|
- if(this.pageOT>=2){
|
|
|
- this.pageOT=1
|
|
|
- }else{
|
|
|
- this.pageOT = this.pageOT + 1
|
|
|
- }
|
|
|
- // console.log(this.pageOT)
|
|
|
- },8000)
|
|
|
+ // console.log(this.pageAll,'76777index')
|
|
|
+ // this.timer1 = setInterval(()=>{
|
|
|
+ // if(this.pageOT>=this.pageAll){
|
|
|
+ // this.pageOT=1
|
|
|
+ // }else{
|
|
|
+ // this.pageOT = this.pageOT + 1
|
|
|
+ // }
|
|
|
+ // // console.log(this.pageOT)
|
|
|
+ // },8000)
|
|
|
// }
|
|
|
+ // console.log('jjjjjjjjjjjjjjjjjjjjjjjjjjjjjj')
|
|
|
+ // this.drawLine()
|
|
|
|
|
|
+
|
|
|
+ },
|
|
|
+ updated() {
|
|
|
+ //this.drawLine();
|
|
|
+ this.allEcharts.forEach((i) => {
|
|
|
+ i.resize();
|
|
|
+ });
|
|
|
+
|
|
|
+ },
|
|
|
+ watch: {
|
|
|
+ zhiliangmuNeirong: {
|
|
|
+ handler () {
|
|
|
+ // this.drawLine()
|
|
|
+ this.pageAll = this.zhiliangmuNeirong.length + 1
|
|
|
+ },
|
|
|
+ deep: true
|
|
|
+ }
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -428,11 +442,17 @@
|
|
|
hechaObj:[],
|
|
|
hechaMGObj:[],
|
|
|
waibuObj:[],
|
|
|
+ waibuObjfb:[],
|
|
|
neibuObj:[],
|
|
|
+ neibuObjfb:[],
|
|
|
yingjiObj:[],
|
|
|
+ yingjifbObj:[],
|
|
|
fengxianObj:[],
|
|
|
+ fengxianfbObj:[],
|
|
|
neishenObj:[],
|
|
|
+ neishenfbObj:[],
|
|
|
guanshenObj:[],
|
|
|
+ guanshenfbObj:[],
|
|
|
bufuheObj:[],
|
|
|
gaijinxiangObj:[],
|
|
|
nengliObj:[],
|
|
|
@@ -445,7 +465,9 @@
|
|
|
bzXiBaoTObj:[],
|
|
|
fenzuzlmb:[],
|
|
|
zaigangrenyuan:[],
|
|
|
+ zaigangrenyuanfb:[],
|
|
|
gangqianpeixun:[],
|
|
|
+ gangqianpeixunfb:[],
|
|
|
relData: {},
|
|
|
relOf: false,
|
|
|
selectEnd: '',
|
|
|
@@ -460,8 +482,14 @@
|
|
|
rollup:true,
|
|
|
idsStr:'',
|
|
|
quality:[],
|
|
|
+ quality1:[],
|
|
|
+ allEcharts:[],
|
|
|
bumen:'',
|
|
|
+ zhiliangmuTitle:[],
|
|
|
+ zhiliangmuNeirong:[],
|
|
|
+ zhiliangxianzhi:[],
|
|
|
tableNum:[],
|
|
|
+ pageAll:0,
|
|
|
tableData:{
|
|
|
header: ['<span style="font-size:16px;height:53px">质量指标</span>', '<span style="font-size:16px;height:53px">百分比/数量</span>'],
|
|
|
rowNum: 10,
|
|
|
@@ -482,7 +510,7 @@
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- beforeDestroy() {
|
|
|
+ beforeDestroy() {
|
|
|
if(screenfull.isFullscreen){
|
|
|
screenfull.toggle()
|
|
|
}
|
|
|
@@ -498,11 +526,16 @@
|
|
|
},
|
|
|
getqualityData() {
|
|
|
let pos = this.$store.getters.level.second?this.$store.getters.level.second:this.$store.getters.level.first
|
|
|
- let sql="select id_,name_ from ibps_party_entity where name_ like '%组' and PATH_ like '%"+pos+"%'"
|
|
|
- repostCurd('sql', sql).then(response => {
|
|
|
+ let sql="select id_,name_ from ibps_party_entity where name_ like '%组' and name_ NOT LIKE '%综合%' and name_ NOT LIKE '%质量%' and name_ NOT LIKE '%科研%' and name_ NOT LIKE '%教学%' and PATH_ like '%"+pos+"%'"
|
|
|
+ let sql1="select id_,name_ from ibps_party_entity where name_ like '%组' and PATH_ like '%"+pos+"%'"
|
|
|
+
|
|
|
+ Promise.all([repostCurd('sql', sql),repostCurd('sql', sql1)]).then(([response,response1]) => {
|
|
|
// console.log(sql)
|
|
|
let a = response.variables.data //结果一定存在第0个,因为只有一条数据
|
|
|
+ let a1 = response1.variables.data //结果一定存在第0个,因为只有一条数据
|
|
|
this.quality = a
|
|
|
+ this.quality1 = a1
|
|
|
+ console.log(a,'335345345234543534')
|
|
|
// for (let i = 0; i < this.quality.length; i++) {
|
|
|
// let a = {}
|
|
|
// a.value = this.quality[i].id_
|
|
|
@@ -512,23 +545,48 @@
|
|
|
this.idsStr = this.quality.map(function(obj,index){
|
|
|
return obj.id_;
|
|
|
}).join(",");
|
|
|
- if(this.bumen != ''){
|
|
|
- this.getConfigData(this.endDate,this.bumen)
|
|
|
- }else{
|
|
|
- this.getConfigData(this.endDate,this.idsStr)
|
|
|
- }
|
|
|
+ this.bumen = this.quality1.map(function(obj,index){
|
|
|
+ return obj.id_;
|
|
|
+ }).join(",");
|
|
|
+ console.log(this.quality,this.quality1,this.idsStr,this.bumen,'2434465565665656rterterte')
|
|
|
+ // if(this.bumen != ''){
|
|
|
+ // this.getConfigData(this.endDate,this.bumen)
|
|
|
+ // }else{
|
|
|
+ this.getConfigData(this.endDate,this.bumen,this.idsStr)
|
|
|
+ // }
|
|
|
})
|
|
|
},
|
|
|
+ getNextMonth(date) {
|
|
|
+ let arr = date.split('-');
|
|
|
+ let year = arr[0]; //获取当前日期的年份
|
|
|
+ let month = arr[1]; //获取当前日期的月份
|
|
|
+ let year2 = year;
|
|
|
+ let month2 = parseInt(month) + 1;
|
|
|
+ if (month2 == 13) {
|
|
|
+ year2 = parseInt(year2) + 1;
|
|
|
+ month2 = 1;
|
|
|
+ }
|
|
|
+ month2=month2>9?month2:'0'+month2
|
|
|
+ let t2 = year2 + '-' + month2;
|
|
|
+ return t2;
|
|
|
+ },
|
|
|
/* 查询统计配置中的完成率*/
|
|
|
- getConfigData(end,info) {
|
|
|
+ getConfigData(end,info,info1) {
|
|
|
let that = this
|
|
|
- Promise.all([repostCurd('sql', getConfig()),repostCurd('sql', getyangPinCaiJiObj(end,info)),repostCurd('sql', getzhiliangzhibiaotitleObj(end,info)),
|
|
|
- repostCurd('sql', getzongZLMBObj(end,info)),repostCurd('sql', getfenzuZLZBObj(end,info)),repostCurd('sql', getzaigangrenyuanObj(end,info)),
|
|
|
- repostCurd('sql', getgangqianpeixunObj(end,info)),repostCurd('sql', getJiaoYanObj(end,info)),repostCurd('sql', getJiaoYanMGObj(end,info)),
|
|
|
- repostCurd('sql', gethechaObj(end,info)),repostCurd('sql', gethechaMGObj(end,info)),repostCurd('sql', getwaibuObj(end,info)),
|
|
|
+ end[2]=end[1]
|
|
|
+ end[1]=this.getNextMonth(end[1])
|
|
|
+ Promise.all([repostCurd('sql', getConfig()),repostCurd('sql', getyangPinCaiJiObj(end,info1)),repostCurd('sql', getzhiliangzhibiaotitleObj(end,info1)),
|
|
|
+ repostCurd('sql', getzongZLMBObj(end,info1)),repostCurd('sql', getfenzuZLZBObj(end,info1)),repostCurd('sql', getzaigangrenyuanObj(end,info)),
|
|
|
+ repostCurd('sql', getgangqianpeixunObj(end,info)),repostCurd('sql', getJiaoYanObj(end,info)),repostCurd('sql', getJiaoYanObjFB(end,info)),
|
|
|
+ repostCurd('sql', gethechaObj(end,info)),repostCurd('sql', gethechaObjFB(end,info)),repostCurd('sql', getwaibuObj(end,info)),
|
|
|
repostCurd('sql', getneibuObj(end,info)),repostCurd('sql', getyingjiObj(end,info)),repostCurd('sql', getfengxianObj(end,info)),
|
|
|
repostCurd('sql', getneishenObj(end,info)),repostCurd('sql', getguanshenObj(end,info)),repostCurd('sql', getbufuheObj(end,info)),
|
|
|
- repostCurd('sql', getgaijinxiangObj(end,info))]).then(([response,response1, response2,response3,response4,response5,response6,response7,response8,response9,response10,response11,response12,response13,response14,response15,response16,response17,response18]) => {
|
|
|
+ repostCurd('sql', getgaijinxiangObj(end,info)),
|
|
|
+ repostCurd('sql', getzaigangrenyuanFBObj(end,info)),repostCurd('sql', getgangqianpeixunFBObj(end,info)),
|
|
|
+ repostCurd('sql', getneibuObjFB(end,info)),repostCurd('sql', getwaibuObjFB(end,info)),
|
|
|
+ repostCurd('sql', getyingjiObjFB(end,info)),repostCurd('sql', getfengxianObjFB(end,info)),
|
|
|
+ repostCurd('sql', getneishenObjFB(end,info)),repostCurd('sql', getguanshenObjFB(end,info))]).then(([response,response1, response2,response3,response4,response5,response6,response7,response8,response9,response10,response11,response12,response13,response14,response15,response16,response17,response18,
|
|
|
+ fb,fb1,fb2,fb3,fb4,fb5,fb6,fb7]) => {
|
|
|
|
|
|
that.config = response.variables.data
|
|
|
that.buhegelvObj = response1.variables.data
|
|
|
@@ -543,7 +601,9 @@
|
|
|
that.tableData.data.push(changeArr)
|
|
|
that.tableData1.data.push(changeArr1)
|
|
|
}
|
|
|
- that.fenzuzlmb = response4.variables.data
|
|
|
+ let qqaa = response4.variables.data
|
|
|
+ that.fenzuzlmb= this.sortArr(qqaa,'bzbm')
|
|
|
+ console.log(that.fenzuzlmb,'qqaaqqaaqqaa')
|
|
|
that.zaigangrenyuan = response5.variables.data
|
|
|
that.gangqianpeixun = response6.variables.data
|
|
|
that.jiaoyanObj = response7.variables.data
|
|
|
@@ -558,73 +618,17 @@
|
|
|
that.guanshenObj = response16.variables.data
|
|
|
that.bufuheObj = response17.variables.data
|
|
|
that.gaijinxiangObj = response18.variables.data
|
|
|
+ that.getzzzbNum()
|
|
|
+ that.zaigangrenyuanfb = fb.variables.data
|
|
|
+ that.gangqianpeixunfb = fb1.variables.data
|
|
|
+ that.neibuObjfb = fb2.variables.data
|
|
|
+ that.waibuObjfb = fb3.variables.data
|
|
|
+ that.yingjifbObj = fb4.variables.data
|
|
|
+ that.fengxianfbObj = fb5.variables.data
|
|
|
+ that.neishenfbObj = fb6.variables.data
|
|
|
+ that.guanshenfbObj = fb7.variables.data
|
|
|
that.relOf = true
|
|
|
})
|
|
|
- // repostCurd('sql', getConfig()).then(response => {
|
|
|
- // that.config = response.variables.data //结果一定存在第0个,因为只有一条数据
|
|
|
- // repostCurd('sql', getyangPinCaiJiObj(end,info)).then(response1 => {
|
|
|
- // that.buhegelvObj = response1.variables.data
|
|
|
- // console.log(that.buhegelvObj>0,'222222222222222222222222222222222222222222222222222222222')
|
|
|
- // repostCurd('sql', getzhiliangzhibiaotitleObj(end,info)).then(response2 => {
|
|
|
- // that.zhiliangzhibiaotitle = response2.variables.data
|
|
|
- // repostCurd('sql', getzongZLMBObj(end,info)).then(response3 => {
|
|
|
- // that.tableNum = response3.variables.data
|
|
|
- // repostCurd('sql', getfenzuZLZBObj(end,info)).then(response4 => {
|
|
|
- // that.fenzuzlmb = response4.variables.data
|
|
|
- // repostCurd('sql', getzaigangrenyuanObj(end,info)).then(response5 => {
|
|
|
- // that.zaigangrenyuan = response5.variables.data
|
|
|
- // repostCurd('sql', getgangqianpeixunObj(end,info)).then(response6 => {
|
|
|
- // that.gangqianpeixun = response6.variables.data
|
|
|
- // repostCurd('sql', getJiaoYanObj(end,info)).then(response7 => {
|
|
|
- // that.jiaoyanObj = response7.variables.data
|
|
|
- // repostCurd('sql', getJiaoYanMGObj(end,info)).then(response8 => {
|
|
|
- // that.jiaoyanMGObj = response8.variables.data
|
|
|
- // repostCurd('sql', gethechaObj(end,info)).then(response9 => {
|
|
|
- // that.hechaObj = response9.variables.data
|
|
|
- // repostCurd('sql', gethechaMGObj(end,info)).then(response10 => {
|
|
|
- // that.hechaMGObj = response10.variables.data
|
|
|
- // repostCurd('sql', getwaibuObj(end,info)).then(response11 => {
|
|
|
- // that.waibuObj = response11.variables.data
|
|
|
- // repostCurd('sql', getneibuObj(end,info)).then(response12 => {
|
|
|
- // that.neibuObj = response12.variables.data
|
|
|
- // repostCurd('sql', getyingjiObj(end,info)).then(response13 => {
|
|
|
- // that.yingjiObj = response13.variables.data
|
|
|
- // repostCurd('sql', getfengxianObj(end,info)).then(response14 => {
|
|
|
- // that.fengxianObj = response14.variables.data
|
|
|
- // repostCurd('sql', getneishenObj(end,info)).then(response15 => {
|
|
|
- // that.neishenObj = response15.variables.data
|
|
|
- // repostCurd('sql', getguanshenObj(end,info)).then(response16 => {
|
|
|
- // that.guanshenObj = response16.variables.data
|
|
|
- // repostCurd('sql', getbufuheObj(end,info)).then(response17 => {
|
|
|
- // that.bufuheObj = response17.variables.data
|
|
|
- // repostCurd('sql', getgaijinxiangObj(end,info)).then(response18 => {
|
|
|
- // that.gaijinxiangObj = response18.variables.data
|
|
|
-
|
|
|
- // that.relOf = true
|
|
|
- // })
|
|
|
- // })
|
|
|
- // })
|
|
|
- // })
|
|
|
- // })
|
|
|
- // })
|
|
|
- // })
|
|
|
- // })
|
|
|
- // })
|
|
|
- // })
|
|
|
- // })
|
|
|
- // })
|
|
|
- // })
|
|
|
- // })
|
|
|
- // })
|
|
|
- // })
|
|
|
- // })
|
|
|
- // })
|
|
|
- // })
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- // that.relOf = true
|
|
|
},
|
|
|
|
|
|
async costPlannedAmountChange(record,value) {
|
|
|
@@ -661,6 +665,258 @@
|
|
|
// return [nowDate.getFullYear() - year + "-" + month1,date.getFullYear() + "-" + month];
|
|
|
return [nowDate.getFullYear() - year + "-01",nowDate.getFullYear() - year + "-" + month1];
|
|
|
},
|
|
|
+ sortArr(arr, str) {
|
|
|
+ let _arr = [],
|
|
|
+ _t = [],
|
|
|
+ // 临时的变量
|
|
|
+ _tmp;
|
|
|
+
|
|
|
+ // 按照特定的参数将数组排序将具有相同值得排在一起
|
|
|
+ arr = arr.sort(function(a, b) {
|
|
|
+ let s = a[str],
|
|
|
+ t = b[str];
|
|
|
+
|
|
|
+ return s < t ? -1 : 1;
|
|
|
+ });
|
|
|
+
|
|
|
+ if ( arr.length ){
|
|
|
+ _tmp = arr[0][str];
|
|
|
+ }
|
|
|
+ // 将相同类别的对象添加到统一个数组
|
|
|
+ for (let i in arr) {
|
|
|
+
|
|
|
+ if ( arr[i][str] === _tmp){
|
|
|
+ _t.push( arr[i] );
|
|
|
+ } else {
|
|
|
+ _arr.push( {'id_':_tmp,'data':_t} );
|
|
|
+ _tmp = arr[i][str];
|
|
|
+ _t = [arr[i]];
|
|
|
+ }
|
|
|
+ // console.log( _tmp,_t,arr[i]);
|
|
|
+ }
|
|
|
+ // 将最后的内容推出新数组
|
|
|
+ _arr.push( {'id_':_tmp,'data':_t});
|
|
|
+ return _arr;
|
|
|
+ },
|
|
|
+ getzzzbNum(){
|
|
|
+ //生成月份
|
|
|
+ let that = this
|
|
|
+ let d1 = this.endDate[0];
|
|
|
+ let d2 = this.endDate[2];
|
|
|
+ let dateArry = new Array();
|
|
|
+ let s1 = d1.split("-");
|
|
|
+ let s2 = d2.split("-");
|
|
|
+ let mCount = 0;
|
|
|
+ if (parseInt(s1[0]) < parseInt(s2[0])) {
|
|
|
+ mCount = (parseInt(s2[0]) - parseInt(s1[0])) * 12 + parseInt(s2[1]) - parseInt(s1[1])+1;
|
|
|
+ } else {
|
|
|
+ mCount = parseInt(s2[1]) - parseInt(s1[1])+1;
|
|
|
+ }
|
|
|
+ if (mCount > 0) {
|
|
|
+ let startM = parseInt(s1[1]);
|
|
|
+ let startY = parseInt(s1[0]);
|
|
|
+ for (let i = 0; i < mCount; i++) {
|
|
|
+ if (startM < 12) {
|
|
|
+ dateArry[i] = startY + "-" + (startM>9 ? startM : "0" + startM);
|
|
|
+ startM += 1;
|
|
|
+ } else {
|
|
|
+ dateArry[i] = startY + "-" + (startM > 9 ? startM : "0" + startM);
|
|
|
+ startM = 1;
|
|
|
+ startY += 1;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ //处理数据
|
|
|
+ let zjarr = []
|
|
|
+ let fenshuzu = []
|
|
|
+ let zongfz = []
|
|
|
+ fenshuzu = that.quality
|
|
|
+ for (let m = 0; m < that.quality.length; m++) {
|
|
|
+ for (let n = 0; n < that.fenzuzlmb.length; n++) {
|
|
|
+ //console.log(that.quality.id_ == that.fenzuzlmb.id_,that.quality,that.fenzuzlmb)
|
|
|
+ if (that.quality[m].id_ == that.fenzuzlmb[n].id_) {
|
|
|
+ fenshuzu[m].data=that.fenzuzlmb[n].data?that.fenzuzlmb[n].data:''
|
|
|
+ continue
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ // console.log(fenshuzu,,fenshuzu[1].hasOwnProperty('data'),'55353453535345')
|
|
|
+ let title = ['name_']
|
|
|
+ for (let zn = 0; zn < fenshuzu.length; zn++) {
|
|
|
+ let zmIndex = 0
|
|
|
+ let zlzbfz = []
|
|
|
+ //zlzbfz = zjarr
|
|
|
+ for (let j = 0; j < dateArry.length; j++) {
|
|
|
+ let rq = {}
|
|
|
+ rq.name_ = dateArry[j]
|
|
|
+ zlzbfz.push(rq)
|
|
|
+ // console.log(zlzbfz,dateArry[j],'erw232222222222222222222222222224586')
|
|
|
+ }
|
|
|
+ for (let i = 0; i < zlzbfz.length; i++) {
|
|
|
+ if(fenshuzu[zn].data&&fenshuzu[zn].data.length>0){
|
|
|
+ for (let j = 0; j < fenshuzu[zn].data.length; j++) {
|
|
|
+ if(zlzbfz[i].name_ == fenshuzu[zn].data[j].bzsj){
|
|
|
+ let prop = fenshuzu[zn].data[j].zhi_liang_zhi_bia;
|
|
|
+ zlzbfz[i][prop] = fenshuzu[zn].data[j].location
|
|
|
+ // console.log(zlzbfz,'zlzbfzzlzbfz')
|
|
|
+ zmIndex=1
|
|
|
+ }
|
|
|
+ continue
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ continue
|
|
|
+ }
|
|
|
+ console.log(zlzbfz,'ghshhhsuihihuisoio878788787878778')
|
|
|
+ if(zmIndex == 1){
|
|
|
+ zongfz.push({'id':fenshuzu[zn].id_,'name':fenshuzu[zn].name_,'data':zlzbfz})
|
|
|
+ }else{
|
|
|
+ //zongfz.push({'id':fenshuzu[zn].id_,'name':fenshuzu[zn].name_,'data':[]})
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ for (let t = 0; t < this.zhiliangzhibiaotitle.length; t++) {
|
|
|
+ title.push(this.zhiliangzhibiaotitle[t].zhi_liang_zhi_bia)
|
|
|
+
|
|
|
+ }
|
|
|
+ let zbval = []
|
|
|
+ for (let t = 0; t < this.zhiliangzhibiaotitle.length; t++) {
|
|
|
+ zbval.push(parseFloat(this.zhiliangzhibiaotitle[t].zhi_biao_xian_zhi.match(/(\d+(\.\d+)?)/)))
|
|
|
+
|
|
|
+ }
|
|
|
+ this.zhiliangmuTitle = title
|
|
|
+ this.zhiliangmuNeirong = zongfz
|
|
|
+ this.zhiliangxianzhi = zbval
|
|
|
+ this.pageAll = this.zhiliangmuNeirong.length
|
|
|
+ this.drawLine()
|
|
|
+ clearInterval(this.timer1);
|
|
|
+ if(this.rollup == true){
|
|
|
+ this.timer1 = setInterval(()=>{
|
|
|
+ if(this.pageOT>=Math.ceil(this.pageAll/2)+2){
|
|
|
+ this.pageOT=1
|
|
|
+ }else{
|
|
|
+ this.pageOT = this.pageOT + 1
|
|
|
+ }
|
|
|
+ },8000)
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ },
|
|
|
+ drawLine(){
|
|
|
+ setTimeout(() => {
|
|
|
+ this.zhiliangmuNeirong.forEach((item, index) => {
|
|
|
+ let xunhuanzzzb = echarts.init(document.getElementById(`card${index}`))
|
|
|
+ let barColor = ['#66FFCC','#FFCCCC','#33FF00','#FF66CC','#EC5800','#AAFF00','#F8DE7E','#B87333','#FF4433',' #9F2B68','#C9A9A6','#C3B1E1','#880808','#097969','#89CFF0','#5D3FD3',' #FBCEB1','#E49B0F','#ECFFDC','#A52A2A','#D27D2D','#FFBF00','#A0522D','#FF00FF','#FFB6C1','#F89880','#D8BFD8','#5D3FD3','#770737','#DA70D6']
|
|
|
+ let barNum = []
|
|
|
+ for (let i = 0; i < this.zhiliangxianzhi.length-1; i++) {
|
|
|
+ barNum.push({
|
|
|
+ type: 'bar',
|
|
|
+ itemStyle: {color: barColor[i]},
|
|
|
+ label:{
|
|
|
+ normal:{
|
|
|
+ show:true,
|
|
|
+ position:'top',
|
|
|
+
|
|
|
+ textStyle:{
|
|
|
+ fontSize:16,
|
|
|
+ color:'#B0CEFC'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ markLine: {
|
|
|
+ symbol: ['none', 'none'], // 去掉箭头
|
|
|
+ // label: {
|
|
|
+ // show: false,
|
|
|
+ // position: 'start',
|
|
|
+ // formatter: '{b}'
|
|
|
+ // },
|
|
|
+ data: [
|
|
|
+ {
|
|
|
+ name: '阈值',
|
|
|
+ yAxis: this.zhiliangxianzhi[i]*1
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ lineStyle: {
|
|
|
+ color: barColor[i]
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ })
|
|
|
+
|
|
|
+ }
|
|
|
+ let option = {
|
|
|
+ //v3
|
|
|
+ title: {
|
|
|
+ textStyle:{ fontSize:14,color: this.colorw }
|
|
|
+ },
|
|
|
+ legend: {
|
|
|
+ textStyle: {
|
|
|
+ color: '#B0CEFC' // 图例文字颜色
|
|
|
+ }
|
|
|
+
|
|
|
+ },
|
|
|
+ grid: {
|
|
|
+ top: '10%',
|
|
|
+ left: '3%',
|
|
|
+ right: '4%',
|
|
|
+ bottom: '5%',
|
|
|
+ containLabel: true
|
|
|
+ },
|
|
|
+ xAxis: {
|
|
|
+ splitLine:{show: false},
|
|
|
+ type: 'category',
|
|
|
+ axisLabel: {
|
|
|
+ show: true,
|
|
|
+ textStyle: {
|
|
|
+ color: '#fff' //这里用参数代替了
|
|
|
+ }
|
|
|
+ },
|
|
|
+ axisLine:{
|
|
|
+ lineStyle:{
|
|
|
+ color:'#fff',
|
|
|
+ width:1, //x轴线的宽度
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ yAxis: {
|
|
|
+ splitLine:{show: false},
|
|
|
+ axisLabel: {
|
|
|
+ show: true,
|
|
|
+ textStyle: {
|
|
|
+ color: '#fff' //这里用参数代替了
|
|
|
+ }
|
|
|
+ },
|
|
|
+ axisLine:{
|
|
|
+ lineStyle:{
|
|
|
+ color:'#fff',
|
|
|
+ width:1, //x轴线的宽度
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ dataset: {
|
|
|
+ dimensions: this.zhiliangmuTitle,
|
|
|
+ source: this.zhiliangmuNeirong[index].data
|
|
|
+ },
|
|
|
+ series: barNum,
|
|
|
+ dataZoom: [
|
|
|
+ {
|
|
|
+ id: 'dataZoomY',
|
|
|
+ type: 'inside',
|
|
|
+ yAxisIndex: [0],
|
|
|
+ filterMode: 'empty'
|
|
|
+ }
|
|
|
+ ],
|
|
|
+
|
|
|
+ };
|
|
|
+
|
|
|
+ this.allEcharts.push(xunhuanzzzb)
|
|
|
+ option && xunhuanzzzb.setOption(option);
|
|
|
+ })
|
|
|
+ }, 0)
|
|
|
+ },
|
|
|
allView(){
|
|
|
screenfull.request() //默认显示全屏
|
|
|
},
|
|
|
@@ -670,7 +926,7 @@
|
|
|
},
|
|
|
rollcontinue(){
|
|
|
this.timer1 = setInterval(()=>{
|
|
|
- if(this.pageOT>=2){
|
|
|
+ if(this.pageOT>=Math.ceil(this.pageAll/2)+2){
|
|
|
this.pageOT=1
|
|
|
}else{
|
|
|
this.pageOT = this.pageOT + 1
|
|
|
@@ -747,7 +1003,7 @@
|
|
|
font-size: 120%;
|
|
|
font-weight: 600;
|
|
|
height: 2%;
|
|
|
- margin: 2% 0;
|
|
|
+ margin: 1% 0;
|
|
|
}
|
|
|
.screen{
|
|
|
height: 100%;
|