1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-48f3d2f8"],{"3d10":function(t,a,s){},ba1b:function(t,a,s){"use strict";s("3d10")},f821:function(t,a,s){"use strict";s.r(a);var e=function(){var t=this,a=t._self._c;return a("a-layout",{staticClass:"system-layout layout"},[a("a-layout-header",{staticClass:"system_header"},[a("div",{staticClass:"left_cover"}),a("div",{staticClass:"right_cover"}),a("img",{staticClass:"page_title",attrs:{src:s("f773"),alt:""}})]),a("a-layout-content",{staticClass:"system-content"},[a("div",{staticClass:"content_header"},[a("div",{staticClass:"page_title"},[t._v(t._s(t.result.comm?t.result.comm.subject:""))]),a("div",{staticClass:"flex_row"},[a("div",{staticClass:"record_time"},[a("span",{staticClass:"record_time_item"},[t._v("开始时间:"),a("span",{staticClass:"bold"},[t._v(t._s(t.result.comm?t.result.comm.start_time:""))])]),a("span",{staticClass:"record_time_item"},[t._v("结束时间:"),a("span",{staticClass:"bold"},[t._v(t._s(t.result.comm?t.result.comm.end_time:""))])]),a("span",{staticClass:"record_time_item"},[t._v("任务训练总时长:"),a("span",{staticClass:"bold"},[t._v(t._s(t.result.comm?t.result.comm.duration:"")+"分钟")])]),t._l(t.result.task,(function(s,e){return a("span",{key:e,staticClass:"record_time_item"},[t._v(t._s(s.split(":")[0])+":"),a("span",{staticClass:"bold"},[t._v(t._s(s.split(":")[1]))])])}))],2),a("div",{staticClass:"record_replay"},[a("img",{staticClass:"icon",attrs:{src:s("df84"),alt:""}}),t._v("查看回放")])])]),a("a-row",{staticClass:"row",attrs:{gutter:20}},[a("a-col",{attrs:{span:9}},[a("Pannel",{staticClass:"large_box",attrs:{title:"异调终端"}},[a("div",{staticClass:"flex_row"},[a("div",{staticClass:"vertical_card"},[a("scard",{attrs:{title:"参训人员"}},[a("member",{attrs:{data:t.result.teacher?t.result.teacher.users:[]}})],1)],1),a("div",{staticClass:"circle_chart"},[0!=t.size?a("Progress",{attrs:{ok:t.result.teacher.faultOk,total:t.result.teacher.faultTotal,size:t.size}}):t._e(),a("div",{staticClass:"btn_chart"},[t._v("\n 查看项目数据中心\n "),a("a-icon",{attrs:{type:"double-right"}})],1)],1),a("div",{staticClass:"vertical_card"},[a("scard",{attrs:{title:"操作日志"}},[a("LogList",{attrs:{data:t.result.teacher.logs}})],1)],1)])])],1),a("a-col",{attrs:{span:12}},[a("Pannel",{staticClass:"large_box"},[a("div",{attrs:{slot:"title"},slot:"title"},[a("a-tabs",{staticClass:"h_tab",attrs:{tabBarStyle:{border:"none",fontSize:"0.5rem"}},on:{change:t.changePilots},model:{value:t.pilotIndex,callback:function(a){t.pilotIndex=a},expression:"pilotIndex"}},t._l(t.result.pilots,(function(t,s){return a("a-tab-pane",{key:s,attrs:{tab:t.name}})})),1)],1),a("div",{staticClass:"flex_row"},[a("div",{staticClass:"vertical_card"},[a("scard",{attrs:{title:"训练数据"}},[a("NormalList",{attrs:{data:t.current.data}})],1)],1),a("div",{staticClass:"linechart_list"},[a("div",{staticClass:"mb_17 horizontal_card"},[a("scard",{attrs:{title:"各飞行终端时间速度曲线图"}},[0!=t.size?a("LineChart",{attrs:{type:"0",data:t.lines.speeds}}):t._e()],1)],1),a("div",{staticClass:"horizontal_card"},[a("scard",{attrs:{title:"各飞行终端时间高度曲线图"}},[0!=t.size?a("LineChart",{attrs:{type:"1",data:t.lines.heights}}):t._e()],1)],1)]),a("div",{staticClass:"linechart_list map_card"},[a("scard",{staticClass:"mapline_box",attrs:{title:"航线对比",width:"4.94"}},[a("div",{staticClass:"map_box"},[a("div",{staticClass:"map_legend"},[a("div",{staticClass:"leader_legend"},[t._v("领航规划图")]),a("div",{staticClass:"pilot_legend"},[t._v("实际飞行图")])]),a("div",{staticClass:"map_content"},[a("Mapline",{ref:"mapLine"})],1)])])],1),a("div",{staticClass:"linechart_list vertical_card"},[a("scard",{attrs:{title:"操作日志"}},[a("LogList",{attrs:{data:t.current.logs}})],1)],1)])])],1),a("a-col",{attrs:{span:3}},[a("div",{staticClass:"small_box mb_17"},[a("Pannel",{attrs:{title:"领航终端"}},[a("Mapline",{ref:"leaderMapline"})],1)],1),a("div",{staticClass:"small_box"},[a("Pannel",{attrs:{title:"机务终端"}},[a("NormalList",{attrs:{data:t.result.fixer}})],1)],1)])],1),a("a-row",{staticClass:"row card_list",attrs:{gutter:20}},[t._l(t.result.others,(function(t){return a("a-col",{key:t.id,attrs:{span:3}},[a("Pannel",{attrs:{title:t.name}},[a("LogList",{attrs:{title:"操作日志",data:t.logs}})],1)],1)})),t._l(8-t.result.others.length,(function(s){return a("a-col",{key:s-8,attrs:{span:3}},[a("Pannel",[t.loading?a("a-skeleton",{style:{opacity:".2"},attrs:{active:""}}):t._e()],1)],1)}))],2)],1)],1)},i=[],l=s("0fea"),r=s("1fe7"),n=s("16fb"),c=s("4106b"),o=s("df29"),d=s("b632"),u=s("3433"),p=s("e3de"),_=s("c63e"),h={components:{Member:r["default"],Scard:n["default"],Pannel:c["default"],LogList:o["default"],NormalList:d["default"],Mapline:u["default"],LineChart:p["default"],Progress:_["default"]},data:function(){return{timer:null,size:0,id:"",loading:!0,current:{},pilotIndex:0,mapLeaderData:[],mapPilotData:[],result:{comm:{},fixer:[],others:[],pilots:[],teacher:[]},lines:{heights:[],speeds:[]}}},mounted:function(){var t=this;this.initPageSize(),window.addEventListener("resize",(function(){t.initPageSize()}),!1);var a=this.$route.params.id;this.id=a,this.getBaseData()},methods:{initPageSize:function(){var t=document.documentElement,a=100*t.clientWidth/3360;this.size=a,t.style.fontSize=a+"px"},getLines:function(){var t=this;Object(l["c"])("/app/screen/twoline",{uid:this.current.id,rid:this.id}).then((function(a){200==a.code&&(t.lines=a.result)}))},getBaseData:function(){var t=this;Object(l["c"])("/app/screen/info",{id:this.id}).then((function(a){200==a.code?(t.result=a.result,a.result.pilots.length&&(t.current=a.result.pilots[0],t.getLines(),t.getMapData(!0))):t.result.teacher={faultTotal:0,faultOk:0}}))},changePilots:function(t){this.current=this.result.pilots[t],this.clearData(),this.getLines(),this.getMapData(!1)},clearData:function(){this.mapLeaderData=[],this.mapPilotData=[],this.lines={heights:[],speeds:[]}},getMapData:function(t){var a=this,s=this.$route.params.id,e=this.result.comm.scene;Promise.all([this.$http.get("/app/screen/naviLine?rid=".concat(s)),this.$http.get("/app/screen/pilotFlyLine?rid=".concat(s,"&uid=").concat(this.current.id))]).then((function(s){if(200==s[0].code&&200==s[1].code){var i=s[0].result.lines,l=s[1].result.lines;a.$refs.mapLine.update(e,i,l),t&&a.$refs.leaderMapline.update(e,i)}else a.$message.error("查询线路图失败")}))}}},m=h,v=(s("ba1b"),s("2877")),f=Object(v["a"])(m,e,i,!1,null,null,null);a["default"]=f.exports}}]);
|