1 line
13 KiB
JavaScript
1 line
13 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-097a7388","chunk-2d0b59c3"],{"1a41":function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"k",(function(){return s})),n.d(t,"g",(function(){return o})),n.d(t,"v",(function(){return i})),n.d(t,"d",(function(){return c})),n.d(t,"l",(function(){return d})),n.d(t,"h",(function(){return u})),n.d(t,"w",(function(){return l})),n.d(t,"f",(function(){return m})),n.d(t,"n",(function(){return p})),n.d(t,"j",(function(){return f})),n.d(t,"y",(function(){return A})),n.d(t,"e",(function(){return v})),n.d(t,"m",(function(){return h})),n.d(t,"i",(function(){return g})),n.d(t,"x",(function(){return b})),n.d(t,"z",(function(){return y})),n.d(t,"o",(function(){return x})),n.d(t,"C",(function(){return O})),n.d(t,"B",(function(){return j})),n.d(t,"s",(function(){return N})),n.d(t,"p",(function(){return k})),n.d(t,"H",(function(){return w})),n.d(t,"F",(function(){return T})),n.d(t,"I",(function(){return C})),n.d(t,"G",(function(){return S})),n.d(t,"D",(function(){return D})),n.d(t,"t",(function(){return R})),n.d(t,"E",(function(){return I})),n.d(t,"q",(function(){return L})),n.d(t,"a",(function(){return B})),n.d(t,"b",(function(){return P})),n.d(t,"A",(function(){return E})),n.d(t,"u",(function(){return G})),n.d(t,"r",(function(){return U}));var a=n("22b6"),r=function(e){return Object(a.b)("xmgl/standardDev/add",e)},s=function(e){return Object(a.b)("xmgl/standardDev/edit",e)},o=function(e){return Object(a.b)("xmgl/standardDev/delete",e)},i=function(e){return Object(a.b)("xmgl/standardDev/list",e,"aa")},c=function(e){return Object(a.b)("xmgl/standardLocation/add",e)},d=function(e){return Object(a.b)("xmgl/standardLocation/edit",e)},u=function(e){return Object(a.b)("xmgl/standardLocation/delete",e)},l=function(e){return Object(a.b)("xmgl/standardLocation/list",e)},m=function(e){return Object(a.b)("xmgl/standardSampleType/add",e)},p=function(e){return Object(a.b)("xmgl/standardSampleType/edit",e)},f=function(e){return Object(a.b)("xmgl/standardSampleType/delete",e)},A=function(e){return Object(a.b)("xmgl/standardSampleType/list",e)},v=function(e){return Object(a.b)("xmgl/standardSampleRecord/add",e)},h=function(e){return Object(a.b)("xmgl/standardSampleRecord/edit",e)},g=function(e){return Object(a.b)("xmgl/standardSampleRecord/delete",e)},b=function(e){return Object(a.b)("xmgl/standardSampleRecord/list",e)},y=function(e){return Object(a.b)("xmgl/standardWarning/selelctDevStandardWarning",e)},x=function(e){return Object(a.b)("xmgl/standardWarning/updateStandardWarning",e)},O=function(e){return Object(a.b)("xmgl/standardCurrentData/selectNewCurrentData",e)},j=function(e){return Object(a.b)("xmgl/standardCurrentData/selectDayCurrentDataList",e)},N=function(e){return Object(a.b)("xmgl/standardAlarm/getStandardAlarmStatistics",e)},k=function(e){return Object(a.b)("xmgl/standardCurrentData/list",e)},w=function(e){return Object(a.b)("xmgl/standardCurrentData/selectStandardCurrentDataList",e)},T=function(e){return Object(a.b)("xmgl/standardAlarm/selectStandardAlarmListByTime",e)},C=function(e){return Object(a.b)("xmgl/standardDev/selectStandardDevStatisticsBySn",e)},S=function(e){return Object(a.b)("xmgl/standardCurrentData/selectStandardAnalysisReport",e)},D=function(e){return Object(a.b)("xmgl/standardSampleRecord/selectSampleAnalysisReport",e)},R=function(e){return Object(a.b)("xmgl/standardDev/getStandardDevStatistics",e)},I=function(e){return Object(a.b)("xmgl/standardAlarm/selectStandardAlarmByMonthList",e)},L=function(e){return Object(a.a)("xmgl/materialPoundBill/getRepertory",e)},B=function(e){return Object(a.a)("xmgl/materialPurchaseOrder/lastTwentyList",e)},P=function(e){return Object(a.a)("xmgl/materialPurchaseWayBill/lastTwentyList",e)},E=function(e){return Object(a.b)("xmgl/procurementContractInfo/selectProcurementContractPage",e)},G=function(e){return Object(a.a)("/xmgl/materialDetails/sumConsumeList",e)},U=function(e){return Object(a.a)("/xmgl/materialDetails/passConsumeRatio",e)}},"30fc":function(e,t,n){e.exports=n.p+"img/noData2.671b02ce.png"},"45f9":function(e,t,n){"use strict";var a=n("8b98");n.n(a).a},"6aad":function(e,t,n){"use strict";var a=(n("99af"),n("4160"),n("c975"),n("a9e3"),n("d3b7"),n("25f0"),n("159b"),n("1a41")),r=n("5b41"),s=n("302b"),o={props:["videoType","modules","activeLive","styleType","videoSn"],data:function(){return{treeData:[],defaultProps:{children:"list",label:"name"},expandOnoff:!1,searchsn:"",videoList:[],expandKeys:[],numIndex:1,markRoomDevList:[],company:""}},mounted:function(){this.company=COMPANY,this.loadData()},methods:{getMarkRoomDev:function(e){var t=this;Object(a.v)({projectSn:e}).then((function(e){t.markRoomDevList=e.result}))},loadData:function(){var e=this;if(this.$props.videoSn)this.searchsn=this.$props.videoSn;else if(isDockingToWoer)this.searchsn=this.$store.state.projectSn;else{var t=this.$store.state.mapBackArr;switch(Number(this.$store.state.userInfo.accountType)){case 2:this.searchsn=this.$store.state.userInfo.headquartersSn,this.numIndex=2;break;case 3:this.searchsn=this.$store.state.userInfo.sn,this.numIndex=3;break;case 4:this.searchsn=this.$store.state.userInfo.sn,this.numIndex=4;break;case 7:this.searchsn=this.$store.state.userInfo.sn,this.numIndex=5}1==this.videoType&&t.length>0&&(this.searchsn=t[t.length-1].sn),-1!=this.$route.path.indexOf("/project/")&&(this.searchsn=this.$store.state.projectSn)}Object(r.e)({sn:this.searchsn,videoType:this.videoType,standardType:"markingRoom"==this.modules?1:0}).then((function(t){e.treeData=t.result.companyList?t.result.companyList:t.result.projectList?t.result.projectList:t.result.videoList,-1==e.$route.path.indexOf("dataBoard/digitalSite")&&e.$emit("playParams",e.treeData),-1!=e.$route.path.indexOf("/firm/towerManage")&&e.$emit("getTreeData",e.treeData),e.activeLive&&e.treeData.forEach((function(t){e.activeLive.devSn==t.serialNumber&&(e.handleNodeClick(t),e.$nextTick((function(){e.$refs.tree.setCurrentKey(t.itemId.toString())})))}))}))},getVideo:function(e,t,n){var a=this;Object(s.r)({itemId:e}).then((function(e){var r=e.result,s="";if(1==t){switch(Number(r.projectVideoConfig.playType)){case 1:s=r.videoInfo.rtmpHd;break;case 2:s=r.videoInfo.rtmp;break;case 3:s=r.videoInfo.hdFlvAddress;break;case 4:s=r.videoInfo.flvAddress;break;case 5:s="ezopen://open.ys7.com/".concat(r.videoInfo.deviceSerial,"/").concat(r.videoInfo.channelNo,".hd.live");break;case 6:default:s="ezopen://open.ys7.com/".concat(r.videoInfo.deviceSerial,"/").concat(r.videoInfo.channelNo,".live")}a.$emit("playParams",[{accessToken:r.accessToken,url:s,videoType:t,playType:r.projectVideoConfig.playType}])}2==t&&a.$emit("playParams",[{accessToken:r.accessToken,url:n.liveRadioUrl,videoType:n.videoType}])}))},handleNodeClick:function(e){var t=this,n=e.companyType;if(1==this.videoType)e.videoName&&(3==e.videoType?(e.date=new Date,this.$emit("playParams",[e])):this.getVideo(e.itemId,e.videoType,e));else{var a=e.projectSn?e.projectSn:e.companySn;Object(r.d)({sn:a}).then((function(e){var a=[],r=e.result;a.push({name:r.firstCompanyName,sn:r.firstCompanySn}),r.secondCompanyName&&a.push({name:r.secondCompanyName,sn:r.secondCompanySn}),r.thirdCompanyName&&a.push({name:r.thirdCompanyName,sn:r.thirdCompanySn}),r.projectName&&a.push({name:r.projectName,sn:r.projectSn}),n||(a[a.length-1].isProject=!0),t.$store.commit("setMapBackArr",a),t.$parent.initData()}))}},playMutipleVideo:function(e){this.$emit("playParams",e.list)}}},i=(n("45f9"),n("2877")),c=Object(i.a)(o,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"areaTreeBox",class:1==e.videoType||"markingRoom"==e.modules||"carManage"==e.modules?"hasVedio":"noVideo",attrs:{id:"videoTreeBox"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.expandOnoff||1==e.videoType||"markingRoom"==e.modules||"carManage"==e.modules,expression:"expandOnoff || videoType == 1 || modules == 'markingRoom' || modules == 'carManage'"}],staticClass:"areaTreeInner whiteBlock fullHeight",class:e.$props.styleType?"black":""},[1==e.videoType?a("div",{staticClass:"pageTitle"},[e._v("视频列表")]):a("p",{class:"markingRoom"==e.modules||"carManage"==e.modules?"pageTitle":"treeTitle"},[e._v(" 查看全部工地 ")]),a("div",{staticClass:"treeBox"},[e.treeData.length>0||1!=e.videoType?a("vue-scroll",[a("el-tree",{ref:"tree",attrs:{data:e.treeData,props:e.defaultProps,"node-key":"itemId"},on:{"node-click":e.handleNodeClick},scopedSlots:e._u([{key:"default",fn:function(t){var r=t.node,s=t.data;return a("span",{staticClass:"custom-tree-node"},[a("span",{directives:[{name:"show",rawName:"v-show",value:s.videoName,expression:"data.videoName"}],staticClass:"icon-video",class:2==s.deviceType?"icon-video2":""}),a("span",{class:s.videoName?"videoName":s.projectName?"projectName":2==s.companyType?"companyName2":""},[e._v(e._s(r.label))]),a("span",{directives:[{name:"show",rawName:"v-show",value:s.projectNum&&0==e.videoType,expression:"data.projectNum && videoType == 0"}]},[e._v("("+e._s(s.projectNum)+")")]),a("el-tooltip",{attrs:{effect:"dark",content:"播放项目所有视频",placement:"top"}},[a("span",{directives:[{name:"show",rawName:"v-show",value:1==e.videoType&&s.projectName&&s.list.length>0,expression:"videoType == 1 && data.projectName && data.list.length > 0"}],staticClass:"playAllBtn",on:{click:function(t){return t.stopPropagation(),e.playMutipleVideo(s)}}})]),a("span",{directives:[{name:"show",rawName:"v-show",value:s.projectName&&"markingRoom"==e.modules,expression:"data.projectName && modules == 'markingRoom'"}],staticClass:"statusImgBox"},[a("img",{directives:[{name:"show",rawName:"v-show",value:0!=s.standardDevStopUsingNum,expression:"data.standardDevStopUsingNum != 0"}],attrs:{src:n("ff15"),alt:"",srcset:""}}),a("img",{directives:[{name:"show",rawName:"v-show",value:0!=s.standardDevNotOnline,expression:"data.standardDevNotOnline != 0"}],attrs:{src:n("cd9a"),alt:"",srcset:""}}),a("img",{directives:[{name:"show",rawName:"v-show",value:0!=s.standardTemperatureAlarmNum,expression:"data.standardTemperatureAlarmNum != 0"}],attrs:{src:n("96b8"),alt:"",srcset:""}}),a("img",{directives:[{name:"show",rawName:"v-show",value:0!=s.standardHumidityAlarmNum,expression:"data.standardHumidityAlarmNum != 0"}],attrs:{src:n("a3cc"),alt:"",srcset:""}})])],1)}}],null,!1,1540790755)})],1):a("div",{staticClass:"placeholderBox"},["longguang"==e.company?a("img",{attrs:{src:n("e146"),alt:"",srcset:""}}):a("img",{attrs:{src:n("30fc"),alt:"",srcset:""}}),a("p",[e._v(e._s(e.$t("message.videoManage.empty")))])])],1)]),a("div",{directives:[{name:"show",rawName:"v-show",value:0==e.videoType&&"markingRoom"!=e.modules&&"carManage"!=e.modules,expression:"videoType == 0 && modules != 'markingRoom' && modules != 'carManage'"}],staticClass:"onoffBtn",class:e.expandOnoff?"active":"",on:{click:function(t){e.expandOnoff=!e.expandOnoff}}},[a("i",{directives:[{name:"show",rawName:"v-show",value:e.expandOnoff,expression:"expandOnoff"}],staticClass:"el-icon-caret-left"}),a("span",{directives:[{name:"show",rawName:"v-show",value:!e.expandOnoff,expression:"!expandOnoff"}]},[a("i",{staticClass:"el-icon-caret-right"}),e._v("查看所有工地")])])])}),[],!1,null,"b148dcce",null);t.a=c.exports},"8b98":function(e,t,n){},"96b8":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAANCAYAAACUwi84AAAAAXNSR0IArs4c6QAAAQhJREFUGBltkL1KREEMhb+Zm91CkLWws7HztxfEW/gMVoKIoCIWgm9gYWNjpxZ2+giC5Tb6GPaCWPu3d2bHM/dHWDAQkpycnIQ4WkslyyFxlEuDa/pExkwrbyyM2TLPBYlegG0qBlZw7zsCjkLNb6bktQjDGFn9U2iJK2rXQ71nhhmbIMTEjvZG4a/tQMPuiv9iLTcqOXEwK0KVEiPlc8KO84ALJXs5UWNe4TSn8kvneNPhn1471wR9iHAmH8hn5OciveuajbyiSo4lxQkTaVFA5SVjesiDJH86hm740tMe1fNWGDchsm+OdX1wV2CyyJ0+e2DGlci6apOFUHGoWxoVT18Dt+6Jl188/1OCYd0CGAAAAABJRU5ErkJggg=="},a3cc:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAALCAYAAABCm8wlAAAAAXNSR0IArs4c6QAAAPdJREFUGBk1kL1KQ0EQhb/9CYIgip2ptfAZbhIsAloHUtlai8QXsAyITyGoEBG0sLawtrFW7NKkNEbu7mY9N7izLGdmzszZ2TH8W+6zGX85IzP3r1wZI09mS0FccOo3GPs1JqnHScmvMFYMco/9kowdhor3VnEe4kKHUSELKnfe+DZNGXjPQyEKGvjMB+zaJbTNC1+FKOj6PIbAkceQQsVcWGvud01/6XZ4NhekukuySEKkzZkt/au7zDzFKbO64q5RszotkfdFusGm2FjerHZiW45byX5I5Vr4rTvTHeu5dee50bDqOGQ7/HBMUqANansL11bDhPoPoeNQkH2UOLAAAAAASUVORK5CYII="},cd9a:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAAXNSR0IArs4c6QAAAPpJREFUGBl1jzFLglEUhp/7eb9PJVuEEkJwsR+Qrg0uCs0tNQf9BOk/tPQLxD1odmksImhwamoKwRQJHWz4xNN7P3TTAwfOfc9z7nmPYxPW4Thdcu+gjWHmGMR5uu6ZWUCkg7UopSuGzvFka0ZZI6Km+iI+4cw98peB6Tl3Bqd61ATllF45l7bQ7+/JCw9RmFY0lR9m1L3n2idc6d0Q9KqdjQBsV1dVj4morFJuWGM+T486E74oy+ePt1tiIXOBReWCXwoagJLqseoDloFx8jfRyiO19oaOnEYbqC8TnxLedtGByY6R0UMZTyQUdoFB8/rpW8DlPiDTxfwDCUFMbmguUvYAAAAASUVORK5CYII="},e146:function(e,t,n){e.exports=n.p+"img/noData2.3a123780.png"},ff15:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAKCAYAAABmBXS+AAAAAXNSR0IArs4c6QAAARVJREFUGBk9kM0rhFEUxs+5HzGZ7AymsSHeqGFkYUVJszAlJe/awto/ZUnJQspWYalMWEx2PqZpMiGGq3uOc1/uPIvbvc/5nfOcLoJoulKr6j5zjZ/eOaRtM5Dfu7k8eAm1IB2OlaXKw9Nzd4eQUmYosHOrheIEt5v3jR5k7fgIWHgFxrJAoRGZMSkOJ7etVqOjAikRM/7Hr2tQh+Ed5ZCnwj2DmLhfOoc80aRCuIgQAtseFE0CXgCEplL4GL0MStN9jQClaDLzhjJ4KhHfLH6oa2/ed2XZsoAyJAiRicbQqGNZo9ruXJX+/Kwo/zVfW2aCQSR4u6ufnCWza1t5mzvPFv9nQJH6krg5pakbvNHNxSNjch+/535og/ckPxkAAAAASUVORK5CYII="}}]); |