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,203 @@
|
|
|
1
|
+
<style lang='scss' scoped>
|
|
2
|
+
.title{font-size: 0.18rem;font-weight: 600;}
|
|
3
|
+
</style>
|
|
4
|
+
|
|
5
|
+
<template>
|
|
6
|
+
<cx-layout padding>
|
|
7
|
+
<cx-region region="north" height="100%" gutter>
|
|
8
|
+
<span v-if="title" class="title">{{title}}</span>
|
|
9
|
+
<el-table :data="tableData" stripe style="width: 100%">
|
|
10
|
+
<el-table-column prop="index" label="迭代次数" align="center"/>
|
|
11
|
+
<el-table-column prop="percentage" label="特高值百分比" align="center"/>
|
|
12
|
+
<el-table-column prop="anomal" label="特高值下限" align="center"/>
|
|
13
|
+
<el-table-column prop="outliers" label="特高值个数" align="center"/>
|
|
14
|
+
<el-table-column fixed="right" label="操作" width="150">
|
|
15
|
+
<template #default="scope">
|
|
16
|
+
<!-- <el-button v-if="showYl" link type="primary" :size="size" @click="onPreview(scope.row)">预览</el-button> -->
|
|
17
|
+
<el-button v-if="file" link type="primary" :size="size" @click="onStorage(scope.$index)">保存</el-button>
|
|
18
|
+
<el-button v-if="showDc" link type="primary" :size="size" @click="onExport(scope.row)">导出</el-button>
|
|
19
|
+
<el-button v-if="otherBtn" link type="primary" :size="size" @click="onOther(scope.row)">{{otherName}}</el-button>
|
|
20
|
+
</template>
|
|
21
|
+
</el-table-column>
|
|
22
|
+
</el-table>
|
|
23
|
+
</cx-region>
|
|
24
|
+
</cx-layout>
|
|
25
|
+
</template>
|
|
26
|
+
<script>
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* 插件 - 预处理数据集
|
|
30
|
+
*/
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* 修改记录:
|
|
34
|
+
* 24-05-07 罗志远 首次编写
|
|
35
|
+
*/
|
|
36
|
+
import PreView from '../../coms/PreView'
|
|
37
|
+
import Api from '../../Api'
|
|
38
|
+
export default
|
|
39
|
+
{
|
|
40
|
+
mixins: [cx.mixin.IPlugBase, PreView],
|
|
41
|
+
props:
|
|
42
|
+
{
|
|
43
|
+
czdx: { type: String },
|
|
44
|
+
file: { type: String },
|
|
45
|
+
graph: { type: String },
|
|
46
|
+
select: { type: Array },
|
|
47
|
+
anomal: { type: Number },
|
|
48
|
+
title: { type: String },
|
|
49
|
+
otherBtn: { type: Boolean },
|
|
50
|
+
otherName: { type: String },
|
|
51
|
+
process: { type: Array },
|
|
52
|
+
showYl: {
|
|
53
|
+
type: Boolean,
|
|
54
|
+
default: () =>
|
|
55
|
+
{
|
|
56
|
+
return true
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
showDc: {
|
|
60
|
+
type: Boolean,
|
|
61
|
+
default: () =>
|
|
62
|
+
{
|
|
63
|
+
return true
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
data()
|
|
68
|
+
{
|
|
69
|
+
return {
|
|
70
|
+
tableData: [],
|
|
71
|
+
src: '',
|
|
72
|
+
srcList: [],
|
|
73
|
+
isSave: false,
|
|
74
|
+
selection: null
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
watch:
|
|
78
|
+
{
|
|
79
|
+
graph(val)
|
|
80
|
+
{
|
|
81
|
+
this.getCriticalData(val)
|
|
82
|
+
},
|
|
83
|
+
|
|
84
|
+
src(val)
|
|
85
|
+
{
|
|
86
|
+
this.srcList = []
|
|
87
|
+
this.srcList.push(val)
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
// 组件dom挂载成功
|
|
91
|
+
mounted()
|
|
92
|
+
{
|
|
93
|
+
},
|
|
94
|
+
|
|
95
|
+
// 按功能相关性组织函数块,函数名体现功能
|
|
96
|
+
methods:
|
|
97
|
+
{
|
|
98
|
+
// 设置分析表格数据
|
|
99
|
+
getCriticalData(czdx)
|
|
100
|
+
{
|
|
101
|
+
this.tableData = []
|
|
102
|
+
for (let i in this.process)
|
|
103
|
+
this.tableData.push({ index: Number(i) + 1, percentage: this.process[i].percentage, anomal: this.process[i].anomal, outliers: this.process[i].outliers })
|
|
104
|
+
this.selection = this.select[0]
|
|
105
|
+
delete this.selection.id
|
|
106
|
+
let suffix
|
|
107
|
+
if (this.file)
|
|
108
|
+
suffix = this.file.substring(this.file.lastIndexOf('.') + 1)
|
|
109
|
+
this.selection.datatype = suffix
|
|
110
|
+
this.selection._datatype = suffix
|
|
111
|
+
this.src = `data:image/png;base64,${this.graph}`
|
|
112
|
+
},
|
|
113
|
+
|
|
114
|
+
// 保存
|
|
115
|
+
onStorage(index)
|
|
116
|
+
{
|
|
117
|
+
this.index = index
|
|
118
|
+
let params =
|
|
119
|
+
{
|
|
120
|
+
major: $app.TabConst.yclsjj.major,
|
|
121
|
+
minor: $app.TabConst.yclsjj.minor,
|
|
122
|
+
title: '属性录入',
|
|
123
|
+
att: this.select[0],
|
|
124
|
+
onOk: this.onOkAdd
|
|
125
|
+
}
|
|
126
|
+
cx.run.runPlug('AttInput', params)
|
|
127
|
+
},
|
|
128
|
+
|
|
129
|
+
async onOkAdd(att)
|
|
130
|
+
{
|
|
131
|
+
cx.base.extend(this.selection, att)
|
|
132
|
+
// 添加数据
|
|
133
|
+
vm.$processing.show()
|
|
134
|
+
delete att.id
|
|
135
|
+
att.gcsj = 1 // 为过程数据
|
|
136
|
+
let flag = await this.isSameName(att)
|
|
137
|
+
if (!flag)
|
|
138
|
+
{
|
|
139
|
+
this.$showMsg('已存在数据名称与图层名称相同数据', 'warning')
|
|
140
|
+
vm.$processing.close()
|
|
141
|
+
return false
|
|
142
|
+
}
|
|
143
|
+
cx.svr.data.add($app.TabConst.yclsjj.major, $app.TabConst.yclsjj.minor, att, 1).then(ret =>
|
|
144
|
+
{
|
|
145
|
+
if (!ret)
|
|
146
|
+
return
|
|
147
|
+
this.selection.id = ret.id
|
|
148
|
+
cx.base.extend(this.tableData[this.index], this.selection)
|
|
149
|
+
// mode为2
|
|
150
|
+
let medias = { entityid: ret.id, filename: this.file, title: ret.layer + '.' + this.file.split('.')[1], uperson: $g.user.name, major: $app.TabConst.yclsjj.major, minor: $app.TabConst.yclsjj.minor, mode: 2, update: cx.formatter.datetimeDb(new Date()) }
|
|
151
|
+
|
|
152
|
+
cx.svr.data.add(cx.consts.SYSTAB, cx.consts.MEDIA, medias, 1).then(res =>
|
|
153
|
+
{
|
|
154
|
+
Api.pubSave({ files: [this.file] })
|
|
155
|
+
vm.$processing.close()
|
|
156
|
+
this.isSave = true
|
|
157
|
+
cx.run.closeRun('AttInput')
|
|
158
|
+
this.$showSuccess('add')
|
|
159
|
+
}).catch(err =>
|
|
160
|
+
{
|
|
161
|
+
this.onError(err)
|
|
162
|
+
})
|
|
163
|
+
}).catch(err =>
|
|
164
|
+
{
|
|
165
|
+
this.onError(err)
|
|
166
|
+
})
|
|
167
|
+
},
|
|
168
|
+
|
|
169
|
+
// 判断同名校验
|
|
170
|
+
async isSameName(att)
|
|
171
|
+
{
|
|
172
|
+
let data = await cx.svr.data.query($app.TabConst.yclsjj.major, $app.TabConst.yclsjj.minor, { args: [['username', '=', $g.user.id, null], ['glid', '=', att.glid, 'and'], ['name', '=', att.name, 'and'], ['layer', '=', att.layer, 'and']] })
|
|
173
|
+
.catch(() =>
|
|
174
|
+
{
|
|
175
|
+
})
|
|
176
|
+
if (data.length)
|
|
177
|
+
return false
|
|
178
|
+
else
|
|
179
|
+
return true
|
|
180
|
+
},
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
onExport()
|
|
184
|
+
{
|
|
185
|
+
if (this.selection.id)
|
|
186
|
+
{
|
|
187
|
+
this.queryMedia($app.TabConst.yclsjj.major, $app.TabConst.yclsjj.minor, this.selection.id).then(res =>
|
|
188
|
+
{
|
|
189
|
+
if (res && res.length)
|
|
190
|
+
cx.svr.doc.download({ id: res[0].id })
|
|
191
|
+
})
|
|
192
|
+
}
|
|
193
|
+
else
|
|
194
|
+
this.$showMsg('请先保存分析结果', 'error')
|
|
195
|
+
},
|
|
196
|
+
|
|
197
|
+
onOther(row)
|
|
198
|
+
{
|
|
199
|
+
this.$emit('onOther', row)
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
</script>
|
|
@@ -0,0 +1,110 @@
|
|
|
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
|
+
<JgTableList ref="ResultTable" @onOther="onOther" v-bind="formdata"></JgTableList>
|
|
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 JgTableList from './JgTableList'
|
|
31
|
+
import Api from '../../Api.js'
|
|
32
|
+
export default
|
|
33
|
+
{
|
|
34
|
+
mixins: [cx.mixin.IComBase],
|
|
35
|
+
components: { GetFormData, RightContent, JgTableList },
|
|
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
|
+
file: form.file,
|
|
63
|
+
col: form.col[0]
|
|
64
|
+
}
|
|
65
|
+
if (form.limit)
|
|
66
|
+
cx.base.extend(param, { limit: Number(form.limit) })
|
|
67
|
+
|
|
68
|
+
if (form.method)
|
|
69
|
+
cx.base.extend(param, { method: form.method })
|
|
70
|
+
|
|
71
|
+
vm.$processing.show()
|
|
72
|
+
Api.anomalyhandle(param).then((res) =>
|
|
73
|
+
{
|
|
74
|
+
vm.$processing.close()
|
|
75
|
+
if (res.ret !== 0)
|
|
76
|
+
return this.$showMsg(res.msg, 'error')
|
|
77
|
+
let file = res.file
|
|
78
|
+
this.formdata = { czdx, process: res.process, select: this.select, file }
|
|
79
|
+
this.$nextTick(() =>
|
|
80
|
+
{
|
|
81
|
+
this.$refs.ResultTable.getCriticalData()
|
|
82
|
+
})
|
|
83
|
+
}).catch((err) =>
|
|
84
|
+
{
|
|
85
|
+
this.onError(err)
|
|
86
|
+
})
|
|
87
|
+
},
|
|
88
|
+
|
|
89
|
+
onError(err)
|
|
90
|
+
{
|
|
91
|
+
vm.$processing.close()
|
|
92
|
+
this.$showRet(err)
|
|
93
|
+
},
|
|
94
|
+
|
|
95
|
+
onOther(row)
|
|
96
|
+
{
|
|
97
|
+
cx.svr.data.update($app.TabConst.yclsjj.major, $app.TabConst.yclsjj.minor, { id: this.select[0].id, memo: row.anomal }).then(res =>
|
|
98
|
+
{
|
|
99
|
+
this.$showMsg('保存成功', 'success')
|
|
100
|
+
}).catch(e =>
|
|
101
|
+
{
|
|
102
|
+
this.$showMsg(e, 'error')
|
|
103
|
+
})
|
|
104
|
+
},
|
|
105
|
+
|
|
106
|
+
exportResult()
|
|
107
|
+
{}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
</script>
|
|
@@ -0,0 +1,116 @@
|
|
|
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" :otherBtn="true" otherName="保存" @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
|
+
plzftdatas: {
|
|
42
|
+
x: [], y: []
|
|
43
|
+
},
|
|
44
|
+
formdata: {},
|
|
45
|
+
czdx: '',
|
|
46
|
+
file: '',
|
|
47
|
+
select: '',
|
|
48
|
+
graph: ''
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
|
|
52
|
+
// 按功能相关性组织函数块,函数名体现功能
|
|
53
|
+
methods:
|
|
54
|
+
{
|
|
55
|
+
onOk(form, selection)
|
|
56
|
+
{
|
|
57
|
+
let czdx = form.z
|
|
58
|
+
this.select = selection
|
|
59
|
+
this.select[0].name = '异常下限计算'
|
|
60
|
+
this.select[0].layer = selection.map((item) =>
|
|
61
|
+
{
|
|
62
|
+
return item.anlycol
|
|
63
|
+
}).toString()
|
|
64
|
+
let param =
|
|
65
|
+
{
|
|
66
|
+
file: form.file,
|
|
67
|
+
col: form.col,
|
|
68
|
+
limit: Number(form.limit)
|
|
69
|
+
}
|
|
70
|
+
if (form.islog)
|
|
71
|
+
cx.base.extend(param, { islog: form.islog })
|
|
72
|
+
|
|
73
|
+
if (form.method)
|
|
74
|
+
cx.base.extend(param, { method: form.method })
|
|
75
|
+
|
|
76
|
+
vm.$processing.show()
|
|
77
|
+
Api.anomalyanaly(param).then((res) =>
|
|
78
|
+
{
|
|
79
|
+
vm.$processing.close()
|
|
80
|
+
if (res.ret !== 0)
|
|
81
|
+
return this.$showMsg(res.msg, 'error')
|
|
82
|
+
let anomal = res.anomal
|
|
83
|
+
let graph = res.graph
|
|
84
|
+
this.formdata = { czdx, select: this.select, anomal, graph }
|
|
85
|
+
this.$nextTick(() =>
|
|
86
|
+
{
|
|
87
|
+
this.$refs.ResultTable.getCriticalData()
|
|
88
|
+
})
|
|
89
|
+
}).catch((err) =>
|
|
90
|
+
{
|
|
91
|
+
this.onError(err)
|
|
92
|
+
})
|
|
93
|
+
},
|
|
94
|
+
|
|
95
|
+
onError(err)
|
|
96
|
+
{
|
|
97
|
+
vm.$processing.close()
|
|
98
|
+
this.$showRet(err)
|
|
99
|
+
},
|
|
100
|
+
|
|
101
|
+
onOther(row)
|
|
102
|
+
{
|
|
103
|
+
cx.svr.data.update($app.TabConst.yclsjj.major, $app.TabConst.yclsjj.minor, { id: this.select[0].id, memo: row.anomal }).then(res =>
|
|
104
|
+
{
|
|
105
|
+
this.$showMsg('保存成功', 'success')
|
|
106
|
+
}).catch(e =>
|
|
107
|
+
{
|
|
108
|
+
this.$showMsg(e, 'error')
|
|
109
|
+
})
|
|
110
|
+
},
|
|
111
|
+
|
|
112
|
+
exportResult()
|
|
113
|
+
{}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
</script>
|
package/src/plugins/app/znycpjxt/ExceptHandlModel/geoAnomalyExtraction/GeoAnomalyExtraction.vue
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
<style lang='scss' scoped>
|
|
2
|
+
:deep(.cx-tabs) {height: 100%;}
|
|
3
|
+
:deep(.cx-tabs .pane-body) {height: 100%;}
|
|
4
|
+
:deep(.cx-datagrid) {height: 100%;}
|
|
5
|
+
:deep(.el-tabs__content){padding-top: 0.1rem;width: 98.8%;margin: auto;box-sizing: border-box;}
|
|
6
|
+
:deep(.cx-gridpage){height: 0.4rem;}
|
|
7
|
+
.btn_sm{position: absolute;right: 0.5%;top: -6.8%;z-index: 99;}
|
|
8
|
+
</style>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
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
|
+
<el-button class="btn_sm" type="primary">功能说明</el-button>
|
|
18
|
+
</template>
|
|
19
|
+
</el-popover>
|
|
20
|
+
<cx-region region="center">
|
|
21
|
+
<cx-tabs
|
|
22
|
+
ref="tabs"
|
|
23
|
+
:size="size"
|
|
24
|
+
v-bind="param"
|
|
25
|
+
@click="onSelect"
|
|
26
|
+
>
|
|
27
|
+
</cx-tabs>
|
|
28
|
+
</cx-region>
|
|
29
|
+
</template>
|
|
30
|
+
|
|
31
|
+
<script>
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* 插件 - 异常处理模型
|
|
35
|
+
*/
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* 修改记录:
|
|
39
|
+
* 22-06-20 姓名 修改内容
|
|
40
|
+
*/
|
|
41
|
+
import Ckdctq from './coms/Ckdctq.vue'
|
|
42
|
+
export default
|
|
43
|
+
{
|
|
44
|
+
mixins: [cx.mixin.IPlugBase],
|
|
45
|
+
data()
|
|
46
|
+
{
|
|
47
|
+
return {
|
|
48
|
+
param:
|
|
49
|
+
{
|
|
50
|
+
type: 'plain',
|
|
51
|
+
container: '',
|
|
52
|
+
allRender: true,
|
|
53
|
+
tabs:
|
|
54
|
+
[
|
|
55
|
+
{ name: 'Ckdctq', title: '成矿地层提取', modDef: { url: '', com: Ckdctq }, comParams: { qryFld: 'POLYGON', sfmk: { name: '成矿地层提取', type: 'dataanly' } }, selected: true, closable: false },
|
|
56
|
+
{ name: 'Yjytq', title: '岩浆岩提取', modDef: { url: '', com: Ckdctq }, comParams: { qryFld: 'POLYLINE' }, selected: false, closable: false },
|
|
57
|
+
{ name: 'Ckzbtq', title: '成矿蚀变提取', modDef: { url: '', com: Ckdctq }, comParams: { qryFld: 'POINT' }, selected: false, closable: false },
|
|
58
|
+
{ name: 'Ckgztq', title: '成矿构造提取', modDef: { url: '', com: Ckdctq }, comParams: { qryFld: 'POLYLINE' }, selected: false, closable: false }
|
|
59
|
+
// { name: 'Zstprhjs', title: '知识图谱融合计算', modDef: { url: '', com: Ckdctq }, comParams: { qryFld: 'PO', btnTitle: '融合计算', sfmk: { name: '知识图谱融合计算', type: 'dataanly' } }, selected: false, closable: false }
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
smDataList: [
|
|
63
|
+
'地质异常提取\n【对地质数据进行异常的提取】\n\n成矿地层提取\n【成矿有利地层的异常提取】\n\n提取对象\n【提取成矿地层的数据图层】\n\n网格精度\n【网格单元(像元)所代表的地表区域的大小】',
|
|
64
|
+
'岩浆岩提取\n【成矿有关岩浆岩的异常提取】\n\n缓冲半径\n【在缓冲区分析中,围绕岩浆岩向外扩展或收缩的距离】',
|
|
65
|
+
'成矿蚀变提取\n【成矿有利蚀变体的异常提取】\n\n提取对象\n【提取成矿蚀变的数据图层】。\n\n缓冲半径\n【在缓冲区分析中,围绕蚀变体向外扩展或收缩的距离】',
|
|
66
|
+
'成矿构造提取\n【成矿有利构造的异常提取】\n\n提取对象\n【提取成矿构造的数据图层】。\n\n缓冲半径\n【在缓冲区分析中,围绕成矿构造向外扩展或收缩的距离】'
|
|
67
|
+
],
|
|
68
|
+
smData: ''
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
|
|
72
|
+
created()
|
|
73
|
+
{
|
|
74
|
+
this.smData = this.smDataList[0]
|
|
75
|
+
},
|
|
76
|
+
|
|
77
|
+
// 组件dom挂载成功
|
|
78
|
+
mounted()
|
|
79
|
+
{
|
|
80
|
+
this.initData()
|
|
81
|
+
},
|
|
82
|
+
|
|
83
|
+
// 按功能相关性组织函数块,函数名体现功能
|
|
84
|
+
methods:
|
|
85
|
+
{
|
|
86
|
+
onSelect(data)
|
|
87
|
+
{
|
|
88
|
+
switch (data.curTab.title)
|
|
89
|
+
{
|
|
90
|
+
case '成矿地层提取':
|
|
91
|
+
this.smData = this.smDataList[0]
|
|
92
|
+
break
|
|
93
|
+
case '岩浆岩提取':
|
|
94
|
+
this.smData = this.smDataList[1]
|
|
95
|
+
break
|
|
96
|
+
case '成矿蚀变提取':
|
|
97
|
+
this.smData = this.smDataList[2]
|
|
98
|
+
break
|
|
99
|
+
case '成矿构造提取':
|
|
100
|
+
this.smData = this.smDataList[3]
|
|
101
|
+
break
|
|
102
|
+
default:
|
|
103
|
+
return null
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
</script>
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
<style lang='scss' scoped>
|
|
2
|
+
header{
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: space-between;
|
|
6
|
+
margin-bottom: 0.1rem;}
|
|
7
|
+
.weightBtn{margin-right:0.1rem;}
|
|
8
|
+
:deep().el-table__empty-block{height:2rem !important;}
|
|
9
|
+
</style>
|
|
10
|
+
|
|
11
|
+
<template>
|
|
12
|
+
<cx-layout style="height:3.5rem;">
|
|
13
|
+
<cx-region region="center">
|
|
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
|
+
</cx-region>
|
|
23
|
+
</cx-layout>
|
|
24
|
+
</template>
|
|
25
|
+
|
|
26
|
+
<script>
|
|
27
|
+
/**
|
|
28
|
+
* 组件名称: xx
|
|
29
|
+
* 功能说明:
|
|
30
|
+
*
|
|
31
|
+
* 调用说明:
|
|
32
|
+
* @prop 类型 参数名 参数说明
|
|
33
|
+
*
|
|
34
|
+
* 事件说明:
|
|
35
|
+
* @event 事件名 参数解构 事件和参数说明
|
|
36
|
+
*
|
|
37
|
+
* 插槽说明:
|
|
38
|
+
* @slot 插槽名 插槽prop解构 插槽和prop说明
|
|
39
|
+
*/
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* 维护历史:
|
|
43
|
+
* 修改时间 人员 说明
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
export default
|
|
47
|
+
{
|
|
48
|
+
mixins: [cx.mixin.IComBase],
|
|
49
|
+
|
|
50
|
+
props: {
|
|
51
|
+
values: {
|
|
52
|
+
type: Array
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
|
|
56
|
+
data()
|
|
57
|
+
{
|
|
58
|
+
return {
|
|
59
|
+
tableData: []
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
|
|
63
|
+
watch: {
|
|
64
|
+
values()
|
|
65
|
+
{
|
|
66
|
+
this.getTableData()
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
|
|
70
|
+
methods: {
|
|
71
|
+
/**
|
|
72
|
+
* getTableData
|
|
73
|
+
*/
|
|
74
|
+
/**
|
|
75
|
+
* getTableData
|
|
76
|
+
*/
|
|
77
|
+
/**
|
|
78
|
+
* getTableData
|
|
79
|
+
*/
|
|
80
|
+
/**
|
|
81
|
+
* getTableData
|
|
82
|
+
*/
|
|
83
|
+
/**
|
|
84
|
+
* getTableData
|
|
85
|
+
*/
|
|
86
|
+
getTableData()
|
|
87
|
+
{
|
|
88
|
+
let dataList = this.values.map((item) =>
|
|
89
|
+
{
|
|
90
|
+
return {
|
|
91
|
+
name: item,
|
|
92
|
+
qz: 0
|
|
93
|
+
}
|
|
94
|
+
})
|
|
95
|
+
this.tableData = dataList
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
</script>
|