diff --git a/src/api/pendingOrder.js b/src/api/pendingOrder.js index d8fc181..f4fe239 100644 --- a/src/api/pendingOrder.js +++ b/src/api/pendingOrder.js @@ -1,7 +1,6 @@ import microwaveRequest from "@/lib/request-microwave"; import realityRequest from "@/lib/request-reality"; import fileRequest from "@/lib/request-file"; - // 真实性校验方法 export function checkReality(data) { return realityRequest({ @@ -83,6 +82,16 @@ export function disOrderStatus(orderId) { }); } +// 同名点选取 +export function setSamePoi(data) { + return microwaveRequest({ + url: "metaDataOrder/savePoint", + headers: { "Content-Type": "multipart/form-data" }, + method: "post", + data + }); +} + // 根据抽样算法获取抽样后样本数据 export function getSampleData(data) { return realityRequest({ @@ -167,7 +176,14 @@ export function updateOrderStage(data) { data }); } - +// 存储报告信息 +export function saveReport(data) { + return microwaveRequest({ + url: "validationReport/saveReportPath", + method: "post", + data, + }); +} // 导出pdf模板 export function exportWord(data, pdfName, localTiffPath, httpTiffPath, productType) { return fileRequest({ diff --git a/src/components/home/testProduct/index.vue b/src/components/home/testProduct/index.vue index d665da9..015a451 100644 --- a/src/components/home/testProduct/index.vue +++ b/src/components/home/testProduct/index.vue @@ -6,30 +6,16 @@ 待检验产品列表
- - + + - + @@ -47,40 +33,19 @@
- 关联地面测量数据 - 提交检验订单 + 关联地面测量数据 + 提交检验订单
- +
待检验产品列表元数据-添加 - +
级别 - + 3 4 5 @@ -91,32 +56,16 @@
空间分辨率 - +
时间 - - + +
@@ -149,182 +98,115 @@
卫星 - +
坐标系统 - +
最大纬度 - +
最大经度 - +
载荷 - +
中心点位置 - +
最小纬度 - +
最小经度 - +
-
+
{{ groundFeature | groundFeatureFilter }} - 添加 + 添加
- - + + - + - + + + + @@ -343,13 +225,8 @@
时间范围: - +
-
+
极化方式选择
样本极化方式: - - + +
@@ -402,36 +265,15 @@
关联地面数据检索 - +
- - + + - + @@ -439,27 +281,16 @@ - +
- +
取消 - 确定 + 确定
@@ -653,6 +484,7 @@ export default { isSaveMateData: false, groTypeName: [], groundFeature: "", + kgTypeNameArr: [], }; }, beforeCreate() { @@ -671,6 +503,7 @@ export default { this.groundFeature = tempFlag; if (tempFlag === 6) { this.groTypeName = this.configration.groTypeName; + this.kgTypeNameArr = this.configration.kgTypeNameArr; } else if (tempFlag === 12) { this.groTypeName = this.configration.vegetationPhenologyGroTypeName; } @@ -817,14 +650,18 @@ export default { }); // 添加地表覆盖物类型 if (this.grdCoverList.length > 0) { + console.log(this.grdCoverList, 'this.gradCoverList'); + const temp = this.grdCoverList.map((item) => { return { ...item, orderId, }; }); + console.log(temp,'temp'); + addCoverTypeBatch(temp).then((res) => { - // console.log(res); + console.log(res,'addCoverTypeBatch'); this.grdCoverList = []; }); } @@ -1046,7 +883,8 @@ export default { }, addLaCovT() { const firstLabel = this.groTypeName[0].label; - this.pData.grdCoverData.push({ groClaName: firstLabel, pixelNum: "1" }); + const firstLabel2 = this.kgTypeNameArr[0].label; + this.pData.grdCoverData.push({ groClaName: firstLabel, typeNameKg: firstLabel2, pixelNum: "1" }); }, removeLaCovT(index) { this.pData.grdCoverData.splice(index, 1); @@ -1084,6 +922,9 @@ export default { const tempPixel = coverTypeList.filter( (coverType) => coverType.typeId === item.pixelNum ); + const kgType = coverTypeList.filter( + (coverType) => coverType.typeNameKg === item.typeNameKg + ) if (tempCoverType.length > 0) { this.$message({ type: "warning", @@ -1101,9 +942,12 @@ export default { coverTypeList.push({ typeName: item.groClaName, typeId: item.pixelNum, + typeNameKg: item.typeNameKg }); } this.grdCoverList = coverTypeList; + console.log(this.grdCoverList, "this.grdCoverList"); + } const upf = { @@ -1214,6 +1058,7 @@ export default { // margin-top: 10px; margin-bottom: 10px; text-align: center; + /deep/.el-button--primary { width: 240px; margin: 0 60px; @@ -1221,11 +1066,13 @@ export default { background-color: #354595; border-color: #354595; } + /deep/.el-button--primary:hover { color: #fff; background-color: #6d7ab6; border-color: #6d7ab6; } + /deep/.el-button--primary.is-disabled { color: #fff; background-color: #6d7ab6; @@ -1237,28 +1084,35 @@ export default { // margin-top: 10px; // margin-bottom: 10px; text-align: center; + /deep/.el-pagination.is-background .el-pager li:not(.disabled).active { background-color: #354595; } } + .table { border-top: 3px solid gainsboro; padding-top: 10px; + /deep/.el-table th { padding: 6px 0; } + /deep/.el-table td { padding: 5px 0; } + /deep/.el-checkbox__input.is-checked .el-checkbox__inner { background-color: #354595; border-color: #354595; } + /deep/.el-checkbox__input.is-indeterminate .el-checkbox__inner { background-color: #354595; border-color: #354595; } } + .cardbottom { width: 100%; // height: 300px; @@ -1268,67 +1122,81 @@ export default { z-index: 9; border-radius: 4px; } + /deep/.el-button { padding: 8px 15px; } + .btngr { text-align: center; padding: 15px; + /deep/.el-button--primary { color: #fff; background-color: #354595; border-color: #354595; } + /deep/.el-button--primary:hover { color: #fff; background-color: #6d7ab6; border-color: #6d7ab6; } + /deep/.el-button--primary.is-disabled { color: #fff; background-color: #6d7ab6; border-color: #6d7ab6; } } + .line { height: 30px; line-height: 30px; position: relative; margin-top: 10px; margin-bottom: 10px; + .sp1 { display: inline-block; vertical-align: top; position: absolute; left: 0; } + .inp1 { display: inline-block; vertical-align: top; width: 135px; position: absolute; right: 0; + /deep/.el-input__inner { height: 30px; width: 150px; } } + .sel1 { display: inline-block; vertical-align: top; width: 135px; position: absolute; right: 0; + /deep/.el-input__inner { height: 30px; width: 150px; } + border-color: transparent; } } + .showcard { margin-left: 15px; margin-right: 15px; + // height: 300px; // border-top: 2px solid gainsboro; .left { @@ -1338,6 +1206,7 @@ export default { width: 45%; // background-color: gold; } + .right { display: inline-block; vertical-align: top; @@ -1347,36 +1216,45 @@ export default { // background-color: gold; } } + /deep/.el-slider__bar { background-color: #354595; } + /deep/.el-slider__button { border-color: #354595; } + .slidercloud { display: inline-block; vertical-align: top; width: 420px; } + .line1 { display: inline-block; } + .line2 { display: inline-block; margin-left: 20px; } + .timeCardlineinput { display: inline-block; width: 150px; + /deep/.el-input__inner { height: 30px; width: 125px; } + /deep/.el-date-editor.el-input, .el-date-editor.el-input__inner { margin-left: 45px; } } + /deep/.line2 .el-icon-time:before { content: "\e78e"; } @@ -1384,12 +1262,15 @@ export default { /deep/.el-select .el-input.is-focus .el-input__inner { border-color: #354595; } + .cardlineinput2 { display: inline-block; width: 200px; + /deep/.el-input__inner { height: 30px; } + /deep/.el-input__inner:focus { border-color: #354595; } @@ -1398,6 +1279,7 @@ export default { .cardlineinput { display: inline-block; width: 150px; + /deep/.el-input__inner { height: 30px; width: 125px; @@ -1411,11 +1293,13 @@ export default { // font-size: 14px; margin-right: 15px; } + .cardline { margin-left: 15px; height: 40px; line-height: 40px; } + // .radiolabel { // // color: #606266; // // font-size: 14px; @@ -1426,34 +1310,43 @@ export default { margin-left: 4px; margin-right: 20px; } + .imageTime:after { content: "*"; color: #f56c6c; margin-left: 4px; margin-right: 20px; } + .radiogroup { margin-left: 60px; } + /deep/.el-radio__inner { border: 1px solid #606266; } + /deep/.el-radio__inner::after { background-color: #354595; } + /deep/.el-radio__input.is-checked .el-radio__inner { border: 2.5px solid #354595; background: white; } -/deep/.el-radio__input.is-checked + .el-radio__label { + +/deep/.el-radio__input.is-checked+.el-radio__label { color: #606266; } + .cardbtngroup { padding: 10px; text-align: center; + .el-button { margin: 0 30px; } + /deep/.el-button--primary.is-disabled, .el-button--primary.is-disabled:active, .el-button--primary.is-disabled:focus, @@ -1463,9 +1356,11 @@ export default { border-color: gainsboro; } } -/deep/.el-table th > .cell { + +/deep/.el-table th>.cell { color: #354595; } + .cardgroup { width: 550px; position: absolute; @@ -1474,29 +1369,34 @@ export default { top: 70px; } -/deep/.cardgroup .el-table th > .cell { +/deep/.cardgroup .el-table th>.cell { color: #354595; font-size: 13px; } -/deep/.cardgroup .el-table td > .cell { + +/deep/.cardgroup .el-table td>.cell { font-size: 12px; } + .card { background-color: white; z-index: 2; border-radius: 4px; border: none; } + .cardtable { border-top: 2px solid gainsboro; padding-top: 10px; } + .cardheader { height: 44px; // margin-top: 10px; background-color: white; line-height: 44px; border-radius: 4px; + .s1 { font-size: 25px; font-family: "PingFangSC-Medium", sans-serif; @@ -1504,6 +1404,7 @@ export default { margin-left: 20px; font-weight: 600; } + .s2 { position: absolute; // top: 10px; @@ -1513,6 +1414,7 @@ export default { color: #354595; cursor: pointer; } + .s3 { position: absolute; top: 10px; @@ -1521,12 +1423,14 @@ export default { cursor: pointer; } } + .cardheader2 { height: 40px; background-color: #e4e9f1; line-height: 40px; border-radius: 4px; position: relative; + .s3 { font-size: 18px; font-family: "PingFangSC-Medium", sans-serif; @@ -1534,6 +1438,7 @@ export default { margin-left: 15px; font-weight: bolder; } + .s4 { position: absolute; top: 5px; @@ -1542,40 +1447,49 @@ export default { cursor: pointer; } } + /deep/.searchParams .el-dialog__body { padding: 10px 15px; } + // /deep/.searchParams .el-range-editor.el-input__inner { // width: 240px; // } /deep/.searchParams .el-input { width: 80px; } + /deep/.searchParams .el-input__inner { height: 35px; line-height: 35px; } + /deep/.searchParams .el-dialog__footer { text-align: center; } + /deep/.polarization .el-input { width: 140px; } + .box1 { height: 40px; line-height: 40px; margin-bottom: 10px; + .sp1 { font-size: 18px; margin-left: 10px; font-weight: 600; } } + .sp2 { font-size: 16px; margin-right: 10px; margin-left: 10px; } + /deep/.cardgroup .el-input--suffix .el-input__inner { padding-right: 20px; } diff --git a/src/components/orderSearch/index.vue b/src/components/orderSearch/index.vue index 99f1f8e..6a3b79f 100644 --- a/src/components/orderSearch/index.vue +++ b/src/components/orderSearch/index.vue @@ -1,40 +1,19 @@