348.5eb19235.js 39 KB

12
  1. "use strict";(self["webpackChunkchouhua02"]=self["webpackChunkchouhua02"]||[]).push([[348],{54348:function(t,e,l){l.r(e),l.d(e,{default:function(){return st}});var a=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"show",rawName:"v-show",value:t.$store.state.xqglContentVisible,expression:"$store.state.xqglContentVisible"}],staticClass:"XQGL-content"},[t.commonFunction.getUserConfig(t.$store.state.userOwnMenus,200).available?e("div",{staticClass:"leftArea-investigationDetails"},[e("div",{staticClass:"investigationDetails-title"}),e("div",{class:[t.nomalTitleStyle,t.clickTBtipStyle,t.clickHQtipStyle]},[e("div",{staticClass:"title-xqtbFont",on:{click:t.toXQTB}}),e("div",{staticClass:"title-xqhqFont",on:{click:t.toXQHQ}})]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.operateTBvserble,expression:"operateTBvserble"}],staticClass:"operate-buttoms"},[t.commonFunction.getUserConfig(t.$store.state.userOwnMenus,2001).available?e("el-dropdown",{on:{command:t.getTargetFromMapClick}},[e("el-button",{staticClass:"handle-button",attrs:{type:"primary"}},[t._v(" 手动导入"),e("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t.commonFunction.getUserConfig(t.$store.state.userOwnMenus,20001).available?e("el-dropdown-item",{attrs:{command:"selectPoint"}},[t._v("地图点选")]):t._e(),t.commonFunction.getUserConfig(t.$store.state.userOwnMenus,20002).available?e("el-dropdown-item",{attrs:{command:"selectPoints"}},[t._v("地图框选")]):t._e()],1)],1):t._e(),t.commonFunction.getUserConfig(t.$store.state.userOwnMenus,2002).available?e("el-button",{staticClass:"target-button",attrs:{type:"primary"},on:{click:t.getXQfromTargetBase}},[t._v("目标库导入")]):t._e(),t.commonFunction.getUserConfig(t.$store.state.userOwnMenus,2003).available?e("el-button",{staticClass:"excel-button",attrs:{type:"primary"},on:{click:t.popExcelWindow}},[t._v("excel导入")]):t._e()],1),e("div",{directives:[{name:"show",rawName:"v-show",value:t.operateHQvserble,expression:"operateHQvserble"}],staticClass:"operate-areaForXQHQ"},[e("div",{staticClass:"time-area"},[e("span",{staticClass:"timeArea-font"},[t._v("时间段")]),e("el-date-picker",{staticClass:"datePicker-style",attrs:{type:"datetimerange","start-placeholder":"开始时间","end-placeholder":"结束时间","default-time":["00:00:00","00:00:00"]},model:{value:t.timeValue,callback:function(e){t.timeValue=e},expression:"timeValue"}})],1),e("div",{staticClass:"button-area"},[e("el-button",{staticClass:"get-XQ",attrs:{type:"primary"}},[t._v("获取详情")])],1)]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.XQTBviserble,expression:"XQTBviserble"}],staticClass:"table1TB-area"},[e("xqglTableTB",{attrs:{tableXQTBData:t.getTableXQTBData},on:{getValues:t.getDataFromSonXQTB,getRightClickValue:t.getDataFromSonXQTBrightclick}})],1),e("div",{directives:[{name:"show",rawName:"v-show",value:t.XQHQviserble,expression:"XQHQviserble"}],staticClass:"table1HQ-area"},[e("xqglTableHQ",{on:{getValues:t.getDataFromSonXQTB}})],1),e("div",{staticClass:"CH-buttonDIV"},[t.commonFunction.getUserConfig(t.$store.state.userOwnMenus,2005).available?e("el-button",{staticClass:"CHbutton-style",attrs:{type:"primary"},on:{click:t.toCHpage}},[t._v("提报")]):t._e()],1),e("div",{directives:[{name:"show",rawName:"v-show",value:t.rightClickMenuVisible,expression:"rightClickMenuVisible"}],staticClass:"XQtableRightClick-menu",attrs:{id:"rightClickMenu"}},[e("li",{on:{click:t.rightClickMenuAppTimes}},[t._v("时间应用到所有")]),e("li",{on:{click:t.rightClickMenuAppMeans}},[t._v("手段应用到所有")]),e("li",{on:{click:t.rightClickMenuDelete}},[t._v("删除")]),e("li",{on:{click:t.rightClickMenuClear}},[t._v("清空")]),e("li",{on:{click:t.rightClickMenuClose}},[t._v("取消")])])]):t._e(),e("div",{staticClass:"middleAres-popWindows"},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.XQtargetVisible,expression:"XQtargetVisible"}],staticClass:"XQ-target"},[e("div",{staticClass:"pointTarget-word"},[t._v(" 点目标 ")]),e("div",{staticClass:"pointTarget-title"},[t._v(" "+t._s(t.pointTargetTitle)+" "),e("div",{staticClass:"pointTarget-closeIcon"},[e("i",{staticClass:"el-icon-close",on:{click:t.closeWindowViaIcon}})])]),e("el-form",{ref:"pointform",staticClass:"pointTargetContent-form",attrs:{model:t.pointTargetForm,"label-width":"80px"}},[e("el-form-item",{attrs:{label:"观测目的"}},[e("el-select",{attrs:{placeholder:""},model:{value:t.pointTargetForm.selectValue,callback:function(e){t.$set(t.pointTargetForm,"selectValue",e)},expression:"pointTargetForm.selectValue"}},t._l(t.pointTargetForm.targetMethod,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),e("el-form-item",{attrs:{label:"开始时间"}},[e("el-date-picker",{attrs:{type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss",placeholder:"选择开始时间"},model:{value:t.pointTargetForm.pointTargetStartTime,callback:function(e){t.$set(t.pointTargetForm,"pointTargetStartTime",e)},expression:"pointTargetForm.pointTargetStartTime"}})],1),e("el-form-item",{attrs:{label:"截至时间"}},[e("el-date-picker",{attrs:{type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss",placeholder:"选择开始时间"},model:{value:t.pointTargetForm.pointTargetEndTime,callback:function(e){t.$set(t.pointTargetForm,"pointTargetEndTime",e)},expression:"pointTargetForm.pointTargetEndTime"}})],1),e("el-form-item",{attrs:{label:"优先级"}},[e("el-input-number",{attrs:{min:1,max:1e4,"controls-position":"right"},on:{change:t.inputChange},model:{value:t.pointTargetForm.priorNumber,callback:function(e){t.$set(t.pointTargetForm,"priorNumber",e)},expression:"pointTargetForm.priorNumber"}})],1),e("el-form-item",{attrs:{label:"频次"}},[e("el-input-number",{attrs:{min:1,max:5,"controls-position":"right"},on:{change:t.inputChange},model:{value:t.pointTargetForm.frequency,callback:function(e){t.$set(t.pointTargetForm,"frequency",e)},expression:"pointTargetForm.frequency"}})],1),e("el-form-item",{attrs:{label:"侦察手段"}},[e("el-input",{attrs:{placeholder:""},model:{value:t.pointTargetForm.investigationMeans,callback:function(e){t.$set(t.pointTargetForm,"investigationMeans",e)},expression:"pointTargetForm.investigationMeans"}},[e("i",{staticClass:"el-icon-more",attrs:{slot:"suffix"},on:{click:t.toSatelliteFilter},slot:"suffix"})])],1),e("div",{staticClass:"confirmORcancel-pointTarget"},[e("el-button",{staticClass:"pointTarget-confirm-button",attrs:{type:"primary"},on:{click:t.closePointTargetViaConfirmButton}},[t._v("确认 ")]),e("el-button",{staticClass:"pointTarget-cancel-button",attrs:{type:"primary"},on:{click:t.closePointTargetViaButton}},[t._v("取消 ")])],1)],1)],1),e("div",{directives:[{name:"show",rawName:"v-show",value:t.mapSelectVisible,expression:"mapSelectVisible"}],staticClass:"mapSelect-content"},[e("div",{staticClass:"mapSelect-titleWords"},[t._v(" 内容详情 "),e("div",{staticClass:"excel-mapSelect"},[e("i",{staticClass:"el-icon-close",on:{click:t.closemapSelectWindowVia}})])]),e("div",{staticClass:"mapSelect-formArea"},[e("div",{staticClass:"mapSelect-formContent"},[e("el-form",{ref:"mapform",attrs:{model:t.mapSelectForm,"label-width":"58px"}},[e("el-form-item",{attrs:{label:"名称"}},[e("el-input",{attrs:{size:"mini"},model:{value:t.mapSelectForm.name,callback:function(e){t.$set(t.mapSelectForm,"name",e)},expression:"mapSelectForm.name"}})],1),e("el-form-item",{attrs:{label:"经纬度"}},[e("el-input",{attrs:{type:"textarea"},model:{value:t.mapPointSelectLonlat_useUI,callback:function(e){t.mapPointSelectLonlat_useUI=e},expression:"mapPointSelectLonlat_useUI"}})],1),e("el-form-item",{attrs:{label:"级别"}},[e("el-input",{attrs:{size:"mini"},model:{value:t.mapSelectForm.level,callback:function(e){t.$set(t.mapSelectForm,"level",e)},expression:"mapSelectForm.level"}})],1),e("el-form-item",{attrs:{label:"类型"}},["selectPoint"===t.mapPointSelect?e("el-input",{attrs:{size:"mini"},model:{value:t.mapSelectForm.types[0].label,callback:function(e){t.$set(t.mapSelectForm.types[0],"label",e)},expression:"mapSelectForm.types[0].label"}}):t._e(),"selectPoints"===t.mapPointSelect?e("el-input",{attrs:{size:"mini"},model:{value:t.mapSelectForm.types[2].label,callback:function(e){t.$set(t.mapSelectForm.types[2],"label",e)},expression:"mapSelectForm.types[2].label"}}):t._e()],1),e("el-form-item",{attrs:{label:"国别"}},[e("el-input",{attrs:{size:"mini"},model:{value:t.mapSelectForm.country,callback:function(e){t.$set(t.mapSelectForm,"country",e)},expression:"mapSelectForm.country"}})],1)],1)],1),e("div",{staticClass:"mapSelect-formButtonsDIV"},[e("div",{staticClass:"mapSelect-formButtons"},[e("el-button",{staticClass:"mapSelect-confirmButton",attrs:{type:"primary"},on:{click:t.mapSelectConfirm}},[t._v("确认")]),e("el-button",{staticClass:"mapSelect-cancelButton",attrs:{type:"primary"},on:{click:t.mapSelectCancel}},[t._v("取消")])],1)])])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.closeExcelWindowVisible,expression:"closeExcelWindowVisible"}],staticClass:"excel-inputWindow"},[e("div",{staticClass:"excel-titleWords"},[t._v(" excel导入 "),e("div",{staticClass:"excel-closeIcon"},[e("i",{staticClass:"el-icon-close",on:{click:t.closeExcelWindow}})])]),e("div",{staticClass:"folder-area"},[e("div",{staticClass:"name-boxDiv"},[t._v(" 名称 ")]),e("el-input",{staticClass:"excelFolder-Input",attrs:{placeholder:""},model:{value:t.fullExcelNameFolder,callback:function(e){t.fullExcelNameFolder=e},expression:"fullExcelNameFolder"}}),e("el-upload",{ref:"upload",attrs:{action:"#",multiple:"",limit:1,"file-list":t.fileList,"auto-upload":!1,"show-file-list":!1,accept:".xls,.xlsx","on-change":t.handleChange}},[e("el-button",{staticClass:"excelFolder-search",attrs:{slot:"trigger",type:"primary"},on:{click:t.clearFilesBeforeUpload},slot:"trigger"},[t._v("浏览 ")])],1)],1),e("div",{staticClass:"confirmORcancel-button"},[e("el-button",{staticClass:"excelFolder-confirm-button",attrs:{type:"primary"},on:{click:t.closeExcelWindowViaConfirmButton}},[t._v("确认 ")]),e("el-button",{staticClass:"excelFolder-cancel-button",attrs:{type:"primary"},on:{click:t.closeExcelWindowViaButton}},[t._v("取消")])],1)])]),e("div",{staticClass:"rightArea-targetListAndSatellitFilter"},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.xqglTargetListVisible,expression:"xqglTargetListVisible"}],staticClass:"xqgl-targetList"},[e("div",{staticClass:"target-list"},[e("div",{staticClass:"targetList-title"}),e("div",{staticClass:"target-searchArea"},[e("el-input",{staticClass:"targetValue-input",attrs:{placeholder:""},model:{value:t.targetValue,callback:function(e){t.targetValue=e},expression:"targetValue"}}),e("el-button",{staticClass:"targetSearch-button",attrs:{type:"primary"},on:{click:t.targetSearch}},[t._v("搜索")])],1),e("div",{staticClass:"targetTable-area"},[e("xqglTableTargetList",{attrs:{targetValue:t.targetValue,targetSearchStatus:t.targetSearchStatus}})],1)]),e("div",{staticClass:"clicked-targetList"},[e("div",{staticClass:"clickedTargetList-title"}),e("div",{staticClass:"clickedTargets-table"},[e("div",{staticClass:"clickedTargets-tableContent"},[e("xqglClickedTargetList")],1),e("div",{staticClass:"ClickedTarget-operateButoon"},[e("el-button",{staticClass:"ClickedTarget-inputB",attrs:{type:"primary"},on:{click:t.clickedTargetListInputBtn}},[t._v("导入")]),e("el-button",{staticClass:"ClickedTarget-clearB",attrs:{type:"primary"},on:{click:t.clearClickedTarget}},[t._v("清空")])],1)])])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.xqglSatelliteFilterVisible,expression:"xqglSatelliteFilterVisible"}],staticClass:"xqgl-satelliteFilter"},[e("div",{staticClass:"satelliteFilter-content"},[e("div",{staticClass:"satelliteFilter-title"}),e("div",{staticClass:"sideButtons-area"},[e("el-button",{staticClass:"sideButtons",attrs:{type:"primary"},on:{click:t.xqglSatelliteFilterDataViaAllbtn}},[t._v("全选")]),e("el-button",{staticClass:"sideButtons",attrs:{type:"primary"},on:{click:t.xqglSatelliteFilterDataViaOpticsbtn}},[t._v("光学")]),e("el-button",{staticClass:"sideButtons",attrs:{type:"primary"},on:{click:t.xqglSatelliteFilterDataViaSARbtn}},[t._v("SAR")]),e("el-button",{staticClass:"sideButtons",attrs:{type:"primary"},on:{click:t.xqglSatelliteFilterDataViaElecbtn}},[t._v("电子")])],1),e("div",{staticClass:"insideButtons-area"},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.opticsSonBtnVisible,expression:"opticsSonBtnVisible"}],staticClass:"insideButtons"},[e("el-button",{staticClass:"insideButton-style",attrs:{type:"primary"},on:{click:t.xqglSatelliteFilterDataViaCCDbtn}},[t._v("全色 ")]),e("el-button",{staticClass:"insideButton-style",attrs:{type:"primary"},on:{click:t.xqglSatelliteFilterDataViaMSSbtn}},[t._v("多光谱 ")]),e("el-button",{staticClass:"insideButton-style",attrs:{type:"primary"},on:{click:t.xqglSatelliteFilterDataHSIbtn}},[t._v("高光谱 ")]),e("el-button",{staticClass:"insideButton-style",attrs:{type:"primary"},on:{click:t.xqglSatelliteFilterDataViaInfraredsbtn}},[t._v("红外 ")])],1)]),e("div",{staticClass:"satelliteFilter-table"},[e("xqglSatelliteFilter",{attrs:{xqglSatelliteFilter:t.xqglSatelliteFilterData}})],1),e("div",{staticClass:"satelliteFilter-confirmDIV"},[e("el-button",{staticClass:"satelliteFilter-confirm",attrs:{type:"primary"},on:{click:t.satellitesToClickedSatellite}},[t._v("确认 ")])],1)]),e("div",{staticClass:"xqgl-clickedSatellite"},[t._m(0),e("div",{staticClass:"clickedSatellite-tableDIV"},[e("div",{staticClass:"clickedSatellite-table"},[e("xqglclickedSatellite")],1)]),e("div",{staticClass:"clickedSatellite-buttonArea"},[e("el-button",{staticClass:"clickedSatellite-button",attrs:{type:"primary"},on:{click:t.TargetListORsatelliteFilter}},[t._v("确认 ")]),e("el-button",{staticClass:"clickedSatellite-button",attrs:{type:"primary"},on:{click:t.deleteClickedSatelltie}},[t._v("删除")]),e("el-button",{staticClass:"clickedSatellite-button",attrs:{type:"primary"},on:{click:t.clickedSatelliteClear}},[t._v("清空")])],1)])])])])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"clickedSatellite-titleDIV"},[e("div",{staticClass:"clickedSatellite-title"})])}],s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"xqgl-tableStyle"},[e("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{height:"350",data:t.newTableXQTBData,"tooltip-effect":"light","header-row-style":{background:"rgba(160, 160, 160, 0.3)"},"header-cell-style":{padding:"0px",fontFamily:"SourceHanSansCN-Regular",color:"#fff",backgroundColor:"transparent"},"cell-style":{padding:"0px"},"row-style":{background:"rgba(160, 160, 160, 0.3)",height:"30px"}},on:{"row-click":t.handleClick,"row-contextmenu":t.rightClick}},[e("el-table-column",{attrs:{type:"selection",align:"center",width:"48","tooltip-effect":"light"}}),e("el-table-column",{attrs:{prop:"targetName",label:"目标",width:"120",align:"center","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"observationPurposeChinese",label:"目的",width:"80",align:"center","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"statusChinese",label:"状态",width:"80",align:"center"}}),e("el-table-column",{attrs:{prop:"typeChinese",label:"类型",width:"80",align:"center"}}),e("el-table-column",{attrs:{prop:"parentId",label:"编号",width:"120",align:"center","show-overflow-tooltip":""}})],1)],1)},r=[],o={name:"xqglTable",props:["tableXQTBData"],data(){return{xqglTableTBData:[],multipleSelection:[],leftClickSentData:{},rightClickSentData:{}}},methods:{handleClick(t,e,l){console.log("row, column, event:",t,e,l),this.leftClickSentData["rowClickFlag"]="1",this.leftClickSentData["rowData"]=t,this.$emit("getValues",this.leftClickSentData)},rightClick(t,e,l){console.log("row, column, event:",t,e,l),this.rightClickSentData["row"]=t,this.rightClickSentData["event"]=l,this.$emit("getRightClickValue",this.rightClickSentData)}},computed:{newTableXQTBData(){let t=this.tableXQTBData;return t.forEach((t=>{t["observationPurposeChinese"]="",t["typeChinese"]="",t["statusChinese"]="",1===t.observationPurpose&&(t.observationPurposeChinese="快响应急侦察"),2===t.observationPurpose&&(t.observationPurposeChinese="陆地伪装识别"),3===t.observationPurpose&&(t.observationPurposeChinese="早期异常监测"),4===t.observationPurpose&&(t.observationPurposeChinese="海上搜索发现"),5===t.observationPurpose&&(t.observationPurposeChinese="海上持续跟踪"),6===t.observationPurpose&&(t.observationPurposeChinese="海上识别确认"),0===t.type&&(t.typeChinese="固定目标"),1===t.type&&(t.typeChinese="移动目标"),2===t.type&&(t.typeChinese="区域目标"),0===t.status&&(t.statusChinese="未提交"),1===t.status&&(t.statusChinese="已提交")})),t}},mounted(){}},n=o,c=l(1001),g=(0,c.Z)(n,s,r,!1,null,"32f6b261",null),p=g.exports,d=function(){var t=this,e=t._self._c;return e("div",{staticClass:"xqgl-tableStyle"},[e("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{height:"350",data:t.xqglTableTBData,"tooltip-effect":"light","header-row-style":{background:"rgba(160, 160, 160, 0.3)"},"header-cell-style":{padding:"0px",fontFamily:"SourceHanSansCN-Regular",color:"#fff",backgroundColor:"transparent"},"cell-style":{padding:"0px"},"row-style":{background:"rgba(160, 160, 160, 0.3)",height:"30px"}},on:{"row-click":t.handleClick,"row-contextmenu":t.rightClick}},[e("el-table-column",{attrs:{type:"selection",align:"center",width:"48","tooltip-effect":"light"}}),e("el-table-column",{attrs:{prop:"target",label:"目标",width:"120",align:"center","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"goal",label:"目的",width:"80",align:"center"}}),e("el-table-column",{attrs:{prop:"status",label:"状态",width:"80",align:"center"}}),e("el-table-column",{attrs:{prop:"type",label:"类型",width:"80",align:"center"}}),e("el-table-column",{attrs:{prop:"number",label:"编号",width:"120",align:"center","show-overflow-tooltip":""}})],1)],1)},h=[],m={name:"xqglTable",data(){return{xqglTableTBData:[],multipleSelection:[],leftClickSentData:{},rightClickSentData:{}}},methods:{handleClick(t,e,l){console.log("row, column, event:",t,e,l),this.leftClickSentData["rowClickFlag"]="1",this.leftClickSentData["rowData"]=t,this.$emit("getValues",this.leftClickSentData)},rightClick(t,e,l){console.log("row, column, event:",t,e,l),this.rightClickSentData["event"]=l,this.$emit("getRightClickValue",this.rightClickSentData)}},mounted(){}},u=m,b=(0,c.Z)(u,d,h,!1,null,"d39328da",null),C=b.exports,v=function(){var t=this,e=t._self._c;return e("div",{staticClass:"xqglTable-targetList"},[e("div",{staticClass:"xqglTable-content"},[e("el-table",{staticStyle:{width:"100%"},attrs:{data:t.tableData,height:"330","tooltip-effect":"light","header-row-style":{background:"rgba(160, 160, 160, 0.3)"},"header-cell-style":{padding:"0px",fontFamily:"SourceHanSansCN-Regular",color:"#fff",backgroundColor:"transparent"},"cell-style":{padding:"0px"},"row-style":{background:"rgba(160, 160, 160, 0.3)",height:"30px"}},on:{"row-click":t.handleClick}},[e("el-table-column",{attrs:{prop:"targetName",label:"名称",width:"140",align:"center","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"countryName",label:"国别",width:"80",align:"center","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"type",label:"类型",width:"80",align:"center"}}),e("el-table-column",{attrs:{prop:"targetLevel",label:"级别",width:"80",align:"center"}})],1)],1),t.tableData.length>0?e("el-pagination",{attrs:{"prev-text":"上一页","next-text":"下一页","pager-count":4,"current-page":t.currentPage,"page-sizes":t.pageSizes,"page-size":t.pageSize,layout:"total, prev, pager, next, jumper",total:t.totalCount,pagerCount:5},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}}):t._e()],1)},T=[],S=l(38898),x={name:"xqglTableTargetList",props:["targetValue","targetSearchStatus"],data(){return{xqglTargetListData:[],tableData:[],currentPage:1,totalCount:1,pageSizes:[1,2,3,4],pageSize:8,targetName:""}},methods:{getData(t,e,l){let a={page:e,pageSize:t,targetName:l};(0,S.$8)(a).then((t=>{this.tableData=t.resp.list,this.totalCount=t.resp.total}))},handleSizeChange(t){console.log(`每页 ${t} 条`)},handleCurrentChange(t){this.currentPage=t,this.getData(this.pageSize,t,this.targetValue)},handleClick(t,e,l){this.$store.dispatch("xqglClickedTargetRowForCesiumSetView",t),this.$store.dispatch("xqglClickedTargetList",t)}},computed:{searchTargetValue(){return this.targetValue}},watch:{targetSearchStatus(){this.getData(this.pageSize,this.currentPage,this.searchTargetValue)}},mounted(){this.getData(this.pageSize,this.currentPage,this.targetName)}},k=x,f=(0,c.Z)(k,v,T,!1,null,"7182ab95",null),w=f.exports,F=function(){var t=this,e=t._self._c;return e("div",{staticClass:"xqglTable-clickedTargetList"},[e("div",{staticClass:"xqglTable-content"},[e("el-table",{staticStyle:{width:"100%"},attrs:{height:"240",data:t.$store.state.xqglClickedTargetList,"tooltip-effect":"light","header-row-style":{background:"rgba(160, 160, 160, 0.3)"},"header-cell-style":{padding:"0px",fontFamily:"SourceHanSansCN-Regular",color:"#fff",backgroundColor:"transparent"},"cell-style":{padding:"0px"},"row-style":{background:"rgba(160, 160, 160, 0.3)",height:"30px"}},on:{"row-click":t.handleClick}},[e("el-table-column",{attrs:{prop:"targetName",label:"名称",width:"140",align:"center","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"countryName",label:"国别",width:"80",align:"center","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"type",label:"类型",width:"80",align:"center"}}),e("el-table-column",{attrs:{prop:"targetLevel",label:"级别",width:"80",align:"center"}})],1)],1)])},y=[],q={name:"xqglTableClickedTargetList",data(){return{xqglTargetListData:[]}},methods:{handleClick(t){this.$store.dispatch("removexqglClickedTarget",t)}},mounted(){}},V=q,D=(0,c.Z)(V,F,y,!1,null,"59519c56",null),B=D.exports,L=function(){var t=this,e=t._self._c;return e("div",{staticClass:"xqglTable-satelliteFilter"},[e("div",{staticClass:"xqglTable-content"},[e("el-table",{staticStyle:{width:"100%"},attrs:{height:"304",data:t.xqglSatelliteFilter,"tooltip-effect":"light","header-row-style":{background:"rgba(160, 160, 160, 0.3)"},"header-cell-style":{padding:"0px",fontFamily:"SourceHanSansCN-Regular",color:"#fff",backgroundColor:"transparent"},"cell-style":{padding:"0px"},"row-style":{background:"rgba(160, 160, 160, 0.3)",height:"30px"}},on:{"selection-change":t.handleSelectiongChange}},[e("el-table-column",{attrs:{type:"selection",align:"center",width:"50","tooltip-effect":"light"}}),e("el-table-column",{attrs:{prop:"satelliteName",label:"名称",width:"100",align:"center","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"type",label:"载荷类型",width:"110",align:"center","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"groundResolution",label:"分辨率(m)",width:"120",align:"center",sortable:""}}),e("el-table-column",{attrs:{prop:"swathWidth",label:"幅宽(m)",width:"100",align:"center"}})],1)],1)])},_=[],M={name:"xqglTableSatelliteFilter",props:["xqglSatelliteFilter"],data(){return{}},methods:{handleSelectiongChange(t){console.log("选中内容:",t),this.$store.dispatch("xqglclickedSatellites",t),console.log("选中内容vueX:",this.$store.state.xqglclickedSatellites)}},mounted(){}},P=M,I=(0,c.Z)(P,L,_,!1,null,"05b4df44",null),Q=I.exports,$=function(){var t=this,e=t._self._c;return e("div",{staticClass:"xqglTable-satelliteFilter"},[e("div",{staticClass:"xqglTable-content"},[e("el-table",{staticStyle:{width:"100%"},attrs:{height:"270",data:t.$store.state.xqglclickedSatellitesForClickedTabel,"tooltip-effect":"light","header-row-style":{background:"rgba(160, 160, 160, 0.3)"},"header-cell-style":{padding:"0px",fontFamily:"SourceHanSansCN-Regular",color:"#fff",backgroundColor:"transparent"},"cell-style":{padding:"0px"},"row-style":{background:"rgba(160, 160, 160, 0.3)",height:"30px"}},on:{"selection-change":t.handleSelectiongChange}},[e("el-table-column",{attrs:{type:"selection",align:"center",width:"50","tooltip-effect":"light"}}),e("el-table-column",{attrs:{prop:"satelliteName",label:"名称",width:"100",align:"center","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"type",label:"载荷类型",width:"110",align:"center","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"groundResolution",label:"分辨率(m)",width:"120",align:"center",sortable:""}}),e("el-table-column",{attrs:{prop:"swathWidth",label:"幅宽(m)",width:"100",align:"center"}})],1)],1)])},X=[],N={name:"xqglTableSatelliteFilter",data(){return{xqglSatelliteFilter:[],allList:[],multipleSelection:[]}},methods:{handleSelectiongChange(t){this.$store.dispatch("storeWillDeletedSatellites",t),console.log(this.$store.state.willDeleteClickdSatellites)}},mounted(){}},R=N,E=(0,c.Z)(R,$,X,!1,null,"59d72c7d",null),H=E.exports,W=l(84471);const Z={base:"orbit-base-server",track:"orbit-track-server",user:"orbit-user-server"};function A(t){return(0,W.Z)({url:Z.base+"/api/v1/demand/manager/relation/add",method:"post",data:t,headers:{"Content-Type":"application/json"}})}function z(t){return(0,W.Z)({url:Z.base+"/api/v1/demand/manager/relation/list",method:"get",params:t})}function O(){return(0,W.Z)({url:Z.base+"/api/v1/demand/manager/relation/parentId",method:"get"})}function U(t){return(0,W.Z)({url:Z.base+"/api/v1/demand/manager/relation/update",method:"post",data:t})}function j(t){return(0,W.Z)({url:Z.base+"/api/v1/demand/manager/relation/target/point/add",method:"post",data:t})}function G(t){return(0,W.Z)({url:Z.base+"/api/v1/demand/manager/import",method:"post",headers:{"Content-Type":"multipart/form-data; boundary="+(new Date).getTime()},data:t})}function J(t){return(0,W.Z)({url:Z.base+"/api/v1/demand/manager/relation/batch/update",method:"post",data:t})}function Y(t){return(0,W.Z)({url:Z.base+"/api/v1/demand/manager/relation/delete",method:"post",data:t,headers:{"Content-Type":"multipart/form-data; boundary="+(new Date).getTime()}})}function K(t){return(0,W.Z)({url:Z.base+"/api/v1/demand/manager/relation/delete/parent/id",method:"post",data:t})}function tt(t){return(0,W.Z)({url:Z.base+"/api/satellite/v1/payload/list",method:"get",params:t})}var et=l(98098),lt={name:"xqglPage",components:{xqglTableTB:p,xqglTableHQ:C,xqglTableTargetList:w,xqglClickedTargetList:B,xqglSatelliteFilter:Q,xqglclickedSatellite:H},props:["XQListTableVisible"],data(){return{xqglContentVisible:!0,getTableXQTBData:[],nomalTitleStyle:"tableChange-title",clickTBtipStyle:"",clickHQtipStyle:"",operateTBvserble:!0,operateHQvserble:!1,XQTBviserble:!0,XQHQviserble:!1,excelUploadFile:null,timeValue:"",rightClickMenuVisible:!1,pointTargetTitle:"美国-珍珠港海军基地",pointTargetForm:{xqTBrowID:"",targetMethod:[{value:1,label:"快响应急侦察"},{value:2,label:"陆地伪装识别"},{value:3,label:"早期异常监测"},{value:4,label:"海上搜索发现"},{value:5,label:"海上持续跟踪"},{value:6,label:"海上识别确认"}],selectValue:"",pointTargetStartTime:"",pointTargetEndTime:"",priorNumber:999,frequency:1,investigationMeans:"默认"},mapPointSelect:"",mapSelectForm:{name:"",lonlat:"",level:"",typeValue:0,types:[{typeValue:0,label:"固定目标"},{typeValue:1,label:"移动目标"},{typeValue:2,label:"区域目标"}],country:""},targetValue:"",targetSearchStatus:!1,fullExcelNameFolder:"",XQtargetVisible:!1,xqtbLeftClickedRowData:"",mapSelectVisible:!1,closeExcelWindowVisible:!1,fileList:[],xqglTargetListVisible:!1,xqglSatelliteFilterVisible:!1,opticsSonBtnVisible:!1,targetListRowData:[],parentId:"",rightClickedMenuRowData:null,clickedTargetTotal:0,mapselectTotalItem:0,satelliteFilterParams:{type:""},xqglSatelliteFilterData:[]}},methods:{targetSearch(){this.targetSearchStatus=!this.targetSearchStatus},getTargetListRowFromTargetList(t){let e=this.targetListRowData.find((e=>e.name==t.name));e||this.targetListRowData.push(t)},clearClickedTarget(){this.$store.dispatch("clearxqglClickedTargetList",[])},TargetListORsatelliteFilter(){this.xqglTargetListVisible=!this.xqglTargetListVisible,this.xqglSatelliteFilterVisible=!this.xqglSatelliteFilterVisible,console.log(this.$store.state.xqglclickedSatellites),this.pointTargetForm.investigationMeans="";var t=[],e=[];this.$store.state.xqglclickedSatellitesForClickedTabel.length?(this.$store.state.xqglclickedSatellitesForClickedTabel.forEach((l=>{t.push(l.satelliteName),e.push({satelliteId:l.id,type:l.type})})),t=Array.from(new Set(t)),this.pointTargetForm.investigationMeans=t.toString(),this.$store.dispatch("clickedSatellitesInvestigationMeansId",e),console.log("vuex中this.$store.state.clickedSatellitesInvestigationMeansId:",this.$store.state.clickedSatellitesInvestigationMeansId)):(this.$store.dispatch("clickedSatellitesInvestigationMeansId",e),this.pointTargetForm.investigationMeans="默认"),this.clickedSatelliteClear()},clickedTargetListInputBtn(){let t=[],e=this.$store.state.xqglClickedTargetList,l=this.parentId+"_",a=this.clickedTargetTotal+1;this.clickedTargetTotal=this.clickedTargetTotal+e.length,console.log("-------------------------------------"),t=this.commonFunction.createParentID(l,a,this.clickedTargetTotal),console.log("codeID:",t);let i=[];for(let r=0;r<e.length;r++){const l=e[r];let a={id:l.targetId,parentId:t[r]};i.push(a)}console.log("-------------------------------------");let s=JSON.stringify(i);A(s).then((t=>{console.log("需求管理,已选目标列表请求:",t),console.log("需求管理,已选目标列表请求parentId:",this.parentId),t.resp&&(this.getxqglTBTableFromClickedTargetList(),console.log("@@@@需求提报数据请求:",this.getTableXQTBData))})),this.clearClickedTarget()},getxqglTBTableFromClickedTargetList(){let t={parentId:this.parentId,status:0};z(t).then((t=>{let e=[];200==t.code&&(e=t.resp),this.getTableXQTBData=e}))},getxqglSatelliteFilterData(){tt(this.satelliteFilterParams).then((t=>{this.xqglSatelliteFilterData=t.resp}))},xqglSatelliteFilterDataViaAllbtn(){this.opticsSonBtnVisible=!1,this.satelliteFilterParams.type="",tt(this.satelliteFilterParams).then((t=>{this.xqglSatelliteFilterData=t.resp}))},xqglSatelliteFilterDataViaOpticsbtn(){this.opticsSonBtnVisible=!0,this.satelliteFilterParams.type="CCD,MSS,HSI,IRS",tt(this.satelliteFilterParams).then((t=>{this.xqglSatelliteFilterData=t.resp}))},xqglSatelliteFilterDataViaElecbtn(){this.opticsSonBtnVisible=!1,this.satelliteFilterParams.type="ELECTRON",tt(this.satelliteFilterParams).then((t=>{this.xqglSatelliteFilterData=t.resp}))},xqglSatelliteFilterDataViaSARbtn(){this.opticsSonBtnVisible=!1,this.satelliteFilterParams.type="SAR",tt(this.satelliteFilterParams).then((t=>{this.xqglSatelliteFilterData=t.resp}))},xqglSatelliteFilterDataViaCCDbtn(){this.satelliteFilterParams.type="CCD",tt(this.satelliteFilterParams).then((t=>{this.xqglSatelliteFilterData=t.resp}))},xqglSatelliteFilterDataViaMSSbtn(){this.satelliteFilterParams.type="MSS",tt(this.satelliteFilterParams).then((t=>{this.xqglSatelliteFilterData=t.resp}))},xqglSatelliteFilterDataHSIbtn(){this.satelliteFilterParams.type="HSI",tt(this.satelliteFilterParams).then((t=>{this.xqglSatelliteFilterData=t.resp}))},xqglSatelliteFilterDataViaInfraredsbtn(){this.satelliteFilterParams.type="IRS",tt(this.satelliteFilterParams).then((t=>{this.xqglSatelliteFilterData=t.resp}))},satellitesToClickedSatellite(){this.$store.dispatch("xqglclickedSatellitesForClickedTabel",this.$store.state.xqglclickedSatellites)},deleteClickedSatelltie(){this.$store.state.willDeleteClickdSatellites.forEach(((t,e)=>{this.$store.state.xqglclickedSatellitesForClickedTabel.forEach(((e,l)=>{t.id===e.id&&this.$store.state.xqglclickedSatellitesForClickedTabel.splice(l,1)}))}))},clickedSatelliteClear(){this.$store.dispatch("clearxqglclickedSatellitesForClickedTabel",[])},getTargetFromMapClick(t){this.closeExcelWindowVisible=!0,this.xqglTargetListVisible=!1,console.log(t),"selectPoints"===t&&(this.mapPointSelect=t,this.$store.dispatch("xqglMapRectangleVisible",!this.$store.state.xqglMapRectangleVisible),console.log("地图框选被选中:",this.$store.state.xqglMapRectangleVisible)),"selectPoint"===t&&(this.mapPointSelect=t,this.$store.dispatch("xqglMapPointVisible",!this.$store.state.xqglMapPointVisible),console.log("地图点选被选中:",this.$store.state.xqglMapPointVisible)),this.$store.dispatch("xqglContentVisible",!1),this.XQtargetVisible=!1,this.closeExcelWindowVisible=!1,this.mapSelectVisible=!0},getXQfromTargetBase(){this.xqglTargetListVisible=!0,this.closeExcelWindowVisible=!1,this.xqglSatelliteFilterVisible=!1},closemapSelectWindowVia(){this.mapSelectVisible=!1},mapSelectCancel(){this.mapSelectVisible=!1},mapSelectConfirm(){var t=[];if("selectPoint"===this.mapPointSelect){this.mapSelectForm.typeValue=0,this.mapSelectForm.lonlat=this.$store.state.xqglMapPointLonLat;let e={lat:this.mapSelectForm.lonlat[1].toFixed(3),lng:this.mapSelectForm.lonlat[0].toFixed(3),sequence:1};t=[],t.push(e)}if("selectPoints"===this.mapPointSelect){this.mapSelectForm.typeValue=2,this.mapSelectForm.lonlat=this.$store.state.xqglMapRectangleLonLats;var e=this.mapSelectForm.lonlat;t=[];for(let l=0;l<e.length;l++)t.push({lat:e[l][1].toFixed(3),lng:e[l][0].toFixed(3),sequence:l+1}),console.log("i:",l)}console.log("***地图点目标信息:",this.mapSelectForm);let l=this.parentId+"_",a=this.mapselectTotalItem+1;this.mapselectTotalItem=this.mapselectTotalItem+1;let i=this.commonFunction.createParentID(l,a,this.mapselectTotalItem);console.log("----------------------");let s=i[0].replace("_0","_M0");console.log("mapselectId:",s),console.log("----------------------");let r={parentId:s,targetName:this.mapSelectForm.name,pointDTOList:t,targetLevel:this.mapSelectForm.level,type:this.mapSelectForm.typeValue,countryName:this.mapSelectForm.country};j(r).then((t=>{200===t.code&&this.getxqglTBTableFromClickedTargetList()})),this.mapSelectVisible=!1},toXQTB(){this.clickHQtipStyle="",this.clickTBtipStyle="ChangeTitleTB-background",this.operateHQvserble=!1,this.operateTBvserble=!0,this.XQHQviserble=!1,this.XQTBviserble=!0},toXQHQ(){this.clickTBtipStyle="",this.clickHQtipStyle="ChangeTitleHQ-background",this.operateTBvserble=!1,this.operateHQvserble=!0,this.XQTBviserble=!1,this.XQHQviserble=!0},closeWindowViaIcon(){this.XQtargetVisible=!1},closePointTargetViaButton(){this.XQtargetVisible=!1},closePointTargetViaConfirmButton(){let t={endTime:this.pointTargetForm.pointTargetEndTime,id:this.pointTargetForm.xqTBrowID,investigativeMeans:this.pointTargetForm.investigationMeans,observationPurpose:this.pointTargetForm.selectValue,priority:this.pointTargetForm.priorNumber,rate:this.pointTargetForm.frequency,startTime:this.pointTargetForm.pointTargetStartTime,satelliteSelected:this.xqtbLeftClickedRowData.satelliteSelected};"默认"===t.investigativeMeans?t.investigativeMeans="0":t.satelliteSelected=this.$store.state.clickedSatellitesInvestigationMeansId,console.log("收集到,点目标,内容:",t),U(t).then((t=>{200===t.code?(console.log("@点目标修改之后的后端返回值:",t),this.getxqglTBTableFromClickedTargetList(),this.$message({message:"目标修改成功",type:"success",showClose:!0})):this.$message({message:"目标修改失败",type:"warning",showClose:!0})})),this.XQtargetVisible=!1},getDataFromSonXQTB(t){console.log("子组件传过来的行数据:",t),console.log("rowClickFlag:",t.rowData.id),this.xqtbLeftClickedRowData=t.rowData,this.pointTargetTitle=t.rowData.targetName,this.pointTargetForm.xqTBrowID=t.rowData.id,"1"===t.rowClickFlag&&(this.mapSelectVisible=!1,this.closeExcelWindowVisible=!1,this.XQtargetVisible=!0),this.pointTargetForm.pointTargetStartTime=t.rowData.startTime,this.pointTargetForm.pointTargetEndTime=t.rowData.endTime,this.pointTargetForm.investigationMeans=t.rowData.investigativeMeans,"0"===t.rowData.investigativeMeans&&(this.pointTargetForm.investigationMeans="默认"),t.rowData.observationPurpose&&(this.pointTargetForm.selectValue=t.rowData.observationPurpose),999!==t.rowData.priority&&(this.pointTargetForm.priorNumber=t.rowData.priority),t.rowData.rate&&(this.pointTargetForm.frequency=t.rowData.rate)},inputChange(){console.log("优先级:",this.pointTargetForm.priorNumber),console.log("频次:",this.pointTargetForm.frequency)},getDataFromSonXQTBrightclick(t){console.log("getDataRightClick:",t.row),this.rightClickedMenuRowData=t.row,this.rightClickMenuVisible=!0;var e=document.querySelector("#rightClickMenu");console.log(e),t.event.preventDefault(),e.style.left=t.event.clientX+"px",e.style.top=t.event.clientY+"px"},rightClickMenuAppTimes(){let t={relationId:this.rightClickedMenuRowData.id,type:1,parentId:this.parentId};J(t).then((t=>{console.log("时间应用到所有,后端返回值:",t),this.getxqglTBTableFromClickedTargetList()})),this.rightClickMenuVisible=!1},rightClickMenuAppMeans(){let t={relationId:this.rightClickedMenuRowData.id,type:2,parentId:this.parentId};J(t).then((t=>{console.log("手段应用到所有,后端返回值:",t),this.getxqglTBTableFromClickedTargetList()})),this.rightClickMenuVisible=!1},rightClickMenuDelete(){let t=new FormData;t.append("ids",this.rightClickedMenuRowData.id),Y(t).then((t=>{console.log("删除操作 ,后端返回值:",t),this.getxqglTBTableFromClickedTargetList()})),this.rightClickMenuVisible=!1},rightClickMenuClear(){let t={parentId:this.parentId};console.log("清空时的 parentId:",t),K(t).then((t=>{console.log("清空操作 ,后端返回值:",t),this.getxqglTBTableFromClickedTargetList()})),this.rightClickMenuVisible=!1},rightClickMenuClose(){this.rightClickMenuVisible=!1},popExcelWindow(){this.XQtargetVisible=!1,this.mapSelectVisible=!1,this.closeExcelWindowVisible=!0,this.xqglTargetListVisible=!1},closeExcelWindow(){this.closeExcelWindowVisible=!1},closeExcelWindowViaButton(){this.closeExcelWindowVisible=!1},closeExcelWindowViaConfirmButton(){G(this.excelUploadFile).then((t=>{200===t.code&&this.getxqglTBTableFromClickedTargetList()})),this.closeExcelWindowVisible=!1},toSatelliteFilter(){this.xqglTargetListVisible=!1,this.xqglSatelliteFilterVisible=!0},handleChange(t,e){this.fullExcelNameFolder=t.name,console.log("fileList:",e);let l=new FormData,a=t.raw;l.append("file",a),l.append("parentId",this.parentId),console.log("excel 上传 的parentId:",this.parentId),this.excelUploadFile=l},clearFilesBeforeUpload(){this.$refs.upload.clearFiles()},closeXQlistViaIcon(){this.$store.state.XQListTableVisible=!1},getXQTBtalbeContents(){this.getxqglTBTableFromClickedTargetList()},toCHpage(){let t=[];this.getTableXQTBData.forEach((e=>{t.push(e.parentId)})),(0,et.oc)(t).then((t=>{200===t.code&&(console.log("提报按钮接口成功返回!"),this.$router.push({name:"xqjyPage"}))}))}},computed:{XQListTableVisible_use(){return this.$store.state.XQListTableVisible},mapPointSelectLonlat_useUI(){const t=[],e=[];return"selectPoints"===this.mapPointSelect?(this.$store.state.xqglMapRectangleLonLats.forEach((e=>{t.push([e[0].toFixed(3),e[1].toFixed(3)])})),console.log("mapRectangleLonLatsFixed:",t),t.toString()):(this.$store.state.xqglMapPointLonLat.forEach((t=>{e.push(t.toFixed(3))})),console.log("mapPointLonLatFixed:",e),e.toString())}},watch:{$route(t,e){"xqglPage"===t.name&&this.getxqglTBTableFromClickedTargetList()}},mounted(){this.toXQTB(),O().then((t=>{this.parentId=t.resp})),this.getxqglSatelliteFilterData()}},at=lt,it=(0,c.Z)(at,a,i,!1,null,"af8e087c",null),st=it.exports},98098:function(t,e,l){l.d(e,{I$:function(){return r},oc:function(){return n},qH:function(){return o},r_:function(){return s}});var a=l(84471);const i="orbit-base-strip";function s(t){return(0,a.Z)({url:i+"/api/v1/strip/list",method:"get",params:t})}function r(t){return(0,a.Z)({url:i+"/api/v1/strip/post/selected",method:"get",params:t})}function o(t){return(0,a.Z)({url:i+"/api/demand/plan",method:"post",data:t})}function n(t){return(0,a.Z)({url:i+"/api/demand/submit",method:"post",data:t})}}}]);
  2. //# sourceMappingURL=348.5eb19235.js.map