chunk-24168442.cfcd760c.js 11 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-24168442","chunk-24168442","chunk-2d0df437"],{"1d59":function(t,e,a){t.exports=a.p+"img/nopass.2678b47f.png"},2555:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t._self._c;return e("j-modal",{attrs:{title:t.title,width:t.width,visible:t.visible,confirmLoading:t.confirmLoading,switchFullscreen:"",cancelText:"关闭"},on:{ok:t.handleOk,cancel:t.handleCancel}},[1==t.auth?e("img",{staticClass:"auth-state",attrs:{src:a("6edb"),alt:"审批通过"}}):t._e(),2==t.auth?e("img",{staticClass:"auth-state",attrs:{src:a("1d59"),alt:"不通过"}}):t._e(),e("a-row",{attrs:{gutter:24}},[e("a-col",{staticClass:"item",attrs:{span:4}},[t._v("\n 标题\n ")]),e("a-col",{staticClass:"item-value",attrs:{span:20}},[t._v("\n "+t._s(t.title)+"\n ")])],1),e("a-row",{attrs:{gutter:24}},[e("a-col",{staticClass:"item",attrs:{span:4}},[t._v("\n 发送者\n ")]),e("a-col",{staticClass:"item-value",attrs:{span:20}},[t._v("\n "+t._s(t.from)+"\n ")])],1),e("a-row",{attrs:{gutter:24}},[e("a-col",{staticClass:"item",attrs:{span:4}},[t._v("\n 接收者\n ")]),e("a-col",{staticClass:"item-value",attrs:{span:20}},[t._v("\n "+t._s(t.to)+"\n ")])],1),e("a-row",{attrs:{gutter:24}},[e("a-col",{staticClass:"item",attrs:{span:4}},[t._v("\n 抄送\n ")]),e("a-col",{staticClass:"item-value",attrs:{span:20}},[t._v("\n "+t._s(t.cc)+"\n ")])],1),e("a-row",{attrs:{gutter:24}},[e("a-col",{staticClass:"item",attrs:{span:2}},[t._v("\n 等级:\n ")]),e("a-col",{staticClass:"item-value",attrs:{span:3}},[t._v("\n "+t._s(t.level)+"\n ")]),e("a-col",{staticClass:"item",attrs:{span:2}},[t._v("\n 密级:\n ")]),e("a-col",{staticClass:"item-value",attrs:{span:3}},[t._v("\n "+t._s(t.secret)+"\n ")]),e("a-col",{staticClass:"item",attrs:{span:2}},[t._v("\n 总号:\n ")]),e("a-col",{staticClass:"item-value",attrs:{span:3}},[t._v("\n "+t._s(t.num)+"\n ")]),e("a-col",{staticClass:"item-value",attrs:{span:3}},[t._v("\n 共印"+t._s(t.copy)+"份\n ")])],1),e("a-row",{attrs:{gutter:24}},[e("a-col",{staticClass:"item",attrs:{span:4}},[t._v("\n 批签:\n ")]),e("a-col",{staticClass:"item-value",attrs:{span:20}},[t._v("\n "+t._s(t.approval)+"\n ")])],1),t.depart?e("a-row",{attrs:{gutter:24}},[e("a-col",{staticClass:"item",attrs:{span:4}},[t._v("\n 承办单位:\n ")]),e("a-col",{staticClass:"item-value",attrs:{span:20}},[t._v("\n "+t._s(t.depart)+"\n ")])],1):t._e(),e("div",{staticClass:"message",domProps:{innerHTML:t._s(t.content)}})],1)},s=[],i=(a("0fea"),a("88bc"),a("ca00"),a("e610")),r=a("b441");function l(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var o={name:"MessageDetail",components:{JImageUpload:i["default"]},data:function(){var t;return t={form:this.$form.createForm(this),title:"操作",width:800,visible:!1,model:{},labelCol:{xs:{span:24},sm:{span:5}},wrapperCol:{xs:{span:24},sm:{span:16}},confirmLoading:!1,validatorRules:{},url:{add:"/tourism/tourismCountry/add",edit:"/tourism/tourismCountry/edit"},content:"",cc:"",from:"",to:""},l(t,"title",""),l(t,"depart","fadfa"),l(t,"approval",""),l(t,"level",""),l(t,"secret",""),l(t,"copy",0),l(t,"num",""),l(t,"auth",0),t},created:function(){},methods:{edit:function(t){this.visible=!0,this.title="文书详情",this.cc=t.cc,this.content=t.content,this.title=t.title,this.from=r["a"].Roles[parseInt(t.from)],this.to=t.to,this.approval=t.approval,this.level=t.level,this.secret=t.secret,this.depart=t.depart,this.num=t.num,this.copy=t.copy,this.auth=t.auth},close:function(){this.$emit("close"),this.visible=!1},handleOk:function(){var t=this;t.close()},handleCancel:function(){this.close()}}},c=o,u=(a("5771"),a("2877")),p=Object(u["a"])(c,n,s,!1,null,"45b97244",null);e["default"]=p.exports},"3e02":function(t,e,a){},5771:function(t,e,a){"use strict";a("3e02")},"6edb":function(t,e,a){t.exports=a.p+"img/pass.fb66764b.png"},"88bc":function(t,e,a){(function(e){var a=1/0,n=9007199254740991,s="[object Arguments]",i="[object Function]",r="[object GeneratorFunction]",l="[object Symbol]",o="object"==typeof e&&e&&e.Object===Object&&e,c="object"==typeof self&&self&&self.Object===Object&&self,u=o||c||Function("return this")();function p(t,e,a){switch(a.length){case 0:return t.call(e);case 1:return t.call(e,a[0]);case 2:return t.call(e,a[0],a[1]);case 3:return t.call(e,a[0],a[1],a[2])}return t.apply(e,a)}function h(t,e){var a=-1,n=t?t.length:0,s=Array(n);while(++a<n)s[a]=e(t[a],a,t);return s}function f(t,e){var a=-1,n=e.length,s=t.length;while(++a<n)t[s+a]=e[a];return t}var d=Object.prototype,v=d.hasOwnProperty,m=d.toString,g=u.Symbol,b=d.propertyIsEnumerable,w=g?g.isConcatSpreadable:void 0,y=Math.max;function _(t,e,a,n,s){var i=-1,r=t.length;a||(a=x),s||(s=[]);while(++i<r){var l=t[i];e>0&&a(l)?e>1?_(l,e-1,a,n,s):f(s,l):n||(s[s.length]=l)}return s}function C(t,e){return t=Object(t),j(t,e,(function(e,a){return a in t}))}function j(t,e,a){var n=-1,s=e.length,i={};while(++n<s){var r=e[n],l=t[r];a(l,r)&&(i[r]=l)}return i}function L(t,e){return e=y(void 0===e?t.length-1:e,0),function(){var a=arguments,n=-1,s=y(a.length-e,0),i=Array(s);while(++n<s)i[n]=a[e+n];n=-1;var r=Array(e+1);while(++n<e)r[n]=a[n];return r[e]=i,p(t,this,r)}}function x(t){return M(t)||A(t)||!!(w&&t&&t[w])}function O(t){if("string"==typeof t||P(t))return t;var e=t+"";return"0"==e&&1/t==-a?"-0":e}function A(t){return I(t)&&v.call(t,"callee")&&(!b.call(t,"callee")||m.call(t)==s)}var M=Array.isArray;function U(t){return null!=t&&k(t.length)&&!S(t)}function I(t){return F(t)&&U(t)}function S(t){var e=z(t)?m.call(t):"";return e==i||e==r}function k(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}function z(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function F(t){return!!t&&"object"==typeof t}function P(t){return"symbol"==typeof t||F(t)&&m.call(t)==l}var V=L((function(t,e){return null==t?{}:C(t,h(_(e,1),O))}));t.exports=V}).call(this,a("c8ba"))},b441:function(t,e,a){"use strict";var n=["舟山普陀机场","喀什机场","阿坝红原机场","太谷机场","博鳌机场","昌都机场","山东聊城军事机场","湘阴县军事机场","中江机场","吉林通化机场","泸州机场","山西临汾机场","山西运城机场","新疆乌鲁木齐水磨沟机场","宁夏回族自治区银川市魏家桥机场","北京首都国际机场","云南普尔机场"],s=["雨天","晴天","雪天","沙尘","雷暴"],i=["白天","黑夜"],r=["未定义","总参谋长","支队长","融合力量","远航终端","参谋终端","航管员","气象员","战勤","导调","领航","未定义","未定义","未定义","未定义","未定义","未定义","未定义","未定义","未定义","飞行员","机务"],l={Crew:21,z8:20,z9:20,z10:20,m171:20,y12:20,y7:20},o={z8:0,z9:1,z10:2,m171:3,y12:4,y7:5,Crew:-1},c=["直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];e["a"]={Maps:n,Weathers:s,Roles:r,VehicleNames:c,VehicleIds:o,Subjects:u,Subject2Map:p,AddableNames:l,TimeName:function(t){return 14==t?i[0]:21==t?i[1]:void 0}}},e610:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t._self._c;return e("a-upload",{attrs:{name:"file",listType:"picture-card",multiple:t.isMultiple,action:t.uploadAction,headers:t.headers,data:{biz:t.bizPath},fileList:t.fileList,beforeUpload:t.beforeUpload,disabled:t.disabled,isMultiple:t.isMultiple,showUploadList:t.isMultiple},on:{change:t.handleChange,preview:t.handlePreview}},[!t.isMultiple&&t.picUrl?e("img",{staticStyle:{height:"104px","max-width":"300px"},attrs:{src:t.getAvatarView()}}):e("div",[e("a-icon",{attrs:{type:t.uploadLoading?"loading":"plus"}}),e("div",{staticClass:"ant-upload-text"},[t._v(t._s(t.text))])],1),e("a-modal",{attrs:{visible:t.previewVisible,footer:null},on:{cancel:function(e){return t.handleCancel()}}},[e("img",{staticStyle:{width:"100%"},attrs:{alt:"example",src:t.previewImage}})])],1)},s=[],i=a("2b0e"),r=a("9fb0"),l=a("0fea"),o=function(){return"-"+parseInt(1e4*Math.random()+1,10)},c=function(t){if(t.lastIndexOf("\\")>=0){var e=new RegExp("\\\\","g");t=t.replace(e,"/")}return t.substring(t.lastIndexOf("/")+1)},u={name:"JImageUpload",data:function(){return{uploadAction:window._CONFIG["domianURL"]+"/sys/common/upload",uploadLoading:!1,picUrl:!1,headers:{},fileList:[],previewImage:"",previewVisible:!1}},props:{text:{type:String,required:!1,default:"上传"},bizPath:{type:String,required:!1,default:"temp"},value:{type:[String,Array],required:!1},disabled:{type:Boolean,required:!1,default:!1},isMultiple:{type:Boolean,required:!1,default:!1}},watch:{value:function(t){t instanceof Array?this.initFileList(t.join(",")):this.initFileList(t)}},created:function(){var t=i["default"].ls.get(r["a"]);this.headers={"X-Access-Token":t}},methods:{initFileList:function(t){if(t&&0!=t.length){this.picUrl=!0;for(var e=[],a=t.split(","),n=0;n<a.length;n++){var s=Object(l["e"])(a[n]);e.push({uid:o(),name:c(a[n]),status:"done",url:s,response:{status:"history",message:a[n]}})}this.fileList=e}else this.fileList=[]},beforeUpload:function(t){var e=t.type;if(e.indexOf("image")<0)return this.$message.warning("请上传图片"),!1},handleChange:function(t){this.picUrl=!1;var e=t.fileList;"done"===t.file.status?t.file.response.success&&(this.picUrl=!0,e=e.map((function(t){return t.response&&(t.url=t.response.message),t}))):"error"===t.file.status?this.$message.error("".concat(t.file.name," 上传失败.")):"removed"===t.file.status&&this.handleDelete(t.file),this.fileList=e,"done"!==t.file.status&&"removed"!==t.file.status||this.handlePathChange()},handlePreview:function(t){this.previewImage=t.url||t.thumbUrl,this.previewVisible=!0},getAvatarView:function(){if(this.fileList.length>0){var t=this.fileList[0].url;return Object(l["e"])(t)}},handlePathChange:function(){var t=this.fileList,e="";t&&0!=t.length||(e="");var a=[];if(this.isMultiple)for(var n=0;n<t.length;n++)a.push(t[n].response.message);else a.push(t[t.length-1].response.message);a.length>0&&(e=a.join(",")),this.$emit("change",e)},handleDelete:function(t){},handleCancel:function(){this.close(),this.previewVisible=!1},close:function(){}},model:{prop:"value",event:"change"}},p=u,h=a("2877"),f=Object(h["a"])(p,n,s,!1,null,"244aa1d3",null);e["default"]=f.exports}}]);