1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-01d1e578","chunk-2d0df437"],{"88bc":function(e,r,t){(function(r){var t=1/0,a=9007199254740991,n="[object Arguments]",o="[object Function]",l="[object GeneratorFunction]",i="[object Symbol]",c="object"==typeof r&&r&&r.Object===Object&&r,s="object"==typeof self&&self&&self.Object===Object&&self,u=c||s||Function("return this")();function p(e,r,t){switch(t.length){case 0:return e.call(r);case 1:return e.call(r,t[0]);case 2:return e.call(r,t[0],t[1]);case 3:return e.call(r,t[0],t[1],t[2])}return e.apply(r,t)}function b(e,r){var t=-1,a=e?e.length:0,n=Array(a);while(++t<a)n[t]=r(e[t],t,e);return n}function f(e,r){var t=-1,a=r.length,n=e.length;while(++t<a)e[n+t]=r[t];return e}var m=Object.prototype,h=m.hasOwnProperty,d=m.toString,v=u.Symbol,w=m.propertyIsEnumerable,C=v?v.isConcatSpreadable:void 0,y=Math.max;function x(e,r,t,a,n){var o=-1,l=e.length;t||(t=O),n||(n=[]);while(++o<l){var i=e[o];r>0&&t(i)?r>1?x(i,r-1,t,a,n):f(n,i):a||(n[n.length]=i)}return n}function g(e,r){return e=Object(e),j(e,r,(function(r,t){return t in e}))}function j(e,r,t){var a=-1,n=r.length,o={};while(++a<n){var l=r[a],i=e[l];t(i,l)&&(o[l]=i)}return o}function k(e,r){return r=y(void 0===r?e.length-1:r,0),function(){var t=arguments,a=-1,n=y(t.length-r,0),o=Array(n);while(++a<n)o[a]=t[r+a];a=-1;var l=Array(r+1);while(++a<r)l[a]=t[a];return l[r]=o,p(e,this,l)}}function O(e){return M(e)||A(e)||!!(C&&e&&e[C])}function z(e){if("string"==typeof e||J(e))return e;var r=e+"";return"0"==r&&1/e==-t?"-0":r}function A(e){return R(e)&&h.call(e,"callee")&&(!w.call(e,"callee")||d.call(e)==n)}var M=Array.isArray;function N(e){return null!=e&&F(e.length)&&!S(e)}function R(e){return _(e)&&N(e)}function S(e){var r=$(e)?d.call(e):"";return r==o||r==l}function F(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}function $(e){var r=typeof e;return!!e&&("object"==r||"function"==r)}function _(e){return!!e&&"object"==typeof e}function J(e){return"symbol"==typeof e||_(e)&&d.call(e)==i}var T=k((function(e,r){return null==e?{}:g(e,b(x(r,1),z))}));e.exports=T}).call(this,t("c8ba"))},a726:function(e,r,t){"use strict";t.r(r);var a=function(){var e=this,r=e._self._c;return r("a-checkbox-group",e._b({attrs:{options:e.options,value:e.checkboxArray},on:{change:e.onChange}},"a-checkbox-group",e.$attrs,!1))},n=[],o={name:"JCheckbox",props:{value:{type:String,required:!1},options:{type:Array,required:!0}},data:function(){return{checkboxArray:this.value?this.value.split(","):[]}},watch:{value:function(e){this.checkboxArray=e?this.value.split(","):[]}},methods:{onChange:function(e){this.$emit("change",e.join(","))}},model:{prop:"value",event:"change"}},l=o,i=t("2877"),c=Object(i["a"])(l,a,n,!1,null,null,null);r["default"]=c.exports},b1d8:function(e,r,t){"use strict";t.r(r);var a=function(){var e=this,r=e._self._c;return r("j-modal",{attrs:{title:e.title,width:e.width,visible:e.visible,cancelText:"关闭"},on:{ok:e.handleOk,cancel:e.handleCancel}},[r("a-spin",{attrs:{spinning:e.confirmLoading}},[r("a-form",{attrs:{form:e.form}},[r("a-row",{attrs:{gutter:24}},[r("a-col",{attrs:{span:8}},[r("a-form-item",{attrs:{label:"机务",labelCol:e.labelCol,wrapperCol:e.wrapperRowCol}},[r("a-input-number",{directives:[{name:"decorator",rawName:"v-decorator",value:["Crew"],expression:"['Crew']"}]})],1)],1),r("a-col",{attrs:{span:8}},[r("a-form-item",{attrs:{label:"直8飞行员",labelCol:e.labelCol,wrapperCol:e.wrapperRowCol}},[r("a-input-number",{directives:[{name:"decorator",rawName:"v-decorator",value:["z8"],expression:"['z8']"}]})],1)],1),r("a-col",{attrs:{span:8}},[r("a-form-item",{attrs:{label:"直9飞行员",labelCol:e.labelCol,wrapperCol:e.wrapperRowCol}},[r("a-input-number",{directives:[{name:"decorator",rawName:"v-decorator",value:["z9"],expression:"['z9']"}]})],1)],1),r("a-col",{attrs:{span:8}},[r("a-form-item",{attrs:{label:"直11飞行员",labelCol:e.labelCol,wrapperCol:e.wrapperRowCol}},[r("a-input-number",{directives:[{name:"decorator",rawName:"v-decorator",value:["z10"],expression:"['z10']"}]})],1)],1),r("a-col",{attrs:{span:8}},[r("a-form-item",{attrs:{label:"米171飞行员",labelCol:e.labelCol,wrapperCol:e.wrapperRowCol}},[r("a-input-number",{directives:[{name:"decorator",rawName:"v-decorator",value:["m171"],expression:"['m171']"}]})],1)],1),r("a-col",{attrs:{span:8}},[r("a-form-item",{attrs:{label:"运12飞行员",labelCol:e.labelCol,wrapperCol:e.wrapperRowCol}},[r("a-input-number",{directives:[{name:"decorator",rawName:"v-decorator",value:["y12"],expression:"['y12']"}]})],1)],1),r("a-col",{attrs:{span:8}},[r("a-form-item",{attrs:{label:"运7飞行员",labelCol:e.labelCol,wrapperCol:e.wrapperRowCol}},[r("a-input-number",{directives:[{name:"decorator",rawName:"v-decorator",value:["y7"],expression:"['y7']"}]})],1)],1)],1)],1)],1)],1)},n=[],o=(t("0fea"),t("88bc"),t("ca00"),t("a726")),l=t("b441"),i={name:"UserModal",components:{JCheckbox:o["default"]},data:function(){return{form:this.$form.createForm(this),title:"选择参训角色",width:705,visible:!1,model:{},labelCol:{xs:{span:24},sm:{span:12}},wrapperRowCol:{xs:{span:24},sm:{span:12}},confirmLoading:!1,maxOptoins:{MaxCoPilot:0,MaxCrew:0,MaxZ8:0,MaxZ9:0,MaxZ10:0,MaxM171:0,MaxY12:0}}},created:function(){},methods:{show:function(e){this.maxOptoins=e,this.form.resetFields(),this.visible=!0},close:function(e){this.$emit("close",e),this.visible=!1},handleOk:function(){var e=this;this.form.validateFields((function(r,t){r||(e.$emit("ok",e.parseType(t)),e.visible=!1)}))},parseType:function(e){var r=[],t=l["a"].AddableNames,a=l["a"].VehicleIds;for(var n in e)e[n]&&r.push({role:t[n],vehicleid:a[n],count:e[n]});return r},handleCancel:function(){this.close()}}},c=i,s=t("2877"),u=Object(s["a"])(c,a,n,!1,null,null,null);r["default"]=u.exports},b441:function(e,r,t){"use strict";var a=["舟山普陀机场","喀什机场","阿坝红原机场","太谷机场","博鳌机场","昌都机场","山东聊城军事机场","湘阴县军事机场","中江机场","吉林通化机场","泸州机场","山西临汾机场","山西运城机场","新疆乌鲁木齐水磨沟机场","宁夏回族自治区银川市魏家桥机场","北京首都国际机场","云南普尔机场"],n=["雨天","晴天","雪天","沙尘","雷暴"],o=["白天","黑夜"],l=["未定义","总参谋长","支队长","融合力量","远航终端","参谋终端","航管员","气象员","战勤","导调","领航","未定义","未定义","未定义","未定义","未定义","未定义","未定义","未定义","未定义","飞行员","机务"],i={Crew:21,z8:20,z9:20,z10:20,m171:20,y12:20,y7:20},c={z8:0,z9:1,z10:2,m171:3,y12:4,y7:5,Crew:-1},s=["直8","直9","直11","米171","运12","运7"],u=["岛礁起降","跟进飞行","编队飞行","航行转场飞行","空中投送飞行","巡逻侦查飞行","跟踪追击飞行","海上搜索飞行","灭火飞行","战斗起飞","静止着舰飞行","行进着舰飞行","全轮着陆机降飞行","悬停跳下机降飞行","悬停索降飞行","小速度掠地跳下机降飞行","舱门射击飞行","海上维权执法取证","宣传震慑飞行","跟踪追捕飞行","以执勤为背景的联合演练","以处突为背景的联合演练","以反恐为背景的联合演练","以海上维权执法为背景的联合演练","以抢险救援为背景的联合演练","以防卫作战为背景的联合演练","人员突发情况指挥协同","直升机突发情况指挥协同","环境突发情况指挥协同","航管突发情况指挥协同","任务中突发情况指挥协同"],p=[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];r["a"]={Maps:a,Weathers:n,Roles:l,VehicleNames:s,VehicleIds:c,Subjects:u,Subject2Map:p,AddableNames:i,TimeName:function(e){return 14==e?o[0]:21==e?o[1]:void 0}}}}]);
|