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,249 @@
|
|
|
1
|
+
<style lang="scss" scoped>
|
|
2
|
+
.contain_body{width:100%; height: 100%;padding: 1%;background: var(--cx-colorBg5);
|
|
3
|
+
.contain_head{position:relative;display: flex;align-items: center;justify-content: center;height: 8%; padding: 0.1rem 0.25rem;overflow: hidden;border-radius: 0.08rem;border-bottom-left-radius: 0;border-bottom-right-radius: 0; border: 0.01rem solid var(--cx-colorBorder1); box-shadow: .02rem .02rem .04rem 0rem rgba(240, 240, 240, 0.4), -.02rem -.02rem .04rem 0rem rgba(240, 240, 240, 0.4);
|
|
4
|
+
.back{position:absolute;left:0.15rem;width: 80px; height: 0.32rem;}
|
|
5
|
+
.yt{position:absolute;left:1.1rem;width: 80px; height: 0.32rem;}
|
|
6
|
+
}
|
|
7
|
+
.contain_nr{display: flex;flex-wrap: wrap;align-content: flex-start;height: 92%;width: 100%;background-color:var(--cx-colorBg5);overflow-y: scroll;padding-left: 0.2rem;border: 0.01rem solid var(--cx-colorBorder1); box-shadow: .02rem .02rem .04rem 0rem rgba(240, 240, 240, 0.4), -.02rem -.02rem .04rem 0rem rgba(240, 240, 240, 0.4);border-bottom-left-radius: 0.1rem;border-bottom-right-radius: 0.1rem;
|
|
8
|
+
.nr_left{display: flex;overflow-y:scroll;flex-direction: column;padding-top:0.1rem;padding-right: 0.2rem;line-height: 0.3rem;height: 100%;width: 20%;}
|
|
9
|
+
.nr_center{height: 100%;width: 40%;padding-top:0.1rem;padding-left: 0.1rem;padding-right: 0.2rem;}
|
|
10
|
+
.nr_right{height: 100%;width: 40%;padding-top:0.1rem;
|
|
11
|
+
.thebg{height: 95%;width: 100%;overflow: scroll;margin-top: 0.1rem;}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
.name{font-weight: 600;}
|
|
16
|
+
table {width: 100%;border-collapse: collapse;border: 1px solid var(--cx-colorBorder1);}
|
|
17
|
+
th, td { padding: 8px;border: 1px solid var(--cx-colorBorder1);text-align: center;}
|
|
18
|
+
th {background-color: var(--cx-colorTable0);}
|
|
19
|
+
|
|
20
|
+
</style>
|
|
21
|
+
<template>
|
|
22
|
+
<div class="contain_body">
|
|
23
|
+
<header class="contain_head">
|
|
24
|
+
<cx-button @click="back" icon="cx-fi ic-back" class="back">返回</cx-button>
|
|
25
|
+
<cx-button @click="createCloud" class="yt">云图</cx-button>
|
|
26
|
+
<span class="name">{{obj.kc_name}}</span>
|
|
27
|
+
</header>
|
|
28
|
+
<section class="contain_nr">
|
|
29
|
+
<div class="nr_left">
|
|
30
|
+
<el-tree
|
|
31
|
+
class="filter-tree"
|
|
32
|
+
highlight-current
|
|
33
|
+
:data="dataTree"
|
|
34
|
+
node-key="id"
|
|
35
|
+
:props="defaultProps"
|
|
36
|
+
default-expand-all
|
|
37
|
+
@node-click = "nodeclick"
|
|
38
|
+
:filter-node-method="filterNode"
|
|
39
|
+
:current-node-key="currentNodeKey"
|
|
40
|
+
ref="tree">
|
|
41
|
+
</el-tree>
|
|
42
|
+
</div>
|
|
43
|
+
<div class="nr_center">
|
|
44
|
+
<span class="name">知识图谱</span>
|
|
45
|
+
<div ref="chart" style="position:relative;width: 100%;height: 50%;margin-top: 0.1rem;margin-bottom:0.1rem;border: 1px solid var(--cx-colorBorder1);">
|
|
46
|
+
<cx-button @click="zstp" icon="cx-fi ic-zoomIn" style="position:absolute;right:0.1rem;top:0.1rem;">放大</cx-button>
|
|
47
|
+
</div>
|
|
48
|
+
<span class="name" style="margin-top:0.1rem;">模式图</span>
|
|
49
|
+
<div style="position:relative;display:flex;align-items:center;justify-content: center;overflow:hidden;width: 100%;height: 38%;margin-top: 0.1rem;border: 1px solid var(--cx-colorBorder1);">
|
|
50
|
+
<cx-button @click="mst" icon="cx-fi ic-zoomIn" style="position:absolute;right:0.1rem;top:0.1rem;z-index:1">放大</cx-button>
|
|
51
|
+
<img id="image" :src="obj.src" alt="" style="max-height: 3rem;max-width:4rem;">
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
<div class="nr_right">
|
|
55
|
+
<span class="name">模式表</span>
|
|
56
|
+
<div class="thebg">
|
|
57
|
+
<table>
|
|
58
|
+
<tr v-for="(obj, thekey) in tablesj" :key="obj">
|
|
59
|
+
<td style = "width: 0.9rem;font-weight: 600;">{{thekey}}</td>
|
|
60
|
+
<table>
|
|
61
|
+
<tr v-for="(item, key2) in obj" :key="item">
|
|
62
|
+
<td style = "width: 0.9rem;font-weight: 600;">{{key2}}</td>
|
|
63
|
+
<td>{{item.join(',')}}</td>
|
|
64
|
+
</tr>
|
|
65
|
+
</table>
|
|
66
|
+
</tr>
|
|
67
|
+
</table>
|
|
68
|
+
<span style="position: relative;top: 50%;left:50%;transform:translate(-50%,-50%);" v-if="!(tablesj)">暂无数据</span>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
</section>
|
|
72
|
+
</div>
|
|
73
|
+
</template>
|
|
74
|
+
<script>
|
|
75
|
+
import axios from 'axios'
|
|
76
|
+
import DrawGraph from './D3DrawGraph'
|
|
77
|
+
export default {
|
|
78
|
+
mixins: [cx.mixin.IPlugBase],
|
|
79
|
+
data()
|
|
80
|
+
{
|
|
81
|
+
return {
|
|
82
|
+
severurl: 'znycpjSvr/knowgraph/neo4j/querynode',
|
|
83
|
+
defurl: 'znycpjSvr/knowgraph/neo4j/querylabelnode',
|
|
84
|
+
cloudurl: 'znycpjSvr/knowgraph/cloud/createbyknowgraph',
|
|
85
|
+
database: 'audeposit',
|
|
86
|
+
url: 'bolt://192.168.2.225:7687',
|
|
87
|
+
user: 'neo4j',
|
|
88
|
+
password: 'zbcx.123456',
|
|
89
|
+
tablesj: '',
|
|
90
|
+
links: '',
|
|
91
|
+
obj: {},
|
|
92
|
+
dataTree: [],
|
|
93
|
+
defaultProps: {
|
|
94
|
+
label: 'kc_name'
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
|
|
99
|
+
created()
|
|
100
|
+
{
|
|
101
|
+
this.obj = this.params.objList ? this.params.objList[0] : {}
|
|
102
|
+
this.dataTree = this.params.objList
|
|
103
|
+
},
|
|
104
|
+
|
|
105
|
+
mounted()
|
|
106
|
+
{
|
|
107
|
+
this.init()
|
|
108
|
+
},
|
|
109
|
+
|
|
110
|
+
unmounted()
|
|
111
|
+
{
|
|
112
|
+
},
|
|
113
|
+
|
|
114
|
+
methods:
|
|
115
|
+
{
|
|
116
|
+
nodeclick(data)
|
|
117
|
+
{
|
|
118
|
+
this.obj = data
|
|
119
|
+
this.init()
|
|
120
|
+
},
|
|
121
|
+
init()
|
|
122
|
+
{
|
|
123
|
+
cx.svr.data.query(window.$app.TabConst.model_graphdb.major, window.$app.TabConst.model_graphdb.minor, { args: [['id', '>', 0, null]] }).then(data =>
|
|
124
|
+
{
|
|
125
|
+
data.forEach(item =>
|
|
126
|
+
{
|
|
127
|
+
if (item.name === this.obj.gltp)
|
|
128
|
+
{
|
|
129
|
+
this.database = item.database_
|
|
130
|
+
this.password = item.password
|
|
131
|
+
this.url = item.url
|
|
132
|
+
this.user = item.user_
|
|
133
|
+
}
|
|
134
|
+
})
|
|
135
|
+
this.gettablesj()
|
|
136
|
+
this.initNodes()
|
|
137
|
+
})
|
|
138
|
+
this.setimgsj()
|
|
139
|
+
},
|
|
140
|
+
setimgsj()
|
|
141
|
+
{
|
|
142
|
+
let image = document.getElementById('image')
|
|
143
|
+
let scale = 1 // 初始缩放比例
|
|
144
|
+
const scaleStep = 0.1 // 缩放步长
|
|
145
|
+
const maxScale = 3 // 最大缩放比例
|
|
146
|
+
const minScale = 0.5 // 最小缩放比例
|
|
147
|
+
|
|
148
|
+
// 监听鼠标滚轮事件
|
|
149
|
+
image.addEventListener('wheel', function(e)
|
|
150
|
+
{
|
|
151
|
+
e.preventDefault() // 阻止默认的滚轮事件
|
|
152
|
+
|
|
153
|
+
// 根据滚动方向调整缩放比例
|
|
154
|
+
if (e.deltaY < 0)
|
|
155
|
+
// 向上滚动,放大图片
|
|
156
|
+
scale = Math.min(scale + scaleStep, maxScale)
|
|
157
|
+
else
|
|
158
|
+
// 向下滚动,缩小图片
|
|
159
|
+
scale = Math.max(scale - scaleStep, minScale)
|
|
160
|
+
|
|
161
|
+
// 应用缩放变换
|
|
162
|
+
image.style.transform = `scale(${scale})`
|
|
163
|
+
})
|
|
164
|
+
},
|
|
165
|
+
|
|
166
|
+
back()
|
|
167
|
+
{
|
|
168
|
+
cx.run.runPlug('intellPred')
|
|
169
|
+
},
|
|
170
|
+
|
|
171
|
+
initNodes()
|
|
172
|
+
{
|
|
173
|
+
axios
|
|
174
|
+
.post(this.severurl, { node: this.obj.kc_name, database: this.database, url: this.url, user: this.user, password: this.password, searchtype: 'similar', label: '矿床' })
|
|
175
|
+
.then((response) =>
|
|
176
|
+
{
|
|
177
|
+
const data = response.data
|
|
178
|
+
const nodes = data.nodes
|
|
179
|
+
const links = data.links
|
|
180
|
+
this.links = data.links
|
|
181
|
+
this.nodes = data.nodes
|
|
182
|
+
if (!this.graphObj)
|
|
183
|
+
this.graphObj = new DrawGraph(this.$refs.chart)
|
|
184
|
+
else
|
|
185
|
+
this.graphObj.clearChart()
|
|
186
|
+
|
|
187
|
+
this.graphObj.setStrength(2000)
|
|
188
|
+
this.graphObj.drawChart(nodes, links)
|
|
189
|
+
})
|
|
190
|
+
.catch((error) =>
|
|
191
|
+
{
|
|
192
|
+
console.error(error)
|
|
193
|
+
})
|
|
194
|
+
},
|
|
195
|
+
|
|
196
|
+
// 知识图谱图放大
|
|
197
|
+
zstp()
|
|
198
|
+
{
|
|
199
|
+
cx.run.runPlug('ModelTp', { nodes: this.nodes, links: this.links, kc_name: this.obj.kc_name }, { uicfg: { width: 0.8, height: 0.8, modal: 1 }, container: 'Home' })
|
|
200
|
+
},
|
|
201
|
+
|
|
202
|
+
// 模式图放大
|
|
203
|
+
mst()
|
|
204
|
+
{
|
|
205
|
+
cx.run.runPlug('ModelMst', { src: this.obj.src }, { uicfg: { width: 0.8, height: 0.8, modal: 1 }, container: 'Home' })
|
|
206
|
+
},
|
|
207
|
+
|
|
208
|
+
createCloud()
|
|
209
|
+
{
|
|
210
|
+
if (!this.graphObj)
|
|
211
|
+
return
|
|
212
|
+
const word1 = this.graphObj.getAllNode()
|
|
213
|
+
const word2 = this.graphObj.getLinkData()
|
|
214
|
+
const word = word1.concat(word2)
|
|
215
|
+
|
|
216
|
+
const backgroud = 'background'
|
|
217
|
+
axios
|
|
218
|
+
.post(this.cloudurl, { word, backgroud })
|
|
219
|
+
.then((response) =>
|
|
220
|
+
{
|
|
221
|
+
const data = response.data
|
|
222
|
+
const imageData = this.getImageSrc(data.graph)
|
|
223
|
+
console.log(imageData)
|
|
224
|
+
cx.run.runPlug('ModelCloudmap', { imageData: imageData }, { container: 'Home' })
|
|
225
|
+
})
|
|
226
|
+
.catch((error) =>
|
|
227
|
+
{
|
|
228
|
+
console.error(error)
|
|
229
|
+
})
|
|
230
|
+
},
|
|
231
|
+
|
|
232
|
+
getImageSrc(data)
|
|
233
|
+
{
|
|
234
|
+
return `data:image/png;base64,${data}`
|
|
235
|
+
},
|
|
236
|
+
|
|
237
|
+
gettablesj()
|
|
238
|
+
{
|
|
239
|
+
axios
|
|
240
|
+
.post('znycpjSvr/knowgraph/neo4j/gettablebynode', { node: this.obj.kc_name, database: this.database, url: this.url, user: this.user, password: this.password })
|
|
241
|
+
.then(data =>
|
|
242
|
+
{
|
|
243
|
+
if (data.data.ret == 0)
|
|
244
|
+
this.tablesj = data.data.table
|
|
245
|
+
})
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
</script>
|
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
<style lang='scss' scoped>
|
|
2
|
+
.model_card{width: 5.2rem;height: 3rem;margin: 0.1rem;border-radius:0.1rem ;box-shadow:0 0 0.1rem 0 rgba(0, 0, 0, 0.1) ;}
|
|
3
|
+
.title_box{margin-left:0.15rem ;font-weight: 600;}
|
|
4
|
+
.card1{margin-top: 20%;}
|
|
5
|
+
.changeColor{color: var(--cx-colorPrimary4);}
|
|
6
|
+
.fbColor{color: var(--cx-colorSuccess2);}
|
|
7
|
+
.wfbColor{color: var(--cx-colorWarning2);}
|
|
8
|
+
</style>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<cx-layout :size="size" class="model_card">
|
|
12
|
+
<cx-region height="86%" region="north">
|
|
13
|
+
<cx-layout :size="size" padding>
|
|
14
|
+
<cx-region width="94%" region="center" style="background: transparent; overflow: hidden;">
|
|
15
|
+
<el-image style="width: 100%;height: 100%;" :fit="fit" :src="imgSrc"></el-image>
|
|
16
|
+
</cx-region>
|
|
17
|
+
<cx-region width="6%" region="east" style="display: flex;flex-direction: column;align-items: center;justify-content: start;">
|
|
18
|
+
<el-checkbox v-if="!isGGmx" v-model="checkType"></el-checkbox>
|
|
19
|
+
<el-tooltip effect="dark" content="查看" placement="left">
|
|
20
|
+
<el-icon class="card1" @click="viewModel"><View /></el-icon>
|
|
21
|
+
</el-tooltip>
|
|
22
|
+
<el-tooltip effect="dark" v-if="!isGGmx" content="编辑" placement="left">
|
|
23
|
+
<el-icon class="card card1" @click="editModel"><EditPen /></el-icon>
|
|
24
|
+
</el-tooltip>
|
|
25
|
+
<el-tooltip effect="dark" v-if="!isGGmx" content="发布" placement="left">
|
|
26
|
+
<el-icon class="card card1" :class="isFb?'changeColor':''" @click="publishModel"><Promotion /></el-icon>
|
|
27
|
+
</el-tooltip>
|
|
28
|
+
<el-tooltip effect="dark" v-if="!isGGmx" content="删除" placement="left">
|
|
29
|
+
<el-icon class="card card1" @click="deleteModel"><Delete /></el-icon>
|
|
30
|
+
</el-tooltip>
|
|
31
|
+
<el-tooltip effect="dark" v-if="isGGmx" content="模型说明" placement="left">
|
|
32
|
+
<el-icon class="card card1" @click="ModelSpecif"><Memo /></el-icon>
|
|
33
|
+
</el-tooltip>
|
|
34
|
+
<!-- <el-tooltip effect="dark" v-if="isGGmx" content="矿床成矿" placement="left">
|
|
35
|
+
<el-icon class="card card1" @click="KcckRun"><DataLine /></el-icon>
|
|
36
|
+
</el-tooltip> -->
|
|
37
|
+
</cx-region>
|
|
38
|
+
</cx-layout>
|
|
39
|
+
</cx-region>
|
|
40
|
+
<cx-region height="12%" region="south">
|
|
41
|
+
<span v-if="!isGGmx" :class="isFb?'fbColor':'wfbColor'"><span style="font-size: 0.25rem; margin-left: 0.1rem;">•</span> {{isFb?'已发布':'未发布'}}</span>
|
|
42
|
+
<span class="title_box">{{cardData.name}}</span>
|
|
43
|
+
</cx-region>
|
|
44
|
+
</cx-layout>
|
|
45
|
+
</template>
|
|
46
|
+
|
|
47
|
+
<script>
|
|
48
|
+
/**
|
|
49
|
+
* 组件名称: 智能成矿预测
|
|
50
|
+
* 功能说明:
|
|
51
|
+
*
|
|
52
|
+
* 参数说明:
|
|
53
|
+
* @prop 类型 参数名 参数说明
|
|
54
|
+
*
|
|
55
|
+
* 事件说明:
|
|
56
|
+
* @event 事件名 参数解构 事件和参数说明
|
|
57
|
+
*
|
|
58
|
+
* 插槽说明:
|
|
59
|
+
* @slot 插槽名 插槽prop解构 插槽和prop说明
|
|
60
|
+
*/
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* 维护历史:
|
|
64
|
+
* 修改时间 人员 说明
|
|
65
|
+
*/
|
|
66
|
+
export default
|
|
67
|
+
{
|
|
68
|
+
mixins: [cx.mixin.IPlugBase],
|
|
69
|
+
|
|
70
|
+
props: {
|
|
71
|
+
cardData: { type: Object },
|
|
72
|
+
isGGmx: { type: Boolean }
|
|
73
|
+
},
|
|
74
|
+
|
|
75
|
+
data()
|
|
76
|
+
{
|
|
77
|
+
return {
|
|
78
|
+
checkType: false,
|
|
79
|
+
imgSrc: '',
|
|
80
|
+
isFb: false
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
|
|
84
|
+
created()
|
|
85
|
+
{
|
|
86
|
+
let str = this.cardData.memo ? JSON.parse(this.cardData.memo) : ''
|
|
87
|
+
this.imgSrc = str ? str.imgUrl : null
|
|
88
|
+
this.isFb = str.isFb == '已发布' ? true : false
|
|
89
|
+
},
|
|
90
|
+
|
|
91
|
+
methods: {
|
|
92
|
+
/**
|
|
93
|
+
* 获取当前默认数据集
|
|
94
|
+
*/
|
|
95
|
+
/**
|
|
96
|
+
* getMrSjj
|
|
97
|
+
*/
|
|
98
|
+
/**
|
|
99
|
+
* getMrSjj
|
|
100
|
+
*/
|
|
101
|
+
/**
|
|
102
|
+
* getMrSjj
|
|
103
|
+
*/
|
|
104
|
+
/**
|
|
105
|
+
* getMrSjj
|
|
106
|
+
*/
|
|
107
|
+
getMrSjj()
|
|
108
|
+
{
|
|
109
|
+
return cx.svr.data.query($app.TabConst.sjj.major, $app.TabConst.sjj.minor, { args: [['userid', '=', $g.user.id, null], ['defdata', '=', 1, 'and']] })
|
|
110
|
+
},
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* 查看模型
|
|
114
|
+
*/
|
|
115
|
+
/**
|
|
116
|
+
* viewModel
|
|
117
|
+
*/
|
|
118
|
+
/**
|
|
119
|
+
* viewModel
|
|
120
|
+
*/
|
|
121
|
+
/**
|
|
122
|
+
* viewModel
|
|
123
|
+
*/
|
|
124
|
+
/**
|
|
125
|
+
* viewModel
|
|
126
|
+
*/
|
|
127
|
+
viewModel()
|
|
128
|
+
{
|
|
129
|
+
this.getMrSjj().then((res) =>
|
|
130
|
+
{
|
|
131
|
+
if (res && res.length)
|
|
132
|
+
cx.run.runPlug('BiFlow', { bfData: this.cardData, dirid: this.cardData.dirid, flowName: this.cardData.name, data: [{ xmin: res[0].xmin1, xmax: res[0].xmax1, ymin: res[0].ymin1, ymax: res[0].ymax1, step: res[0].defprecision }] })
|
|
133
|
+
else
|
|
134
|
+
cx.run.runPlug('BiFlow', { bfData: this.cardData, dirid: this.cardData.dirid, flowName: this.cardData.name, data: [{ xmin: null, xmax: null, ymin: null, ymax: null, step: null }] })
|
|
135
|
+
}).catch(() =>
|
|
136
|
+
{
|
|
137
|
+
|
|
138
|
+
})
|
|
139
|
+
},
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* 删除模型
|
|
143
|
+
*/
|
|
144
|
+
/**
|
|
145
|
+
* deleteModel
|
|
146
|
+
*/
|
|
147
|
+
/**
|
|
148
|
+
* deleteModel
|
|
149
|
+
*/
|
|
150
|
+
/**
|
|
151
|
+
* deleteModel
|
|
152
|
+
*/
|
|
153
|
+
/**
|
|
154
|
+
* deleteModel
|
|
155
|
+
*/
|
|
156
|
+
deleteModel()
|
|
157
|
+
{
|
|
158
|
+
cx.svr.data.dels(cx.consts.SYSTAB, cx.consts.TAB_BFFLOW, this.cardData.id).then(ret =>
|
|
159
|
+
{
|
|
160
|
+
this.$showMsg('删除成功', 'success')
|
|
161
|
+
cx.events.publish('refresh')
|
|
162
|
+
}).catch(() =>
|
|
163
|
+
{
|
|
164
|
+
this.$showMsg('删除失败', 'error')
|
|
165
|
+
})
|
|
166
|
+
},
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* 发布模型
|
|
170
|
+
*/
|
|
171
|
+
/**
|
|
172
|
+
* publishModel
|
|
173
|
+
*/
|
|
174
|
+
/**
|
|
175
|
+
* publishModel
|
|
176
|
+
*/
|
|
177
|
+
/**
|
|
178
|
+
* publishModel
|
|
179
|
+
*/
|
|
180
|
+
/**
|
|
181
|
+
* publishModel
|
|
182
|
+
*/
|
|
183
|
+
publishModel()
|
|
184
|
+
{
|
|
185
|
+
let str = JSON.parse(this.cardData.memo)
|
|
186
|
+
let data = {
|
|
187
|
+
isFb: str.isFb ? '' : '已发布',
|
|
188
|
+
kcId: str.kcId,
|
|
189
|
+
mxsm: str.mxsm,
|
|
190
|
+
imgUrl: str ? str.imgUrl : ''
|
|
191
|
+
}
|
|
192
|
+
let att = {
|
|
193
|
+
id: this.cardData.id,
|
|
194
|
+
memo: JSON.stringify(data)
|
|
195
|
+
}
|
|
196
|
+
cx.svr.data.update(cx.consts.SYSTAB, cx.consts.TAB_BFFLOW, att).then(data =>
|
|
197
|
+
{
|
|
198
|
+
str.isFb ? this.$showMsg('取消发布成功', 'success') : this.$showMsg('发布成功', 'success')
|
|
199
|
+
cx.events.publish('refresh')
|
|
200
|
+
}).catch(this.onError)
|
|
201
|
+
},
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* 模型说明
|
|
205
|
+
*/
|
|
206
|
+
/**
|
|
207
|
+
* ModelSpecif
|
|
208
|
+
*/
|
|
209
|
+
/**
|
|
210
|
+
* ModelSpecif
|
|
211
|
+
*/
|
|
212
|
+
/**
|
|
213
|
+
* ModelSpecif
|
|
214
|
+
*/
|
|
215
|
+
/**
|
|
216
|
+
* ModelSpecif
|
|
217
|
+
*/
|
|
218
|
+
ModelSpecif()
|
|
219
|
+
{
|
|
220
|
+
let str = this.cardData.memo ? JSON.parse(this.cardData.memo) : ''
|
|
221
|
+
let textarea = str ? str.mxsm : null
|
|
222
|
+
cx.run.runPlug('ModelSpecif', { data: textarea })
|
|
223
|
+
},
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* 编辑模型
|
|
227
|
+
*/
|
|
228
|
+
/**
|
|
229
|
+
* editModel
|
|
230
|
+
*/
|
|
231
|
+
/**
|
|
232
|
+
* editModel
|
|
233
|
+
*/
|
|
234
|
+
/**
|
|
235
|
+
* editModel
|
|
236
|
+
*/
|
|
237
|
+
/**
|
|
238
|
+
* editModel
|
|
239
|
+
*/
|
|
240
|
+
editModel()
|
|
241
|
+
{
|
|
242
|
+
cx.run.runPlug('ModelEdit', {
|
|
243
|
+
cardData: this.cardData,
|
|
244
|
+
onOk: () =>
|
|
245
|
+
{
|
|
246
|
+
cx.events.publish('refresh')
|
|
247
|
+
}
|
|
248
|
+
})
|
|
249
|
+
},
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* 矿床成矿
|
|
253
|
+
*/
|
|
254
|
+
/**
|
|
255
|
+
* KcckRun
|
|
256
|
+
*/
|
|
257
|
+
/**
|
|
258
|
+
* KcckRun
|
|
259
|
+
*/
|
|
260
|
+
/**
|
|
261
|
+
* KcckRun
|
|
262
|
+
*/
|
|
263
|
+
/**
|
|
264
|
+
* KcckRun
|
|
265
|
+
*/
|
|
266
|
+
KcckRun()
|
|
267
|
+
{
|
|
268
|
+
let str = this.cardData.memo ? JSON.parse(this.cardData.memo) : ''
|
|
269
|
+
let kcId = str ? str.kcId : null
|
|
270
|
+
if (!kcId)
|
|
271
|
+
return this.$showMsg('未绑定矿床数据', 'warning')
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
cx.svr.data.query(window.$app.TabConst.kcmxb.major, window.$app.TabConst.kcmxb.minor, { args: [['glid', '=', kcId, null]], orderby: 'glid ASC' }).then(ret =>
|
|
275
|
+
{
|
|
276
|
+
cx.svr.data.query(cx.consts.SYSTAB, cx.consts.TAB_MEDIA,
|
|
277
|
+
{
|
|
278
|
+
args: [['entityid', 'in', ret.map(el => el.id).toString(), null],
|
|
279
|
+
['major', '=', window.$app.TabConst.kcmxb.major, 'and'],
|
|
280
|
+
['minor', '=', window.$app.TabConst.kcmxb.minor, 'and']]
|
|
281
|
+
}).then(fjsj =>
|
|
282
|
+
{
|
|
283
|
+
ret.forEach(thedata =>
|
|
284
|
+
{
|
|
285
|
+
let img = fjsj.find(item => item.entityid === thedata.id && item.bustype === '2')
|
|
286
|
+
if (img)
|
|
287
|
+
{
|
|
288
|
+
thedata.src = cx.svr.doc.stream({ id: img.id })
|
|
289
|
+
thedata.srcId = img.id
|
|
290
|
+
}
|
|
291
|
+
})
|
|
292
|
+
cx.run.runPlug('MineralGo', { objList: ret })
|
|
293
|
+
})
|
|
294
|
+
})
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
</script>
|