您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

1 行
16 KiB

  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1165d335"],{"0aa6":function(t,e,n){},1670:function(t,e,n){"use strict";n.r(e);var r=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}}),n("Introduce",{style:{height:"838px"},attrs:{content:t.config.projectIntroduce},on:{updateIntroduce:t.updateIntroduce}})],1),n("div",{staticClass:"right-show-area"},[n("el-carousel",{ref:"watchCarousel",staticClass:"watch-carousel",attrs:{height:"100%",autoplay:!1,"indicator-position":"none",arrow:"never"}},[n("el-carousel-item",{key:"forge"},[t.config.forgeUrl?n("iframe",{key:t.config.forgeUrl,attrs:{src:t.config.forgeUrl,frameborder:"0"}}):t._e()]),n("el-carousel-item",{key:"supermap"},[t.config.gsUrl?n("iframe",{key:t.config.gsUrl,attrs:{src:t.config.gsUrl,frameborder:"0"}}):t._e()])],1),n("el-popover",{ref:"urlModal",attrs:{placement:"top-start",width:400,offset:500,trigger:"click"}},[n("el-form",{attrs:{model:t.urlForm}},[n("el-form-item",{attrs:{label:"forgeURL"}},[n("el-input",{attrs:{placeholder:"http://"},model:{value:t.urlForm.forgeUrl,callback:function(e){t.$set(t.urlForm,"forgeUrl",e)},expression:"urlForm.forgeUrl"}})],1),n("el-form-item",{attrs:{label:"超图URL"}},[n("el-input",{attrs:{placeholder:"http://"},model:{value:t.urlForm.gsUrl,callback:function(e){t.$set(t.urlForm,"gsUrl",e)},expression:"urlForm.gsUrl"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"primary"},on:{click:function(e){return e.stopPropagation(),t.onChangeUrl(e)}}},[t._v("修改")]),n("el-button",{on:{click:function(e){return e.stopPropagation(),t.resetUrl(e)}}},[t._v("取消")])],1)],1),n("el-button",{staticClass:"popover-btn",attrs:{slot:"reference",type:"primary",size:"mini"},slot:"reference"},[t._v("设置URL")])],1)],1)])],1)},o=[],i=(n("caad"),n("d3b7"),n("2532"),n("3ca3"),n("ddb0"),n("2909")),a=n("5530"),c=n("3835"),s=(n("96cf"),n("1da1")),l=n("f96e"),u=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,r){return n("div",{key:r,staticClass:"btn",class:{"active-btn":t.currentIndex===r},on:{click:function(e){return t.changeModelBtnClick(r)}}},[t._v(" "+t._s(e)+" ")])})),0)},f=[],p={props:{titleList:{type:Array,defualt:function(){return[]}}},data:function(){return{currentIndex:0}},methods:{changeModelBtnClick:function(t){this.currentIndex=t,this.$emit("changeModelBtnClick",t)}}},g=p,d=(n("c58a"),n("2877")),m=Object(d["a"])(g,u,f,!1,null,"548160cc",null),h=m.exports,b=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,r){return n("div",{key:r+"1",staticClass:"text-content"},[n("div",{staticClass:"content-title"},[t._v(t._s(e.itemName)+":")]),t._l(e.itemContent.split("-"),(function(e,r){return n("div",{key:r+"2",staticClass:"content-body"},[t._v(t._s(e))])}))],2)})),0):t._e()]},proxy:!0}])})],1)},y=[],v=n("a9b4"),x=n("7a71"),C={components:{Title:v["a"],NoteContentItem:x["a"]},props:{textItem:{type:Object,default:function(){return{}}}},data:function(){return{}}},w=C,k=(n("16f0"),Object(d["a"])(w,b,y,!1,null,"dd383162",null)),I=(k.exports,n("2ef0")),S=n("2be9"),j=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"text-com"},[n("Title",{attrs:{topTitle:"项目概况"}}),n("NoteContentItem",{staticClass:"text-container",scopedSlots:t._u([{key:"main",fn:function(){return[n("el-input",{ref:"textarea",staticClass:"text-content",class:{editing:t.editing},attrs:{type:"textarea",readonly:!t.editing,resize:"none"},model:{value:t.content,callback:function(e){t.content=e},expression:"content"}}),n("div",{staticClass:"btn-group",style:{display:t.editing?"block":""}},[t.editing?n("templat",[n("el-button",{attrs:{size:"mini",type:"primary",loading:t.loading},on:{click:function(e){return e.stopPropagation(),t.confirmEdit(e)}}},[t._v("完成")]),n("el-button",{attrs:{size:"mini"},on:{click:function(e){return e.stopPropagation(),t.cancelEdit(e)}}},[t._v("取消")])],1):n("el-button",{attrs:{size:"mini",type:"primary"},on:{click:function(e){return e.stopPropagation(),t.startEdit(e)}}},[t._v("编辑")])],1)]},proxy:!0}])})],1)},_=[],O=n("3de1"),L=n("b775"),U={components:{Title:v["a"],NoteContentItem:x["a"]},props:{content:{type:String,default:""}},data:function(){return{editing:!1,loading:!1,originContent:""}},methods:{startEdit:function(){this.editing=!0,this.originContent=this.content,this.$refs.textarea.focus()},cancelEdit:function(){this.editing=!1,console.log(this.originContent),this.content=this.originContent},confirmEdit:function(){var t=this;return Object(s["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.loading=!0,t.$emit("updateIntroduce",t.content,(function(e){t.loading=!1,Object(L["c"])(e),e.Code||(t.originContent=t.content,t.editing=!1)}));case 2:case"end":return e.stop()}}),e)})))()}}},A=U,P=(n("4e43"),Object(d["a"])(A,j,_,!1,null,"6fcfbe35",null)),B=P.exports,R={components:{AppHeader:l["a"],ChangeModelBtn:h,Introduce:B},data:function(){return{projectId:sessionStorage.projId,titleList:["forge模型","超图"],joinProjName:"观全局-".concat(sessionStorage.projName),textData:[],progressData:[],graphData:[],isShowLeftPage:!0,btnLeft:24,iconRotateDeg:90,config:{},urlForm:{gsUrl:"",forgeUrl:""}}},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;return Object(s["a"])(regeneratorRuntime.mark((function e(){var n,r,o,s,l,u,f;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([t.$fetchApi("project/queryProjectGobalConfig",{id:t.projectId}),Object(S["a"])(),Object(S["g"])(),Object(S["b"])(),Object(S["c"])()]);case 2:n=e.sent,r=Object(c["a"])(n,5),o=r[0],s=r[1],l=r[2],u=r[3],f=r[4],t.config=Object(O["b"])(o.Data||{id:t.projectId}),t.urlForm=Object(I["pick"])(t.config,["gsUrl","forgeUrl"]),t.textData=[Object(a["a"])({},s)],t.progressData=[Object(a["a"])({},l)],t.graphData=[Object(a["a"])({},u)],t.graphData.push(f),t.graphData=Object(i["a"])(t.graphData);case 16:case"end":return e.stop()}}),e)})))()},updateIntroduce:function(t,e){var n=this;return Object(s["a"])(regeneratorRuntime.mark((function r(){var o;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.next=2,n.updateConfig({projectIntroduce:t});case 2:o=r.sent,e(o);case 4:case"end":return r.stop()}}),r)})))()},updateConfig:function(t){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function n(){var r,o;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return r=Object(a["a"])(Object(a["a"])({},e.config),t),n.next=3,e.$fetchApi("project/addProjectGobalConfig",Object(O["c"])(r));case 3:return o=n.sent,o.Code||(e.config=r),n.abrupt("return",o);case 6:case"end":return n.stop()}}),n)})))()},onChangeUrl:function(){var t=this;return Object(s["a"])(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.updateConfig(t.urlForm);case 2:if(n=e.sent,Object(L["c"])(n),!n.Code){e.next=6;break}return e.abrupt("return");case 6:t.$refs.urlModal.doClose();case 7:case"end":return e.stop()}}),e)})))()},resetUrl:function(){this.$refs.urlModal.doClose(),this.urlForm=Object(I["pick"])(this.config,["gsUrl","forgeUrl"])},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,this.$refs.watchCarousel.setActiveItem(t)},backToIndex:function(){this.$router.push({path:"index"}).catch((function(t){console.log(t)}))}}},N=R,F=(n("b6ea"),Object(d["a"])(N,r,o,!1,null,"01d6ab2a",null));e["default"]=F.exports},"16f0":function(t,e,n){"use strict";var r=n("ee3e"),o=n.n(r);o.a},2532:function(t,e,n){"use strict";var r=n("23e7"),o=n("5a34"),i=n("1d80"),a=n("ab13");r({target:"String",proto:!0,forced:!a("includes")},{includes:function(t){return!!~String(i(this)).indexOf(o(t),arguments.length>1?arguments[1]:void 0)}})},"28ed":function(t,e,n){"use strict";var r=n("0aa6"),o=n.n(r);o.a},"2be9":function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"g",(function(){return i})),n.d(e,"b",(function(){return a})),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 p}));n("d3b7"),n("25f0"),n("a4d3"),n("e01a"),n("d28b"),n("3ca3"),n("ddb0");function r(t){return r="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},r(t)}function o(){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 i(){return{title:"进度",content:[{pName:"楼宇A设计进度",pNum:.8},{pName:"楼宇B设计进度",pNum:.25},{pName:"楼宇C设计进度",pNum:.5}]}}function a(){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 r(t,e){for(var n in e)e[n]instanceof Array?(t[n]=t[n]?t[n]:[],r(t[n],e[n])):e[n]instanceof Object?"function"==typeof e[n]?t[n]=e[n]:(t[n]=t[n]?t[n]:{},r(t[n],e[n])):t[n]=e[n]}return r(n,t),r(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 p(){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(r([]),r({}),r(e)),t.options=l(s,t.options),t}},"4e43":function(t,e,n){"use strict";var r=n("63d2"),o=n.n(r);o.a},"4f3e":function(t,e,n){},"5a34":function(t,e,n){var r=n("44e7");t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},"63d2":function(t,e,n){},"7a71":function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"note-content"},[t._t("main")],2)},o=[],i={data:function(){return{}}},a=i,c=(n("9357"),n("2877")),s=Object(c["a"])(a,r,o,!1,null,"4706032e",null);e["a"]=s.exports},"90a2":function(t,e,n){},9357:function(t,e,n){"use strict";var r=n("4f3e"),o=n.n(r);o.a},a9b4:function(t,e,n){"use strict";var r=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)])},o=[],i={props:{topTitle:{type:String,default:""}},data:function(){return{}}},a=i,c=(n("28ed"),n("2877")),s=Object(c["a"])(a,r,o,!1,null,"4da9b100",null);e["a"]=s.exports},ab13:function(t,e,n){var r=n("b622"),o=r("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[o]=!1,"/./"[t](e)}catch(r){}}return!1}},b6ea:function(t,e,n){"use strict";var r=n("90a2"),o=n.n(r);o.a},c58a:function(t,e,n){"use strict";var r=n("c6ed"),o=n.n(r);o.a},c6ed:function(t,e,n){},caad:function(t,e,n){"use strict";var r=n("23e7"),o=n("4d64").includes,i=n("44d2"),a=n("ae40"),c=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:!c},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},ee3e:function(t,e,n){},f96e:function(t,e,n){"use strict";var r=n("01a8");n.d(e,"a",(function(){return r["a"]}))}}]);