|
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1d18c521"],{"01a8":function(t,e,n){"use strict";var i=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}},[t.isClient?n("div",{staticClass:"app-header-top",style:t.adjustPadding},[n("div",{staticClass:"top-left",class:{"hide-state":!0}},[n("div",{staticClass:"dot"}),n("div",{staticClass:"state",class:{"white-color":"white"===t.theme,black:"black"===t.theme}},[t._v("在线")])]),n("div",{staticClass:"top-center"}),n("div",{staticClass:"top-right"},[n("div",{staticClass:"min",on:{click:function(e){return e.stopPropagation(),t.shrinkBrowserWindow(e)}}},[n("img",{staticClass:"min-icon",attrs:{src:"/static/img/窗口缩小.svg",alt:""}})]),n("div",{staticClass:"max"},[t.isMaxWindowNow?n("img",{staticClass:"to-max-icon",attrs:{src:"/static/img/缩放窗口.svg",alt:""},on:{click:function(e){return e.stopPropagation(),t.unmaxBrowserWindow(e)}}}):n("div",{staticClass:"unmax-icon",on:{click:function(e){return e.stopPropagation(),t.enlargeBrowserWindow(e)}}})]),n("div",{staticClass:"close",on:{click:function(e){return e.stopPropagation(),t.closeBrowserWindow(e)}}},[n("img",{staticClass:"close-icon",attrs:{src:"/static/img/窗口关闭.svg",alt:""}})])])]):t._e(),t.isWorkspaceTopBar&&!t.isClient||t.isShowTopBar&&!t.isClient?n("div",{staticClass:"app-header-top"}):t._e(),n("div",{staticClass:"app-header-content",class:{"adjust-content-pos":t.isWorkspaceTopBar&&!t.isClient}},[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-center"},[t._t("center",[t._v(t._s(t.title))])],2),n("div",{staticClass:"app-header-content-right"},[t._t("right"),t._e(),t.showUserCenter?n("user-center"):t._e()],2)])])},a=[],o=n("1392"),s=n("1d40"),r={components:{UserCenter:o["a"]},props:{theme:String,showBackBtn:Boolean,backBtnTitle:String,onBackBtnClick:Function,title:String,showUserCenter:Boolean,isInRecycle:Boolean,isShowLeftState:{type:Boolean,default:function(){return!0}},isWorkspaceTopBar:Boolean,isShowTopBar:Boolean},data:function(){return{isWindowScrollIng:!1,isClient:s["a"].isClient,isMaxWindowNow:!1}},computed:{adjustPadding:function(){return this.showUserCenter?{padding:"0 70px 0 45px"}:{padding:"0 64px 0 45px"}}},created:function(){this.isMaxWindowNow="true"===this.$cookie.get("isMaxWindowNow")&&Boolean(this.$cookie.get("isMaxWindowNow"))},mounted:function(){window.addEventListener("scroll",this.handleScroll.bind(this),!0)},methods:{shrinkBrowserWindow:function(){s["a"].shrinkBrowserWindow()},enlargeBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,this.$cookie.set("isMaxWindowNow",this.isMaxWindowNow),s["a"].enlargeBrowserWindow()},unmaxBrowserWindow:function(){this.isMaxWindowNow=!this.isMaxWindowNow,this.$cookie.set("isMaxWindowNow",this.isMaxWindowNow),s["a"].unmaxBrowserWindow()},closeBrowserWindow:function(){s["a"].closeBrowserWindow()},navBack:function(){this.onBackBtnClick?this.onBackBtnClick():this.$router.go(-1)},toRecycle:function(){this.$router.push({name:"recycle"})},handleScroll:function(){var t=document.getElementById("bigbody");this.isWindowScrollIng=t.scrollTop>0}},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll)}},c=r,l=(n("a88e"),n("2877")),u=Object(l["a"])(c,i,a,!1,null,"5a628f54",null);e["a"]=u.exports},"0b3a":function(t,e,n){},1348:function(t,e,n){"use strict";var i=n("e2c8"),a=n.n(i);a.a},1670:function(t,e,n){"use strict";n.r(e);var i=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",attrs:{titleList:t.titleList},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",attrs:{titleList:t.titleList},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)},a=[],o=(n("caad"),n("d3b7"),n("2532"),n("3ca3"),n("ddb0"),n("2909")),s=n("5530"),r=n("3835"),c=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,i){return n("div",{key:i,staticClass:"btn",class:{"active-btn":t.currentIndex===i},on:{click:function(e){return t.changeModelBtnClick(i)}}},[t._v(" "+t._s(e)+" ")])})),0)},u=[],d={props:{titleList:{type:Array,defualt:function(){return[]}}},data:function(){return{currentIndex:0}},methods:{changeModelBtnClick:function(t){this.currentIndex=t,this.$emit("changeModelBtnClick",t)}}},f=d,p=(n("fd6b"),n("2877")),h=Object(p["a"])(f,l,u,!1,null,"e6a32a16",null),g=h.exports,m=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,i){return n("div",{key:i+"1",staticClass:"text-content"},[n("div",{staticClass:"content-title"},[t._v(t._s(e.itemName)+":")]),t._l(e.itemContent.split("-"),(function(e,i){return n("div",{key:i+"2",staticClass:"content-body"},[t._v(t._s(e))])}))],2)})),0):t._e()]},proxy:!0}])})],1)},b=[],w=n("a9b4"),v=n("7a71"),x={components:{Title:w["a"],NoteContentItem:v["a"]},props:{textItem:{type:Object,default:function(){return{}}}},data:function(){return{}}},y=x,C=(n("4756"),Object(p["a"])(y,m,b,!1,null,"3fa8c41d",null)),k=C.exports,I=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,i){return n("div",{key:i,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()},_=[],B={components:{Title:w["a"],NoteContentItem:v["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")}}}},S=B,W=(n("1348"),Object(p["a"])(S,I,_,!1,null,"173f1c2a",null)),N=W.exports,j=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()},M=[],P={components:{Title:w["a"],NoteContentItem:v["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=P,O=(n("f5f6"),Object(p["a"])(L,j,M,!1,null,"f90bcd42",null)),T=O.exports,A=n("2be9"),D={components:{AppHeader:c["a"],ChangeModelBtn:g,TextItem:k,ProgressItem:N,GraphItem:T},data:function(){return{titleList:["forge模型","超图"],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(A["a"])(),Object(A["g"])(),Object(A["b"])(),Object(A["c"])()]).then((function(e){var n=Object(r["a"])(e,4),i=n[0],a=n[1],c=n[2],l=n[3];t.textData=[Object(s["a"])({},i)],t.progressData=[Object(s["a"])({},a)],t.graphData=[Object(s["a"])({},c)],t.graphData.push(l),t.graphData=Object(o["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)}))}}},$=D,E=(n("8708"),Object(p["a"])($,i,a,!1,null,"a8ce6522",null));e["default"]=E.exports},"198f":function(t,e,n){},"1eed":function(t,e,n){},"21f2":function(t,e,n){},2532:function(t,e,n){"use strict";var i=n("23e7"),a=n("5a34"),o=n("1d80"),s=n("ab13");i({target:"String",proto:!0,forced:!s("includes")},{includes:function(t){return!!~String(o(this)).indexOf(a(t),arguments.length>1?arguments[1]:void 0)}})},2909:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var i=n("6b75");function a(t){if(Array.isArray(t))return Object(i["a"])(t)}var o=n("db90"),s=n("06c5");function r(){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 c(t){return a(t)||Object(o["a"])(t)||Object(s["a"])(t)||r()}},"2be9":function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"g",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return r})),n.d(e,"f",(function(){return u})),n.d(e,"e",(function(){return d})),n.d(e,"d",(function(){return f}));n("d3b7"),n("25f0"),n("a4d3"),n("e01a"),n("d28b"),n("3ca3"),n("ddb0");function i(t){return i="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},i(t)}function a(){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 o(){return{title:"进度",content:[{pName:"楼宇A设计进度",pNum:.8},{pName:"楼宇B设计进度",pNum:.25},{pName:"楼宇C设计进度",pNum:.5}]}}function s(){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 r(){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 c={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 i(t,e){for(var n in e)e[n]instanceof Array?(t[n]=t[n]?t[n]:[],i(t[n],e[n])):e[n]instanceof Object?"function"==typeof e[n]?t[n]=e[n]:(t[n]=t[n]?t[n]:{},i(t[n],e[n])):t[n]=e[n]}return i(n,t),i(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(c,t.options),t}function d(){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(c,t.options),t}function f(){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(i([]),i({}),i(e)),t.options=l(c,t.options),t}},"2fff":function(t,e,n){"use strict";var i=n("21f2"),a=n.n(i);a.a},"39a6":function(t,e,n){},4756:function(t,e,n){"use strict";var i=n("198f"),a=n.n(i);a.a},"5a34":function(t,e,n){var i=n("44e7");t.exports=function(t){if(i(t))throw TypeError("The method doesn't accept regular expressions");return t}},"6c0b":function(t,e,n){},"7a71":function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"note-content"},[t._t("main")],2)},a=[],o={data:function(){return{}}},s=o,r=(n("e6ee"),n("2877")),c=Object(r["a"])(s,i,a,!1,null,"7449dd20",null);e["a"]=c.exports},8708:function(t,e,n){"use strict";var i=n("b3f4"),a=n.n(i);a.a},a88e:function(t,e,n){"use strict";var i=n("0b3a"),a=n.n(i);a.a},a9b4:function(t,e,n){"use strict";var i=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)])},a=[],o={props:{topTitle:{type:String,default:""}},data:function(){return{}}},s=o,r=(n("2fff"),n("2877")),c=Object(r["a"])(s,i,a,!1,null,"429f119e",null);e["a"]=c.exports},ab13:function(t,e,n){var i=n("b622"),a=i("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[a]=!1,"/./"[t](e)}catch(i){}}return!1}},b3f4:function(t,e,n){},caad:function(t,e,n){"use strict";var i=n("23e7"),a=n("4d64").includes,o=n("44d2"),s=n("ae40"),r=s("indexOf",{ACCESSORS:!0,1:0});i({target:"Array",proto:!0,forced:!r},{includes:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0)}}),o("includes")},db90:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));n("a4d3"),n("e01a"),n("d28b"),n("a630"),n("d3b7"),n("3ca3"),n("ddb0");function i(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}},e2c8:function(t,e,n){},e6ee:function(t,e,n){"use strict";var i=n("39a6"),a=n.n(i);a.a},f5f6:function(t,e,n){"use strict";var i=n("1eed"),a=n.n(i);a.a},f96e:function(t,e,n){"use strict";var i=n("01a8");n.d(e,"a",(function(){return i["a"]}))},fd6b:function(t,e,n){"use strict";var i=n("6c0b"),a=n.n(i);a.a}}]);
- //# sourceMappingURL=chunk-1d18c521.85c54849.js.map
|