(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1b08c35c"],{"4d20":function(t,a,s){},b441:function(t,a,s){"use strict";var e=["舟山普陀机场","喀什机场","阿坝红原机场","太谷机场","博鳌机场","昌都机场","山东聊城军事机场","湘阴县军事机场","中江机场","吉林通化机场","泸州机场","山西临汾机场","山西运城机场","新疆乌鲁木齐水磨沟机场","宁夏回族自治区银川市魏家桥机场","北京首都国际机场","云南普尔机场"],i=["雨天","晴天","雪天","沙尘","雷暴"],r=["白天","黑夜"],l=["未定义","总参谋长","支队长","融合力量","远航终端","参谋终端","航管员","气象员","战勤","导调","领航","未定义","未定义","未定义","未定义","未定义","未定义","未定义","未定义","未定义","飞行员","机务"],c={Crew:21,z8:20,z9:20,z10:20,m171:20,y12:20,y7:20},n={z8:0,z9:1,z10:2,m171:3,y12:4,y7:5,Crew:-1},o=["直8","直9","直11","米171","运12","运7"],d=["岛礁起降","跟进飞行","编队飞行","航行转场飞行","空中投送飞行","巡逻侦查飞行","跟踪追击飞行","海上搜索飞行","灭火飞行","战斗起飞","静止着舰飞行","行进着舰飞行","全轮着陆机降飞行","悬停跳下机降飞行","悬停索降飞行","小速度掠地跳下机降飞行","舱门射击飞行","海上维权执法取证","宣传震慑飞行","跟踪追捕飞行","以执勤为背景的联合演练","以处突为背景的联合演练","以反恐为背景的联合演练","以海上维权执法为背景的联合演练","以抢险救援为背景的联合演练","以防卫作战为背景的联合演练","人员突发情况指挥协同","直升机突发情况指挥协同","环境突发情况指挥协同","航管突发情况指挥协同","任务中突发情况指挥协同"],u=[0,-1,-1,[0,8],-1,1,3,0,-1,-1,0,0,-1,-1,-1,-1,0,0,1,0,1,1,1,0,0,1];a["a"]={Maps:e,Weathers:i,Roles:l,VehicleNames:o,VehicleIds:n,Subjects:d,Subject2Map:u,AddableNames:c,TimeName:function(t){return 14==t?r[0]:21==t?r[1]:void 0}}},ca73: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_img",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:"")+"分钟")])]),a("span",{staticClass:"record_time_item"},[t._v("训练地图:"),a("span",{staticClass:"bold"},[t._v(t._s(t._f("sceneName")(t.result.comm.scene)))])]),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("a",{staticClass:"record_replay",attrs:{href:"wjtrain:playback="+t.record.playback+","+t.record.title+","+t.record.subject+","+t.record.start_time}},[a("img",{staticClass:"icon",attrs:{src:s("df84"),alt:""}}),t._v("查看回放")])])]),a("a-row",{staticClass:"row",attrs:{gutter:20}},[a("a-col",{attrs:{span:24}},[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)],1),a("a-row",{staticClass:"row",attrs:{gutter:20}},[a("a-col",{attrs:{span:18}},[a("Pannel",{staticClass:"large_box",attrs:{title:"异调终端"}},[a("div",{staticClass:"flex_row"},[a("div",{staticClass:"small_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&&t.result.teacher?a("Progress",{attrs:{ok:t.result.teacher.faultOk,total:t.result.teacher.faultTotal,size:t.size}}):t._e(),a("div",{staticClass:"btn_chart",on:{click:t.jumpDataCenter}},[t._v("\n 查看项目数据中心\n "),a("a-icon",{attrs:{type:"double-right"}})],1)],1),a("div",{staticClass:"small_card"},[a("scard",{attrs:{title:"操作日志"}},[a("LogList",{attrs:{data:t.result.teacher?t.result.teacher.logs:[]}})],1)],1)])])],1),a("a-col",{attrs:{span:6}},[a("div",{staticClass:"small_box mb_17"},[a("Pannel",{attrs:{title:"领航终端"}},[a("div",{staticClass:"map_content"},[a("Mapline",{ref:"leaderMapline",attrs:{leader:!0}})],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:6}},[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:6}},[a("Pannel",[t.loading?a("a-skeleton",{style:{opacity:".2"},attrs:{active:""}}):t._e()],1)],1)}))],2)],1),a("a-layout-footer",{staticClass:"page_footer"},[a("div",{staticClass:"footer_content"},[t._v("武警部队航舰仿真训练辅助评估系统")])])],1)},i=[],r=s("0fea"),l=s("1fe7"),c=s("16fb"),n=s("4106b"),o=s("df29"),d=s("b632"),u=s("3433"),p=s("e3de"),m=s("c63e"),_=s("b441"),h={components:{Member:l["default"],Scard:c["default"],Pannel:n["default"],LogList:o["default"],NormalList:d["default"],Mapline:u["default"],LineChart:p["default"],Progress:m["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:[]}}},filters:{sceneName:function(t){return _["a"].Maps[parseInt(t)]}},computed:{record:function(){var t="",a="",s="",e="",i=this.result.comm;return i.subject&&(s=i.subject),i.start_time&&(a=i.start_time),i.title&&(t=i.title),i.playback&&(e=i.playback),{title:t,subject:s,start_time:a,playback:e}}},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:{jumpDataCenter:function(){window.open("/web")},jumpPlayBack:function(){},initPageSize:function(){var t=document.documentElement,a=100*t.clientWidth/1920;this.size=a,t.style.fontSize=a+"px"},getLines:function(){var t=this;Object(r["c"])("/app/screen/twoline",{uid:this.current.id,rid:this.id}).then((function(a){200==a.code&&(t.lines=a.result)})).catch((function(a){for(var s=0;s<1;s++){var e=0;t.lines.heights.push({tick:s,altitude:e}),t.lines.speeds.push({tick:s,speed:e})}}))},getBaseData:function(){var t=this,a=this;Object(r["c"])("/app/screen/info",{id:this.id}).then((function(s){200==s.code?(t.result=s.result,s.result.pilots.length&&(t.current=s.result.pilots[0],t.getLines(),t.getMapData(!0),setInterval((function(){a.clearData(),a.getLines(),a.getMapData(!1)}),1e4))):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,r=s[1].result.lines;a.$refs.mapLine.update(e,i,r),t&&a.$refs.leaderMapline.updateLeader(e,i)}else a.$message.error("查询线路图失败")})).catch((function(){}))}}},f=h,v=(s("e1d5"),s("2877")),C=Object(v["a"])(f,e,i,!1,null,null,null);a["default"]=C.exports},e1d5:function(t,a,s){"use strict";s("4d20")}}]);