webpackJsonp([20],{HEh7:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("Xxa5"),r=a.n(o),s=a("exGp"),n=a.n(s),l=a("+GE2"),c=a("E4LH"),S=[{name:"TS2-17",symbolSize:30,itemStyle:{color:"#009688"}},{name:"TS2-18",symbolSize:30,itemStyle:{color:"#009688"}},{name:"TS2-19",symbolSize:30,itemStyle:{color:"#009688"}},{name:"TS2-20",symbolSize:30,itemStyle:{color:"#009688"}},{name:"TS2-21",symbolSize:30,itemStyle:{color:"#009688"}},{name:"TS2-22",symbolSize:30,itemStyle:{color:"#009688"}},{name:"TS2-23",symbolSize:30,itemStyle:{color:"#009688"}},{name:"XQ01",symbolSize:20,itemStyle:{color:"#2196F3"}},{name:"XQ02",symbolSize:20,itemStyle:{color:"#2196F3"}},{name:"XQ03",symbolSize:20,itemStyle:{color:"#2196F3"}},{name:"XQ04",symbolSize:20,itemStyle:{color:"#2196F3"}},{name:"XQ05",symbolSize:20,itemStyle:{color:"#2196F3"}},{name:"XQ06",symbolSize:20,itemStyle:{color:"#2196F3"}},{name:"XQ07",symbolSize:20,itemStyle:{color:"#2196F3"}},{name:"XQ08",symbolSize:20,itemStyle:{color:"#2196F3"}},{name:"XQ09",symbolSize:20,itemStyle:{color:"#2196F3"}},{name:"XQ010",symbolSize:20,itemStyle:{color:"#2196F3"}},{name:"潜龙1号",symbolSize:20,itemStyle:{color:"#3F51B5"}},{name:"深海勇士号",symbolSize:20,itemStyle:{color:"#3F51B5"}},{name:"奋斗者号",symbolSize:20,itemStyle:{color:"#3F51B5"}},{name:"ROV01",symbolSize:20,itemStyle:{color:"#673AB7"}},{name:"ROV02",symbolSize:20,itemStyle:{color:"#673AB7"}},{name:"ROV03",symbolSize:20,itemStyle:{color:"#673AB7"}},{name:"ROV04",symbolSize:20,itemStyle:{color:"#673AB7"}},{name:"ROV05",symbolSize:20,itemStyle:{color:"#673AB7"}},{name:"AUV01",symbolSize:20,itemStyle:{color:"#673AB7"}},{name:"AUV02",symbolSize:20,itemStyle:{color:"#673AB7"}},{name:"AUV03",symbolSize:20,itemStyle:{color:"#673AB7"}},{name:"AUV04",symbolSize:20,itemStyle:{color:"#673AB7"}},{name:"AUV05",symbolSize:20,itemStyle:{color:"#673AB7"}},{name:"TS217-SCTP-WYS-02",symbolSize:20,itemStyle:{color:"#4CAF50"}},{name:"TS218-SCTP-WYS-03",symbolSize:20,itemStyle:{color:"#4CAF50"}},{name:"TS217-SCTP-WYS-02-001",symbolSize:20,itemStyle:{color:"#FFC107"}},{name:"TS217-SCTP-WYS-02-002",symbolSize:20,itemStyle:{color:"#FFC107"}},{name:"TS217-SCTP-WYS-03-001",symbolSize:20,itemStyle:{color:"#FFC107"}},{name:"BIO-DS01",symbolSize:20,itemStyle:{color:"#FF5722"}},{name:"BIO-DS02",symbolSize:20,itemStyle:{color:"#FF5722"}},{name:"BIO-DS03",symbolSize:20,itemStyle:{color:"#FF5722"}},{name:"BIO-DS04",symbolSize:20,itemStyle:{color:"#FF5722"}},{name:"BIO-DS05",symbolSize:20,itemStyle:{color:"#FF5722"}},{name:"BIO-DS06",symbolSize:20,itemStyle:{color:"#FF5722"}},{name:"EAR-DS01",symbolSize:20,itemStyle:{color:"#795548"}},{name:"EAR-DS02",symbolSize:20,itemStyle:{color:"#795548"}},{name:"EAR-DS03",symbolSize:20,itemStyle:{color:"#795548"}},{name:"EAR-DS04",symbolSize:20,itemStyle:{color:"#795548"}},{name:"EAR-DS05",symbolSize:20,itemStyle:{color:"#795548"}},{name:"EAR-DS06",symbolSize:20,itemStyle:{color:"#795548"}},{name:"VIE-DS01",symbolSize:20,itemStyle:{color:"#607D8B"}},{name:"VIE-DS02",symbolSize:20,itemStyle:{color:"#607D8B"}},{name:"VIE-DS03",symbolSize:20,itemStyle:{color:"#607D8B"}},{name:"VIE-DS04",symbolSize:20,itemStyle:{color:"#607D8B"}},{name:"VIE-DS05",symbolSize:20,itemStyle:{color:"#607D8B"}},{name:"VIE-DS06",symbolSize:20,itemStyle:{color:"#607D8B"}}],i=[{source:"TS2-17",target:"XQ01"},{source:"TS2-18",target:"XQ02"},{source:"TS2-19",target:"XQ03"},{source:"TS2-20",target:"XQ04"},{source:"TS2-21",target:"XQ05"},{source:"TS2-22",target:"XQ06"},{source:"TS2-23",target:"XQ07"},{source:"TS2-22",target:"XQ08"},{source:"TS2-21",target:"XQ09"},{source:"TS2-20",target:"XQ010"},{source:"XQ01",target:"潜龙1号"},{source:"XQ02",target:"潜龙1号"},{source:"XQ03",target:"潜龙1号"},{source:"XQ04",target:"潜龙1号"},{source:"XQ05",target:"深海勇士号"},{source:"XQ06",target:"深海勇士号"},{source:"XQ07",target:"深海勇士号"},{source:"XQ08",target:"深海勇士号"},{source:"XQ09",target:"奋斗者号"},{source:"XQ010",target:"奋斗者号"},{source:"XQ01",target:"奋斗者号"},{source:"XQ06",target:"奋斗者号"},{source:"XQ08",target:"奋斗者号"},{source:"XQ01",target:"ROV01"},{source:"XQ02",target:"ROV02"},{source:"XQ03",target:"ROV03"},{source:"XQ04",target:"ROV04"},{source:"XQ05",target:"ROV05"},{source:"XQ06",target:"AUV01"},{source:"XQ07",target:"AUV02"},{source:"XQ08",target:"AUV03"},{source:"XQ09",target:"AUV04"},{source:"XQ010",target:"AUV05"},{source:"XQ01",target:"ROV03"},{source:"XQ06",target:"ROV05"},{source:"XQ08",target:"AUV04"},{source:"XQ01",target:"TS217-SCTP-WYS-02"},{source:"XQ02",target:"TS217-SCTP-WYS-02"},{source:"XQ03",target:"TS217-SCTP-WYS-02"},{source:"XQ04",target:"TS217-SCTP-WYS-02"},{source:"XQ05",target:"TS217-SCTP-WYS-02"},{source:"XQ06",target:"TS218-SCTP-WYS-03"},{source:"XQ07",target:"TS218-SCTP-WYS-03"},{source:"XQ08",target:"TS218-SCTP-WYS-03"},{source:"XQ09",target:"TS218-SCTP-WYS-03"},{source:"XQ010",target:"TS218-SCTP-WYS-03"},{source:"TS217-SCTP-WYS-02",target:"TS217-SCTP-WYS-02-001"},{source:"TS217-SCTP-WYS-02",target:"TS217-SCTP-WYS-02-002"},{source:"TS218-SCTP-WYS-03",target:"TS217-SCTP-WYS-03-001"},{source:"TS217-SCTP-WYS-02-001",target:"BIO-DS01"},{source:"TS217-SCTP-WYS-02-001",target:"BIO-DS02"},{source:"TS217-SCTP-WYS-02-001",target:"BIO-DS03"},{source:"TS217-SCTP-WYS-02-001",target:"BIO-DS04"},{source:"TS217-SCTP-WYS-02-001",target:"BIO-DS05"},{source:"TS217-SCTP-WYS-02-001",target:"EAR-DS01"},{source:"TS217-SCTP-WYS-02-001",target:"EAR-DS02"},{source:"TS217-SCTP-WYS-02-001",target:"EAR-DS03"},{source:"TS217-SCTP-WYS-02-001",target:"EAR-DS04"},{source:"TS217-SCTP-WYS-02-001",target:"VIE-DS01"},{source:"TS217-SCTP-WYS-02-001",target:"VIE-DS02"},{source:"TS217-SCTP-WYS-02-001",target:"VIE-DS03"},{source:"TS217-SCTP-WYS-02-001",target:"VIE-DS04"},{source:"TS217-SCTP-WYS-02-001",target:"VIE-DS05"},{source:"TS217-SCTP-WYS-02-001",target:"VIE-DS06"},{source:"TS217-SCTP-WYS-02-002",target:"BIO-DS02"},{source:"TS217-SCTP-WYS-02-002",target:"BIO-DS03"},{source:"TS217-SCTP-WYS-02-002",target:"BIO-DS04"},{source:"TS217-SCTP-WYS-02-002",target:"BIO-DS05"},{source:"TS217-SCTP-WYS-02-002",target:"EAR-DS02"},{source:"TS217-SCTP-WYS-02-002",target:"EAR-DS03"},{source:"TS217-SCTP-WYS-02-002",target:"EAR-DS04"},{source:"TS217-SCTP-WYS-02-002",target:"EAR-DS05"},{source:"TS217-SCTP-WYS-02-002",target:"VIE-DS02"},{source:"TS217-SCTP-WYS-02-002",target:"VIE-DS03"},{source:"TS217-SCTP-WYS-02-002",target:"VIE-DS04"},{source:"TS217-SCTP-WYS-02-002",target:"VIE-DS05"},{source:"TS217-SCTP-WYS-02-002",target:"VIE-DS06"},{source:"TS217-SCTP-WYS-03-001",target:"BIO-DS02"},{source:"TS217-SCTP-WYS-03-001",target:"BIO-DS03"},{source:"TS217-SCTP-WYS-03-001",target:"BIO-DS04"},{source:"TS217-SCTP-WYS-03-001",target:"BIO-DS05"},{source:"TS217-SCTP-WYS-03-001",target:"BIO-DS06"},{source:"TS217-SCTP-WYS-03-001",target:"EAR-DS03"},{source:"TS217-SCTP-WYS-03-001",target:"EAR-DS04"},{source:"TS217-SCTP-WYS-03-001",target:"EAR-DS05"},{source:"TS217-SCTP-WYS-03-001",target:"EAR-DS06"},{source:"TS217-SCTP-WYS-03-001",target:"VIE-DS03"},{source:"TS217-SCTP-WYS-03-001",target:"VIE-DS04"},{source:"TS217-SCTP-WYS-03-001",target:"VIE-DS05"},{source:"TS217-SCTP-WYS-03-001",target:"VIE-DS06"}],m={name:"VoyageDelivery",components:{},props:{},data:function(){return{loading:!1,loading1:!1,namelist:[{name:"TS-14"},{name:"TS2-18"}],search:{voyageName:""},search_b:{ino:""},multipleSelection:[],tableData2:[{ino:"SS-DY31-Ⅱ-W1306-BC-1",docType:"机械手",type:"硅质软泥"},{ino:"SS-DY31-Ⅱ-W1306-BC-2",docType:"机械手",type:"硅质软泥"},{ino:"SS-DY31-Ⅱ-W1306-BC-3",docType:"机械手",type:"硅质软泥"}],tableData:[],choose:0,chooseList:[{name:"生物样品",num:2},{name:"地球物理数据",num:109},{name:"视频音像",num:2093}],currentPage:1,pagesize:20,count:0}},mounted:function(){this.init(),this.echartInit()},methods:{dimensionChange:function(){},echartInit:function(){var e=this.$echarts.init(document.getElementById("chart")),t={series:{type:"graph",layout:"force",force:{repulsion:100,edgeLength:100},data:S,links:i,roam:!0,label:{show:!0,position:"top",color:"rgba(0,0,0,0.7)"},edgeSymbol:["circle","arrow"],edgeSymbolSize:[4,10],edgeLabel:{show:!1,fontSize:12,fontWeight:"bold",formatter:function(e){return e.data.name}},tooltip:{show:!0,formatter:function(e){return"node"===e.dataType?"节点名称:"+e.data.name:"关系:"+e.data.name}}}};e.setOption(t)},init:function(){this.currentPage=1},getData:function(){var e=this;return n()(r.a.mark(function t(){var a,o;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.search.voyageName.length||Object(c.c)(e.search.voyageName)){t.next=5;break}return e.$message({message:"输入不合规",type:"warning"}),e.tableData=[],e.count=0,t.abrupt("return");case 5:return e.loading=!0,a={page:e.currentPage,size:e.pagesize,voyageName:e.search.voyageName.trim()},t.prev=7,t.next=10,Object(l.i)(a);case 10:200==(o=t.sent).code&&o.data.content&&(o.data.content=o.data.content.map(function(e){return e.checked=!1,e}),e.tableData=o.data.content,e.count=Number(o.data.count)),t.next=17;break;case 14:t.prev=14,t.t0=t.catch(7),console.log(t.t0);case 17:e.loading=!1;case 18:case"end":return t.stop()}},t,e,[[7,14]])}))()},batchImport:function(){},batchExport:function(){},chooseBtn:function(e){this.choose=e},voyageEntry:function(){this.$router.push({name:"voyageEntry"})},confirmModal:function(e,t,a){var o=this,r=a.target.id;"view"==r||"edit"==r||"delete"==r&&this.$confirm("此操作将永久删除该文件, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){o.requestDelete(e.voyageName)}).catch(function(){o.$message({type:"info",message:"已取消删除"})})},init_b:function(){},requestDelete:function(e){var t=this;return n()(r.a.mark(function a(){var o,s;return r.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return o=t,t.loading=!0,s={voyageName:e},a.prev=3,a.next=6,Object(l.c)(s);case 6:200==a.sent.code&&(o.$message({message:"删除成功!",type:"success"}),o.init()),t.loading=!1,a.next=15;break;case 11:a.prev=11,a.t0=a.catch(3),console.log(a.t0),t.loading=!1;case 15:case"end":return a.stop()}},a,t,[[3,11]])}))()},handleSelectionChange:function(e){this.multipleSelection=e},handleSizeChange:function(e){this.pagesize=e,this.getData()},handleCurrentChange:function(e){this.currentPage=e,this.getData()}}},u={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"page-body"},[a("div",{staticClass:"page-header"},[a("h1",{staticClass:"page-title"},[e._v("航次详情")]),e._v(" "),a("el-breadcrumb",[a("el-breadcrumb-item",{attrs:{to:{path:"/"}}},[e._v("首页")]),e._v(" "),a("el-breadcrumb-item",{attrs:{to:{name:"dataSearch"}}},[e._v("数据检索")]),e._v(" "),a("el-breadcrumb-item",[e._v("航次详情")])],1)],1),e._v(" "),e._m(0),e._v(" "),e._m(1),e._v(" "),e._m(2),e._v(" "),a("div",{staticClass:"filter-container"},[a("div",{staticClass:"filter-item"},[a("span",{staticClass:"label"},[e._v("航次名称")]),e._v(" "),a("el-select",{attrs:{size:"medium",placeholder:"请选择"},on:{change:e.dimensionChange},model:{value:e.search.voyageName,callback:function(t){e.$set(e.search,"voyageName",t)},expression:"search.voyageName"}},e._l(e.namelist,function(e){return a("el-option",{key:e.name,attrs:{label:e.name,value:e.name}})}),1)],1),e._v(" "),a("div",{staticClass:"checkBtn"},[a("el-button",{attrs:{type:"primary",size:"medium"},on:{click:e.init}},[e._v("检索")])],1)]),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{stripe:"",border:"",data:e.tableData,"header-cell-style":{background:"#dddfe6",color:"#555960",textAlign:"center"},"cell-style":{textAlign:"center"},height:"600px"},on:{"selection-change":e.handleSelectionChange,"row-click":e.confirmModal}},[a("el-table-column",{attrs:{type:"index",width:"50",label:"序号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"voyageName",label:"航次名称"}}),e._v(" "),a("el-table-column",{attrs:{prop:"ship",label:"科考船舶"}}),e._v(" "),a("el-table-column",{attrs:{prop:"isSecret",label:"是否涉密"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.isSecret?a("span",[e._v("否")]):a("span",[e._v("是")])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"startTime",label:"航次起止时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.startTime?a("span",[e._v(e._s(t.row.startTime)+" ~ "+e._s(t.row.endTime))]):e._e()]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"200"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-checkbox",{model:{value:t.row.checked,callback:function(a){e.$set(t.row,"checked",a)},expression:"scope.row.checked"}})]}}])})],1),e._v(" "),a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[15,30,50],"page-size":e.pagesize,layout:"total, sizes, prev, pager, next, jumper",total:e.count},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}}),e._v(" "),e._m(3),e._v(" "),a("div",{staticClass:"relative"},[a("ul",e._l(e.chooseList,function(t,o){return a("li",{key:o,class:e.choose==o?"active":"",on:{click:function(t){return e.chooseBtn(o)}}},[a("p",[e._v(e._s(t.name)+"("+e._s(t.num)+")")])])}),0)]),e._v(" "),a("div",{staticClass:"filter-container"},[a("div",{staticClass:"filter-item"},[a("span",{staticClass:"label"},[e._v("数据样品编号")]),e._v(" "),a("el-input",{attrs:{placeholder:""},model:{value:e.search_b.ino,callback:function(t){e.$set(e.search_b,"ino",t)},expression:"search_b.ino"}})],1),e._v(" "),a("div",{staticClass:"checkBtn"},[a("el-button",{attrs:{type:"primary",size:"medium"},on:{click:e.init_b}},[e._v("检索")])],1)]),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading1,expression:"loading1"}],attrs:{stripe:"",border:"",data:e.tableData2,"header-cell-style":{background:"#dddfe6",color:"#555960",textAlign:"center"},"cell-style":{textAlign:"center"},height:"600px"}},[a("el-table-column",{attrs:{type:"index",width:"50",label:"序号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"ino",label:"数据样品编号"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("a",{staticClass:"cursor",attrs:{href:"http://120.48.105.88:8081/dataDetails/296c1ff351224b3d8a4b856592c0fb67",target:"_blank"}},[e._v(e._s(t.row.ino))])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"docType",label:"设备类型"}}),e._v(" "),a("el-table-column",{attrs:{prop:"type",label:"样品类型"}})],1),e._v(" "),a("el-pagination",{attrs:{background:"","current-page":e.currentPage,"page-sizes":[15,30,50],"page-size":e.pagesize,layout:"total, sizes, prev, pager, next, jumper",total:e.count},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"tit_box"},[t("div",{staticClass:"title"},[this._v("\n 航次样品关联图谱\n ")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"formBox"},[t("div",{attrs:{id:"chart"}})])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"tit_box"},[t("div",{staticClass:"title"},[this._v("\n 航次信息\n ")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"tit_box"},[t("div",{staticClass:"title"},[this._v("\n 相关样品\n ")])])}]};var g=a("VU/8")(m,u,!1,function(e){a("V03l")},"data-v-4ae968c0",null);t.default=g.exports},V03l:function(e,t){}});