正射同名点选取
parent
26fdb03552
commit
bf29d13557
|
@ -0,0 +1,2 @@
|
|||
const DAICHULI_URL = "http://10.0.3.157:18030/kjwebAdmin/#/Order/DJYOrder";
|
||||
const YUNGUAN_SERVER_URL = "http://10.0.3.157:18030/yunguan-app";
|
|
@ -5,6 +5,7 @@
|
|||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover">
|
||||
<link rel="icon" href="static/images/logo.png">
|
||||
<script src="./config/config.js"></script>
|
||||
<title>微波</title>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import request from "@/lib/request";
|
||||
import realityRequest from "@/lib/request-reality";
|
||||
import fileRequest from "@/lib/request-file";
|
||||
|
||||
// 查询订单基本信息
|
||||
export function getOrderMsg(orderId) {
|
||||
|
@ -163,7 +164,7 @@ export function checkReality(data) {
|
|||
|
||||
// 导出pdf模板
|
||||
export function exportWord(data, pdfName, localTiffPath, httpTiffPath, productType) {
|
||||
return realityRequest({
|
||||
return fileRequest({
|
||||
url:
|
||||
"importPDF/importWordAndPDF?reportName=" +
|
||||
pdfName +
|
||||
|
@ -195,8 +196,20 @@ export function downloadPdf(url) {
|
|||
*/
|
||||
export async function getUserInfo(token) {
|
||||
return request({
|
||||
url: '/app/logincheck?token=' + token,
|
||||
method: 'get',
|
||||
baseURL: 'http://10.0.3.157:18030/yunguan-app'
|
||||
})
|
||||
}
|
||||
url: "/app/logincheck?token=" + token,
|
||||
method: "get",
|
||||
baseURL: "http://10.0.3.157:18030/yunguan-app"
|
||||
});
|
||||
}
|
||||
/**
|
||||
* 根据proj转换坐标
|
||||
* @param {*} options
|
||||
* @returns
|
||||
*/
|
||||
export function getProjPos(options) {
|
||||
return fileRequest({
|
||||
url: "importPDF/zbZh",
|
||||
method: "post",
|
||||
data: options
|
||||
});
|
||||
}
|
||||
|
|
|
@ -7,24 +7,54 @@
|
|||
<div class="otgCardContent">
|
||||
<el-form :inline="true" :model="simpleForm" class="demo-form-inline">
|
||||
<el-form-item style="margin-left: 15px">
|
||||
<el-cascader v-model="simpleForm.sampleFun" :disabled="sampleFun !== ''" :options="funcOpt" size="mini"
|
||||
placeholder="请选择抽样方法" popper-class="cascader-popper" @change="changeSampleFun" clearable
|
||||
:show-all-levels="false"></el-cascader>
|
||||
<el-button v-if="isDeepSpace" class="edit-btn" plain size="mini" type="primary" icon="el-icon-edit-outline"
|
||||
@click="editDeepSpace"></el-button>
|
||||
<el-cascader
|
||||
v-model="simpleForm.sampleFun"
|
||||
:disabled="sampleFun !== ''"
|
||||
:options="funcOpt"
|
||||
size="mini"
|
||||
placeholder="请选择抽样方法"
|
||||
popper-class="cascader-popper"
|
||||
@change="changeSampleFun"
|
||||
clearable
|
||||
:show-all-levels="false"
|
||||
></el-cascader>
|
||||
<el-button
|
||||
v-if="isDeepSpace"
|
||||
class="edit-btn"
|
||||
plain
|
||||
size="mini"
|
||||
type="primary"
|
||||
icon="el-icon-edit-outline"
|
||||
@click="editDeepSpace"
|
||||
></el-button>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-input v-model="simpleForm.sampleNum" size="mini" placeholder="请输入样本个数"></el-input>
|
||||
<el-input
|
||||
v-model="simpleForm.sampleNum"
|
||||
size="mini"
|
||||
placeholder="请输入样本个数"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="samplesCk">确定</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-table ref="multipleTable" v-loading="loading" element-loading-text="拼命加载中"
|
||||
element-loading-spinner="el-icon-loading" element-loading-background="rgba(0, 0, 0, 0.8)" :data="simpleData"
|
||||
tooltip-effect="dark" :header-cell-style="headerRowClass"
|
||||
style="width: 98%; margin-left: 1%; margin-top: 15px" highlight-current-row @current-change="tableRowClk"
|
||||
:stripe="true" :cell-style="tableRowClassName" height="370">
|
||||
<el-table
|
||||
ref="multipleTable"
|
||||
v-loading="loading"
|
||||
element-loading-text="拼命加载中"
|
||||
element-loading-spinner="el-icon-loading"
|
||||
element-loading-background="rgba(0, 0, 0, 0.8)"
|
||||
:data="simpleData"
|
||||
tooltip-effect="dark"
|
||||
:header-cell-style="headerRowClass"
|
||||
style="width: 98%; margin-left: 1%; margin-top: 15px"
|
||||
highlight-current-row
|
||||
@current-change="tableRowClk"
|
||||
:stripe="true"
|
||||
:cell-style="tableRowClassName"
|
||||
height="370"
|
||||
>
|
||||
<el-table-column label width="35">
|
||||
<template slot-scope="scope">
|
||||
<el-radio :label="scope.row" v-model="radioClkMsg"></el-radio>
|
||||
|
@ -32,7 +62,11 @@
|
|||
</el-table-column>
|
||||
<el-table-column label="序号" type="index" width="70">
|
||||
</el-table-column>
|
||||
<el-table-column prop="samplesId" label="样本编号" show-overflow-tooltip>
|
||||
<el-table-column
|
||||
prop="samplesId"
|
||||
label="样本编号"
|
||||
show-overflow-tooltip
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column label="纬度(°)" sortable show-overflow-tooltip>
|
||||
<template slot-scope="scope">{{
|
||||
|
@ -44,13 +78,28 @@
|
|||
parseFloat(scope.row.measureLong.toFixed(8))
|
||||
}}</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="采样时间" sortable prop="collectDate" show-overflow-tooltip>
|
||||
<el-table-column
|
||||
label="采样时间"
|
||||
sortable
|
||||
prop="collectDate"
|
||||
show-overflow-tooltip
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column label="选取点纬度" prop="sameNameLat"></el-table-column>
|
||||
<el-table-column label="选取点经度" prop="sameNameLong"></el-table-column>
|
||||
<el-table-column
|
||||
label="选取点纬度"
|
||||
prop="sameNameLat"
|
||||
></el-table-column>
|
||||
<el-table-column
|
||||
label="选取点经度"
|
||||
prop="sameNameLong"
|
||||
></el-table-column>
|
||||
<el-table-column label="操作">
|
||||
<template slot-scope="scope"><i class="el-icon-delete"
|
||||
@click="deleteSelected(scope.$index, simpleData)"></i></template>
|
||||
<template slot-scope="scope"
|
||||
><i
|
||||
class="el-icon-delete"
|
||||
@click="deleteSelected(scope.$index, simpleData)"
|
||||
></i
|
||||
></template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
|
@ -75,33 +124,63 @@
|
|||
</div>
|
||||
<div class="sscPre">
|
||||
<div class="sceneShowContent" style="position: relative">
|
||||
<otg-product-info @removeLayer="removeLayer('far')" @addLayer="addLayer('far')"></otg-product-info>
|
||||
<div id="farViewer" style="height: 100%; width: 100%" @click="pickValueFar"></div>
|
||||
<otg-product-info
|
||||
@removeLayer="removeLayer('far')"
|
||||
@addLayer="addLayer('far')"
|
||||
></otg-product-info>
|
||||
<div
|
||||
id="farViewer"
|
||||
style="height: 100%; width: 100%"
|
||||
@click="pickValueFar"
|
||||
></div>
|
||||
</div>
|
||||
<div class="sceneShowContent" style="position: relative">
|
||||
<div id="nearViewer" style="height: 100%; width: 100%"></div>
|
||||
<otg-product-info @removeLayer="removeLayer('near')" @addLayer="addLayer('near')"></otg-product-info>
|
||||
<otg-product-info
|
||||
@removeLayer="removeLayer('near')"
|
||||
@addLayer="addLayer('near')"
|
||||
></otg-product-info>
|
||||
<div class="poiCK">
|
||||
<el-button type="primary" :disabled="ckPoint" @click="ckSamePoi">选取点</el-button>
|
||||
<el-button type="primary" style="margin: 5px 0px" :disabled="savePoint" @click="saveSamePoi">保存点</el-button>
|
||||
<el-button type="primary" :disabled="ckPoint" @click="ckSamePoi"
|
||||
>选取点</el-button
|
||||
>
|
||||
<el-button
|
||||
type="primary"
|
||||
style="margin: 5px 0px"
|
||||
:disabled="savePoint"
|
||||
@click="saveSamePoi"
|
||||
>保存点</el-button
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sceneShowContent" style="position: relative">
|
||||
<div style="height: 100%">
|
||||
<img id="alImg" src="static/images/otg3.png" style="height: 100%; width: 100%" alt="fzImg" />
|
||||
<img
|
||||
id="alImg"
|
||||
src="static/images/otg3.png"
|
||||
style="height: 100%; width: 100%"
|
||||
alt="fzImg"
|
||||
/>
|
||||
</div>
|
||||
<div class="imgCtrl">
|
||||
<el-radio-group v-model="imgChoose" @change="changeImg">
|
||||
<el-radio label="pointPs">点之记</el-radio><br />
|
||||
<el-radio label="nearImg" style="margin: 5px 0 5px 0">近景</el-radio><br />
|
||||
<el-radio label="nearImg" style="margin: 5px 0 5px 0"
|
||||
>近景</el-radio
|
||||
><br />
|
||||
<el-radio label="farImg">远景</el-radio>
|
||||
</el-radio-group>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<SampleSetting :stepSampling="stepSampling" @handleStepSampling="handleStepSampling"
|
||||
@handleDepthList="handleDepthList" :sampleCldFun="sampleCldFun" ref="sampleSettingPanel"></SampleSetting>
|
||||
<SampleSetting
|
||||
:stepSampling="stepSampling"
|
||||
@handleStepSampling="handleStepSampling"
|
||||
@handleDepthList="handleDepthList"
|
||||
:sampleCldFun="sampleCldFun"
|
||||
ref="sampleSettingPanel"
|
||||
></SampleSetting>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -113,6 +192,7 @@ import {
|
|||
getSampleData,
|
||||
getSamplesByLayer,
|
||||
setSamePoi,
|
||||
getProjPos,
|
||||
} from "@/api/lang/pendingOrder";
|
||||
|
||||
import otgCesiumUtils from "@/lib/otgCesiumUtils";
|
||||
|
@ -157,6 +237,9 @@ export default {
|
|||
productSubType: {
|
||||
require: true,
|
||||
},
|
||||
projection: {
|
||||
require: true,
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
@ -312,7 +395,7 @@ export default {
|
|||
}
|
||||
});
|
||||
} else {
|
||||
console.log('111111',st);
|
||||
console.log("111111", st);
|
||||
const spFrom = new FormData();
|
||||
spFrom.append("sampleFun", Number(ssf[0])); //抽样方法
|
||||
spFrom.append("minNum", 0);
|
||||
|
@ -348,7 +431,7 @@ export default {
|
|||
this.ckPoint = false;
|
||||
const cus = this.configration.urlprefix.samePoiImgsUrl;
|
||||
if (row.collectPointSignPic !== null) {
|
||||
console.log('111111', row.collectPointSignPic);
|
||||
console.log("111111", row.collectPointSignPic);
|
||||
this.collectPointSignPic = row.collectPointSignPic;
|
||||
var alImgDom = document.getElementById("alImg");
|
||||
alImgDom.src = this.collectPointSignPic;
|
||||
|
@ -369,9 +452,32 @@ export default {
|
|||
},
|
||||
// 保存相同的点
|
||||
saveSamePoi() {
|
||||
this.ckPoint = true;
|
||||
this.savePoint = true;
|
||||
otgCesiumUtils.stopDrowPoi();
|
||||
const rc = this.radioClkMsg;
|
||||
const samePoi = new FormData();
|
||||
samePoi.append("landDataAssociatedID", rc.id);
|
||||
samePoi.append("sameNamePointLong", rc.sameNameLong);
|
||||
samePoi.append("sameNamePointLat", rc.sameNameLat);
|
||||
getProjPos({
|
||||
project: this.projection,
|
||||
lon: rc.sameNameLong,
|
||||
lat: rc.sameNameLat,
|
||||
}).then((res) => {
|
||||
if (res.code === 200) {
|
||||
samePoi.append("projectionSameNamePointLon", rc.sameNameLong);
|
||||
samePoi.append("projectionSameNamePointLat", rc.sameNameLat);
|
||||
setSamePoi(samePoi).then((res) => {
|
||||
if (res.code === 200) {
|
||||
this.$message({
|
||||
message: "同名点保存成功",
|
||||
type: "success",
|
||||
});
|
||||
this.ckPoint = true;
|
||||
this.savePoint = true;
|
||||
otgCesiumUtils.stopDrowPoi();
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
changeImg(val) {
|
||||
var alImgDom = document.getElementById("alImg");
|
||||
|
@ -393,7 +499,7 @@ export default {
|
|||
this.multipleSelection =
|
||||
this.allSampleData =
|
||||
this.simpleData =
|
||||
res.data.list;
|
||||
res.data.list;
|
||||
this.loading = false;
|
||||
this.$refs.multipleTable.toggleAllSelection();
|
||||
let min = Number.MAX_SAFE_INTEGER;
|
||||
|
|
|
@ -182,20 +182,12 @@ import RtReport from "@/components/rtReport";
|
|||
import QtReport from "@/components/qtReport";
|
||||
import PdfLoad from "@/components/pdfLoad";
|
||||
import cu from "@/lib/cesiumUtils";
|
||||
import {
|
||||
// downloadPdf,
|
||||
// updateOrderStage,
|
||||
// updateOrderMsg,
|
||||
// disOrderStatus,
|
||||
// addReportMsg,
|
||||
exportWord,
|
||||
} from "@/api/pendingOrder";
|
||||
|
||||
import {
|
||||
saveValidationRes,
|
||||
saveReport,
|
||||
downloadPdf,
|
||||
updateOrderStage,
|
||||
exportWord,
|
||||
} from "@/api/lang/pendingOrder";
|
||||
|
||||
import { productSubTypeVal, truthFunVal } from "@/lib/contract.js";
|
||||
|
@ -509,7 +501,7 @@ export default {
|
|||
type: "success",
|
||||
message: "订单处理成功",
|
||||
});
|
||||
this.$router.push({ name: "待处理的检验订单" });
|
||||
window.location.href =`${DAICHULI_URL}?orderid=${this.reportMsg.orderId}&token=WEB%2a1673425993482%40L3W7_ZZX-yg000087_06848633de364ec7b63c8f53f9e43b19`;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -520,8 +512,7 @@ export default {
|
|||
reExamine() {
|
||||
const os = 0;
|
||||
this.updateOrder(os);
|
||||
this.$router.push({ path: "http://211.157.180.211:18085/" });
|
||||
// this.$router.push(`http://10.0.3.157:18030/kjwebAdmin/#/Order/DJYOrder?orderid=${this.reportMsg.orderId}&token=WEB%2a1673425993482%40L3W7_ZZX-yg000087_06848633de364ec7b63c8f53f9e43b19`);
|
||||
window.location.href =`${DAICHULI_URL}?orderid=${this.reportMsg.orderId}&token=WEB%2a1673425993482%40L3W7_ZZX-yg000087_06848633de364ec7b63c8f53f9e43b19`;
|
||||
},
|
||||
// 更新订单状态
|
||||
updateOrder(orderStatus) {
|
||||
|
|
|
@ -4,25 +4,65 @@
|
|||
<router-view></router-view>
|
||||
</transition>
|
||||
<!-- 订单展示 -->
|
||||
<div class="page" v-show="pageshow" v-loading="checkRealityWait" element-loading-text="正在检验..."
|
||||
element-loading-spinner="el-icon-loading">
|
||||
<div
|
||||
class="page"
|
||||
v-show="pageshow"
|
||||
v-loading="checkRealityWait"
|
||||
element-loading-text="正在检验..."
|
||||
element-loading-spinner="el-icon-loading"
|
||||
>
|
||||
<div class="cardfrist">
|
||||
<div class="box1">
|
||||
<span class="sp1"></span><span class="sp2">订单信息</span>
|
||||
</div>
|
||||
<el-table :header-cell-style="{ background: '#E4E9F1' }" :cell-style="tableRowClassName" :data="orderData"
|
||||
style="width: 98%; margin-left: 1%; margin-top: 15px">
|
||||
<el-table-column prop="orderCode" label="订单编号" sortable width="180" align="center">
|
||||
<el-table
|
||||
:header-cell-style="{ background: '#E4E9F1' }"
|
||||
:cell-style="tableRowClassName"
|
||||
:data="orderData"
|
||||
style="width: 98%; margin-left: 1%; margin-top: 15px"
|
||||
>
|
||||
<el-table-column
|
||||
prop="orderCode"
|
||||
label="订单编号"
|
||||
sortable
|
||||
width="180"
|
||||
align="center"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column prop="orderSource" label="订单来源" sortable align="center">
|
||||
<el-table-column
|
||||
prop="orderSource"
|
||||
label="订单来源"
|
||||
sortable
|
||||
align="center"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column prop="uploadDate" label="提交时间" sortable align="center">
|
||||
<el-table-column
|
||||
prop="uploadDate"
|
||||
label="提交时间"
|
||||
sortable
|
||||
align="center"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column prop="fileName" label="文件名" sortable align="center">
|
||||
<el-table-column
|
||||
prop="fileName"
|
||||
label="文件名"
|
||||
sortable
|
||||
align="center"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column prop="fileSize" label="产品大小" sortable align="center">
|
||||
<el-table-column
|
||||
prop="fileSize"
|
||||
label="产品大小"
|
||||
sortable
|
||||
align="center"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column prop="fileFormat" label="文件格式" sortable align="center">
|
||||
<el-table-column
|
||||
prop="fileFormat"
|
||||
label="文件格式"
|
||||
sortable
|
||||
align="center"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column label="元数据" align="center">
|
||||
<el-button type="primary" @click="changeshow">查看</el-button>
|
||||
|
@ -35,56 +75,128 @@
|
|||
<span class="sp1"></span><span class="sp2">元数据查看</span>
|
||||
</div>
|
||||
<div class="cstop">
|
||||
<el-form :inline="true" :model="formInline" class="demo-form-inline" :disabled="true">
|
||||
<el-form
|
||||
:inline="true"
|
||||
:model="formInline"
|
||||
class="demo-form-inline"
|
||||
:disabled="true"
|
||||
>
|
||||
<el-form-item label="卫星" class="ysjMsg">
|
||||
<el-input class="ysjMsgMrg" v-model="formInline.satellite" placeholder="卫星名称"></el-input>
|
||||
<el-input
|
||||
class="ysjMsgMrg"
|
||||
v-model="formInline.satellite"
|
||||
placeholder="卫星名称"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="载荷名称" class="ysjMsg">
|
||||
<el-input v-model="formInline.load" placeholder="载荷方式"></el-input>
|
||||
<el-input
|
||||
v-model="formInline.load"
|
||||
placeholder="载荷方式"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="空间分辨率" class="ysjMsg2">
|
||||
<el-input v-model="formInline.resRatio" placeholder="空间分辨率"></el-input>
|
||||
<el-input
|
||||
v-model="formInline.resRatio"
|
||||
placeholder="空间分辨率"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="时间" class="ysjMsg">
|
||||
<el-input class="ysjMsgMrg" v-model="formInline.producedDate" placeholder="生产时间"></el-input>
|
||||
<el-input
|
||||
class="ysjMsgMrg"
|
||||
v-model="formInline.producedDate"
|
||||
placeholder="生产时间"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="级别" prop="resource" style="width: 20%" class="ysjMsg2">
|
||||
<el-form-item
|
||||
label="级别"
|
||||
prop="resource"
|
||||
style="width: 20%"
|
||||
class="ysjMsg2"
|
||||
>
|
||||
<el-radio-group v-model="formInline.proLevel">
|
||||
<el-radio label="3"></el-radio>
|
||||
<el-radio label="4"></el-radio>
|
||||
<el-radio label="5"></el-radio>
|
||||
</el-radio-group> </el-form-item><br />
|
||||
</el-radio-group> </el-form-item
|
||||
><br />
|
||||
<el-form-item label="坐标系统" class="ysjMsg">
|
||||
<el-input v-model="formInline.coordinateSys" placeholder="坐标系统"></el-input>
|
||||
<el-input
|
||||
v-model="formInline.coordinateSys"
|
||||
placeholder="坐标系统"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="最小纬度" class="ysjMsg">
|
||||
<el-input v-model="formInline.minLat" placeholder="最小纬度"></el-input>
|
||||
<el-input
|
||||
v-model="formInline.minLat"
|
||||
placeholder="最小纬度"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="最大纬度" class="ysjMsg2">
|
||||
<el-input style="margin-left: 6px" v-model="formInline.maxLat" placeholder="最大纬度"></el-input>
|
||||
<el-input
|
||||
style="margin-left: 6px"
|
||||
v-model="formInline.maxLat"
|
||||
placeholder="最大纬度"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="最小经度" class="ysjMsg">
|
||||
<el-input v-model="formInline.minLon" placeholder="最小经度"></el-input>
|
||||
<el-input
|
||||
v-model="formInline.minLon"
|
||||
placeholder="最小经度"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="最大经度" class="ysjMsg2">
|
||||
<el-input v-model="formInline.maxLon" placeholder="最大经度"></el-input>
|
||||
<el-input
|
||||
v-model="formInline.maxLon"
|
||||
placeholder="最大经度"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 正射校正 -->
|
||||
<OtgCorrection :sampleFun="sampleFun" :sampleCldFun="sampleCldFun" :pixelFun="pixelFun" :pixelNum="pixelNum"
|
||||
:geoWorkSpace="geoWorkSpace" :geoLayerName="geoLayerName" :geoLayerPos="geoLayerPos" :orderId="orderId"
|
||||
:productSubType="productSubType" ref="otgCorrectionPanel" v-if="productSubType === 45"></OtgCorrection>
|
||||
<OtgCorrection
|
||||
:sampleFun="sampleFun"
|
||||
:sampleCldFun="sampleCldFun"
|
||||
:pixelFun="pixelFun"
|
||||
:pixelNum="pixelNum"
|
||||
:geoWorkSpace="geoWorkSpace"
|
||||
:geoLayerName="geoLayerName"
|
||||
:geoLayerPos="geoLayerPos"
|
||||
:orderId="orderId"
|
||||
:productSubType="productSubType"
|
||||
:projection="projection"
|
||||
ref="otgCorrectionPanel"
|
||||
v-if="productSubType === 45"
|
||||
></OtgCorrection>
|
||||
<!-- 地表覆盖 -->
|
||||
<Qualitative :sampleFun="sampleFun" :sampleCldFun="sampleCldFun" :pixelFun="pixelFun" :pixelNum="pixelNum"
|
||||
:geoWorkSpace="geoWorkSpace" :geoLayerName="geoLayerName" :geoLayerPos="geoLayerPos" :orderId="orderId"
|
||||
:productSubType="productSubType" :featureMapData="featureMapData" ref="qualitativePanel"
|
||||
v-else-if="productSubType === 39 || productSubType === 47"></Qualitative>
|
||||
<Qualitative
|
||||
:sampleFun="sampleFun"
|
||||
:sampleCldFun="sampleCldFun"
|
||||
:pixelFun="pixelFun"
|
||||
:pixelNum="pixelNum"
|
||||
:geoWorkSpace="geoWorkSpace"
|
||||
:geoLayerName="geoLayerName"
|
||||
:geoLayerPos="geoLayerPos"
|
||||
:orderId="orderId"
|
||||
:productSubType="productSubType"
|
||||
:featureMapData="featureMapData"
|
||||
ref="qualitativePanel"
|
||||
v-else-if="productSubType === 39 || productSubType === 47"
|
||||
></Qualitative>
|
||||
<!-- 土壤水份等 -->
|
||||
<SoilMositure :sampleFun="sampleFun" :sampleCldFun="sampleCldFun" :pixelFun="pixelFun" :pixelNum="pixelNum"
|
||||
:geoWorkSpace="geoWorkSpace" :geoLayerName="geoLayerName" :geoLayerPos="geoLayerPos" :orderId="orderId"
|
||||
:productSubType="productSubType" ref="soilMositurePanel" v-else></SoilMositure>
|
||||
<SoilMositure
|
||||
:sampleFun="sampleFun"
|
||||
:sampleCldFun="sampleCldFun"
|
||||
:pixelFun="pixelFun"
|
||||
:pixelNum="pixelNum"
|
||||
:geoWorkSpace="geoWorkSpace"
|
||||
:geoLayerName="geoLayerName"
|
||||
:geoLayerPos="geoLayerPos"
|
||||
:orderId="orderId"
|
||||
:productSubType="productSubType"
|
||||
ref="soilMositurePanel"
|
||||
v-else
|
||||
></SoilMositure>
|
||||
<!-- 真实性检验方法 -->
|
||||
<div class="cardfive" v-if="!hasPixelFun">
|
||||
<div class="box1">
|
||||
|
@ -92,15 +204,29 @@
|
|||
</div>
|
||||
<el-form :inline="true" :model="formInline" class="demo-form-inline">
|
||||
<el-form-item label="检验方法">
|
||||
<el-select v-model="formInline.truthCheckFun" multiple :disabled="truthFun" placeholder="请选择">
|
||||
<el-option v-for="item in truthCheckFunOpt" :key="item.value" :label="item.label" :value="item.value">
|
||||
<el-select
|
||||
v-model="formInline.truthCheckFun"
|
||||
multiple
|
||||
:disabled="truthFun"
|
||||
placeholder="请选择"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in truthCheckFunOpt"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value"
|
||||
>
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<div class="btngroup">
|
||||
<el-button class="shbtn" type="primary" @click="todaichuli">取消</el-button>
|
||||
<el-button class="shbtn" type="primary" @click="changepage">确定</el-button>
|
||||
<el-button class="shbtn" type="primary" @click="todaichuli"
|
||||
>取消</el-button
|
||||
>
|
||||
<el-button class="shbtn" type="primary" @click="changepage"
|
||||
>确定</el-button
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card2" v-if="hasPixelFun">
|
||||
|
@ -114,29 +240,50 @@
|
|||
<span class="cardsp">目标分辨率:{{ pixelNum }}</span>
|
||||
<el-form :inline="true" class="demo-form-inline">
|
||||
<el-form-item label="像元级处理模型:">
|
||||
<el-select v-model="pixelFun" placeholder="选择像元级处理方法" :disabled="pdShow" @change="pixelFunChanged"
|
||||
ref="pixelSel">
|
||||
<el-select
|
||||
v-model="pixelFun"
|
||||
placeholder="选择像元级处理方法"
|
||||
:disabled="pdShow"
|
||||
@change="pixelFunChanged"
|
||||
ref="pixelSel"
|
||||
>
|
||||
<el-option label="" value=""></el-option>
|
||||
<el-option label="均值法" value="1" v-if="
|
||||
(globalSampleFun !== 1 && globalSampleFun !== '1') ||
|
||||
globalSampleFun === null ||
|
||||
globalSampleFun === ''
|
||||
"></el-option>
|
||||
<el-option label="最邻近法" value="6" v-if="
|
||||
(globalSampleFun !== 1 && globalSampleFun !== '1') ||
|
||||
globalSampleFun === null ||
|
||||
globalSampleFun === ''
|
||||
"></el-option>
|
||||
<el-option label="克里格法" value="7" v-if="
|
||||
(globalSampleFun !== 1 && globalSampleFun !== '1') ||
|
||||
globalSampleFun === null ||
|
||||
globalSampleFun === ''
|
||||
"></el-option>
|
||||
<el-option label="块克里格法" value="9" v-if="
|
||||
(globalSampleFun !== 1 && globalSampleFun !== '1') ||
|
||||
globalSampleFun === null ||
|
||||
globalSampleFun === ''
|
||||
"></el-option>
|
||||
<el-option
|
||||
label="均值法"
|
||||
value="1"
|
||||
v-if="
|
||||
(globalSampleFun !== 1 && globalSampleFun !== '1') ||
|
||||
globalSampleFun === null ||
|
||||
globalSampleFun === ''
|
||||
"
|
||||
></el-option>
|
||||
<el-option
|
||||
label="最邻近法"
|
||||
value="6"
|
||||
v-if="
|
||||
(globalSampleFun !== 1 && globalSampleFun !== '1') ||
|
||||
globalSampleFun === null ||
|
||||
globalSampleFun === ''
|
||||
"
|
||||
></el-option>
|
||||
<el-option
|
||||
label="克里格法"
|
||||
value="7"
|
||||
v-if="
|
||||
(globalSampleFun !== 1 && globalSampleFun !== '1') ||
|
||||
globalSampleFun === null ||
|
||||
globalSampleFun === ''
|
||||
"
|
||||
></el-option>
|
||||
<el-option
|
||||
label="块克里格法"
|
||||
value="9"
|
||||
v-if="
|
||||
(globalSampleFun !== 1 && globalSampleFun !== '1') ||
|
||||
globalSampleFun === null ||
|
||||
globalSampleFun === ''
|
||||
"
|
||||
></el-option>
|
||||
<el-option label="MSN法" value="10"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
@ -151,8 +298,18 @@
|
|||
</div>
|
||||
<el-form :inline="true" :model="formInline" class="demo-form-inline">
|
||||
<el-form-item label="检验方法:">
|
||||
<el-select v-model="formInline.truthCheckFun" multiple :disabled="truthFun" placeholder="请选择">
|
||||
<el-option v-for="item in truthCheckFunOpt" :key="item.value" :label="item.label" :value="item.value">
|
||||
<el-select
|
||||
v-model="formInline.truthCheckFun"
|
||||
multiple
|
||||
:disabled="truthFun"
|
||||
placeholder="请选择"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in truthCheckFunOpt"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value"
|
||||
>
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
|
@ -160,8 +317,12 @@
|
|||
</div>
|
||||
<div class="cardfive">
|
||||
<div class="btngroup">
|
||||
<el-button class="shbtn" type="primary" @click="todaichuli">取消</el-button>
|
||||
<el-button class="shbtn" type="primary" @click="changepage">确定</el-button>
|
||||
<el-button class="shbtn" type="primary" @click="todaichuli"
|
||||
>取消</el-button
|
||||
>
|
||||
<el-button class="shbtn" type="primary" @click="changepage"
|
||||
>确定</el-button
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -194,7 +355,7 @@ export default {
|
|||
if (
|
||||
Object.keys(this.$route.params).length > 0 &&
|
||||
sessionStorage.getItem("prePage") ===
|
||||
this.configration.path.orderUnprocessed
|
||||
this.configration.path.orderUnprocessed
|
||||
) {
|
||||
this.queryParams = this.$route.params;
|
||||
} else {
|
||||
|
@ -242,6 +403,7 @@ export default {
|
|||
geoLayerName: "",
|
||||
geoLayerPos: [],
|
||||
tifPath: "",
|
||||
projection: null,
|
||||
orderData: [],
|
||||
sampleList: [],
|
||||
pdShow: false,
|
||||
|
@ -258,7 +420,7 @@ export default {
|
|||
const pdType = om.productSubClassId;
|
||||
self.productSubType = pdType;
|
||||
|
||||
self.featureMapData = om.landCoverTypeVOList
|
||||
self.featureMapData = om.landCoverTypeVOList;
|
||||
self.formInline = am.metaMsg;
|
||||
self.orderData = am.orderData;
|
||||
self.pixelNum = am.metaMsg.resRatio;
|
||||
|
@ -274,6 +436,7 @@ export default {
|
|||
self.geoWorkSpace = pm.geoWorkspace;
|
||||
self.geoLayerName = pm.geoLayerName;
|
||||
self.tifPath = pm.ftpPath;
|
||||
self.projection = pm.projection;
|
||||
|
||||
// 赋值真实性检验方法
|
||||
getAnalyseMethod(self.orderId).then((res) => {
|
||||
|
@ -322,7 +485,7 @@ export default {
|
|||
}
|
||||
},
|
||||
todaichuli() {
|
||||
this.$router.push(this.configration.path.daichuli);
|
||||
window.location.href =`${DAICHULI_URL}?orderid=${this.orderId}&token=WEB%2a1673425993482%40L3W7_ZZX-yg000087_06848633de364ec7b63c8f53f9e43b19`;
|
||||
},
|
||||
changepage() {
|
||||
if (this.hasPixelFun && this.pixelFun === "") {
|
||||
|
@ -363,7 +526,7 @@ export default {
|
|||
}
|
||||
// 关联的样本数据入库
|
||||
const allSampleData = smpVal.allSampleData;
|
||||
this.addCotSamples(this.sampleList,allSampleData,orderId)
|
||||
this.addCotSamples(this.sampleList, allSampleData, orderId);
|
||||
//更新真实性检验方法
|
||||
this.updateTruthFun(orderId, tcf);
|
||||
|
||||
|
@ -601,7 +764,7 @@ export default {
|
|||
background-color: #354595;
|
||||
}
|
||||
|
||||
/deep/.el-radio__input.is-checked+.el-radio__label {
|
||||
/deep/.el-radio__input.is-checked + .el-radio__label {
|
||||
color: #606266;
|
||||
}
|
||||
|
||||
|
|
|
@ -275,8 +275,6 @@ export default {
|
|||
if (userMsg.code === 200) {
|
||||
self.userId = userMsg.data.userid;
|
||||
}
|
||||
// userid: "ZZX-yg000087"
|
||||
// username: "yhhuser@163.com"
|
||||
const orderId = (self.orderId = this.$route.query.orderId);
|
||||
getOrderMsg(orderId).then((res) => {
|
||||
if (res.code === 200) {
|
||||
|
@ -356,7 +354,7 @@ export default {
|
|||
this.isShow = !this.isShow;
|
||||
},
|
||||
todaichuli() {
|
||||
this.$router.push(this.configration.path.daichuli);
|
||||
window.location.href =`${DAICHULI_URL}?orderid=${this.orderId}&token=WEB%2a1673425993482%40L3W7_ZZX-yg000087_06848633de364ec7b63c8f53f9e43b19`;
|
||||
},
|
||||
backpage() {
|
||||
this.$router.go(-1);
|
||||
|
|
Loading…
Reference in New Issue