IntelligentRecognition/ah-jjsp-web/.svn/pristine/9f/9fa31fac59ae0c52d0aa4079a17...

1 line
60 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"use strict";(self["webpackChunkinfrastructure_control"]=self["webpackChunkinfrastructure_control"]||[]).push([[163],{8938:function(e,a,l){l.r(a),l.d(a,{default:function(){return Fl}});var t=l(3396),i=l(7139);const o=e=>((0,t.dD)("data-v-e43d5790"),e=e(),(0,t.Cn)(),e),r={class:"page_all"},d={class:"page_content"},s={class:"content_left"},n={class:"left_plan"},m={class:"plan_header"},u={class:"plan_cell"},p=o((()=>(0,t._)("div",{class:"plan_title"},"作业类型变化告警",-1))),c={class:"plan_num"},h={class:"plan_cell"},b=o((()=>(0,t._)("div",{class:"plan_title"},"作业工序变化告警",-1))),g={class:"plan_num"},w={class:"left_risk"},_={class:"risk_header"},y={class:"risk_info"},k=o((()=>(0,t._)("div",{class:"info_title"},"未来施工高风险提醒",-1))),v={class:"info_num"},T=o((()=>(0,t._)("div",{class:"risk_level"},"二级风险",-1))),f={class:"risk_num"},D=o((()=>(0,t._)("div",{class:"risk_level"},"三级风险",-1))),N={class:"risk_num"},j={class:"info_btns"},W={class:"echarts_box"},x={class:"left_person"},C={class:"person_header"},q={class:"echarts_box"},V={class:"content_center"},F={class:"center_warning"},U={class:"warning_header"},S={class:"warning_content"},O={class:"warning_list"},P={class:"warning_scrollbar"},L=o((()=>(0,t._)("div",{class:"warning_icon"},null,-1))),Y={class:"warning_text"},R={class:"center_control"},z=o((()=>(0,t._)("div",{class:"control_title"},"管住现场",-1))),H={class:"control_info"},$={class:"keyPoint"},A={class:"keyPoint_header"},M={class:"control_keyPoint"},E={class:"control_cell"},I={class:"item_top"},G=["onClick"],K={class:"box_num wordcolor_green"},B=o((()=>(0,t._)("div",{class:"box_min"},"昨日",-1))),Q=["onClick"],Z={class:"box_num wordcolor_orange"},J=o((()=>(0,t._)("div",{class:"box_min"},"今日",-1))),X={class:"box_text wordcolor_blue"},ee={class:"alarm"},ae={class:"alarm_header"},le={class:"alarm_num"},te=o((()=>(0,t._)("div",{class:"signal_text"},"球机信号弱",-1))),ie={class:"signal_num"},oe=o((()=>(0,t._)("div",{class:"signal_text"},"球机掉线",-1))),re={class:"signal_num"},de={class:"safe_trouble"},se={class:"trouble_header"},ne={class:"trouble_list"},me={class:"item_picture"},ue={class:"item_date"},pe={class:"item_name"},ce=o((()=>(0,t._)("div",{class:"name_text"},"送变电工程:",-1))),he={class:"trouble_text1"},be={class:"trouble_scrollbar1 wordColor_yellow"},ge={class:"item_type"},we=o((()=>(0,t._)("div",{class:"type_text"},"违章类型:",-1))),_e={class:"trouble_text2"},ye={class:"trouble_scrollbar2 wordColor_yellow"},ke={class:"content_right"},ve={class:"right_team"},Te=o((()=>(0,t._)("div",{class:"right_title"},"管住队伍",-1))),fe={class:"team_header1"},De={class:"team_add"},Ne=o((()=>(0,t._)("div",{class:"add_title"},"新增班组数",-1))),je={class:"add_info"},We={class:"team_header2"},xe={class:"team_remind"},Ce={class:"remind_title"},qe={class:"remind_box"},Ve=o((()=>(0,t._)("div",{class:"box_subtitle"},"未报计划数:",-1))),Fe={class:"box_icon"},Ue={class:"box_num wordcolor_green3"},Se=o((()=>(0,t._)("div",{class:"box_text"},"今日",-1))),Oe={class:"box_icon_yes"},Pe={class:"box_num wordcolor_orange2"},Le=o((()=>(0,t._)("div",{class:"box_text"},"昨日",-1))),Ye={class:"remind_box"},Re=o((()=>(0,t._)("div",{class:"box_subtitle"},"有计划未作业:",-1))),ze={class:"box_icon"},He={class:"box_num wordcolor_green3"},$e=o((()=>(0,t._)("div",{class:"box_text"},"今日",-1))),Ae={class:"box_icon_yes"},Me={class:"box_num wordcolor_orange2"},Ee=o((()=>(0,t._)("div",{class:"box_text"},"昨日",-1))),Ie={class:"team_header3"},Ge={class:"team_score_h"},Ke={class:"score_title"},Be={class:"team_header4"},Qe={class:"team_score_l"},Ze={class:"score_title"};function Je(e,a,o,Je,Xe,ea){const aa=(0,t.up)("SubHeader"),la=(0,t.up)("EchartsRisk"),ta=(0,t.up)("EchartsPerson"),ia=(0,t.up)("el-image"),oa=(0,t.up)("el-rate"),ra=(0,t.up)("DialogBox");return(0,t.wg)(),(0,t.iD)("div",r,[(0,t._)("div",d,[(0,t._)("div",s,[(0,t._)("div",n,[(0,t._)("div",m,[(0,t.Wm)(aa,{subType:"1",subtitle:"管住计划",tooltip:"“e基建”线路工程每日站班会作业类型/作业工序相对前一日发生变化的班组数。",queryDetailUrl:"planManage/queryByPage",onDialogShow:ea.dialogShow},null,8,["onDialogShow"])]),(0,t._)("div",u,[p,(0,t._)("div",c,[(0,t._)("div",{class:(0,i.C_)(["num_item bgcolor_blue",Xe.planObj["workTypeNumPercent1"]>=.8||!Xe.planObj["workTypeNumPercent1"]?"num_item_max":Xe.planObj["workTypeNumPercent1"]<=.2?"num_item_min":""]),style:(0,i.j5)({width:Xe.planObj["workTypeNumPercent1"]>.2&&Xe.planObj["workTypeNumPercent1"]<.8?100*Xe.planObj["workTypeNumPercent1"]+"%":""}),onClick:a[0]||(a[0]=e=>ea.planClick({dialogTitle:"作业类型变化告警",workTime:Xe.dateNow,planType:"1"}))}," 今日:"+(0,i.zw)(Xe.planObj["workTypeNum"]||0),7),(0,t._)("div",{class:(0,i.C_)(["num_item bgcolor_green",Xe.planObj["workTypeNumPercent2"]>=.8||!Xe.planObj["workTypeNumPercent2"]?"num_item_max":Xe.planObj["workTypeNumPercent2"]<=.2?"num_item_min":""]),style:(0,i.j5)({width:Xe.planObj["workTypeNumPercent2"]>.2&&Xe.planObj["workTypeNumPercent2"]<.8?100*Xe.planObj["workTypeNumPercent2"]+"%":""}),onClick:a[1]||(a[1]=e=>ea.planClick({dialogTitle:"作业类型变化告警",workTime:Xe.dateYes,planType:"1"}))}," 昨日:"+(0,i.zw)(Xe.planObj["workTypeYesNum"]||0),7)])]),(0,t._)("div",h,[b,(0,t._)("div",g,[(0,t._)("div",{class:(0,i.C_)(["num_item bgcolor_blue",Xe.planObj["workGxNumPercent1"]>=.8||!Xe.planObj["workGxNumPercent1"]?"num_item_max":Xe.planObj["workGxNumPercent1"]<=.2?"num_item_min":""]),style:(0,i.j5)({width:Xe.planObj["workGxNumPercent1"]>.2&&Xe.planObj["workGxNumPercent1"]<.8?100*Xe.planObj["workGxNumPercent1"]+"%":""}),onClick:a[2]||(a[2]=e=>ea.planClick({dialogTitle:"作业工序变化告警",workTime:Xe.dateNow,planType:"2"}))}," 今日:"+(0,i.zw)(Xe.planObj["workGxNum"]||0),7),(0,t._)("div",{class:(0,i.C_)(["num_item bgcolor_green",Xe.planObj["workGxNumPercent2"]>=.8||!Xe.planObj["workGxNumPercent2"]?"num_item_max":Xe.planObj["workGxNumPercent2"]<=.2?"num_item_min":""]),style:(0,i.j5)({width:Xe.planObj["workGxNumPercent2"]>.2&&Xe.planObj["workGxNumPercent2"]<.8?100*Xe.planObj["workGxNumPercent2"]+"%":""}),onClick:a[3]||(a[3]=e=>ea.planClick({dialogTitle:"作业工序变化告警",workTime:Xe.dateYes,planType:"2"}))}," 昨日:"+(0,i.zw)(Xe.planObj["workGxYesNum"]||0),7)])])]),(0,t._)("div",w,[(0,t._)("div",_,[(0,t.Wm)(aa,{subType:"2",subtitle:"管住风险",tooltip:"“e基建”线路工程周计划今日二级/三级高风险数、下周/本周每日二级/三级高风险数。",onDialogShow:ea.dialogShow},null,8,["onDialogShow"])]),(0,t._)("div",y,[k,(0,t._)("div",v,[(0,t._)("div",{class:"info_box",onClick:a[4]||(a[4]=e=>ea.riskClick({workTime:Xe.dateNow,riskLevel:"二级"}))},[T,(0,t._)("div",f,(0,i.zw)(Xe.riskObj["twoRiskNum"]||0),1)]),(0,t._)("div",{class:"info_box",onClick:a[5]||(a[5]=e=>ea.riskClick({workTime:Xe.dateNow,riskLevel:"三级"}))},[D,(0,t._)("div",N,(0,i.zw)(Xe.riskObj["threeRiskNum"]||0),1)])]),(0,t._)("div",j,[(0,t._)("div",{class:(0,i.C_)("1"===Xe.riskType?"subbtn_active":"subbtn_normalize"),onClick:a[6]||(a[6]=e=>ea.weekClick("1"))},"下周",2),(0,t._)("div",{class:(0,i.C_)("2"===Xe.riskType?"subbtn_active":"subbtn_normalize"),onClick:a[7]||(a[7]=e=>ea.weekClick("2"))},"本周",2),(0,t._)("div",{class:"sub_btn",onClick:a[8]||(a[8]=e=>ea.dialogShow({dialogTitle:"未来施工高风险提醒",dialogType:"2",dialogHeaderType:"0",queryDetailUrl:"riskManage/queryByPage"}))},"更多")])]),(0,t._)("div",W,[(0,t.Wm)(la,{riskType:Xe.riskType,riskObj:Xe.riskObj,onEchartsClick:ea.echartsRiskClick},null,8,["riskType","riskObj","onEchartsClick"])])]),(0,t._)("div",x,[(0,t._)("div",C,[(0,t.Wm)(aa,{subType:"3",subtitle:"管住人员",subtext:"高空作业人数不足班组人数",tooltip:"“e基建”每日站班会实际到场人员判断架空线路组塔班组、架空线路架线班组高空作业人员不足的班组数。",queryDetailUrl:"riskManage/queryTeamPage",onDialogShow:ea.dialogShow},null,8,["onDialogShow"])]),(0,t._)("div",q,[(0,t.Wm)(ta,{personObj:Xe.personObj,onEchartsClick:ea.echartsPersonClick},null,8,["personObj","onEchartsClick"])])])]),(0,t._)("div",V,[(0,t._)("div",F,[(0,t._)("div",U,[(0,t.Wm)(aa,{subType:"4",subtitle:"今日恶劣天气预警",queryDetailUrl2:"proteam/home/getWeatherAlertPlus",onDialogShow:ea.dialogShow},null,8,["onDialogShow"])]),(0,t._)("div",S,[(0,t._)("div",O,[(0,t._)("div",P,[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(Xe.weatherList,((e,a)=>((0,t.wg)(),(0,t.iD)("div",{class:"warning_item",key:a},[L,(0,t._)("div",Y,(0,i.zw)(e.content),1)])))),128))])])])]),(0,t._)("div",R,[z,(0,t._)("div",H,[(0,t._)("div",$,[(0,t._)("div",A,[(0,t.Wm)(aa,{subType:"5",subtitle:"关键点措施照片上传",tooltip:"“e基建”每日站班会关键点措施照片未上传或上传不足的班组数。",queryDetailUrl:"jjIntell/queryByPage",onDialogShow:ea.dialogShow},null,8,["onDialogShow"])]),(0,t._)("div",M,[(0,t._)("div",E,[((0,t.wg)(),(0,t.iD)(t.HY,null,(0,t.Ko)(9,((e,a)=>(0,t._)("div",{class:"control_item",key:a},[(0,t._)("div",I,[(0,t._)("div",{class:"item_box",onClick:e=>ea.keyPointClick({...Xe.keyPointList[a],...Xe.keyPointTextList[a],index:a,workTime:Xe.dateYes})},[(0,t._)("div",K,(0,i.zw)(Xe.keyPointList.length>0&&Xe.keyPointList[a]["yesNum"]||0),1),B],8,G),(0,t._)("div",{class:"item_box",onClick:e=>ea.keyPointClick({...Xe.keyPointList[a],...Xe.keyPointTextList[a],index:a,workTime:Xe.dateNow})},[(0,t._)("div",Z,(0,i.zw)(Xe.keyPointList.length>0&&Xe.keyPointList[a]["num"]||0),1),J],8,Q)]),(0,t._)("div",X,(0,i.zw)(Xe.keyPointTextList[a]["text"]),1)]))),64))])])]),(0,t._)("div",ee,[(0,t._)("div",ae,[(0,t.Wm)(aa,{subType:"6",subtitle:"球机状态异常告警",tooltip:"球机持续5分钟未能成功连接或网络波动较大的班组数",queryDetailUrl:"jjIntell/queryQjDetail",onDialogShow:ea.dialogShow},null,8,["onDialogShow"])]),(0,t._)("div",le,[(0,t._)("div",{class:"weak_signal",onClick:a[9]||(a[9]=e=>ea.signalClick({type:"2"}))},[te,(0,t._)("div",ie,(0,i.zw)(Xe.signalObj.ruoNum||0),1)]),(0,t._)("div",{class:"drop_signal",onClick:a[10]||(a[10]=e=>ea.signalClick({type:"1"}))},[oe,(0,t._)("div",re,(0,i.zw)(Xe.signalObj.notOnlineNum||0),1)])])])]),(0,t._)("div",de,[(0,t._)("div",se,[(0,t.Wm)(aa,{subType:"7",subtitle:"施工现场安全隐患告警",tooltip:"球机自动抓拍,经值班员复核后的现场违章照片。",queryDetailUrl:"jjIntell/querySgxcPage",onDialogShow:ea.dialogShow},null,8,["onDialogShow"])]),(0,t._)("div",ne,[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(Xe.troubleList,((e,a)=>((0,t.wg)(),(0,t.iD)("div",{class:"trouble_item",key:a},[(0,t._)("div",me,[(0,t._)("div",ue,"识别日期:"+(0,i.zw)(e.workTime),1),(0,t.Wm)(ia,{class:"item_img",src:l(5462),"zoom-rate":1.2,"preview-src-list":[l(5462)],fit:"cover"},null,8,["src","zoom-rate","preview-src-list"])]),(0,t._)("div",pe,[ce,(0,t._)("div",he,[(0,t._)("div",be,(0,i.zw)(e.bidName),1)])]),(0,t._)("div",ge,[we,(0,t._)("div",_e,[(0,t._)("div",ye,(0,i.zw)(e.imageType),1)])])])))),128))])])])]),(0,t._)("div",ke,[(0,t._)("div",ve,[Te,(0,t._)("div",fe,[(0,t.Wm)(aa,{subType:"8",subtitle:"新增班组提醒",tooltip:"“e基建”每日站班会班组长在该工程首次开站班会或班组长变更开站班会的班组数。",queryDetailUrl:"TeamAccess/teamList",onDialogShow:ea.dialogShow},null,8,["onDialogShow"])]),(0,t._)("div",De,[Ne,(0,t._)("div",je,[(0,t._)("div",{class:"item_text",onClick:a[11]||(a[11]=e=>ea.teamAddClick({workTime:this.dateNow}))},"今日"),(0,t._)("div",{class:"item_num wordcolor_green2",onClick:a[12]||(a[12]=e=>ea.teamAddClick({workTime:this.dateNow}))},(0,i.zw)(Xe.teamObj["todayCount"]||0),1),(0,t._)("div",{class:"item_num wordRight wordcolor_green2",onClick:a[13]||(a[13]=e=>ea.teamAddClick({workTime:this.dateYes}))},(0,i.zw)(Xe.teamObj["yesterdayCount"]||0),1),(0,t._)("div",{class:"item_text",onClick:a[14]||(a[14]=e=>ea.teamAddClick({workTime:this.dateYes}))},"昨日")])]),(0,t._)("div",We,[(0,t.Wm)(aa,{subType:"9",subtitle:"无施工班组提醒",tooltip:"“e基建”日计划、每日站班会昨日未报今日计划、已报计划未开站班会的班组数量。无计划指昨日未报日计划今日新增的临时计划。",queryDetailUrl:"DailyPlan/noWorkNoticeList",onDialogShow:ea.dialogShow,onSubRefresh:ea.subRefresh},null,8,["onDialogShow","onSubRefresh"])]),(0,t._)("div",xe,[(0,t._)("div",Ce,"显示数据统计截至 "+(0,i.zw)(Xe.refreshObj["refreshTime"]),1),(0,t._)("div",qe,[Ve,(0,t._)("div",{class:"box_item",onClick:a[15]||(a[15]=e=>ea.remindClick({workTime:Xe.dateNow,type:"1"}))},[(0,t._)("div",Fe,[(0,t._)("div",Ue,(0,i.zw)(Xe.refreshObj["todayNoPlan"]),1),Se])]),(0,t._)("div",{class:"box_item",onClick:a[16]||(a[16]=e=>ea.remindClick({workTime:Xe.dateYes,type:"1"}))},[(0,t._)("div",Oe,[(0,t._)("div",Pe,(0,i.zw)(Xe.refreshObj["yesterdayNoPlan"]),1),Le])])]),(0,t._)("div",Ye,[Re,(0,t._)("div",{class:"box_item",onClick:a[17]||(a[17]=e=>ea.remindClick({workTime:Xe.dateNow,type:"2"}))},[(0,t._)("div",ze,[(0,t._)("div",He,(0,i.zw)(Xe.refreshObj["todayPlanNoWork"]),1),$e])]),(0,t._)("div",{class:"box_item",onClick:a[18]||(a[18]=e=>ea.remindClick({workTime:Xe.dateYes,type:"2"}))},[(0,t._)("div",Ae,[(0,t._)("div",Me,(0,i.zw)(Xe.refreshObj["yesterdayPlanNoWork"]),1),Ee])])])]),(0,t._)("div",Ie,[(0,t.Wm)(aa,{subType:"10",subtitle:"评分星级最高班组TOP5",tooltip:"最新:按最近一次班组评价综合星级排名。综合:按班组多次评价平均星级排名。",queryDetailUrl:"/TeamAccess/teamEvaluateList",onDialogShow:ea.dialogShow,onNowAllClick:ea.nowAllClick},null,8,["onDialogShow","onNowAllClick"])]),(0,t._)("div",Ge,[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(Xe.scoreList1,((e,a)=>((0,t.wg)(),(0,t.iD)("div",{class:"score_box",key:a},[(0,t._)("div",Ke,(0,i.zw)(e.teamName)+"",1),(0,t.Wm)(oa,{modelValue:e.teamEvaluate,"onUpdate:modelValue":a=>e.teamEvaluate=a,class:"rate_h",disabled:"","disabled-void-color":"transparent"},null,8,["modelValue","onUpdate:modelValue"])])))),128))]),(0,t._)("div",Be,[(0,t.Wm)(aa,{subType:"11",subtitle:"评分星级最低班组TOP5",tooltip:"最新:按最近一次班组评价综合星级排名。综合:按班组多次评价平均星级排名。",queryDetailUrl:"/TeamAccess/teamEvaluateList",onDialogShow:ea.dialogShow,onNowAllClick:ea.nowAllClick},null,8,["onDialogShow","onNowAllClick"])]),(0,t._)("div",Qe,[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(Xe.scoreList2,((e,a)=>((0,t.wg)(),(0,t.iD)("div",{class:"score_box",key:a},[(0,t._)("div",Ze,(0,i.zw)(e.teamName)+"",1),(0,t.Wm)(oa,{modelValue:e.teamEvaluate,"onUpdate:modelValue":a=>e.teamEvaluate=a,class:"rate_l",disabled:"","disabled-void-color":"transparent"},null,8,["modelValue","onUpdate:modelValue"])])))),128))])])])]),Xe.dialogVisible?((0,t.wg)(),(0,t.j4)(ra,{key:0,dialogVisible:Xe.dialogVisible,dialogType:Xe.dialogType,dialogTitle:Xe.dialogTitle,dialogHeaderType:Xe.dialogHeaderType,headerObj:Xe.headerObj,queryDetailUrl:Xe.queryDetailUrl,queryDetailUrl2:e.queryDetailUrl2,onDialogClose:ea.dialogClose},null,8,["dialogVisible","dialogType","dialogTitle","dialogHeaderType","headerObj","queryDetailUrl","queryDetailUrl2","onDialogClose"])):(0,t.kq)("",!0)])}l(7658);const Xe={class:"echart",ref:"echartRef"};function ea(e,a,l,i,o,r){return(0,t.wg)(),(0,t.iD)("div",Xe,null,512)}var aa=l(6869),la={props:{riskObj:{required:!0,default:()=>{}}},watch:{riskObj(){this.initData()}},mounted(){this.initData()},methods:{initData(){this.initEcharts(this.riskObj)},initEcharts(e){const a={tooltip:{trigger:"axis"},legend:{data:["二级风险","三级风险"],textStyle:{color:"#1EA8FD",fontSize:"12px"}},grid:{left:"1%",right:"1%",bottom:"1%",top:"20%",containLabel:!0},xAxis:{type:"category",axisLabel:{show:!0,color:"#1EA8FD",fontSize:"12px",rotate:30},data:["周一","周二","周三","周四","周五","周六","周日"]},yAxis:{type:"value",min:0,minInterval:1,axisLabel:{show:!0,color:"#1EA8FD",fontSize:"12px"},splitLine:{lineStyle:{width:0,color:"#ccc",type:"dashed"}}},series:[{name:"二级风险",type:"line",data:e["twoRiskList"]},{name:"三级风险",type:"line",data:e["threeRiskList"]}]},l=aa.S1(this.$refs.echartRef);l.setOption(a),window.addEventListener("resize",(()=>{l.resize()})),l.on("click",function(e){this.$emit("echartsClick",e)}.bind(this))}}},ta=l(89);const ia=(0,ta.Z)(la,[["render",ea],["__scopeId","data-v-a0b10e76"]]);var oa=ia;const ra={class:"echart",ref:"echartRef"};function da(e,a,l,i,o,r){return(0,t.wg)(),(0,t.iD)("div",ra,null,512)}var sa={props:{personObj:{require:!0,default:()=>{}}},watch:{personObj(){this.initData()}},mounted(){this.initData()},methods:{initData(){this.initEcharts(this.personObj)},initEcharts(e){const a={tooltip:{trigger:"axis"},legend:{data:["今日","昨日"],textStyle:{color:"#1EA8FD",fontSize:"12px"}},grid:{left:"1%",right:"1%",bottom:"1%",top:"20%",containLabel:!0},xAxis:{type:"category",axisLabel:{show:!0,color:"#1EA8FD",fontSize:"12px"},data:["架空线路组塔班组","架空线路架线班组"]},yAxis:{type:"value",min:0,minInterval:1,axisLabel:{show:!0,color:"#1EA8FD",fontSize:"12px"},splitLine:{lineStyle:{width:0,color:"#ccc",type:"dashed"}}},series:[{name:"今日",type:"bar",barWidth:17,data:e["1"]},{name:"昨日",type:"bar",barWidth:17,data:e["2"]}]},l=aa.S1(this.$refs.echartRef);l.setOption(a),this.myChart=l,window.addEventListener("resize",(()=>{l.resize()})),l.on("click",function(e){this.$emit("echartsClick",e)}.bind(this))}}};const na=(0,ta.Z)(sa,[["render",da],["__scopeId","data-v-050cfae0"]]);var ma=na;const ua=e=>((0,t.dD)("data-v-5d244afc"),e=e(),(0,t.Cn)(),e),pa={class:"sub_header"},ca={class:"sub_title"},ha={key:0,class:"sub_text"},ba={class:"sub_more"},ga=ua((()=>(0,t._)("div",{class:"sub_particulars"},null,-1)));function wa(e,a,l,o,r,d){const s=(0,t.up)("el-tooltip");return(0,t.wg)(),(0,t.iD)("div",pa,[(0,t._)("div",ca,(0,i.zw)(l.subtitle),1),l.subtext?((0,t.wg)(),(0,t.iD)("div",ha,(0,i.zw)(l.subtext),1)):(0,t.kq)("",!0),(0,t._)("div",ba,["4"!==l.subType?((0,t.wg)(),(0,t.j4)(s,{key:0,effect:"light",placement:"bottom",content:l.tooltip},{default:(0,t.w5)((()=>[ga])),_:1},8,["content"])):(0,t.kq)("",!0),d.minShow?((0,t.wg)(),(0,t.iD)("div",{key:1,class:(0,i.C_)("1"===r.scoreType?"subbtn_active":"subbtn_normalize"),onClick:a[0]||(a[0]=e=>d.nowAllClick("1"))},"最新",2)):(0,t.kq)("",!0),d.minShow?((0,t.wg)(),(0,t.iD)("div",{key:2,class:(0,i.C_)("2"===r.scoreType?"subbtn_active":"subbtn_normalize"),onClick:a[1]||(a[1]=e=>d.nowAllClick("2"))},"综合",2)):(0,t.kq)("",!0),"9"===l.subType?((0,t.wg)(),(0,t.iD)("div",{key:3,class:"sub_btn sub_btn_min",onClick:a[2]||(a[2]=(...e)=>d.subRefresh&&d.subRefresh(...e))},"刷新")):(0,t.kq)("",!0),"2"!==l.subType?((0,t.wg)(),(0,t.iD)("div",{key:4,class:(0,i.C_)(["sub_btn",{sub_btn_min:d.minShow||"9"===l.subType}]),onClick:a[3]||(a[3]=(...e)=>d.dialogShow&&d.dialogShow(...e))},"更多",2)):(0,t.kq)("",!0)])])}var _a={props:{subType:{require:!0,default:""},subtitle:{require:!0,default:""},subtext:{default:""},tooltip:{default:""},queryDetailUrl:{require:!0,default:""},queryDetailUrl2:{require:!0,default:""}},data(){return{scoreType:"1"}},computed:{minShow(){return"10"===this.subType||"11"===this.subType}},methods:{nowAllClick(e){this.scoreType!==e&&(this.scoreType=e,this.$emit("nowAllClick",{dialogType:this.subType,scoreType:e}))},subRefresh(){this.$emit("subRefresh",this.subType)},dialogShow(){this.$emit("dialogShow",{dialogType:this.subType,dialogTitle:this.subtitle,dialogHeaderType:"0",queryDetailUrl:this.queryDetailUrl,queryDetailUrl2:this.queryDetailUrl2})}}};const ya=(0,ta.Z)(_a,[["render",wa],["__scopeId","data-v-5d244afc"]]);var ka=ya,va=l(9242);const Ta=e=>((0,t.dD)("data-v-5e1583bc"),e=e(),(0,t.Cn)(),e),fa={class:"dialog"},Da={class:"dialog_header"},Na={class:"dialog_title"},ja={key:0,class:"dialog_content"},Wa={class:"page_header"},xa={class:"page_content"},Ca={key:1,class:"dialog_content"},qa={class:"page_header"},Va={class:"page_content"},Fa={key:2,class:"dialog_content"},Ua={class:"page_header"},Sa={class:"page_content"},Oa={key:3,class:"dialog_content"},Pa={class:"page_header"},La={class:"page_content"},Ya={key:4,class:"dialog_content"},Ra={class:"page_header"},za={class:"page_content"},Ha={key:5,class:"dialog_content"},$a={class:"page_header"},Aa={class:"page_content"},Ma={key:0},Ea={key:1},Ia={key:6,class:"dialog_content"},Ga={class:"page_header"},Ka={class:"page_content"},Ba={class:"trouble_list"},Qa={class:"item_picture"},Za={class:"item_date"},Ja={class:"item_type"},Xa=Ta((()=>(0,t._)("div",{class:"name_text"},"送变电工程:",-1))),el={class:"trouble_text1"},al={class:"trouble_scrollbar1 wordColor_yellow"},ll={class:"item_type"},tl=Ta((()=>(0,t._)("div",{class:"type_text"},"违章类型:",-1))),il={class:"trouble_text2"},ol={class:"trouble_scrollbar2 wordColor_yellow"},rl={key:7,class:"dialog_content"},dl={class:"page_header"},sl={class:"page_content"},nl={key:8,class:"dialog_content"},ml={class:"page_header"},ul={class:"page_content"},pl={key:0},cl={key:1},hl={key:9,class:"dialog_content"},bl={class:"page_header"},gl={class:"page_content"},wl={key:10,class:"dialog_content"},_l={class:"page_header"},yl={class:"page_content"};function kl(e,a,o,r,d,s){const n=(0,t.up)("el-date-picker"),m=(0,t.up)("el-form-item"),u=(0,t.up)("el-option"),p=(0,t.up)("el-select"),c=(0,t.up)("el-input"),h=(0,t.up)("el-button"),b=(0,t.up)("el-form"),g=(0,t.up)("el-table-column"),w=(0,t.up)("el-link"),_=(0,t.up)("el-table"),y=(0,t.up)("el-image"),k=(0,t.up)("el-scrollbar"),v=(0,t.up)("el-rate"),T=(0,t.up)("TablePage"),f=(0,t.up)("Video"),D=(0,t.Q2)("loading");return(0,t.wg)(),(0,t.iD)("div",fa,[(0,t._)("div",{class:"dialog_box",onClick:a[59]||(a[59]=(0,va.iM)((()=>{}),["stop"]))},[(0,t._)("div",Da,[(0,t._)("div",Na,(0,i.zw)(o.dialogTitle),1),(0,t._)("div",{class:"dialog_close",onClick:a[0]||(a[0]=(...e)=>s.dialogClose&&s.dialogClose(...e))})]),"1"===o.dialogType?((0,t.wg)(),(0,t.iD)("div",ja,[(0,t._)("div",Wa,[(0,t.Wm)(b,{inline:!0,model:d.headerForm,ref:"headerFormRef"},{default:(0,t.w5)((()=>[(0,t.Wm)(m,{label:"日期:",prop:"workTime"},{default:(0,t.w5)((()=>[(0,t.Wm)(n,{modelValue:d.headerForm.workTime,"onUpdate:modelValue":a[1]||(a[1]=e=>d.headerForm.workTime=e),"value-format":"YYYY-MM-DD"},null,8,["modelValue"])])),_:1}),(0,t.Wm)(m,{label:"建管单位:",prop:"buildNo"},{default:(0,t.w5)((()=>[(0,t.Wm)(p,{modelValue:d.headerForm.buildNo,"onUpdate:modelValue":a[2]||(a[2]=e=>d.headerForm.buildNo=e),filterable:""},{default:(0,t.w5)((()=>[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(d.buildList,((e,a)=>((0,t.wg)(),(0,t.j4)(u,{key:a,label:e.jgName,value:e.buildNo},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])),_:1}),(0,t.Wm)(m,{label:"工程名称:",prop:"bidName"},{default:(0,t.w5)((()=>[(0,t.Wm)(c,{modelValue:d.headerForm.bidName,"onUpdate:modelValue":a[3]||(a[3]=e=>d.headerForm.bidName=e),onBlur:a[4]||(a[4]=()=>d.headerForm.bidName=e.$filters.checkStr(d.headerForm.bidName))},null,8,["modelValue"])])),_:1}),"0"===o.dialogHeaderType?((0,t.wg)(),(0,t.j4)(m,{key:0,label:"类型:",prop:"changeType"},{default:(0,t.w5)((()=>[(0,t.Wm)(p,{modelValue:d.headerForm.changeType,"onUpdate:modelValue":a[5]||(a[5]=e=>d.headerForm.changeType=e)},{default:(0,t.w5)((()=>[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(d.staticData1,((e,a)=>((0,t.wg)(),(0,t.j4)(u,{key:a,label:e.text,value:e.value},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])),_:1})):(0,t.kq)("",!0),(0,t.Wm)(m,null,{default:(0,t.w5)((()=>[(0,t.Wm)(h,{type:"primary",onClick:s.handleSearch},{default:(0,t.w5)((()=>[(0,t.Uk)("查询")])),_:1},8,["onClick"]),(0,t.Wm)(h,{type:"warning",onClick:a[6]||(a[6]=e=>s.handleReset("headerFormRef"))},{default:(0,t.w5)((()=>[(0,t.Uk)("重置")])),_:1})])),_:1})])),_:1},8,["model"])]),(0,t._)("div",xa,[(0,t.wy)(((0,t.wg)(),(0,t.j4)(_,{data:d.tableData,height:d.tableHeight,"header-cell-style":{"text-align":"center",border:"0"},"cell-style":{"text-align":"center",border:"0",background:"transparent"}},{default:(0,t.w5)((()=>[(0,t.Wm)(g,{prop:"numIndex",label:"序号",width:"60"}),(0,t.Wm)(g,{prop:"workTime",label:"日期"}),(0,t.Wm)(g,{prop:"buildUnit",label:"建管单位"}),(0,t.Wm)(g,{prop:"bidName",label:"工程名称"}),(0,t.Wm)(g,{prop:"teamName",label:"班组名称"}),"1"===d.planType?((0,t.wg)(),(0,t.j4)(g,{key:0,prop:"yesWorkType",label:"昨日作业类型"})):(0,t.kq)("",!0),"1"===d.planType?((0,t.wg)(),(0,t.j4)(g,{key:1,prop:"workType",label:"今日作业类型"})):(0,t.kq)("",!0),"2"===d.planType?((0,t.wg)(),(0,t.j4)(g,{key:2,prop:"yesWorkGx",label:"昨日作业工序"})):(0,t.kq)("",!0),"2"===d.planType?((0,t.wg)(),(0,t.j4)(g,{key:3,prop:"workGx",label:"今日作业工序"})):(0,t.kq)("",!0),(0,t.Wm)(g,{label:"查看监控"},{default:(0,t.w5)((e=>[e.row.puId?((0,t.wg)(),(0,t.j4)(w,{key:0,type:"warning",onClick:a=>s.handleRead(e.row)},{default:(0,t.w5)((()=>[(0,t.Uk)("查看")])),_:2},1032,["onClick"])):(0,t.kq)("",!0)])),_:1})])),_:1},8,["data","height"])),[[D,d.tableLoading]])])])):(0,t.kq)("",!0),"2"===o.dialogType?((0,t.wg)(),(0,t.iD)("div",Ca,[(0,t._)("div",qa,[(0,t.Wm)(b,{inline:!0,model:d.headerForm,ref:"headerFormRef"},{default:(0,t.w5)((()=>[(0,t.Wm)(m,{label:"日期:",prop:"workTime"},{default:(0,t.w5)((()=>[(0,t.Wm)(n,{modelValue:d.headerForm.workTime,"onUpdate:modelValue":a[7]||(a[7]=e=>d.headerForm.workTime=e),"value-format":"YYYY-MM-DD","disabled-date":s.disabledDate},null,8,["modelValue","disabled-date"])])),_:1}),(0,t.Wm)(m,{label:"建管单位:",prop:"buildNo"},{default:(0,t.w5)((()=>[(0,t.Wm)(p,{modelValue:d.headerForm.buildNo,"onUpdate:modelValue":a[8]||(a[8]=e=>d.headerForm.buildNo=e),filterable:""},{default:(0,t.w5)((()=>[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(d.buildList,((e,a)=>((0,t.wg)(),(0,t.j4)(u,{key:a,label:e.jgName,value:e.buildNo},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])),_:1}),(0,t.Wm)(m,{label:"工程名称:",prop:"bidName"},{default:(0,t.w5)((()=>[(0,t.Wm)(c,{modelValue:d.headerForm.bidName,"onUpdate:modelValue":a[9]||(a[9]=e=>d.headerForm.bidName=e),onBlur:a[10]||(a[10]=()=>d.headerForm.bidName=e.$filters.checkStr(d.headerForm.bidName))},null,8,["modelValue"])])),_:1}),"0"===o.dialogHeaderType?((0,t.wg)(),(0,t.j4)(m,{key:0,label:"风险等级:",prop:"riskLevel"},{default:(0,t.w5)((()=>[(0,t.Wm)(p,{modelValue:d.headerForm.riskLevel,"onUpdate:modelValue":a[11]||(a[11]=e=>d.headerForm.riskLevel=e)},{default:(0,t.w5)((()=>[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(d.staticData2,((e,a)=>((0,t.wg)(),(0,t.j4)(u,{key:a,label:e.text,value:e.value},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])),_:1})):(0,t.kq)("",!0),(0,t.Wm)(m,null,{default:(0,t.w5)((()=>[(0,t.Wm)(h,{type:"primary",onClick:s.handleSearch},{default:(0,t.w5)((()=>[(0,t.Uk)("查询")])),_:1},8,["onClick"]),(0,t.Wm)(h,{type:"warning",onClick:a[12]||(a[12]=e=>s.handleReset("headerFormRef"))},{default:(0,t.w5)((()=>[(0,t.Uk)("重置")])),_:1})])),_:1})])),_:1},8,["model"])]),(0,t._)("div",Va,[(0,t.wy)(((0,t.wg)(),(0,t.j4)(_,{data:d.tableData,height:d.tableHeight,"header-cell-style":{"text-align":"center",border:"0"},"cell-style":{"text-align":"center",border:"0",background:"transparent"}},{default:(0,t.w5)((()=>[(0,t.Wm)(g,{prop:"numIndex",label:"序号",width:"60"}),(0,t.Wm)(g,{prop:"workTime",label:"日期",width:"100"}),(0,t.Wm)(g,{prop:"buildUnit",label:"建管单位"}),(0,t.Wm)(g,{prop:"bidName",label:"工程名称"}),(0,t.Wm)(g,{prop:"teamName",label:"班组名称"}),(0,t.Wm)(g,{prop:"riskLevel",label:"风险等级"}),(0,t.Wm)(g,{prop:"workContent",label:"作业内容"})])),_:1},8,["data","height"])),[[D,d.tableLoading]])])])):(0,t.kq)("",!0),"3"===o.dialogType?((0,t.wg)(),(0,t.iD)("div",Fa,[(0,t._)("div",Ua,[(0,t.Wm)(b,{inline:!0,model:d.headerForm,ref:"headerFormRef"},{default:(0,t.w5)((()=>[(0,t.Wm)(m,{label:"日期:",prop:"workTime"},{default:(0,t.w5)((()=>[(0,t.Wm)(n,{modelValue:d.headerForm.workTime,"onUpdate:modelValue":a[13]||(a[13]=e=>d.headerForm.workTime=e),"value-format":"YYYY-MM-DD"},null,8,["modelValue"])])),_:1}),(0,t.Wm)(m,{label:"建管单位:",prop:"buildNo"},{default:(0,t.w5)((()=>[(0,t.Wm)(p,{modelValue:d.headerForm.buildNo,"onUpdate:modelValue":a[14]||(a[14]=e=>d.headerForm.buildNo=e),filterable:""},{default:(0,t.w5)((()=>[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(d.buildList,((e,a)=>((0,t.wg)(),(0,t.j4)(u,{key:a,label:e.jgName,value:e.buildNo},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])),_:1}),(0,t.Wm)(m,{label:"工程名称:",prop:"bidName"},{default:(0,t.w5)((()=>[(0,t.Wm)(c,{modelValue:d.headerForm.bidName,"onUpdate:modelValue":a[15]||(a[15]=e=>d.headerForm.bidName=e),onBlur:a[16]||(a[16]=()=>d.headerForm.bidName=e.$filters.checkStr(d.headerForm.bidName))},null,8,["modelValue"])])),_:1}),(0,t.Wm)(m,null,{default:(0,t.w5)((()=>[(0,t.Wm)(h,{type:"primary",onClick:s.handleSearch},{default:(0,t.w5)((()=>[(0,t.Uk)("查询")])),_:1},8,["onClick"]),(0,t.Wm)(h,{type:"warning",onClick:a[17]||(a[17]=e=>s.handleReset("headerFormRef"))},{default:(0,t.w5)((()=>[(0,t.Uk)("重置")])),_:1})])),_:1})])),_:1},8,["model"])]),(0,t._)("div",Sa,[(0,t.wy)(((0,t.wg)(),(0,t.j4)(_,{data:d.tableData,height:d.tableHeight,"header-cell-style":{"text-align":"center",border:"0"},"cell-style":{"text-align":"center",border:"0",background:"transparent"}},{default:(0,t.w5)((()=>[(0,t.Wm)(g,{prop:"numIndex",label:"序号",width:"60"}),(0,t.Wm)(g,{prop:"workTime",label:"日期"}),(0,t.Wm)(g,{prop:"buildUnit",label:"建管单位"}),(0,t.Wm)(g,{prop:"bidName",label:"工程名称"}),(0,t.Wm)(g,{prop:"voltage",label:"电压等级"}),(0,t.Wm)(g,{prop:"teamName",label:"班组名称"}),(0,t.Wm)(g,{prop:"yqNum",label:"要求人数"}),(0,t.Wm)(g,{prop:"num",label:"实际人数"})])),_:1},8,["data","height"])),[[D,d.tableLoading]])])])):(0,t.kq)("",!0),"4"===o.dialogType?((0,t.wg)(),(0,t.iD)("div",Oa,[(0,t._)("div",Pa,[(0,t.Wm)(b,{inline:!0,model:d.headerForm,ref:"headerFormRef"},{default:(0,t.w5)((()=>[(0,t.Wm)(m,{label:"日期:",prop:"currentDay"},{default:(0,t.w5)((()=>[(0,t.Wm)(n,{modelValue:d.headerForm.currentDay,"onUpdate:modelValue":a[18]||(a[18]=e=>d.headerForm.currentDay=e),"value-format":"YYYY-MM-DD"},null,8,["modelValue"])])),_:1}),(0,t.Wm)(m,null,{default:(0,t.w5)((()=>[(0,t.Wm)(h,{type:"primary",onClick:s.handleSearch},{default:(0,t.w5)((()=>[(0,t.Uk)("查询")])),_:1},8,["onClick"]),(0,t.Wm)(h,{type:"warning",onClick:a[19]||(a[19]=e=>s.handleReset("headerFormRef"))},{default:(0,t.w5)((()=>[(0,t.Uk)("重置")])),_:1})])),_:1})])),_:1},8,["model"])]),(0,t._)("div",La,[(0,t.wy)(((0,t.wg)(),(0,t.j4)(_,{data:d.tableData,height:d.tableHeight,"header-cell-style":{"text-align":"center",border:"0"},"cell-style":{"text-align":"center",border:"0",background:"transparent"}},{default:(0,t.w5)((()=>[(0,t.Wm)(g,{prop:"numIndex",label:"序号",width:"60"}),(0,t.Wm)(g,{prop:"currentDay",label:"日期",width:"100"}),(0,t.Wm)(g,{prop:"content",label:"告警信息"})])),_:1},8,["data","height"])),[[D,d.tableLoading]])])])):(0,t.kq)("",!0),"5"===o.dialogType?((0,t.wg)(),(0,t.iD)("div",Ya,[(0,t._)("div",Ra,[(0,t.Wm)(b,{inline:!0,model:d.headerForm,ref:"headerFormRef"},{default:(0,t.w5)((()=>[(0,t.Wm)(m,{label:"日期:",prop:"workTime"},{default:(0,t.w5)((()=>[(0,t.Wm)(n,{modelValue:d.headerForm.workTime,"onUpdate:modelValue":a[20]||(a[20]=e=>d.headerForm.workTime=e),"value-format":"YYYY-MM-DD"},null,8,["modelValue"])])),_:1}),(0,t.Wm)(m,{label:"建管单位:",prop:"buildNo"},{default:(0,t.w5)((()=>[(0,t.Wm)(p,{modelValue:d.headerForm.buildNo,"onUpdate:modelValue":a[21]||(a[21]=e=>d.headerForm.buildNo=e),filterable:""},{default:(0,t.w5)((()=>[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(d.buildList,((e,a)=>((0,t.wg)(),(0,t.j4)(u,{key:a,label:e.jgName,value:e.buildNo},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])),_:1}),(0,t.Wm)(m,{label:"工程名称:",prop:"bidName"},{default:(0,t.w5)((()=>[(0,t.Wm)(c,{modelValue:d.headerForm.bidName,"onUpdate:modelValue":a[22]||(a[22]=e=>d.headerForm.bidName=e),onBlur:a[23]||(a[23]=()=>d.headerForm.bidName=e.$filters.checkStr(d.headerForm.bidName))},null,8,["modelValue"])])),_:1}),"0"===o.dialogHeaderType?((0,t.wg)(),(0,t.j4)(m,{key:0,label:"关键点措施:",prop:"imageType"},{default:(0,t.w5)((()=>[(0,t.Wm)(p,{modelValue:d.headerForm.imageType,"onUpdate:modelValue":a[24]||(a[24]=e=>d.headerForm.imageType=e)},{default:(0,t.w5)((()=>[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(d.staticData5,((e,a)=>((0,t.wg)(),(0,t.j4)(u,{key:a,label:e.text,value:e.value},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])),_:1})):(0,t.kq)("",!0),(0,t.Wm)(m,null,{default:(0,t.w5)((()=>[(0,t.Wm)(h,{type:"primary",onClick:s.handleSearch},{default:(0,t.w5)((()=>[(0,t.Uk)("查询")])),_:1},8,["onClick"]),(0,t.Wm)(h,{type:"warning",onClick:a[25]||(a[25]=e=>s.handleReset("headerFormRef"))},{default:(0,t.w5)((()=>[(0,t.Uk)("重置")])),_:1})])),_:1})])),_:1},8,["model"])]),(0,t._)("div",za,[(0,t.wy)(((0,t.wg)(),(0,t.j4)(_,{data:d.tableData,height:d.tableHeight,"header-cell-style":{"text-align":"center",border:"0"},"cell-style":{"text-align":"center",border:"0",background:"transparent"}},{default:(0,t.w5)((()=>[(0,t.Wm)(g,{prop:"numIndex",label:"序号",width:"60"}),(0,t.Wm)(g,{prop:"workTime",label:"日期"}),(0,t.Wm)(g,{prop:"buildUnit",label:"建管单位"}),(0,t.Wm)(g,{prop:"bidName",label:"工程名称"}),(0,t.Wm)(g,{prop:"teamName",label:"班组名称"}),(0,t.Wm)(g,{label:"关键点措施"},{default:(0,t.w5)((e=>[(0,t._)("div",null,(0,i.zw)(d.staticData5[e.row.imageType-1]["text"]),1)])),_:1}),(0,t.Wm)(g,{prop:"shouldImage",label:"应传照片数"}),(0,t.Wm)(g,{prop:"actualImage",label:"实际上传照片数"})])),_:1},8,["data","height"])),[[D,d.tableLoading]])])])):(0,t.kq)("",!0),"6"===o.dialogType?((0,t.wg)(),(0,t.iD)("div",Ha,[(0,t._)("div",$a,[(0,t.Wm)(b,{inline:!0,model:d.headerForm,ref:"headerFormRef"},{default:(0,t.w5)((()=>[(0,t.Wm)(m,{label:"建管单位:",prop:"buildNo"},{default:(0,t.w5)((()=>[(0,t.Wm)(p,{modelValue:d.headerForm.buildNo,"onUpdate:modelValue":a[26]||(a[26]=e=>d.headerForm.buildNo=e),filterable:""},{default:(0,t.w5)((()=>[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(d.buildList,((e,a)=>((0,t.wg)(),(0,t.j4)(u,{key:a,label:e.jgName,value:e.buildNo},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])),_:1}),(0,t.Wm)(m,{label:"工程名称:",prop:"bidName"},{default:(0,t.w5)((()=>[(0,t.Wm)(c,{modelValue:d.headerForm.bidName,"onUpdate:modelValue":a[27]||(a[27]=e=>d.headerForm.bidName=e),onBlur:a[28]||(a[28]=()=>d.headerForm.bidName=e.$filters.checkStr(d.headerForm.bidName))},null,8,["modelValue"])])),_:1}),"0"===o.dialogHeaderType?((0,t.wg)(),(0,t.j4)(m,{key:0,label:"异常状态:",prop:"type"},{default:(0,t.w5)((()=>[(0,t.Wm)(p,{modelValue:d.headerForm.type,"onUpdate:modelValue":a[29]||(a[29]=e=>d.headerForm.type=e)},{default:(0,t.w5)((()=>[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(d.staticData6,((e,a)=>((0,t.wg)(),(0,t.j4)(u,{key:a,label:e.text,value:e.value},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])),_:1})):(0,t.kq)("",!0),(0,t.Wm)(m,null,{default:(0,t.w5)((()=>[(0,t.Wm)(h,{type:"primary",onClick:s.handleSearch},{default:(0,t.w5)((()=>[(0,t.Uk)("查询")])),_:1},8,["onClick"]),(0,t.Wm)(h,{type:"warning",onClick:a[30]||(a[30]=e=>s.handleReset("headerFormRef"))},{default:(0,t.w5)((()=>[(0,t.Uk)("重置")])),_:1})])),_:1})])),_:1},8,["model"])]),(0,t._)("div",Aa,[(0,t.wy)(((0,t.wg)(),(0,t.j4)(_,{data:d.tableData,height:d.tableHeight,"header-cell-style":{"text-align":"center",border:"0"},"cell-style":{"text-align":"center",border:"0",background:"transparent"}},{default:(0,t.w5)((()=>[(0,t.Wm)(g,{prop:"numIndex",label:"序号",width:"60"}),(0,t.Wm)(g,{prop:"buildUnit",label:"建管单位"}),(0,t.Wm)(g,{prop:"projectName",label:"工程名称"}),(0,t.Wm)(g,{prop:"teamName",label:"班组名称"}),(0,t.Wm)(g,{prop:"teamLeaderName",label:"班组长姓名"}),(0,t.Wm)(g,{prop:"type",label:"异常状态"},{default:(0,t.w5)((e=>["1"===e.row.type?((0,t.wg)(),(0,t.iD)("div",Ma,"异常掉线")):(0,t.kq)("",!0),"2"===e.row.type?((0,t.wg)(),(0,t.iD)("div",Ea,"信号弱")):(0,t.kq)("",!0)])),_:1})])),_:1},8,["data","height"])),[[D,d.tableLoading]])])])):(0,t.kq)("",!0),"7"===o.dialogType?((0,t.wg)(),(0,t.iD)("div",Ia,[(0,t._)("div",Ga,[(0,t.Wm)(b,{inline:!0,model:d.headerForm,ref:"headerFormRef"},{default:(0,t.w5)((()=>[(0,t.Wm)(m,{label:"日期:",prop:"workTime"},{default:(0,t.w5)((()=>[(0,t.Wm)(n,{modelValue:d.headerForm.workTime,"onUpdate:modelValue":a[31]||(a[31]=e=>d.headerForm.workTime=e),"value-format":"YYYY-MM-DD"},null,8,["modelValue"])])),_:1}),(0,t.Wm)(m,{label:"建管单位:",prop:"buildNo"},{default:(0,t.w5)((()=>[(0,t.Wm)(p,{modelValue:d.headerForm.buildNo,"onUpdate:modelValue":a[32]||(a[32]=e=>d.headerForm.buildNo=e),filterable:""},{default:(0,t.w5)((()=>[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(d.buildList,((e,a)=>((0,t.wg)(),(0,t.j4)(u,{key:a,label:e.jgName,value:e.buildNo},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])),_:1}),(0,t.Wm)(m,{label:"工程名称:",prop:"bidName"},{default:(0,t.w5)((()=>[(0,t.Wm)(c,{modelValue:d.headerForm.bidName,"onUpdate:modelValue":a[33]||(a[33]=e=>d.headerForm.bidName=e),onBlur:a[34]||(a[34]=()=>d.headerForm.bidName=e.$filters.checkStr(d.headerForm.bidName))},null,8,["modelValue"])])),_:1}),"0"===o.dialogHeaderType?((0,t.wg)(),(0,t.j4)(m,{key:0,label:"违章类型:",prop:"imageType"},{default:(0,t.w5)((()=>[(0,t.Wm)(c,{modelValue:d.headerForm.imageType,"onUpdate:modelValue":a[35]||(a[35]=e=>d.headerForm.imageType=e),onBlur:a[36]||(a[36]=()=>d.headerForm.imageType=e.$filters.checkStr(d.headerForm.imageType))},null,8,["modelValue"])])),_:1})):(0,t.kq)("",!0),(0,t.Wm)(m,null,{default:(0,t.w5)((()=>[(0,t.Wm)(h,{type:"primary",onClick:s.handleSearch},{default:(0,t.w5)((()=>[(0,t.Uk)("查询")])),_:1},8,["onClick"]),(0,t.Wm)(h,{type:"warning",onClick:a[37]||(a[37]=e=>s.handleReset("headerFormRef"))},{default:(0,t.w5)((()=>[(0,t.Uk)("重置")])),_:1})])),_:1})])),_:1},8,["model"])]),(0,t._)("div",Ka,[(0,t.Wm)(k,null,{default:(0,t.w5)((()=>[(0,t._)("div",Ba,[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(d.tableData,((e,a)=>((0,t.wg)(),(0,t.iD)("div",{class:"trouble_item",key:a},[(0,t._)("div",Qa,[(0,t._)("div",Za,"识别日期:"+(0,i.zw)(e.workTime),1),(0,t.Wm)(y,{class:"item_img",src:l(5462),"zoom-rate":1.2,"preview-src-list":[l(5462)],fit:"cover"},null,8,["src","zoom-rate","preview-src-list"])]),(0,t._)("div",Ja,[Xa,(0,t._)("div",el,[(0,t._)("div",al,(0,i.zw)(e.bidName),1)])]),(0,t._)("div",ll,[tl,(0,t._)("div",il,[(0,t._)("div",ol,(0,i.zw)(e.imageType),1)])])])))),128))])])),_:1})])])):(0,t.kq)("",!0),"8"===o.dialogType?((0,t.wg)(),(0,t.iD)("div",rl,[(0,t._)("div",dl,[(0,t.Wm)(b,{inline:!0,model:d.headerForm,ref:"headerFormRef"},{default:(0,t.w5)((()=>[(0,t.Wm)(m,{label:"日期:",prop:"queryDate"},{default:(0,t.w5)((()=>[(0,t.Wm)(n,{modelValue:d.headerForm.queryDate,"onUpdate:modelValue":a[38]||(a[38]=e=>d.headerForm.queryDate=e),"value-format":"YYYY-MM-DD"},null,8,["modelValue"])])),_:1}),(0,t.Wm)(m,{label:"建管单位:",prop:"buildNo"},{default:(0,t.w5)((()=>[(0,t.Wm)(p,{modelValue:d.headerForm.buildNo,"onUpdate:modelValue":a[39]||(a[39]=e=>d.headerForm.buildNo=e),filterable:""},{default:(0,t.w5)((()=>[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(d.buildList,((e,a)=>((0,t.wg)(),(0,t.j4)(u,{key:a,label:e.jgName,value:e.buildNo},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])),_:1}),(0,t.Wm)(m,{label:"工程名称:",prop:"projectName"},{default:(0,t.w5)((()=>[(0,t.Wm)(c,{modelValue:d.headerForm.projectName,"onUpdate:modelValue":a[40]||(a[40]=e=>d.headerForm.projectName=e),onBlur:a[41]||(a[41]=()=>d.headerForm.projectName=e.$filters.checkStr(d.headerForm.projectName))},null,8,["modelValue"])])),_:1}),(0,t.Wm)(m,null,{default:(0,t.w5)((()=>[(0,t.Wm)(h,{type:"primary",onClick:s.handleSearch},{default:(0,t.w5)((()=>[(0,t.Uk)("查询")])),_:1},8,["onClick"]),(0,t.Wm)(h,{type:"warning",onClick:a[42]||(a[42]=e=>s.handleReset("headerFormRef"))},{default:(0,t.w5)((()=>[(0,t.Uk)("重置")])),_:1})])),_:1})])),_:1},8,["model"])]),(0,t._)("div",sl,[(0,t.wy)(((0,t.wg)(),(0,t.j4)(_,{data:d.tableData,height:d.tableHeight,"header-cell-style":{"text-align":"center",border:"0"},"cell-style":{"text-align":"center",border:"0",background:"transparent"}},{default:(0,t.w5)((()=>[(0,t.Wm)(g,{prop:"numIndex",label:"序号",width:"60"}),(0,t.Wm)(g,{prop:"dateTime",label:"日期"}),(0,t.Wm)(g,{prop:"buildUnit",label:"建管单位"}),(0,t.Wm)(g,{prop:"projectName",label:"工程名称"}),(0,t.Wm)(g,{prop:"teamName",label:"班组名称"}),(0,t.Wm)(g,{prop:"workContent",label:"作业内容"}),(0,t.Wm)(g,{prop:"createTime",label:"班组创建/变更日期"})])),_:1},8,["data","height"])),[[D,d.tableLoading]])])])):(0,t.kq)("",!0),"9"===o.dialogType?((0,t.wg)(),(0,t.iD)("div",nl,[(0,t._)("div",ml,[(0,t.Wm)(b,{inline:!0,model:d.headerForm,ref:"headerFormRef"},{default:(0,t.w5)((()=>[(0,t.Wm)(m,{label:"日期:",prop:"queryDate"},{default:(0,t.w5)((()=>[(0,t.Wm)(n,{modelValue:d.headerForm.queryDate,"onUpdate:modelValue":a[43]||(a[43]=e=>d.headerForm.queryDate=e),"value-format":"YYYY-MM-DD"},null,8,["modelValue"])])),_:1}),(0,t.Wm)(m,{label:"建管单位:",prop:"buildUnit"},{default:(0,t.w5)((()=>[(0,t.Wm)(p,{modelValue:d.headerForm.buildUnit,"onUpdate:modelValue":a[44]||(a[44]=e=>d.headerForm.buildUnit=e),filterable:""},{default:(0,t.w5)((()=>[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(d.buildList,((e,a)=>((0,t.wg)(),(0,t.j4)(u,{key:a,label:e.jgName,value:e.buildNo},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])),_:1}),(0,t.Wm)(m,{label:"工程名称:",prop:"projectName"},{default:(0,t.w5)((()=>[(0,t.Wm)(c,{modelValue:d.headerForm.projectName,"onUpdate:modelValue":a[45]||(a[45]=e=>d.headerForm.projectName=e),onBlur:a[46]||(a[46]=()=>d.headerForm.projectName=e.$filters.checkStr(d.headerForm.projectName))},null,8,["modelValue"])])),_:1}),"0"===o.dialogHeaderType?((0,t.wg)(),(0,t.j4)(m,{key:0,label:"有无计划:",prop:"type"},{default:(0,t.w5)((()=>[(0,t.Wm)(p,{modelValue:d.headerForm.type,"onUpdate:modelValue":a[47]||(a[47]=e=>d.headerForm.type=e)},{default:(0,t.w5)((()=>[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(d.staticData9,((e,a)=>((0,t.wg)(),(0,t.j4)(u,{key:a,label:e.text,value:e.value},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])),_:1})):(0,t.kq)("",!0),(0,t.Wm)(m,null,{default:(0,t.w5)((()=>[(0,t.Wm)(h,{type:"primary",onClick:s.handleSearch},{default:(0,t.w5)((()=>[(0,t.Uk)("查询")])),_:1},8,["onClick"]),(0,t.Wm)(h,{type:"warning",onClick:a[48]||(a[48]=e=>s.handleReset("headerFormRef"))},{default:(0,t.w5)((()=>[(0,t.Uk)("重置")])),_:1})])),_:1})])),_:1},8,["model"])]),(0,t._)("div",ul,[(0,t.wy)(((0,t.wg)(),(0,t.j4)(_,{data:d.tableData,height:d.tableHeight,"header-cell-style":{"text-align":"center",border:"0"},"cell-style":{"text-align":"center",border:"0",background:"transparent"}},{default:(0,t.w5)((()=>[(0,t.Wm)(g,{prop:"numIndex",label:"序号",width:"60"}),(0,t.Wm)(g,{label:"有无计划"},{default:(0,t.w5)((e=>["1"===e.row.plan?((0,t.wg)(),(0,t.iD)("div",pl,"有计划未作业")):((0,t.wg)(),(0,t.iD)("div",cl,"未报计划"))])),_:1}),(0,t.Wm)(g,{prop:"workDate",label:"日期"}),(0,t.Wm)(g,{prop:"buildUnit",label:"建管单位"}),(0,t.Wm)(g,{prop:"projectName",label:"工程名称"}),(0,t.Wm)(g,{prop:"teamName",label:"班组名称"}),(0,t.Wm)(g,{prop:"teamLeaderName",label:"班组长姓名"})])),_:1},8,["data","height"])),[[D,d.tableLoading]])])])):(0,t.kq)("",!0),"10"===o.dialogType?((0,t.wg)(),(0,t.iD)("div",hl,[(0,t._)("div",bl,[(0,t.Wm)(b,{inline:!0,model:d.headerForm,ref:"headerFormRef"},{default:(0,t.w5)((()=>[(0,t.Wm)(m,{label:"日期:",prop:"queryDate"},{default:(0,t.w5)((()=>[(0,t.Wm)(n,{modelValue:d.headerForm.queryDate,"onUpdate:modelValue":a[49]||(a[49]=e=>d.headerForm.queryDate=e),"value-format":"YYYY-MM-DD"},null,8,["modelValue"])])),_:1}),(0,t.Wm)(m,{label:"建管单位:",prop:"buildNo"},{default:(0,t.w5)((()=>[(0,t.Wm)(p,{modelValue:d.headerForm.buildNo,"onUpdate:modelValue":a[50]||(a[50]=e=>d.headerForm.buildNo=e),filterable:""},{default:(0,t.w5)((()=>[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(d.buildList,((e,a)=>((0,t.wg)(),(0,t.j4)(u,{key:a,label:e.jgName,value:e.buildNo},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])),_:1}),(0,t.Wm)(m,{label:"工程名称:",prop:"projectName"},{default:(0,t.w5)((()=>[(0,t.Wm)(c,{modelValue:d.headerForm.projectName,"onUpdate:modelValue":a[51]||(a[51]=e=>d.headerForm.projectName=e),onBlur:a[52]||(a[52]=()=>d.headerForm.projectName=e.$filters.checkStr(d.headerForm.projectName))},null,8,["modelValue"])])),_:1}),(0,t.Wm)(m,null,{default:(0,t.w5)((()=>[(0,t.Wm)(h,{type:"primary",onClick:s.handleSearch},{default:(0,t.w5)((()=>[(0,t.Uk)("查询")])),_:1},8,["onClick"]),(0,t.Wm)(h,{type:"warning",onClick:a[53]||(a[53]=e=>s.handleReset("headerFormRef"))},{default:(0,t.w5)((()=>[(0,t.Uk)("重置")])),_:1})])),_:1})])),_:1},8,["model"])]),(0,t._)("div",gl,[(0,t.wy)(((0,t.wg)(),(0,t.j4)(_,{data:d.tableData,height:d.tableHeight,"header-cell-style":{"text-align":"center",border:"0"},"cell-style":{"text-align":"center",border:"0",background:"transparent"}},{default:(0,t.w5)((()=>[(0,t.Wm)(g,{prop:"numIndex",label:"序号",width:"60"}),(0,t.Wm)(g,{prop:"evaluateTime",label:"日期"},{default:(0,t.w5)((a=>[(0,t._)("div",null,(0,i.zw)(e.$filters.dateFormat(a.row.evaluateTime)),1)])),_:1}),(0,t.Wm)(g,{prop:"buildUnit",label:"建管单位"}),(0,t.Wm)(g,{prop:"projectName",label:"工程名称"}),(0,t.Wm)(g,{prop:"teamName",label:"班组名称"}),(0,t.Wm)(g,{label:"评价星级"},{default:(0,t.w5)((e=>[(0,t.Wm)(v,{modelValue:e.row.evaluateStar,"onUpdate:modelValue":a=>e.row.evaluateStar=a,class:"rate_h",disabled:"","disabled-void-color":"transparent"},null,8,["modelValue","onUpdate:modelValue"])])),_:1}),(0,t.Wm)(g,{prop:"evaluateTime",label:"评价时间"})])),_:1},8,["data","height"])),[[D,d.tableLoading]])])])):(0,t.kq)("",!0),"11"===o.dialogType?((0,t.wg)(),(0,t.iD)("div",wl,[(0,t._)("div",_l,[(0,t.Wm)(b,{inline:!0,model:d.headerForm,ref:"headerFormRef"},{default:(0,t.w5)((()=>[(0,t.Wm)(m,{label:"日期:",prop:"queryDate"},{default:(0,t.w5)((()=>[(0,t.Wm)(n,{modelValue:d.headerForm.queryDate,"onUpdate:modelValue":a[54]||(a[54]=e=>d.headerForm.queryDate=e),"value-format":"YYYY-MM-DD"},null,8,["modelValue"])])),_:1}),(0,t.Wm)(m,{label:"建管单位:",prop:"buildNo"},{default:(0,t.w5)((()=>[(0,t.Wm)(p,{modelValue:d.headerForm.buildNo,"onUpdate:modelValue":a[55]||(a[55]=e=>d.headerForm.buildNo=e),filterable:""},{default:(0,t.w5)((()=>[((0,t.wg)(!0),(0,t.iD)(t.HY,null,(0,t.Ko)(d.buildList,((e,a)=>((0,t.wg)(),(0,t.j4)(u,{key:a,label:e.jgName,value:e.buildNo},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])])),_:1}),(0,t.Wm)(m,{label:"工程名称:",prop:"projectName"},{default:(0,t.w5)((()=>[(0,t.Wm)(c,{modelValue:d.headerForm.projectName,"onUpdate:modelValue":a[56]||(a[56]=e=>d.headerForm.projectName=e),onBlur:a[57]||(a[57]=()=>d.headerForm.projectName=e.$filters.checkStr(d.headerForm.projectName))},null,8,["modelValue"])])),_:1}),(0,t.Wm)(m,null,{default:(0,t.w5)((()=>[(0,t.Wm)(h,{type:"primary",onClick:s.handleSearch},{default:(0,t.w5)((()=>[(0,t.Uk)("查询")])),_:1},8,["onClick"]),(0,t.Wm)(h,{type:"warning",onClick:a[58]||(a[58]=e=>s.handleReset("headerFormRef"))},{default:(0,t.w5)((()=>[(0,t.Uk)("重置")])),_:1})])),_:1})])),_:1},8,["model"])]),(0,t._)("div",yl,[(0,t.wy)(((0,t.wg)(),(0,t.j4)(_,{data:d.tableData,height:d.tableHeight,"header-cell-style":{"text-align":"center",border:"0"},"cell-style":{"text-align":"center",border:"0",background:"transparent"}},{default:(0,t.w5)((()=>[(0,t.Wm)(g,{prop:"numIndex",label:"序号",width:"60"}),(0,t.Wm)(g,{prop:"evaluateTime",label:"日期"},{default:(0,t.w5)((a=>[(0,t._)("div",null,(0,i.zw)(e.$filters.dateFormat(a.row.evaluateTime)),1)])),_:1}),(0,t.Wm)(g,{prop:"buildUnit",label:"建管单位"}),(0,t.Wm)(g,{prop:"projectName",label:"工程名称"}),(0,t.Wm)(g,{prop:"teamName",label:"班组名称"}),(0,t.Wm)(g,{label:"评价星级"},{default:(0,t.w5)((e=>[(0,t.Wm)(v,{modelValue:e.row.evaluateStar,"onUpdate:modelValue":a=>e.row.evaluateStar=a,class:"rate_l",disabled:"","disabled-void-color":"transparent"},null,8,["modelValue","onUpdate:modelValue"])])),_:1}),(0,t.Wm)(g,{prop:"evaluateTime",label:"评价时间"})])),_:1},8,["data","height"])),[[D,d.tableLoading]])])])):(0,t.kq)("",!0),(0,t.Wm)(T,{pageParams:d.pageParams,total:d.total,onHandleSizeChange:s.handleSizeChange,onHandleCurrentChange:s.handleCurrentChange},null,8,["pageParams","total","onHandleSizeChange","onHandleCurrentChange"])]),d.videoVisible?((0,t.wg)(),(0,t.j4)(f,{key:0,videoVisible:d.videoVisible,videoUrl:d.videoUrl,onVideoClose:s.videoClose},null,8,["videoVisible","videoUrl","onVideoClose"])):(0,t.kq)("",!0)])}var vl=l(39),Tl=l(849),fl=l(7214),Dl=l(4614),Nl=l(4351),jl={props:{dialogVisible:{require:!0,default:!1},dialogType:{require:!0,default:""},dialogTitle:{require:!0,default:""},dialogHeaderType:{require:!0,default:"0"},queryDetailUrl:{require:!0,default:""},queryDetailUrl2:{require:!0,default:""},headerObj:{require:!0,default:()=>{}}},components:{TablePage:vl.Z,Video:Tl.Z},data(){return{queryUrl:"",headerForm:{},buildList:[],tableData:[],tableLoading:!1,tableHeight:"550px",pageParams:{pageNum:1,pageSize:10},total:0,planType:"",staticData1:[{text:"作业类型",value:"1"},{text:"作业工序",value:"2"}],videoVisible:!1,videoUrl:"",staticData2:[{text:"二级",value:"二级"},{text:"三级",value:"三级"}],disabledDateList:[],staticData5:[{text:"站班会交底拍照不足班组",value:"1"},{text:"现场勘察拍照不足班组",value:"2"},{text:"地脚螺栓拍照不足班组",value:"3"},{text:"跨越架拍照不足班组",value:"4"},{text:"有限空间拍照不足班组",value:"5"},{text:"地锚拍照不足班组",value:"6"},{text:"人员上塔拍照不足班组",value:"7"},{text:"吊车拍照不足班组",value:"8"},{text:"放线耐张绝缘子短接拍照不足班组",value:"9"}],staticData6:[{text:"信号弱",value:"2"},{text:"异常掉线",value:"1"}],troubleList:[],staticData9:[{text:"未报计划",value:"1"},{text:"有计划未作业",value:"2"}],scoreType:"1"}},watch:{dialogVisible(e){e?this.initData():(this.headerForm={},this.tableData=[],this.pageParams={pageNum:1,pageSize:10},this.total=0)}},created(){this.initData()},methods:{dialogClose(){this.$emit("dialogClose")},videoClose(){this.videoVisible=!1},initData(){const e=(0,fl.sq)(this.headerObj);if(this.headerForm=e,console.log("headerForm",this.headerForm),this.queryData(),(0,Dl.V)().then((e=>{if(200==e.code){const a=e.data||[];this.buildList=a}})),"2"==this.dialogType){const e=(0,Nl.getWeekDataList)(new Date),a=(0,Nl.getWeekDataList)(new Date((new Date).setDate((new Date).getDate()+7)));this.disabledDateList=[...e,...a],console.log("disabledDateList",this.disabledDateList)}},queryData(){"1"===this.dialogType&&(this.planType=this.headerForm.changeType),this.queryDetailUrl?(this.queryUrl=`decision/${this.queryDetailUrl}`,console.log(this.queryUrl,"queryDetailUrl"),this.queryTableData()):this.queryDetailUrl2?(this.queryUrl=this.queryDetailUrl2,console.log(this.queryUrl,"queryDetailUrl2"),this.queryTableData2()):console.log("暂无接口信息")},queryTableData(){this.tableLoading=!0,this.$http.get(this.queryUrl,{params:{pageNum:String(this.pageParams.pageNum),pageSize:String(this.pageParams.pageSize),...this.headerForm}}).then((e=>{if(console.log(e,this.queryDetailUrl),200==e.code){const a=e.data||e.rows||[];this.total=e.total||0,"10"!==this.dialogType&&"11"!==this.dialogType||a.forEach((e=>{e.evaluateStar=Math.round(e.evaluateStar/2)})),a.forEach(((e,a)=>{const l=(Number(this.pageParams.pageNum)-1)*Number(this.pageParams.pageSize);e.numIndex=l+a+1})),this.tableData=a}})).finally((()=>{this.tableLoading=!1}))},queryTableData2(){this.tableLoading=!0,this.$http.post(this.queryUrl,{pageNum:String(this.pageParams.pageNum),pageSize:String(this.pageParams.pageSize),...this.headerForm}).then((e=>{if(console.log(e,this.queryDetailUrl),200==e.code){const a=e.data||e.rows||[];this.total=e.total||0,a.forEach(((e,a)=>{const l=(Number(this.pageParams.pageNum)-1)*Number(this.pageParams.pageSize);e.numIndex=l+a+1})),this.tableData=a}})).finally((()=>{this.tableLoading=!1}))},handleSearch(){console.log(this.headerForm,"headerForm"),this.headerForm=(0,fl.L1)(this.headerForm),this.tableData=[],this.pageParams.pageSize=10,this.pageParams.pageNum=1,this.queryData()},handleReset(e){this.$refs[e].resetFields(),this.handleSearch()},handleRead(e){console.log(e,"planRow");const a=`${window.VideoKey}?puid=${e.puId}`;console.log("videoUrl",a),this.videoUrl=a,this.videoVisible=!0},handleSizeChange(e){this.pageParams.pageSize=String(e),this.pageParams.pageNum=1,this.queryData()},handleCurrentChange(e){this.pageParams.pageNum=String(e),this.queryData()},disabledDate(e){return(0,Nl.dateFormat)(e)<(0,Nl.dateFormat)(this.disabledDateList[0])||(0,Nl.dateFormat)(e)>(0,Nl.dateFormat)(this.disabledDateList[this.disabledDateList.length-1])}}};const Wl=(0,ta.Z)(jl,[["render",kl],["__scopeId","data-v-5e1583bc"]]);var xl=Wl,Cl=l(1836),ql={components:{EchartsRisk:oa,EchartsPerson:ma,SubHeader:ka,DialogBox:xl},data(){return{dateNow:"",dateYes:"",headerObj:{},queryDetailUrl:"",dialogVisible:!1,dialogTitle:"",dialogType:"",dialogHeaderType:"",planObj:{},planType:"",riskObj:{},riskType:"1",personObj:{},weatherList:[],keyPointList:[],keyPointTextList:[{text:"站班会交底拍照不足班组",value:"1"},{text:"现场勘察拍照不足班组",value:"2"},{text:"地脚螺栓拍照不足班组",value:"3"},{text:"跨越架拍照不足班组",value:"4"},{text:"有限空间拍照不足班组",value:"5"},{text:"地锚拍照不足班组",value:"6"},{text:"人员上塔拍照不足班组",value:"7"},{text:"吊车拍照不足班组",value:"8"},{text:"放线耐张绝缘子短接拍照不足班组",value:"9"}],signalObj:{},troubleList:[],teamObj:{},refreshObj:{},scoreList1:[],scoreList2:[],scoreType:""}},created(){this.initData(),this.initData()},methods:{initData(){this.queryPlanData(),this.queryRiskData("1"),this.queryPersonData(),this.getWeatherAlert(),this.queryKeyPointData(),this.queryQjStatus(),this.getTroubleData(),this.queryTeamData(),this.subRefresh(),this.queryScoreData({evaluateType:"1",orderType:"DESC"}),this.queryScoreData({evaluateType:"1",orderType:"ASC"})},queryPlanData(){this.$http.get("decision/planManage/getTeamNum").then((e=>{if(console.log(e,"getTeamNum"),200==e.code){const a=e.data||{};this.planObj=a,this.planObj.workTypeNumTotal=this.planObj["workTypeNum"]+this.planObj["workTypeYesNum"],this.planObj.workGxNumTotal=this.planObj["workGxNum"]+this.planObj["workGxYesNum"],this.planObj.workTypeNumPercent1=Number(this.planObj["workTypeNum"])/Number(this.planObj["workTypeNumTotal"])||0,this.planObj.workTypeNumPercent2=Number(this.planObj["workTypeYesNum"])/Number(this.planObj["workTypeNumTotal"])||0,this.planObj.workGxNumPercent1=Number(this.planObj["workGxNum"])/Number(this.planObj["workGxNumTotal"])||0,this.planObj.workGxNumPercent2=Number(this.planObj["workGxYesNum"])/Number(this.planObj["workGxNumTotal"])||0,console.log(this.planObj,"planObj")}}))},planClick(e){console.log(e,"planClick"),this.dialogVisible=!0,this.dialogType="1",this.dialogTitle=e.dialogTitle,this.dialogHeaderType="1",this.queryDetailUrl="planManage/queryByPage",this.headerObj.workTime=e.workTime,this.headerObj.changeType=e.planType},queryRiskData(e){let a=[];a="1"===e?(0,Nl.getWeekDataList)(new Date((new Date).setDate((new Date).getDate()+7))):(0,Nl.getWeekDataList)(new Date),this.$http.post("decision/riskManage/getRiskNum",{workTime:a}).then((e=>{if(console.log(e,"getRiskNum"),200==e.code){const a=e.data||{};this.riskObj=a;let l=[],t=[];this.riskObj["riskManageVos"].forEach((e=>{l.push({...e,value:e.twoRiskNum,riskLevel:"二级"}),t.push({...e,value:e.threeRiskNum,riskLevel:"三级"})})),this.riskObj.twoRiskList=l,this.riskObj.threeRiskList=t,console.log(this.riskObj,"riskObj")}}))},riskClick(e){console.log(e,"riskClick"),this.dialogVisible=!0,this.dialogType="2",this.dialogTitle="未来施工高风险提醒",this.dialogHeaderType="2",this.queryDetailUrl="riskManage/queryByPage",this.headerObj.workTime=e.workTime,this.headerObj.riskLevel=e.riskLevel},weekClick(e){this.riskType!=e&&(this.riskType=e,this.queryRiskData(e))},echartsRiskClick(e){console.log(e,"echartsRiskparams"),this.dialogVisible=!0,this.dialogType="2",this.dialogTitle="未来施工高风险提醒",this.dialogHeaderType="0",this.queryDetailUrl="riskManage/queryByPage",this.headerObj.workTime=e.data.workTime,this.headerObj.riskLevel=e.data.riskLevel},queryPersonData(){this.$http.get("decision/riskManage/queryNum").then((e=>{if(console.log(e,"queryNum"),200==e.code){const a=e.data||{};this.personObj=a}}))},echartsPersonClick(e){console.log(e,"echartsPersonparams"),this.dialogVisible=!0,this.dialogType="3",this.dialogTitle="管住人员",this.dialogHeaderType="3",this.queryDetailUrl="riskManage/queryTeamPage",this.headerObj.workTime=e.data.workTime,this.headerObj.teamType=e.data.teamType},getWeatherAlert(){this.$http.post("proteam/pot/home/getWeatherAlertPlus",{token:(0,Cl.LP)(),orgId:""}).then((e=>{if(200==e.code){const a=e.data||e.rows||[];this.weatherList=a}}))},queryKeyPointData(){this.$http.get("decision/jjIntell/getPhotoTeamNum").then((e=>{if(console.log(e,"getPhotoTeamNum"),200==e.code){const a=e.data||[];this.keyPointList=a}}))},keyPointClick(e){console.log(e,"keyPointClickParams"),this.dialogVisible=!0,this.dialogType="5",this.dialogTitle=this.keyPointTextList[e.index]["text"],this.dialogHeaderType="5",this.queryDetailUrl="jjIntell/queryByPage",this.headerObj.workTime=e.workTime,this.headerObj.imageType=e.value},queryQjStatus(){this.$http.get("decision/jjIntell/queryQjStatus").then((e=>{if(console.log(e,"queryQjStatus"),200==e.code){const a=e.data||{};this.signalObj=a}}))},signalClick(e){console.log(e,"signalClickParams"),this.dialogVisible=!0,this.dialogType="6",this.dialogTitle="球机状态异常告警",this.dialogHeaderType="6",this.queryDetailUrl="jjIntell/queryQjDetail",this.headerObj.type=e.type},getTroubleData(){this.$http.get("decision/jjIntell/querySgxcPage",{params:{pageNum:"1",pageSize:"4"}}).then((e=>{if(console.log(e,"querySgxcPage"),200==e.code){const a=e.rows||[];this.troubleList=a}}))},queryTeamData(){this.$http.get("decision/TeamAccess/newTeamNotice").then((e=>{if(console.log(e,"newTeamNotice"),200==e.code){const a=e.data||{};this.teamObj=a}}))},teamAddClick(e){console.log(e,"teamAddClickParams"),this.dialogVisible=!0,this.dialogType="8",this.dialogTitle="新增班组提醒",this.dialogHeaderType="8",this.queryDetailUrl="TeamAccess/teamList",this.headerObj.queryDate=e.workTime},subRefresh(e){console.log(e);const a=this.getTime("YYYY-MM-DD hh:mm");this.refreshObj={refreshTime:a},this.queryRemindData()},queryRemindData(){this.$http.get("decision/DailyPlan/noWorkNotice").then((e=>{if(console.log(e,"DailyPlan/noWorkNotice"),200==e.code){const a=e.data||{};this.refreshObj={...this.refreshObj,...a}}}))},remindClick(e){console.log(e,"remindClick"),this.dialogVisible=!0,this.dialogType="9",this.dialogTitle="无施工班组提醒",this.dialogHeaderType="9",this.queryDetailUrl="DailyPlan/noWorkNoticeList",this.headerObj.queryDate=e.workTime,this.headerObj.type=e.type},queryScoreData(e){this.$http.get("decision/TeamAccess/teamEvaluate",{params:e}).then((a=>{if(console.log(a,"teamEvaluate"),200==a.code){const l=a.data;l.forEach((e=>{e.teamEvaluate=Math.round(e.teamEvaluate/2)})),"DESC"===e.orderType&&(this.scoreList1=l),"ASC"===e.orderType&&(this.scoreList2=l)}}))},nowAllClick(e){console.log(e,"nowAllClickpParams");const a={evaluateType:e.scoreType,orderType:"10"===e.dialogType?"DESC":"ASC"};this.queryScoreData(a)},dialogShow(e){console.log(e,"dialogShowParams"),this.dialogVisible=!0,this.dialogType=e.dialogType,"10"===e.dialogType?this.dialogTitle="评分星级最高班组":"11"===e.dialogType?this.dialogTitle="评分星级最低班组":this.dialogTitle=e.dialogTitle,this.dialogHeaderType=e.dialogHeaderType,this.headerObj={},this.queryDetailUrl=e.queryDetailUrl,this.queryDetailUrl2=e.queryDetailUrl2,"1"===this.dialogType&&(this.headerObj.workTime=this.dateNow,this.headerObj.changeType="1"),"5"===this.dialogType&&(this.headerObj.imageType="1"),"9"===this.dialogType&&(this.headerObj.queryDate=this.dateNow,this.headerObj.type="1"),"10"===this.dialogType&&(this.headerObj.orderType="DESC"),"11"===this.dialogType&&(this.headerObj.orderType="ASC")},dialogClose(){this.dialogVisible=!1},getTime(e){const a=new Date,l=a.getFullYear(),t=(a.getMonth()+1+"").padStart(2,"0"),i=(a.getDate()+"").padStart(2,"0"),o=(a.getDate()-1+"").padStart(2,"0"),r=(a.getHours()+"").padStart(2,"0"),d=(a.getMinutes()+"").padStart(2,"0");(a.getSeconds()+"").padStart(2,"0"),a.getDay();return this.dateNow=`${l}-${t}-${i}`,this.dateYes=`${l}-${t}-${o}`,"YYYY-MM-DD hh:mm"===e?`${l}-${t}-${i} ${r}:${d}`:`${l}-${t}-${i}`}}};const Vl=(0,ta.Z)(ql,[["render",Je],["__scopeId","data-v-e43d5790"]]);var Fl=Vl},5462:function(e,a,l){e.exports=l.p+"static/img/123.3061be9a.png"}}]);