zbcx_ckyc 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/package.json +90 -0
- package/src/plugins/app/com/CesiumTool.js +730 -0
- package/src/plugins/app/com/MapMethods.js +355 -0
- package/src/plugins/app/com/MapTool.vue +772 -0
- package/src/plugins/app/com/MenuRouter.vue +157 -0
- package/src/plugins/app/com/ParamsDes.vue +35 -0
- package/src/plugins/app/com/SelCoorSys.vue +235 -0
- package/src/plugins/app/com/WebProj4.js +32 -0
- package/src/plugins/app/com/measure.js +127 -0
- package/src/plugins/app/com/yx.js +238 -0
- package/src/plugins/app/modelmanagement/D3DrawGraph.js +708 -0
- package/src/plugins/app/modelmanagement/MineralGo.vue +241 -0
- package/src/plugins/app/modelmanagement/MineralModel.vue +1203 -0
- package/src/plugins/app/modelmanagement/ModelCloudmap.vue +69 -0
- package/src/plugins/app/modelmanagement/ModelMst.vue +60 -0
- package/src/plugins/app/modelmanagement/ModelSy.vue +173 -0
- package/src/plugins/app/modelmanagement/ModelTp.vue +51 -0
- package/src/plugins/app/modelmanagement/ModelUpload.vue +774 -0
- package/src/plugins/app/znycpjxt/Api.js +714 -0
- package/src/plugins/app/znycpjxt/Bf/AttFactory.js +25 -0
- package/src/plugins/app/znycpjxt/Bf/IAnomalyhandle.js +102 -0
- package/src/plugins/app/znycpjxt/Bf/IComposeanomaly.js +140 -0
- package/src/plugins/app/znycpjxt/Bf/IContinueanaly.js +138 -0
- package/src/plugins/app/znycpjxt/Bf/IContrastanaly.js +138 -0
- package/src/plugins/app/znycpjxt/Bf/ICustomNode.js +145 -0
- package/src/plugins/app/znycpjxt/Bf/IDerivanaly.js +139 -0
- package/src/plugins/app/znycpjxt/Bf/IFilterananly.js +141 -0
- package/src/plugins/app/znycpjxt/Bf/IMeananaly.js +137 -0
- package/src/plugins/app/znycpjxt/Bf/IModelNodeBase.js +135 -0
- package/src/plugins/app/znycpjxt/Bf/IMoveaverage.js +135 -0
- package/src/plugins/app/znycpjxt/Bf/IReducepole.js +141 -0
- package/src/plugins/app/znycpjxt/Bf/ISmoothanaly.js +135 -0
- package/src/plugins/app/znycpjxt/Bf/ITrendanaly.js +144 -0
- package/src/plugins/app/znycpjxt/Bf/IVector2grd.js +144 -0
- package/src/plugins/app/znycpjxt/Bf/IYcfj.js +84 -0
- package/src/plugins/app/znycpjxt/Bf/IYcxxjs.js +105 -0
- package/src/plugins/app/znycpjxt/Bf/IYgsbtq.js +112 -0
- package/src/plugins/app/znycpjxt/Bf/IYgtxrh.js +112 -0
- package/src/plugins/app/znycpjxt/Bf/Iinteranaly.js +135 -0
- package/src/plugins/app/znycpjxt/Bf/index.js +44 -0
- package/src/plugins/app/znycpjxt/Bf/input/InputData.js +21 -0
- package/src/plugins/app/znycpjxt/Bf/input/InputExcel.js +28 -0
- package/src/plugins/app/znycpjxt/Bf/input/InputKd.js +31 -0
- package/src/plugins/app/znycpjxt/Bqqd/Bqqd.vue +380 -0
- package/src/plugins/app/znycpjxt/Bqqd/BqqdMap.vue +1046 -0
- package/src/plugins/app/znycpjxt/Bqqd/SetOpacity.vue +101 -0
- package/src/plugins/app/znycpjxt/Bqqd/SjzxTree.vue +244 -0
- package/src/plugins/app/znycpjxt/Bqqd/YclsjjTree.vue +212 -0
- package/src/plugins/app/znycpjxt/Bqqd/api/DsjzxApi.js +37 -0
- package/src/plugins/app/znycpjxt/Ckycmx/Ckycmx.vue +161 -0
- package/src/plugins/app/znycpjxt/Ckycmx/Ckycmxgl/CfgGloalParams.vue +92 -0
- package/src/plugins/app/znycpjxt/Ckycmx/Ckycmxgl/CfgNodeFlds.vue +102 -0
- package/src/plugins/app/znycpjxt/Ckycmx/Ckycmxgl/CfgNodeParams.vue +277 -0
- package/src/plugins/app/znycpjxt/Ckycmx/Ckycmxgl/Ckycmxgl.vue +303 -0
- package/src/plugins/app/znycpjxt/Ckycmx/Ckycmxgl/SetLabelParam.vue +68 -0
- package/src/plugins/app/znycpjxt/Ckycmx/Ckycmxgl/SetModelParam.vue +69 -0
- package/src/plugins/app/znycpjxt/Ckycmx/Ckycmxtab/Ckycmxtab.vue +107 -0
- package/src/plugins/app/znycpjxt/Ckycmx/Ckycmxtab/Dtzzylwl.vue +156 -0
- package/src/plugins/app/znycpjxt/Ckycmx/Ckycmxtab/Jjsjwl.vue +230 -0
- package/src/plugins/app/znycpjxt/Ckycmx/Ckycmxtab/Sjsl.vue +126 -0
- package/src/plugins/app/znycpjxt/Ckycmx/Ckycmxtab/Zcxlj.vue +128 -0
- package/src/plugins/app/znycpjxt/Ckycmx/Ckycmxtab/Zjq.vue +123 -0
- package/src/plugins/app/znycpjxt/Ckycmx/Ckycmxtab/Zstp.vue +271 -0
- package/src/plugins/app/znycpjxt/Ckycmx/Ckycmxtab/Zzylwl.vue +149 -0
- package/src/plugins/app/znycpjxt/Ckycmx/Ckycmxtab/coms/ParamsData.vue +323 -0
- package/src/plugins/app/znycpjxt/Ckycmx/Ckycmxtab/coms/ParamsDataNew.vue +336 -0
- package/src/plugins/app/znycpjxt/Ckycmx/Ckycmxtab/coms/QqtEcharts.vue +137 -0
- package/src/plugins/app/znycpjxt/Ckycmx/Ckycrwgl/Ckycrwgl.vue +290 -0
- package/src/plugins/app/znycpjxt/CusTools/CodeApi.js +83 -0
- package/src/plugins/app/znycpjxt/CusTools/CodeEditor/CodeEditor.md +36 -0
- package/src/plugins/app/znycpjxt/CusTools/CodeEditor/CodeEditor.vue +227 -0
- package/src/plugins/app/znycpjxt/CusTools/CodeEditor/PlugCodeEditor.vue +78 -0
- package/src/plugins/app/znycpjxt/CusTools/CodeEditor/demo/basic.png +0 -0
- package/src/plugins/app/znycpjxt/CusTools/CodeEditor/demo/basic.vue +27 -0
- package/src/plugins/app/znycpjxt/CusTools/DmbjForm.vue +76 -0
- package/src/plugins/app/znycpjxt/CusTools/DmfbForm.vue +351 -0
- package/src/plugins/app/znycpjxt/CusTools/GjForm.vue +206 -0
- package/src/plugins/app/znycpjxt/CusTools/Gjbjyfb.vue +200 -0
- package/src/plugins/app/znycpjxt/CusTools/ParamSelect.vue +222 -0
- package/src/plugins/app/znycpjxt/CusTools/ParamSelect2.vue +204 -0
- package/src/plugins/app/znycpjxt/CusTools/Zngjj.vue +105 -0
- package/src/plugins/app/znycpjxt/DataAnlyModel/DataAnlyModel.vue +134 -0
- package/src/plugins/app/znycpjxt/DataAnlyModel/Hgfx/HgfxEcharts.vue +98 -0
- package/src/plugins/app/znycpjxt/DataAnlyModel/Hgfx/HgfxTab.vue +73 -0
- package/src/plugins/app/znycpjxt/DataAnlyModel/Hgfx.vue +101 -0
- package/src/plugins/app/znycpjxt/DataAnlyModel/Jctj/JctjjgTab.vue +70 -0
- package/src/plugins/app/znycpjxt/DataAnlyModel/Jctj/Plzft.vue +154 -0
- package/src/plugins/app/znycpjxt/DataAnlyModel/Jctj.vue +118 -0
- package/src/plugins/app/znycpjxt/DataAnlyModel/Jlfx/JlfxImg.vue +80 -0
- package/src/plugins/app/znycpjxt/DataAnlyModel/Jlfx.vue +91 -0
- package/src/plugins/app/znycpjxt/DataAnlyModel/PCAfx/PcaTab.vue +161 -0
- package/src/plugins/app/znycpjxt/DataAnlyModel/PCAfx.vue +101 -0
- package/src/plugins/app/znycpjxt/DataAnlyModel/Qqt/QqtEcharts.vue +202 -0
- package/src/plugins/app/znycpjxt/DataAnlyModel/Qqt.vue +88 -0
- package/src/plugins/app/znycpjxt/DataAnlyModel/Xgxfx/XgxfxImg.vue +80 -0
- package/src/plugins/app/znycpjxt/DataAnlyModel/Xgxfx.vue +96 -0
- package/src/plugins/app/znycpjxt/DatasetMan/CreateDataset.vue +296 -0
- package/src/plugins/app/znycpjxt/DatasetMan/DatasetMan.vue +141 -0
- package/src/plugins/app/znycpjxt/DatasetMan/PreData.js +91 -0
- package/src/plugins/app/znycpjxt/DatasetMan/PreData.vue +545 -0
- package/src/plugins/app/znycpjxt/DatasetMan/PreDataApi.js +101 -0
- package/src/plugins/app/znycpjxt/DatasetMan/SelData.vue +186 -0
- package/src/plugins/app/znycpjxt/DatasetMan/SjTree.vue +130 -0
- package/src/plugins/app/znycpjxt/DatasetMan/Sjj.vue +478 -0
- package/src/plugins/app/znycpjxt/DatasetMan/Yclsjj.vue +445 -0
- package/src/plugins/app/znycpjxt/DatasetMan/Yssjj.vue +389 -0
- package/src/plugins/app/znycpjxt/DocList/DocList.vue +496 -0
- package/src/plugins/app/znycpjxt/DocList/unit/DocItem.vue +137 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/AnomalyExtraction/Dchj.vue +107 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/AnomalyExtraction/GeophysicalAnomaly.vue +115 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/AnomalyExtraction/Jxyt.vue +98 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/AnomalyExtraction/Lbjs.vue +127 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/AnomalyExtraction/Pjcjs.vue +103 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/AnomalyExtraction/Qdjs.vue +103 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/ExceptHandlModel.vue +163 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/GeneralCalculation/Cdjs.vue +102 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/GeneralCalculation/Czfx.vue +163 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/GeneralCalculation/GetFormData.vue +343 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/GeneralCalculation/Hdpj.vue +100 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/GeneralCalculation/Pjtd.vue +90 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/GeneralCalculation/Qsfx.vue +109 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/GeneralCalculation/ResultOnlyData.vue +121 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/GeneralCalculation/ResultTable.vue +231 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/GeneralCalculation/UniversalComputing.vue +139 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/GeneralCalculation/Xgxsjs.vue +93 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/GeneralCalculation/Xxsjs.vue +90 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/GeneralCalculation/Ycfj.vue +116 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/GeneralCalculation/Yhcl.vue +100 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/extgeoanomalies/AnomalsGard.vue +91 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/extgeoanomalies/Dqhxycht.vue +113 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/extgeoanomalies/GeocAnomalies.vue +99 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/extgeoanomalies/JgTableList.vue +203 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/extgeoanomalies/Lszcl.vue +110 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/extgeoanomalies/Ycxxjs.vue +116 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/geoAnomalyExtraction/GeoAnomalyExtraction.vue +108 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/geoAnomalyExtraction/coms/AttWeight.vue +99 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/geoAnomalyExtraction/coms/Ckdctq.vue +98 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/geoAnomalyExtraction/coms/LeftForm.vue +266 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/ygyctq/Ygsbtq.vue +150 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/ygyctq/Ygtxrh.vue +107 -0
- package/src/plugins/app/znycpjxt/ExceptHandlModel/ygyctq/ygyctq.vue +98 -0
- package/src/plugins/app/znycpjxt/Index/DataCard.vue +45 -0
- package/src/plugins/app/znycpjxt/Index/Index.vue +123 -0
- package/src/plugins/app/znycpjxt/Rzgl/Rzgl.vue +156 -0
- package/src/plugins/app/znycpjxt/coms/CmapColor.vue +70 -0
- package/src/plugins/app/znycpjxt/coms/CustomFileView.vue +343 -0
- package/src/plugins/app/znycpjxt/coms/CustomForm.vue +220 -0
- package/src/plugins/app/znycpjxt/coms/GrdView.vue +355 -0
- package/src/plugins/app/znycpjxt/coms/LeftForm.vue +195 -0
- package/src/plugins/app/znycpjxt/coms/MakeData.js +472 -0
- package/src/plugins/app/znycpjxt/coms/PreView.js +55 -0
- package/src/plugins/app/znycpjxt/coms/RightContent.vue +71 -0
- package/src/plugins/app/znycpjxt/coms/TableEarth.vue +259 -0
- package/src/plugins/app/znycpjxt/intellPred/ModelList.vue +200 -0
- package/src/plugins/app/znycpjxt/intellPred/coms/D3DrawGraph.js +634 -0
- package/src/plugins/app/znycpjxt/intellPred/coms/MineralGo.vue +249 -0
- package/src/plugins/app/znycpjxt/intellPred/coms/ModelCard.vue +298 -0
- package/src/plugins/app/znycpjxt/intellPred/coms/ModelEdit.vue +292 -0
- package/src/plugins/app/znycpjxt/intellPred/coms/ModelSpecif.vue +46 -0
- package/src/plugins/app/znycpjxt/intellPred/intellPred.vue +71 -0
- package/src/plugins/bf/BfApi.js +92 -0
- package/src/plugins/bf/BfColAdd.vue +78 -0
- package/src/plugins/bf/BfColEdit.vue +68 -0
- package/src/plugins/bf/BfColFilter.vue +112 -0
- package/src/plugins/bf/BfDataGroup.vue +80 -0
- package/src/plugins/bf/BfDataPreview.vue +118 -0
- package/src/plugins/bf/BfDataStat.vue +81 -0
- package/src/plugins/bf/BfDuplicateDel.vue +82 -0
- package/src/plugins/bf/BfProcCall.vue +82 -0
- package/src/plugins/bf/BfRunHis.vue +289 -0
- package/src/plugins/bf/BfRunParams.vue +94 -0
- package/src/plugins/bf/BfSaveFlow.vue +186 -0
- package/src/plugins/bf/BfSelFlow.vue +123 -0
- package/src/plugins/bf/BfTabCombine.vue +127 -0
- package/src/plugins/bf/BfTabJoin.vue +108 -0
- package/src/plugins/bf/BfTabMerge.vue +68 -0
- package/src/plugins/bf/BfTabReader.vue +126 -0
- package/src/plugins/bf/BfValFormat.vue +68 -0
- package/src/plugins/bf/BfValNumber.vue +68 -0
- package/src/plugins/bf/BfValProc.vue +78 -0
- package/src/plugins/bf/BfValSort.vue +78 -0
- package/src/plugins/bf/BiFlow.vue +1177 -0
- package/src/plugins/bf/IBfPlug.js +205 -0
- package/src/plugins/bf/coms/ColAdd.vue +75 -0
- package/src/plugins/bf/coms/ColEdit.vue +52 -0
- package/src/plugins/bf/coms/ColList.vue +91 -0
- package/src/plugins/bf/coms/DataGroup.vue +90 -0
- package/src/plugins/bf/coms/DataStat.vue +67 -0
- package/src/plugins/bf/coms/EditTable.vue +161 -0
- package/src/plugins/bf/coms/NodeTree.vue +105 -0
- package/src/plugins/bf/coms/PlugCmd.vue +95 -0
- package/src/plugins/bf/coms/RunParams.vue +68 -0
- package/src/plugins/bf/coms/TabCombine.vue +60 -0
- package/src/plugins/bf/coms/TabJoin.vue +69 -0
- package/src/plugins/bf/coms/ValFormat.vue +53 -0
- package/src/plugins/bf/coms/ValProc.vue +77 -0
- package/src/plugins/bf/coms/ValSort.vue +89 -0
- package/src/plugins/bf/parts/Icon.vue +105 -0
- package/src/plugins/bf/parts/Rect.vue +98 -0
- package/src/plugins/bf/parts/index.js +11 -0
- package/src/plugins/cxMixin/IAttBase.js +78 -0
- package/src/plugins/cxMixin/IAttDlg.js +45 -0
- package/src/plugins/cxMixin/IAttProc.js +98 -0
- package/src/plugins/cxMixin/IComBase.js +42 -0
- package/src/plugins/cxMixin/IContextMenu.js +74 -0
- package/src/plugins/cxMixin/IDataAcce.js +1106 -0
- package/src/plugins/cxMixin/IDataList.js +775 -0
- package/src/plugins/cxMixin/IDataMan.js +1670 -0
- package/src/plugins/cxMixin/IDataMan2.js +2561 -0
- package/src/plugins/cxMixin/IDataProc.js +379 -0
- package/src/plugins/cxMixin/IDatagrid.js +234 -0
- package/src/plugins/cxMixin/IEditableDg.js +477 -0
- package/src/plugins/cxMixin/IExpBase.js +51 -0
- package/src/plugins/cxMixin/IFormBase.js +29 -0
- package/src/plugins/cxMixin/IGridBpm.js +732 -0
- package/src/plugins/cxMixin/IGridData.js +109 -0
- package/src/plugins/cxMixin/IOperMore.js +323 -0
- package/src/plugins/cxMixin/IPlugBase.js +341 -0
- package/src/plugins/cxMixin/ISendCode.js +86 -0
- package/src/plugins/cxMixin/ISinglePage.js +112 -0
- package/src/plugins/cxMixin/ITags.js +81 -0
- package/src/plugins/cxe/CxeMap.vue +61 -0
- package/src/plugins/home/HeadNav.vue +194 -0
- package/src/plugins/home/Home.vue +59 -0
- package/src/plugins/home/HomePage.vue +237 -0
- package/src/plugins/home/Login.vue +139 -0
- package/src/plugins/zbcxCesium/coms/GraDrawBarWgt.vue +176 -0
- package/src/plugins/zbcxCesium/coms/baseMapSwitch/BaseMap.scss +42 -0
- package/src/plugins/zbcxCesium/coms/baseMapSwitch/BaseMap.vue +59 -0
- package/src/plugins/zbcxCesium/coms/dataPreview/DataPreview.vue +526 -0
- package/src/plugins/zbcxCesium/coms/dataPreview/DataPreviewPlug.vue +79 -0
- package/src/plugins/zbcxCesium/coms/dataPreview/ReadShpFile.js +42 -0
- package/src/plugins/zbcxCesium/coms/legend/Legend.vue +78 -0
- package/src/plugins/zbcxCesium/coms/popup/dialog-left-bg.png +0 -0
- package/src/plugins/zbcxCesium/coms/popup/index.js +88 -0
- package/src/plugins/zbcxCesium/coms/popup/index.vue +93 -0
- package/src/plugins/zbcxCesium/pub/LoadGeojson.js +44 -0
- package/src/plugins/zbcxCesium/pub/LoadModel.js +128 -0
- package/src/plugins/zbcxCesium/pub/LoadOgc.js +226 -0
- package/src/plugins/zbcxCesium/pub/Opacity.vue +139 -0
- package/src/plugins/zbcxCesium/pub/PubCxe.js +97 -0
- package/src/plugins/zbcxCesium/pub/SceneSet.vue +178 -0
- package/src/plugins/zbcxCesium/pub/ShowEffect.vue +216 -0
- package/src/plugins/zbcxCesium/pub/TMeasure.vue +122 -0
- package/src/plugins/zbcxCesium/pub/ToDefView3.vue +109 -0
- package/src/plugins/zbcxCesium/pub/getWmsGetCapabilities.js +127 -0
- package/src/plugins/zbcxCesium/utils/ShpToGeoJson.js +24 -0
- package/src/plugins/zbcxCesium/utils/WebProj4.js +32 -0
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
<style lang='scss' scoped>
|
|
2
|
+
.cust-border {width: 100%; height: 100%; border: 0.01rem solid var(--cx-colorBorder1); padding: 0.16rem;box-sizing:border-box}
|
|
3
|
+
.attTab{width:100%;}
|
|
4
|
+
.imgText{margin-bottom: 0.2rem;}
|
|
5
|
+
img{width:100%;}
|
|
6
|
+
:deep(.el-form .el-form-item .el-form-item__label){text-align: left ;}
|
|
7
|
+
</style>
|
|
8
|
+
|
|
9
|
+
<template>
|
|
10
|
+
<cx-layout padding style="height:100%;">
|
|
11
|
+
<cx-region region="west" width="4.2rem" gutter>
|
|
12
|
+
<LeftForm :sfmk="sfmk" :btnTitle="btnTitle" :qryFld="qryFld" @ok-click="onOk">
|
|
13
|
+
<template v-slot:form>
|
|
14
|
+
<el-table :data="tableData" stripe style="width: 100%">
|
|
15
|
+
<el-table-column prop="name" label="属性对象" align="center"/>
|
|
16
|
+
<el-table-column prop="qz" label="权重" align="center">
|
|
17
|
+
<template v-slot="scope">
|
|
18
|
+
<el-input-number v-model="scope.row.qz" :controls="false" size="mini" style="width:100%"></el-input-number>
|
|
19
|
+
</template>
|
|
20
|
+
</el-table-column>
|
|
21
|
+
</el-table>
|
|
22
|
+
</template>
|
|
23
|
+
</LeftForm>
|
|
24
|
+
</cx-region>
|
|
25
|
+
<cx-region region="center" >
|
|
26
|
+
<RightContent :btn="btn" @ok-click="onExportResult" title="输出">
|
|
27
|
+
<ResultTable ref="ResultTable" :czdx="czdx" :file="file" :graph="graph" :select="selection"></ResultTable>
|
|
28
|
+
</RightContent>
|
|
29
|
+
</cx-region>
|
|
30
|
+
</cx-layout>
|
|
31
|
+
</template>
|
|
32
|
+
|
|
33
|
+
<script>
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* 组件 - 地质异常提取
|
|
37
|
+
*/
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* 修改记录:
|
|
41
|
+
* 24-05-27 熊潇 首次编写
|
|
42
|
+
*/
|
|
43
|
+
import LeftForm from './LeftForm'
|
|
44
|
+
import RightContent from '../../../coms/RightContent'
|
|
45
|
+
import ResultTable from '../../GeneralCalculation/ResultTable.vue'
|
|
46
|
+
import PreView from '../../../coms/PreView'
|
|
47
|
+
export default
|
|
48
|
+
{
|
|
49
|
+
mixins: [cx.mixin.IComBase, PreView],
|
|
50
|
+
components: { RightContent, LeftForm, ResultTable },
|
|
51
|
+
props:
|
|
52
|
+
{
|
|
53
|
+
comParams: { type: Object }
|
|
54
|
+
},
|
|
55
|
+
data()
|
|
56
|
+
{
|
|
57
|
+
return {
|
|
58
|
+
sfmk: { name: '异常提取分析', type: 'dataanly' },
|
|
59
|
+
isSave: false,
|
|
60
|
+
form: null,
|
|
61
|
+
file: null,
|
|
62
|
+
url: null,
|
|
63
|
+
selection: null,
|
|
64
|
+
mediaInfo: null,
|
|
65
|
+
btnTitle: null,
|
|
66
|
+
qryFld: null,
|
|
67
|
+
imgSrc: null,
|
|
68
|
+
graph: null
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
created()
|
|
72
|
+
{
|
|
73
|
+
this.btnTitle = this.comParams ? this.comParams.btnTitle ? this.comParams.btnTitle : null : null
|
|
74
|
+
this.qryFld = this.comParams ? this.comParams.qryFld ? this.comParams.qryFld : null : null
|
|
75
|
+
this.sfmk = this.comParams ? this.comParams.sfmk ? this.comParams.sfmk : { name: '异常提取分析', type: 'dataanly' } : { name: '异常提取分析', type: 'dataanly' }
|
|
76
|
+
this.btn = [
|
|
77
|
+
{ title: '预览', icon: 'cx-fi ic-preview', callBack: this.onView },
|
|
78
|
+
{ title: '保存', icon: 'cx-fi ic-save', callBack: this.onSave },
|
|
79
|
+
{ title: '导出', icon: 'cx-fi ic-export', callBack: this.onExport }
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
|
|
83
|
+
methods:
|
|
84
|
+
{
|
|
85
|
+
onOk(form, file, url, selection)
|
|
86
|
+
{
|
|
87
|
+
this.form = form
|
|
88
|
+
this.file = file
|
|
89
|
+
this.selection = [selection]
|
|
90
|
+
this.graph = url
|
|
91
|
+
this.$nextTick(() =>
|
|
92
|
+
{
|
|
93
|
+
this.$refs.ResultTable.getCriticalData()
|
|
94
|
+
})
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
</script>
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
<style lang='scss' scoped>
|
|
2
|
+
.cust-border {width: 100%; height: 100%; border: 0.01rem solid var(--cx-colorBorder1); padding: 0.1rem;}
|
|
3
|
+
.cust-title {font-size: 0.16rem; font-weight: 400;}
|
|
4
|
+
</style>
|
|
5
|
+
|
|
6
|
+
<template>
|
|
7
|
+
<cx-BorderRegular class="cust-border">
|
|
8
|
+
<cx-layout style="height: 100%;">
|
|
9
|
+
<cx-region region="north" gutter height="0.4rem;" style="display:flex; align-items:center; justify-content:space-between;">
|
|
10
|
+
<span class='cust-title'>输入</span>
|
|
11
|
+
<el-popover
|
|
12
|
+
placement="right"
|
|
13
|
+
width="600"
|
|
14
|
+
trigger="click">
|
|
15
|
+
<p style="white-space: pre-wrap;" v-html="smData"></p>
|
|
16
|
+
<template #reference>
|
|
17
|
+
<cx-button icon="cx-fi ic-question"> 说明</cx-button>
|
|
18
|
+
</template>
|
|
19
|
+
</el-popover>
|
|
20
|
+
</cx-region>
|
|
21
|
+
<cx-region region="center" gutter>
|
|
22
|
+
<CustomForm ref="form" v-bind="formdata" @click-calculation="onCalculation" @click-seldyna="onSeldyna"></CustomForm>
|
|
23
|
+
<AttWeight ref="attWeight" :values="values"></AttWeight>
|
|
24
|
+
</cx-region>
|
|
25
|
+
<cx-region region="south" border>
|
|
26
|
+
<cx-cmdbar class="cx-cmd-save" :size="size">
|
|
27
|
+
<cx-button type="primary"
|
|
28
|
+
:size="size"
|
|
29
|
+
icon="cx-fi ic-analysis"
|
|
30
|
+
@click="onOk"
|
|
31
|
+
>
|
|
32
|
+
{{btntext}}
|
|
33
|
+
</cx-button>
|
|
34
|
+
</cx-cmdbar>
|
|
35
|
+
</cx-region>
|
|
36
|
+
</cx-layout>
|
|
37
|
+
</cx-BorderRegular>
|
|
38
|
+
</template>
|
|
39
|
+
|
|
40
|
+
<script>
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* 插件 - 数据分析模型 - 左侧表单
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* 修改记录:
|
|
48
|
+
* 24-05-15 张光辉 首次编写
|
|
49
|
+
*/
|
|
50
|
+
import CustomForm from '../../../coms/CustomForm.vue'
|
|
51
|
+
import AttWeight from './AttWeight.vue'
|
|
52
|
+
import MakeData from '../../../coms/MakeData.js'
|
|
53
|
+
import Api from '../../../Api.js'
|
|
54
|
+
export default
|
|
55
|
+
{
|
|
56
|
+
mixins: [cx.mixin.IComBase, MakeData],
|
|
57
|
+
components: { CustomForm, AttWeight },
|
|
58
|
+
props:
|
|
59
|
+
{
|
|
60
|
+
sfmk: { type: Object },
|
|
61
|
+
btnTitle: { type: String },
|
|
62
|
+
qryFld: { type: String }
|
|
63
|
+
},
|
|
64
|
+
data()
|
|
65
|
+
{
|
|
66
|
+
return {
|
|
67
|
+
smData: '',
|
|
68
|
+
formdata: {},
|
|
69
|
+
btntext: '提取',
|
|
70
|
+
filename: '',
|
|
71
|
+
bounds: [],
|
|
72
|
+
values: []
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
|
|
76
|
+
emits: ['ok-click'],
|
|
77
|
+
|
|
78
|
+
created()
|
|
79
|
+
{
|
|
80
|
+
this.btntext = this.btnTitle ? this.btnTitle : '提取'
|
|
81
|
+
this.initData()
|
|
82
|
+
this.smData = window.SmData[this.sfmk.name]
|
|
83
|
+
},
|
|
84
|
+
mounted()
|
|
85
|
+
{
|
|
86
|
+
// if (this.btnTitle)
|
|
87
|
+
// {
|
|
88
|
+
// this.$refs.attWeight.param1.table.cols.forEach(i =>
|
|
89
|
+
// {
|
|
90
|
+
// if (i.colname === 'attObj')
|
|
91
|
+
// i.title = '融合对象'
|
|
92
|
+
// })
|
|
93
|
+
// }
|
|
94
|
+
},
|
|
95
|
+
// 按功能相关性组织函数块,函数名体现功能
|
|
96
|
+
methods:
|
|
97
|
+
{
|
|
98
|
+
initData()
|
|
99
|
+
{
|
|
100
|
+
this.formdata = this.makeForm(this.sfmk)
|
|
101
|
+
},
|
|
102
|
+
|
|
103
|
+
multiple_(fld)
|
|
104
|
+
{
|
|
105
|
+
return this.multiple || fld?.multiple
|
|
106
|
+
},
|
|
107
|
+
|
|
108
|
+
async onSeldyna(fld)
|
|
109
|
+
{
|
|
110
|
+
let data = await cx.svr.data.query($app.TabConst.sjj.major, $app.TabConst.sjj.minor, { args: [['userid', '=', $g.user.id, null], ['defdata', '=', 1, 'and']] })
|
|
111
|
+
let params =
|
|
112
|
+
{
|
|
113
|
+
...$app.TabConst.yclsjj,
|
|
114
|
+
fixedExp: data.length ? cx.sqlexp.from([['username', '=', $g.user.id], ['datatype', 'like', '%' + this.qryFld + '%', 'and'], ['glid', '=', data[0].id, 'and']]) : cx.sqlexp.from([['username', '=', $g.user.id], ['datatype', 'like', '%' + this.qryFld + '%', 'and']]),
|
|
115
|
+
multiple: this.multiple_(fld),
|
|
116
|
+
onOk: (selection) => this.onSeldynaOk(selection, fld)
|
|
117
|
+
}
|
|
118
|
+
cx.run.runPlug('SelData', params)
|
|
119
|
+
},
|
|
120
|
+
|
|
121
|
+
async onSeldynaOk(selection, fld)
|
|
122
|
+
{
|
|
123
|
+
vm.$processing.show()
|
|
124
|
+
if (selection && selection.length)
|
|
125
|
+
{
|
|
126
|
+
this.selection = selection
|
|
127
|
+
let media = await this.queryMedia($app.TabConst.yclsjj, selection[0].id)
|
|
128
|
+
if (media && media.length)
|
|
129
|
+
{
|
|
130
|
+
this.filename = media[0].filename
|
|
131
|
+
// let params =
|
|
132
|
+
// {
|
|
133
|
+
// file: media[0].filename,
|
|
134
|
+
// fld: selection[0].anlycol
|
|
135
|
+
// }
|
|
136
|
+
// Api.getGeojsonInfo(params).then(res =>
|
|
137
|
+
// {
|
|
138
|
+
vm.$processing.close()
|
|
139
|
+
// if (res.ret === 0)
|
|
140
|
+
// {
|
|
141
|
+
this.formdata.form.file = selection[0].anlycol
|
|
142
|
+
this.formdata.form.col = selection[0].anlycol
|
|
143
|
+
let sjjData = await cx.svr.data.query($app.TabConst.sjj.major, $app.TabConst.sjj.minor, { args: [['id', '=', selection[0].glid]] })
|
|
144
|
+
|
|
145
|
+
if (sjjData.length)
|
|
146
|
+
{
|
|
147
|
+
this.formdata.form.xmin = sjjData[0].xmin1
|
|
148
|
+
this.formdata.form.xmax = sjjData[0].xmax1
|
|
149
|
+
this.formdata.form.ymin = sjjData[0].ymin1
|
|
150
|
+
this.formdata.form.ymax = sjjData[0].ymax1
|
|
151
|
+
this.formdata.form.step = sjjData[0].defprecision
|
|
152
|
+
}
|
|
153
|
+
// }
|
|
154
|
+
// else
|
|
155
|
+
// this.$showMsg('所选数据有误', 'error')
|
|
156
|
+
// }).catch(err =>
|
|
157
|
+
// {
|
|
158
|
+
// vm.$processing.close()
|
|
159
|
+
// this.onError(err)
|
|
160
|
+
// })
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
|
|
165
|
+
// 计算范围
|
|
166
|
+
onCalculation()
|
|
167
|
+
{
|
|
168
|
+
let params =
|
|
169
|
+
{
|
|
170
|
+
file: this.filename,
|
|
171
|
+
fld: this.selection[0].anlycol
|
|
172
|
+
}
|
|
173
|
+
Api.getGeojsonInfo(params).then(res =>
|
|
174
|
+
{
|
|
175
|
+
vm.$processing.close()
|
|
176
|
+
if (res.ret === 0)
|
|
177
|
+
{
|
|
178
|
+
this.formdata.form.xmin = res.bounds[0]
|
|
179
|
+
this.formdata.form.xmax = res.bounds[2]
|
|
180
|
+
this.formdata.form.ymin = res.bounds[1]
|
|
181
|
+
this.formdata.form.ymax = res.bounds[3]
|
|
182
|
+
this.values = res.values
|
|
183
|
+
}
|
|
184
|
+
else
|
|
185
|
+
this.$showMsg('所选数据有误', 'error')
|
|
186
|
+
}).catch(err =>
|
|
187
|
+
{
|
|
188
|
+
vm.$processing.close()
|
|
189
|
+
this.onError(err)
|
|
190
|
+
})
|
|
191
|
+
},
|
|
192
|
+
|
|
193
|
+
queryMedia(table, entityid)
|
|
194
|
+
{
|
|
195
|
+
let param = { args: [['major', '=', table.major], ['minor', '=', table.minor, 'and'], ['entityid', '=', entityid, 'and']] }
|
|
196
|
+
return cx.svr.data.query(cx.consts.SYSTAB, cx.consts.MEDIA, param)
|
|
197
|
+
},
|
|
198
|
+
|
|
199
|
+
onOk()
|
|
200
|
+
{
|
|
201
|
+
this.$refs.form.$refs.ruleForm.validate((valid) =>
|
|
202
|
+
{
|
|
203
|
+
if (valid)
|
|
204
|
+
{
|
|
205
|
+
let sql = {}
|
|
206
|
+
this.$refs.attWeight.tableData.forEach(i =>
|
|
207
|
+
{
|
|
208
|
+
sql[i.name] = Number(i.qz)
|
|
209
|
+
})
|
|
210
|
+
let params =
|
|
211
|
+
{
|
|
212
|
+
file: this.filename,
|
|
213
|
+
fld: this.selection[0].anlycol,
|
|
214
|
+
sql: sql,
|
|
215
|
+
bounds: [Number(this.formdata.form.xmin), Number(this.formdata.form.ymin), Number(this.formdata.form.xmax), Number(this.formdata.form.ymax)],
|
|
216
|
+
bufdistance: Number(this.formdata.form.buffer),
|
|
217
|
+
step: Number(this.formdata.form.step)
|
|
218
|
+
}
|
|
219
|
+
Api.vector2grd(params).then(res =>
|
|
220
|
+
{
|
|
221
|
+
if (res.ret === 0)
|
|
222
|
+
{
|
|
223
|
+
const file = res.file
|
|
224
|
+
const url = res.graph
|
|
225
|
+
this.$emit('ok-click', this.formdata.form, file, url, this.selection[0])
|
|
226
|
+
this.$showMsg('提取成功', 'success')
|
|
227
|
+
}
|
|
228
|
+
})
|
|
229
|
+
}
|
|
230
|
+
else
|
|
231
|
+
{
|
|
232
|
+
this.$showMsg('请将内容填写完整', 'error')
|
|
233
|
+
return false
|
|
234
|
+
}
|
|
235
|
+
})
|
|
236
|
+
},
|
|
237
|
+
|
|
238
|
+
// 计算范围
|
|
239
|
+
onCoorCalculation()
|
|
240
|
+
{
|
|
241
|
+
if (!this.formdata.form.x && !this.formdata.form.y && !this.formdata.form.z)
|
|
242
|
+
return this.$showMsg('请先设置统计对象', 'error')
|
|
243
|
+
let param =
|
|
244
|
+
{
|
|
245
|
+
file: this.formdata.form.file,
|
|
246
|
+
x: this.formdata.form.x,
|
|
247
|
+
y: this.formdata.form.y,
|
|
248
|
+
z: this.formdata.form.z
|
|
249
|
+
}
|
|
250
|
+
Api.fileinfo(param).then((res) =>
|
|
251
|
+
{
|
|
252
|
+
if (res)
|
|
253
|
+
{
|
|
254
|
+
this.formdata.form.Maxvalue1 = res.bounds[0]
|
|
255
|
+
this.formdata.form.Minvalue1 = res.bounds[1]
|
|
256
|
+
this.formdata.form.Maxvalue2 = res.bounds[2]
|
|
257
|
+
this.formdata.form.Minvalue2 = res.bounds[3]
|
|
258
|
+
}
|
|
259
|
+
}).catch((err) =>
|
|
260
|
+
{
|
|
261
|
+
this.onError(err)
|
|
262
|
+
})
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
</script>
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
<style lang='scss' scoped>
|
|
2
|
+
.cust-border {width: 100%; height: 100%; border: 0.01rem solid var(--cx-colorBorder1); padding: 0.16rem;box-sizing:border-box}
|
|
3
|
+
</style>
|
|
4
|
+
|
|
5
|
+
<template>
|
|
6
|
+
<cx-layout padding>
|
|
7
|
+
<cx-region region="west" width="4.2rem" gutter>
|
|
8
|
+
<GetFormData :sfmk="sfmk" @ok-click="onOk" @formChange="formChange"></GetFormData>
|
|
9
|
+
</cx-region>
|
|
10
|
+
<cx-region region="center" >
|
|
11
|
+
<RightContent @ok-click="onExportResult" title="输出">
|
|
12
|
+
<ResultTable ref="ResultTable" :showYl="false" :showDc="false" :otherBtn="true" @onOther="onOther" v-bind="formdata"></ResultTable>
|
|
13
|
+
</RightContent>
|
|
14
|
+
</cx-region>
|
|
15
|
+
</cx-layout>
|
|
16
|
+
</template>
|
|
17
|
+
|
|
18
|
+
<script>
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* 插件 - 数据分析模型-遥感蚀变提取
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* 修改记录:
|
|
26
|
+
* 24-05-15 罗志远 首次编写
|
|
27
|
+
*/
|
|
28
|
+
import GetFormData from '../GeneralCalculation/GetFormData'
|
|
29
|
+
import RightContent from '../../coms/RightContent'
|
|
30
|
+
import ResultTable from '../GeneralCalculation/ResultTable'
|
|
31
|
+
import Api from '../../Api.js'
|
|
32
|
+
export default
|
|
33
|
+
{
|
|
34
|
+
mixins: [cx.mixin.IComBase],
|
|
35
|
+
components: { GetFormData, RightContent, ResultTable },
|
|
36
|
+
data()
|
|
37
|
+
{
|
|
38
|
+
return {
|
|
39
|
+
sfmk: { name: '遥感蚀变提取', type: 'dataanly' },
|
|
40
|
+
tabdatas: {},
|
|
41
|
+
formdata: {},
|
|
42
|
+
czdx: '',
|
|
43
|
+
file: '',
|
|
44
|
+
select: '',
|
|
45
|
+
formC: {}
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
|
|
49
|
+
// 按功能相关性组织函数块,函数名体现功能
|
|
50
|
+
methods:
|
|
51
|
+
{
|
|
52
|
+
formChange(form)
|
|
53
|
+
{
|
|
54
|
+
if (JSON.stringify(form) == JSON.stringify(this.formC))
|
|
55
|
+
|
|
56
|
+
return
|
|
57
|
+
|
|
58
|
+
let extraction = null
|
|
59
|
+
for (let i in form.flds)
|
|
60
|
+
{
|
|
61
|
+
if (form.flds[i].colname == 'extraction')
|
|
62
|
+
|
|
63
|
+
extraction = form.flds[i]
|
|
64
|
+
}
|
|
65
|
+
extraction.disabled = true
|
|
66
|
+
if (form.form.imagetype === 'ASTER')
|
|
67
|
+
{
|
|
68
|
+
extraction.options = [
|
|
69
|
+
{ label: 'Iron', value: 'Iron' },
|
|
70
|
+
{ label: 'Al-OH', value: 'Al-OH' },
|
|
71
|
+
{ label: 'Mg-OH', value: 'Mg-OH' }
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
else if (form.form.imagetype == 'Landsat8')
|
|
75
|
+
{
|
|
76
|
+
extraction.options = [
|
|
77
|
+
{ label: 'Iron', value: 'Iron' },
|
|
78
|
+
{ label: 'Hydroxyl', value: 'Hydroxyl' }
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
else if (form.form.imagetype == 'TM')
|
|
82
|
+
{
|
|
83
|
+
extraction.options = [
|
|
84
|
+
{ label: 'Iron', value: 'Iron' },
|
|
85
|
+
{ label: 'Hydroxyl', value: 'Hydroxyl' }
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
this.formC = JSON.parse(JSON.stringify(form))
|
|
89
|
+
},
|
|
90
|
+
onOk(form, selection)
|
|
91
|
+
{
|
|
92
|
+
let czdx = form.z
|
|
93
|
+
this.select = selection
|
|
94
|
+
this.select[0].name = '遥感蚀变提取'
|
|
95
|
+
this.select[0].layer = selection.map((item) =>
|
|
96
|
+
{
|
|
97
|
+
return item.anlycol
|
|
98
|
+
}).toString()
|
|
99
|
+
let param =
|
|
100
|
+
{
|
|
101
|
+
file: form.file,
|
|
102
|
+
imagetype: form.imagetype,
|
|
103
|
+
bounds: [Number(form.min1), Number(form.min2), Number(form.max1), Number(form.max2)]
|
|
104
|
+
}
|
|
105
|
+
if (form.extraction)
|
|
106
|
+
cx.base.extend(param, { extraction: form.extraction })
|
|
107
|
+
|
|
108
|
+
if (form.precision)
|
|
109
|
+
cx.base.extend(param, { precision: Number(form.precision) })
|
|
110
|
+
|
|
111
|
+
vm.$processing.show()
|
|
112
|
+
Api.rsextract(param).then((res) =>
|
|
113
|
+
{
|
|
114
|
+
vm.$processing.close()
|
|
115
|
+
if (res.ret !== 0)
|
|
116
|
+
return this.$showMsg(res.msg, 'error')
|
|
117
|
+
let file = res.file
|
|
118
|
+
this.formdata = { czdx, select: this.select, file }
|
|
119
|
+
this.$nextTick(() =>
|
|
120
|
+
{
|
|
121
|
+
this.$refs.ResultTable.getCriticalData()
|
|
122
|
+
})
|
|
123
|
+
}).catch((err) =>
|
|
124
|
+
{
|
|
125
|
+
this.onError(err)
|
|
126
|
+
})
|
|
127
|
+
},
|
|
128
|
+
|
|
129
|
+
onError(err)
|
|
130
|
+
{
|
|
131
|
+
vm.$processing.close()
|
|
132
|
+
this.$showRet(err)
|
|
133
|
+
},
|
|
134
|
+
|
|
135
|
+
onOther(row)
|
|
136
|
+
{
|
|
137
|
+
cx.svr.data.update($app.TabConst.yclsjj.major, $app.TabConst.yclsjj.minor, { id: this.select[0].id, memo: row.anomal }).then(res =>
|
|
138
|
+
{
|
|
139
|
+
this.$showMsg('保存成功', 'success')
|
|
140
|
+
}).catch(e =>
|
|
141
|
+
{
|
|
142
|
+
this.$showMsg(e, 'error')
|
|
143
|
+
})
|
|
144
|
+
},
|
|
145
|
+
|
|
146
|
+
exportResult()
|
|
147
|
+
{}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
</script>
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
<style lang='scss' scoped>
|
|
2
|
+
.cust-border {width: 100%; height: 100%; border: 0.01rem solid var(--cx-colorBorder1); padding: 0.16rem;box-sizing:border-box}
|
|
3
|
+
</style>
|
|
4
|
+
|
|
5
|
+
<template>
|
|
6
|
+
<cx-layout padding>
|
|
7
|
+
<cx-region region="west" width="4.2rem" gutter>
|
|
8
|
+
<GetFormData :sfmk="sfmk" @ok-click="onOk"></GetFormData>
|
|
9
|
+
</cx-region>
|
|
10
|
+
<cx-region region="center" >
|
|
11
|
+
<RightContent @ok-click="onExportResult" title="输出">
|
|
12
|
+
<ResultTable ref="ResultTable" :showYl="false" :showDc="false" @onOther="onOther" v-bind="formdata"></ResultTable>
|
|
13
|
+
</RightContent>
|
|
14
|
+
</cx-region>
|
|
15
|
+
</cx-layout>
|
|
16
|
+
</template>
|
|
17
|
+
|
|
18
|
+
<script>
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* 插件 - 数据分析模型-遥感图像融合
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* 修改记录:
|
|
26
|
+
* 24-05-15 罗志远 首次编写
|
|
27
|
+
*/
|
|
28
|
+
import GetFormData from '../GeneralCalculation/GetFormData'
|
|
29
|
+
import RightContent from '../../coms/RightContent'
|
|
30
|
+
import ResultTable from '../GeneralCalculation/ResultTable'
|
|
31
|
+
import Api from '../../Api.js'
|
|
32
|
+
export default
|
|
33
|
+
{
|
|
34
|
+
mixins: [cx.mixin.IComBase],
|
|
35
|
+
components: { GetFormData, RightContent, ResultTable },
|
|
36
|
+
data()
|
|
37
|
+
{
|
|
38
|
+
return {
|
|
39
|
+
sfmk: { name: '遥感图像融合', type: 'dataanly' },
|
|
40
|
+
tabdatas: {},
|
|
41
|
+
formdata: {},
|
|
42
|
+
czdx: '',
|
|
43
|
+
file: '',
|
|
44
|
+
select: ''
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
|
|
48
|
+
// 按功能相关性组织函数块,函数名体现功能
|
|
49
|
+
methods:
|
|
50
|
+
{
|
|
51
|
+
onOk(form, selection)
|
|
52
|
+
{
|
|
53
|
+
let czdx = form.z
|
|
54
|
+
this.select = selection
|
|
55
|
+
this.select[0].name = '遥感图像融合'
|
|
56
|
+
this.select[0].layer = selection.map((item) =>
|
|
57
|
+
{
|
|
58
|
+
return item.anlycol
|
|
59
|
+
}).toString()
|
|
60
|
+
let param =
|
|
61
|
+
{
|
|
62
|
+
mulImage: form.mulImage_file[0],
|
|
63
|
+
panImage: form.panImage_file[0],
|
|
64
|
+
method: form.method,
|
|
65
|
+
bounds: [Number(form.min1), Number(form.min2), Number(form.max1), Number(form.max2)]
|
|
66
|
+
}
|
|
67
|
+
vm.$processing.show()
|
|
68
|
+
Api.rsfusion(param).then((res) =>
|
|
69
|
+
{
|
|
70
|
+
vm.$processing.close()
|
|
71
|
+
if (res.ret !== 0)
|
|
72
|
+
return this.$showMsg(res.msg, 'error')
|
|
73
|
+
let anomal = res.anomal
|
|
74
|
+
let file = res.file
|
|
75
|
+
this.formdata = { czdx, select: this.select, anomal, file }
|
|
76
|
+
this.$nextTick(() =>
|
|
77
|
+
{
|
|
78
|
+
this.$refs.ResultTable.getCriticalData()
|
|
79
|
+
})
|
|
80
|
+
}).catch((err) =>
|
|
81
|
+
{
|
|
82
|
+
this.onError(err)
|
|
83
|
+
})
|
|
84
|
+
},
|
|
85
|
+
|
|
86
|
+
onError(err)
|
|
87
|
+
{
|
|
88
|
+
vm.$processing.close()
|
|
89
|
+
this.$showRet(err)
|
|
90
|
+
},
|
|
91
|
+
|
|
92
|
+
onOther(row)
|
|
93
|
+
{
|
|
94
|
+
cx.svr.data.update($app.TabConst.yclsjj.major, $app.TabConst.yclsjj.minor, { id: this.select[0].id, memo: row.anomal }).then(res =>
|
|
95
|
+
{
|
|
96
|
+
this.$showMsg('保存成功', 'success')
|
|
97
|
+
}).catch(e =>
|
|
98
|
+
{
|
|
99
|
+
this.$showMsg(e, 'error')
|
|
100
|
+
})
|
|
101
|
+
},
|
|
102
|
+
|
|
103
|
+
exportResult()
|
|
104
|
+
{}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
</script>
|