|
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c1adec5a"],{"0575":function(t,e,n){},"0aa6":function(t,e,n){},"13f0":function(t,e,n){"use strict";var a=n("13f5"),i=n.n(a);i.a},"13f5":function(t,e,n){},1670:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"watch-all-page"},[n("app-header",{attrs:{backBtnTitle:"我的项目",theme:"basis",title:t.joinProjName,showUserCenter:!1,showBackBtn:!0,onBackBtnClick:t.backToIndex}}),n("ChangeModelBtn",{directives:[{name:"show",rawName:"v-show",value:!t.isShowLeftPage,expression:"!isShowLeftPage"}],ref:"topModelBtn",staticClass:"top-change-model-btn",on:{changeModelBtnClick:t.changeModelBtnClick}}),n("div",{staticClass:"main-content"},[n("div",{staticClass:"control-btn",style:{left:t.btnLeft},on:{click:function(e){return e.stopPropagation(),t.changeShowLeftPageClick(e)}}},[n("img",{style:t.iconRotateStyle,attrs:{src:"static/img/收起与弹出.svg",alt:""}})]),n("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowLeftPage,expression:"isShowLeftPage"}],staticClass:"left-page"},[n("ChangeModelBtn",{ref:"leftModelBtn",staticClass:"left-change-model-btn",on:{changeModelBtnClick:t.changeModelBtnClick}}),t._l(t.textData,(function(t,e){return n("div",{key:e+"1"},[n("TextItem",{attrs:{textItem:t}})],1)})),t._l(t.progressData,(function(t,e){return n("div",{key:e+"2"},[n("ProgressItem",{attrs:{progressItem:t}})],1)})),t._l(t.graphData,(function(t,e){return n("div",{key:e+"3"},[n("GraphItem",{attrs:{graphItem:t}})],1)}))],2),n("div",{staticClass:"right-show-area"},[n("iframe",{attrs:{src:t.rightPartUrl,frameborder:"0"}})])])],1)},i=[],r=(n("caad"),n("d3b7"),n("2532"),n("3ca3"),n("ddb0"),n("2909")),o=n("5530"),c=n("3835"),s=n("f96e"),l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"change-model-btn"},t._l(t.titleList,(function(e,a){return n("div",{key:a,staticClass:"btn",class:{"active-btn":t.currentIndex===a},on:{click:function(e){return t.changeModelBtnClick(a)}}},[t._v(" "+t._s(e)+" ")])})),0)},u=[],f={props:{},data:function(){return{titleList:["Forge模型","超图"],currentIndex:0}},methods:{changeModelBtnClick:function(t){this.currentIndex=t,this.$emit("changeModelBtnClick",t)}}},d=f,p=(n("e08c"),n("2877")),h=Object(p["a"])(d,l,u,!1,null,"a4cca00e",null),m=h.exports,g=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"text-com"},[n("Title",{attrs:{topTitle:t.textItem.title}}),n("NoteContentItem",{scopedSlots:t._u([{key:"main",fn:function(){return[t.textItem.content.length>0?n("div",t._l(t.textItem.content,(function(e,a){return n("div",{key:a+"1",staticClass:"text-content"},[n("div",{staticClass:"content-title"},[t._v(t._s(e.itemName)+":")]),t._l(e.itemContent.split("-"),(function(e,a){return n("div",{key:a+"2",staticClass:"content-body"},[t._v(t._s(e))])}))],2)})),0):t._e()]},proxy:!0}])})],1)},b=[],v=n("a9b4"),y=n("7a71"),x={components:{Title:v["a"],NoteContentItem:y["a"]},props:{textItem:{type:Object,default:function(){return{}}}},data:function(){return{}}},I=x,w=(n("16f0"),Object(p["a"])(I,g,b,!1,null,"dd383162",null)),k=w.exports,C=function(){var t=this,e=t.$createElement,n=t._self._c||e;return Object.keys(t.progressItem).length>0?n("div",{staticClass:"progress-com"},[n("Title",{attrs:{topTitle:t.progressItem.title}}),n("NoteContentItem",{scopedSlots:t._u([{key:"main",fn:function(){return[n("div",t._l(t.progressItem.content,(function(e,a){return n("div",{key:a,staticClass:"progress-content"},[n("div",{staticClass:"progress-name"},[t._v(t._s(e.pName))]),n("div",{ref:"bar",refInFor:!0,staticClass:"light-bar"},[n("div",{staticClass:"colorful-bar",style:t.showRealProgress(e)})])])})),0)]},proxy:!0}],null,!1,1120141625)})],1):t._e()},_=[],S={components:{Title:v["a"],NoteContentItem:y["a"]},props:{progressItem:{type:Object,default:function(){return{}}}},data:function(){return{progressWidth:0}},mounted:function(){this.$refs.bar&&(this.progressWidth=this.$refs.bar[0].clientWidth)},methods:{showRealProgress:function(t){return{width:"".concat(this.progressWidth*t.pNum,"px")}}}},B=S,j=(n("7ea8"),Object(p["a"])(B,C,_,!1,null,"dc15fd42",null)),O=j.exports,N=function(){var t=this,e=t.$createElement,n=t._self._c||e;return Object.keys(t.graphItem).length>0?n("div",{staticClass:"graph-item"},[n("Title",[n("div",{attrs:{slot:"center"},slot:"center"},[t._v(t._s(t.graphItem.title)+" ("+t._s(t.currentIndex+1)+"/"+t._s(t.totalIndex+1)+")")])]),n("NoteContentItem",{scopedSlots:t._u([{key:"main",fn:function(){return[t.graphItem.content.length>0?n("div",{staticClass:"graph"},[n("img",{staticClass:"showArea",attrs:{src:t.graphItem.content[t.currentIndex],alt:""}}),n("div",{staticClass:"operate-btn"},[t.currentIndex>0?n("div",{staticClass:"back",on:{click:function(e){return e.stopPropagation(),t.backClick(e)}}},[n("img",{attrs:{src:"static/img/上一个.svg",alt:""}})]):t._e(),n("div",{staticClass:"next",on:{click:function(e){return e.stopPropagation(),t.nextClick(e)}}},[n("img",{attrs:{src:"static/img/上一个.svg",alt:""}})])])]):t._e()]},proxy:!0}],null,!1,2280215968)})],1):t._e()},P=[],A={components:{Title:v["a"],NoteContentItem:y["a"]},props:{graphItem:{type:Object,default:function(){return{}}}},data:function(){return{currentIndex:0,totalIndex:0}},methods:{backClick:function(){this.currentIndex=0===this.currentIndex?this.totalIndex:--this.currentIndex},nextClick:function(){this.currentIndex=this.currentIndex===this.totalIndex?0:++this.currentIndex}},watch:{graphItem:{immediate:!0,handler:function(){this.totalIndex=this.graphItem.content.length-1}}}},L=A,T=(n("a83f"),Object(p["a"])(L,N,P,!1,null,"e95cdea8",null)),D=T.exports,M=n("2be9"),E={components:{AppHeader:s["a"],ChangeModelBtn:m,TextItem:k,ProgressItem:O,GraphItem:D},data:function(){return{joinProjName:"观全局-".concat(sessionStorage.projName),textData:[],progressData:[],graphData:[],isShowLeftPage:!0,btnLeft:24,iconRotateDeg:90,rightPartUrl:"",superMapUrl:"http://www.lockingos.org:9001/?scene=http://cim.azut.cn:8090/iserver/services/3D-FuHuaYuan/rest/realspace",forgeModelUrl:"http://www.lockingos.org:9000/fhy-model/fhy/index.html",temp:["341999987607363584","341984912360235008","342002217261621248"]}},mounted:function(){this.getWatchAllGeneralData(),this.rightPartUrl=this.temp.includes(sessionStorage.projId)?"http://www.lockingos.org:9000/fhy-model/forgemd2020120603/index.html":"http://www.lockingos.org:9000/fhy-model/fhy/index.html",this.forgeModelUrl=this.temp.includes(sessionStorage.projId)?"http://www.lockingos.org:9000/fhy-model/forgemd2020120603/index.html":"http://www.lockingos.org:9000/fhy-model/fhy/index.html"},computed:{iconRotateStyle:function(){return{transform:"rotate(".concat(this.iconRotateDeg,"deg)")}}},methods:{getWatchAllGeneralData:function(){var t=this;Promise.all([Object(M["a"])(),Object(M["g"])(),Object(M["b"])(),Object(M["c"])()]).then((function(e){var n=Object(c["a"])(e,4),a=n[0],i=n[1],s=n[2],l=n[3];t.textData=[Object(o["a"])({},a)],t.progressData=[Object(o["a"])({},i)],t.graphData=[Object(o["a"])({},s)],t.graphData.push(l),t.graphData=Object(r["a"])(t.graphData)}))},changeShowLeftPageClick:function(){this.isShowLeftPage=!this.isShowLeftPage,this.btnLeft=this.isShowLeftPage?"24px":"0","24px"==this.btnLeft?this.iconRotateDeg=90:this.iconRotateDeg=-90},changeModelBtnClick:function(t){this.$refs.topModelBtn.currentIndex=t,this.$refs.leftModelBtn.currentIndex=t,0==t?this.rightPartUrl=this.forgeModelUrl:1==t&&(this.rightPartUrl=this.superMapUrl)},backToIndex:function(){this.$router.push({path:"index"}).catch((function(t){console.log(t)}))}}},W=E,$=(n("be7f"),Object(p["a"])(W,a,i,!1,null,"8b966254",null));e["default"]=$.exports},"16f0":function(t,e,n){"use strict";var a=n("ee3e"),i=n.n(a);i.a},2532:function(t,e,n){"use strict";var a=n("23e7"),i=n("5a34"),r=n("1d80"),o=n("ab13");a({target:"String",proto:!0,forced:!o("includes")},{includes:function(t){return!!~String(r(this)).indexOf(i(t),arguments.length>1?arguments[1]:void 0)}})},"28ed":function(t,e,n){"use strict";var a=n("0aa6"),i=n.n(a);i.a},2909:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var a=n("6b75");function i(t){if(Array.isArray(t))return Object(a["a"])(t)}var r=n("db90"),o=n("06c5");function c(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(t){return i(t)||Object(r["a"])(t)||Object(o["a"])(t)||c()}},"2be9":function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"g",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return c})),n.d(e,"f",(function(){return u})),n.d(e,"e",(function(){return f})),n.d(e,"d",(function(){return d}));n("d3b7"),n("25f0"),n("a4d3"),n("e01a"),n("d28b"),n("3ca3"),n("ddb0");function a(t){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function i(){return{title:"项目概况",content:[{itemName:"项目规模",itemContent:"城投科技孵化园(金义都市新区)建设项目"},{itemName:"项目名称",itemContent:"项目用地59546.30-地下建筑面积6274.83平方米-地上建筑面积128282.64平方-总建筑面积134557.47平方米"},{itemName:"地上建筑面积",itemContent:"产业用房(1#~24#楼多层厂房)建筑面积94352.32平方米-检测研发生产大楼建筑面积18224.43平方米-职工宿舍楼建筑面积15435.89平方米-门卫、开闭所、垃圾收集站等建筑面积270平方米"}]}}function r(){return{title:"进度",content:[{pName:"楼宇A设计进度",pNum:.8},{pName:"楼宇B设计进度",pNum:.25},{pName:"楼宇C设计进度",pNum:.5}]}}function o(){return{title:"设计图纸",content:["/static/img/faceImg/face02.png","/static/img/faceImg/face03.png","/static/img/faceImg/face04.png","/static/img/faceImg/face05.png","/static/img/faceImg/face06.png","/static/img/faceImg/face07.png","/static/img/faceImg/face08.png","/static/img/faceImg/face09.png","/static/img/faceImg/face10.png"]}}function c(){return{title:"图库",content:["static/img/appImg/AppImg_001.png","static/img/appImg/AppImg_002.png","static/img/faceImg/appImg_003.png","static/img/appImg/AppImg_004.png","static/img/appImg/AppImg_005.png","static/img/appImg/AppImg_006.png"]}}var s={grid:{top:24,left:72,right:32,bottom:48},xAxis:{nameLocation:"middle",axisTick:{show:!1},axisLabel:{interval:0,color:"#8E909F",fontFamily:"PingFangSC-Regular",fontSize:10},axisLine:{lineStyle:{color:"#8E909F"}},offset:4},yAxis:{axisLine:{show:!1},axisTick:{show:!1},splitLine:{show:!0},axisLabel:{color:"#8E909F",fontFamily:"PingFangSC-Regular",fontSize:10,formatter:function(t){return t}},offset:16}};function l(t,e){var n={};function a(t,e){for(var n in e)e[n]instanceof Array?(t[n]=t[n]?t[n]:[],a(t[n],e[n])):e[n]instanceof Object?"function"==typeof e[n]?t[n]=e[n]:(t[n]=t[n]?t[n]:{},a(t[n],e[n])):t[n]=e[n]}return a(n,t),a(n,e),n}function u(){var t={title:"建筑信号网络状态",options:{title:{show:!1},legend:{name:"",itemWidth:16,itemHeight:16,textStyle:{color:"#62626F"}},tooltip:{},xAxis:{nameLocation:"middle",data:["楼宇A","楼宇B","楼宇C","楼宇D","控制中心","餐厅A","接待室","地下室","副楼区"]},yAxis:{type:"value",interval:25,axisLabel:{formatter:function(t){var e=[];return 0===t?e.push("错误"):t<=25?e.push("差"):t<=50?e.push("一般"):t<=75?e.push("优秀"):e.push("最强"),e}}},series:[{itemStyle:{color:"#b9eed2"},name:"信号强度",type:"bar",barWidth:16,data:[90,80,75,77,90,70,85,5,55]}]}};return t.options=l(s,t.options),t}function f(){var t={title:"建筑能耗状态",options:{dataset:{source:[["检测点1","区域1","区域2","区域3"],["检测点2",800,400,700],["检测点3",900,300,1900],["检测点4",100,1200,1300],["检测点5",200,1100,600],["检测点6",1500,500,1400],["检测点7",700,1450,1200],["检测点8",1100,1320,800],["检测点9",1500,100,1750],["检测点10",1900,1800,1200]]},legend:{name:"",itemWidth:16,itemHeight:16,textStyle:{color:"#62626F"}},xAxis:{type:"category",boundaryGap:[0,0]},yAxis:{type:"value",splitNumber:4},series:[{type:"bar",barWidth:8,barGap:0,itemStyle:{color:"#92c2f9"}},{type:"bar",barWidth:8,barGap:0,itemStyle:{color:"#b9eed2"}},{type:"bar",barWidth:8,barGap:0,itemStyle:{color:"#d8d8d8"}}]}};return t.options=l(s,t.options),t}function d(){var t={title:"故障一周走势",options:{yAxis:{splitNumber:4},xAxis:{type:"category",boundaryGap:!1,data:["11/12","11/13","11/14","11/15","11/16","11/17","11/18","11/19","今日"]},series:[{type:"line",stack:"总量",areaStyle:{color:"#b4cbea"},lineStyle:{color:"#b4cbea"},symbol:"none",data:[12,15,20,34,45,23,21,10,15]},{type:"line",stack:"总量",areaStyle:{color:"#e3e3e9",show:!1},lineStyle:{color:"#e3e3e9",show:!1},symbol:"none",data:[22,18,19,23,29,33,31,20,22]}]}},e=function(){};return console.log([].toString(),{}.toString(),e.toString()),console.log(a([]),a({}),a(e)),t.options=l(s,t.options),t}},3627:function(t,e,n){"use strict";var a=n("3731"),i=n.n(a);i.a},3731:function(t,e,n){},"5a34":function(t,e,n){var a=n("44e7");t.exports=function(t){if(a(t))throw TypeError("The method doesn't accept regular expressions");return t}},"71bc":function(t,e,n){},"7a71":function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"note-content"},[t._t("main")],2)},i=[],r={data:function(){return{}}},o=r,c=(n("3627"),n("2877")),s=Object(c["a"])(o,a,i,!1,null,"5bfb01d0",null);e["a"]=s.exports},"7ea8":function(t,e,n){"use strict";var a=n("71bc"),i=n.n(a);i.a},a83f:function(t,e,n){"use strict";var a=n("cb43"),i=n.n(a);i.a},a9b4:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"top"},[n("div",{staticClass:"title"},[t._t("center",[t._v(t._s(t.topTitle))])],2),n("div",{staticClass:"right"},[t._t("right")],2)])},i=[],r={props:{topTitle:{type:String,default:""}},data:function(){return{}}},o=r,c=(n("28ed"),n("2877")),s=Object(c["a"])(o,a,i,!1,null,"4da9b100",null);e["a"]=s.exports},ab13:function(t,e,n){var a=n("b622"),i=a("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,"/./"[t](e)}catch(a){}}return!1}},b065:function(t,e,n){},be7f:function(t,e,n){"use strict";var a=n("0575"),i=n.n(a);i.a},caad:function(t,e,n){"use strict";var a=n("23e7"),i=n("4d64").includes,r=n("44d2"),o=n("ae40"),c=o("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:!c},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),r("includes")},cb43:function(t,e,n){},db90:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));n("a4d3"),n("e01a"),n("d28b"),n("a630"),n("d3b7"),n("3ca3"),n("ddb0");function a(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}},e08c:function(t,e,n){"use strict";var a=n("b065"),i=n.n(a);i.a},ee3e:function(t,e,n){},f96e:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-header",class:{white:"white"===t.theme||t.isWindowScrollIng,black:"black"===t.theme,"black-bg-color":t.isWindowScrollIng&&"black"===t.theme}},[n("div",{staticClass:"app-header-content"},[n("div",{staticClass:"app-header-content-left"},[t._t("left",[n("i",{directives:[{name:"show",rawName:"v-show",value:t.showBackBtn,expression:"showBackBtn"}],staticClass:"yiyun_icon app-header-back-btn",class:{icon_topback_left:"white"===t.theme||"basis"===t.theme,icon_topback_left_baise:"black"===t.theme},on:{click:function(e){return t.navBack()}}}),n("span",{directives:[{name:"show",rawName:"v-show",value:t.backBtnTitle,expression:"backBtnTitle"}],staticClass:"back_title",on:{click:function(e){return t.navBack()}}},[t._v(t._s(t.backBtnTitle))])])],2),n("div",{staticClass:"app-header-content-right"},[t._t("right"),t.showUserCenter?n("user-center"):t._e()],2)]),n("div",{staticClass:"app-header-center"},[t._t("center",[t._v(t._s(t.title))])],2)])},i=[],r=n("1392"),o={components:{UserCenter:r["a"]},props:{theme:String,showBackBtn:Boolean,backBtnTitle:String,onBackBtnClick:Function,title:String,showUserCenter:Boolean},data:function(){return{isWindowScrollIng:!1}},mounted:function(){window.addEventListener("scroll",this.handleScroll.bind(this),!0)},methods:{navBack:function(){this.onBackBtnClick?this.onBackBtnClick():this.$router.go(-1)},handleScroll:function(){var t=document.getElementById("bigbody");this.isWindowScrollIng=t.scrollTop>0}},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll)}},c=o,s=(n("13f0"),n("2877")),l=Object(s["a"])(c,a,i,!1,null,"f3f85a0c",null),u=l.exports}}]);
- //# sourceMappingURL=chunk-c1adec5a.b938c7fa.js.map
|