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,127 @@
|
|
|
1
|
+
<style lang="scss" scoped>
|
|
2
|
+
</style>
|
|
3
|
+
|
|
4
|
+
<template>
|
|
5
|
+
<cx-layout class="cx-plug-bftabcombine" :size="size" padding>
|
|
6
|
+
<cx-region region="center">
|
|
7
|
+
<TabCombine :size="size" :sources="ins" :flds="outs" style="height:100%" />
|
|
8
|
+
</cx-region>
|
|
9
|
+
<cx-region region="south">
|
|
10
|
+
<PlugCmd disabled-preview
|
|
11
|
+
:size="size"
|
|
12
|
+
@getflds-click="onGetFLds"
|
|
13
|
+
@preview-click="onPreview"
|
|
14
|
+
@cancel-click="onCloseCfg"
|
|
15
|
+
/>
|
|
16
|
+
</cx-region>
|
|
17
|
+
</cx-layout>
|
|
18
|
+
</template>
|
|
19
|
+
|
|
20
|
+
<script>
|
|
21
|
+
/**
|
|
22
|
+
* 插件 - 表聚合(BiFlow)
|
|
23
|
+
*
|
|
24
|
+
* 调用说明:
|
|
25
|
+
* @param {Object} params
|
|
26
|
+
* @param {Object} params.node 配置结点
|
|
27
|
+
* @param {Object} params.context 运行上下文
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* 修改记录
|
|
32
|
+
* 24-08-14 张发勇 首次提交
|
|
33
|
+
*/
|
|
34
|
+
|
|
35
|
+
import IBfPlug from './IBfPlug'
|
|
36
|
+
import PlugCmd from './coms/PlugCmd.vue'
|
|
37
|
+
import TabCombine from './coms/TabCombine'
|
|
38
|
+
|
|
39
|
+
export default
|
|
40
|
+
{
|
|
41
|
+
components: { PlugCmd, TabCombine },
|
|
42
|
+
mixins: [cx.mixin.IPlugBase, IBfPlug],
|
|
43
|
+
data()
|
|
44
|
+
{
|
|
45
|
+
return {
|
|
46
|
+
ins: [], // 入边信息
|
|
47
|
+
outs: [] // 输出
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
|
|
51
|
+
created()
|
|
52
|
+
{
|
|
53
|
+
this.makeData()
|
|
54
|
+
},
|
|
55
|
+
|
|
56
|
+
methods:
|
|
57
|
+
{
|
|
58
|
+
makeData()
|
|
59
|
+
{
|
|
60
|
+
const addFlds = this.obj.addFlds
|
|
61
|
+
let _in, out
|
|
62
|
+
|
|
63
|
+
this.outs = []
|
|
64
|
+
this.ins = cx.bf.core.nodeInOptions(this.graph, this.node)
|
|
65
|
+
|
|
66
|
+
// 排序
|
|
67
|
+
cx.util.sortString(this.ins, 'label')
|
|
68
|
+
|
|
69
|
+
for (_in of this.ins)
|
|
70
|
+
{
|
|
71
|
+
// eslint-disable-next-line
|
|
72
|
+
out = addFlds.find(el => el.name == _in.value)
|
|
73
|
+
this.outs.push({ name: _in.value, out: out ? out.out : '' })
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
|
|
77
|
+
onGetFLds()
|
|
78
|
+
{
|
|
79
|
+
const dup = cx.bf.core.dupNodeIn(this.graph, this.node)
|
|
80
|
+
|
|
81
|
+
if (dup)
|
|
82
|
+
this.$showMsgErr(cx.bf.core.locErr('dupInName'))
|
|
83
|
+
},
|
|
84
|
+
|
|
85
|
+
afterGetFlds()
|
|
86
|
+
{
|
|
87
|
+
this.makeData()
|
|
88
|
+
},
|
|
89
|
+
|
|
90
|
+
beforePreview()
|
|
91
|
+
{
|
|
92
|
+
this.cfg2Obj()
|
|
93
|
+
},
|
|
94
|
+
|
|
95
|
+
onCloseCfg()
|
|
96
|
+
{
|
|
97
|
+
this.cfg2Obj()
|
|
98
|
+
|
|
99
|
+
// 检查有消息
|
|
100
|
+
let ret, cfged = 1
|
|
101
|
+
|
|
102
|
+
ret = cx.bf.core.dupNodeIn(this.graph, this.node)
|
|
103
|
+
if (ret)
|
|
104
|
+
{
|
|
105
|
+
this.$showMsgErr(cx.bf.core.locErr('dupInName'))
|
|
106
|
+
cfged = 0
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
ret = this.obj.validCfg()
|
|
110
|
+
if (ret)
|
|
111
|
+
{
|
|
112
|
+
this.$showMsgErr(ret)
|
|
113
|
+
cfged = 0
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
this.node.setData({ isConfiged: !!cfged })
|
|
117
|
+
|
|
118
|
+
this.onClose()
|
|
119
|
+
},
|
|
120
|
+
|
|
121
|
+
cfg2Obj()
|
|
122
|
+
{
|
|
123
|
+
this.obj.addFlds = this.outs
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
</script>
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
<style lang="scss" scoped>
|
|
2
|
+
</style>
|
|
3
|
+
|
|
4
|
+
<template>
|
|
5
|
+
<cx-layout class="cx-plug-bfcoladd" :size="size" padding>
|
|
6
|
+
<cx-region region="center">
|
|
7
|
+
<ColList :size="size" :flds="flds" style="height:100%" />
|
|
8
|
+
</cx-region>
|
|
9
|
+
<cx-region region="south" style="height:50%" gutter>
|
|
10
|
+
<cx-layout :size="size">
|
|
11
|
+
<cx-region region="center">
|
|
12
|
+
<TabJoin :size="size" :flds="adds" :sources="srcs" style="height:100%" />
|
|
13
|
+
</cx-region>
|
|
14
|
+
<cx-region region="south">
|
|
15
|
+
<PlugCmd
|
|
16
|
+
:size="size"
|
|
17
|
+
@getflds-click="onGetFLds"
|
|
18
|
+
@preview-click="onPreview"
|
|
19
|
+
@cancel-click="onCancel"
|
|
20
|
+
/>
|
|
21
|
+
</cx-region>
|
|
22
|
+
</cx-layout>
|
|
23
|
+
</cx-region>
|
|
24
|
+
</cx-layout>
|
|
25
|
+
</template>
|
|
26
|
+
|
|
27
|
+
<script>
|
|
28
|
+
/**
|
|
29
|
+
* 插件 - 字段添加(BiFlow)
|
|
30
|
+
*
|
|
31
|
+
* 调用说明:
|
|
32
|
+
* @param {Object} params
|
|
33
|
+
* @param {Object} params.node 配置结点
|
|
34
|
+
* @param {Object} params.context 运行上下文
|
|
35
|
+
*/
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* 修改记录
|
|
39
|
+
* 24-08-02 张发勇 首次提交
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
import IBfPlug from './IBfPlug'
|
|
43
|
+
import PlugCmd from './coms/PlugCmd.vue'
|
|
44
|
+
import ColList from './coms/ColList'
|
|
45
|
+
import TabJoin from './coms/TabJoin'
|
|
46
|
+
|
|
47
|
+
export default
|
|
48
|
+
{
|
|
49
|
+
components: { PlugCmd, ColList, TabJoin },
|
|
50
|
+
mixins: [cx.mixin.IPlugBase, IBfPlug],
|
|
51
|
+
data()
|
|
52
|
+
{
|
|
53
|
+
return {
|
|
54
|
+
flds: [],
|
|
55
|
+
adds: [],
|
|
56
|
+
srcs: []
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
|
|
60
|
+
created()
|
|
61
|
+
{
|
|
62
|
+
this.makeData()
|
|
63
|
+
},
|
|
64
|
+
|
|
65
|
+
methods:
|
|
66
|
+
{
|
|
67
|
+
makeData()
|
|
68
|
+
{
|
|
69
|
+
const self = this
|
|
70
|
+
const obj = self.obj
|
|
71
|
+
|
|
72
|
+
self.flds = obj.flds
|
|
73
|
+
self.adds =
|
|
74
|
+
[
|
|
75
|
+
{ table: 'main', source: obj.main, fld: obj.mainFld },
|
|
76
|
+
{ table: 'join', source: obj.join, fld: obj.joinFld }
|
|
77
|
+
]
|
|
78
|
+
self.srcs = cx.bf.core.nodeInOptions(self.graph, self.node)
|
|
79
|
+
},
|
|
80
|
+
|
|
81
|
+
afterGetFlds()
|
|
82
|
+
{
|
|
83
|
+
this.makeData()
|
|
84
|
+
},
|
|
85
|
+
|
|
86
|
+
beforePreview()
|
|
87
|
+
{
|
|
88
|
+
this.cfg2Obj()
|
|
89
|
+
},
|
|
90
|
+
|
|
91
|
+
onCloseCfg()
|
|
92
|
+
{
|
|
93
|
+
this.cfg2Obj()
|
|
94
|
+
},
|
|
95
|
+
|
|
96
|
+
cfg2Obj()
|
|
97
|
+
{
|
|
98
|
+
const obj = this.obj
|
|
99
|
+
const adds = this.adds
|
|
100
|
+
|
|
101
|
+
obj.main = adds[0].source
|
|
102
|
+
obj.join = adds[1].source
|
|
103
|
+
obj.mainFld = adds[0].fld
|
|
104
|
+
obj.joinFld = adds[1].fld
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
</script>
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
<style lang="scss" scoped>
|
|
2
|
+
</style>
|
|
3
|
+
|
|
4
|
+
<template>
|
|
5
|
+
<cx-layout class="cx-plug-bftabmerge" :size="size" padding>
|
|
6
|
+
<cx-region region="center">
|
|
7
|
+
<ColList :size="size" :flds="flds" style="height:100%" />
|
|
8
|
+
</cx-region>
|
|
9
|
+
<cx-region region="south">
|
|
10
|
+
<PlugCmd
|
|
11
|
+
:size="size"
|
|
12
|
+
@getflds-click="onGetFLds"
|
|
13
|
+
@preview-click="onPreview"
|
|
14
|
+
@cancel-click="onCancel"
|
|
15
|
+
/>
|
|
16
|
+
</cx-region>
|
|
17
|
+
</cx-layout>
|
|
18
|
+
</template>
|
|
19
|
+
|
|
20
|
+
<script>
|
|
21
|
+
/**
|
|
22
|
+
* 插件 - 表合并(BiFlow)
|
|
23
|
+
*
|
|
24
|
+
* 调用说明:
|
|
25
|
+
* @param {Object} params
|
|
26
|
+
* @param {Object} params.node 配置结点
|
|
27
|
+
* @param {Object} params.context 运行上下文
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* 修改记录
|
|
32
|
+
* 24-08-14 张发勇 首次提交
|
|
33
|
+
*/
|
|
34
|
+
|
|
35
|
+
import IBfPlug from './IBfPlug'
|
|
36
|
+
import PlugCmd from './coms/PlugCmd.vue'
|
|
37
|
+
import ColList from './coms/ColList'
|
|
38
|
+
|
|
39
|
+
export default
|
|
40
|
+
{
|
|
41
|
+
components: { PlugCmd, ColList },
|
|
42
|
+
mixins: [cx.mixin.IPlugBase, IBfPlug],
|
|
43
|
+
data()
|
|
44
|
+
{
|
|
45
|
+
return {
|
|
46
|
+
flds: []
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
|
|
50
|
+
created()
|
|
51
|
+
{
|
|
52
|
+
this.makeData()
|
|
53
|
+
},
|
|
54
|
+
|
|
55
|
+
methods:
|
|
56
|
+
{
|
|
57
|
+
makeData()
|
|
58
|
+
{
|
|
59
|
+
this.flds = this.obj.flds
|
|
60
|
+
},
|
|
61
|
+
|
|
62
|
+
afterGetFlds()
|
|
63
|
+
{
|
|
64
|
+
this.makeData()
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
</script>
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
<style lang="scss" scoped>
|
|
2
|
+
</style>
|
|
3
|
+
|
|
4
|
+
<template>
|
|
5
|
+
<cx-layout class="cx-plug-bftabreader" :size="size" padding>
|
|
6
|
+
<cx-region region="center">
|
|
7
|
+
<cx-layout :size="size">
|
|
8
|
+
<cx-region region="center">
|
|
9
|
+
<ColList :size="size" :flds="flds" style="height:100%" />
|
|
10
|
+
</cx-region>
|
|
11
|
+
<cx-region region="south" style="height: 50%" gutter>
|
|
12
|
+
<cx-config-form ref="cfg"
|
|
13
|
+
:flds = "cfgCols"
|
|
14
|
+
@values-change="onCfgChange"
|
|
15
|
+
/>
|
|
16
|
+
</cx-region>
|
|
17
|
+
</cx-layout>
|
|
18
|
+
</cx-region>
|
|
19
|
+
<cx-region region="south" border>
|
|
20
|
+
<PlugCmd
|
|
21
|
+
:size="size"
|
|
22
|
+
@getflds-click="onGetFLds"
|
|
23
|
+
@preview-click="onPreview"
|
|
24
|
+
@cancel-click="onCloseCfg"
|
|
25
|
+
/>
|
|
26
|
+
</cx-region>
|
|
27
|
+
</cx-layout>
|
|
28
|
+
</template>
|
|
29
|
+
|
|
30
|
+
<script>
|
|
31
|
+
/**
|
|
32
|
+
* 插件 - 去重(BiFlow)
|
|
33
|
+
*
|
|
34
|
+
* 调用说明:
|
|
35
|
+
* @param {Object} params
|
|
36
|
+
* @param {Object} params.node 配置结点
|
|
37
|
+
* @param {Object} params.context 运行上下文
|
|
38
|
+
*/
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* 修改记录
|
|
42
|
+
* 24-08-10 张发勇 首次提交
|
|
43
|
+
*/
|
|
44
|
+
|
|
45
|
+
import IBfPlug from './IBfPlug'
|
|
46
|
+
import PlugCmd from './coms/PlugCmd.vue'
|
|
47
|
+
import ColList from './coms/ColList'
|
|
48
|
+
|
|
49
|
+
export default
|
|
50
|
+
{
|
|
51
|
+
components: { PlugCmd, ColList },
|
|
52
|
+
mixins: [cx.mixin.IPlugBase, IBfPlug],
|
|
53
|
+
data()
|
|
54
|
+
{
|
|
55
|
+
return {
|
|
56
|
+
flds: [], // 字段数组
|
|
57
|
+
cfgCols: [] // 配置属性列
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
|
|
61
|
+
created()
|
|
62
|
+
{
|
|
63
|
+
this.locKey = 'TabReader'
|
|
64
|
+
|
|
65
|
+
this.makeData()
|
|
66
|
+
this.cfgCols = this.getCfgCols()
|
|
67
|
+
},
|
|
68
|
+
|
|
69
|
+
methods:
|
|
70
|
+
{
|
|
71
|
+
makeData()
|
|
72
|
+
{
|
|
73
|
+
this.flds = this.obj.flds
|
|
74
|
+
},
|
|
75
|
+
|
|
76
|
+
onGetFLds()
|
|
77
|
+
{
|
|
78
|
+
const obj = this.obj
|
|
79
|
+
let flds = [], fld, type
|
|
80
|
+
|
|
81
|
+
if (!obj.table)
|
|
82
|
+
return
|
|
83
|
+
|
|
84
|
+
flds.push({ colname: 'id', title: 'id', type: cx.consts.DT_INT })
|
|
85
|
+
for (fld of $g.field.getFlds(obj.table))
|
|
86
|
+
{
|
|
87
|
+
type = cx.consts.DT_STRING
|
|
88
|
+
if (fld.isnum)
|
|
89
|
+
type = cx.consts.DT_REAL
|
|
90
|
+
else
|
|
91
|
+
{
|
|
92
|
+
switch (fld.disptype)
|
|
93
|
+
{
|
|
94
|
+
case cx.consts.DISP_DATE:
|
|
95
|
+
type = cx.consts.DT_DATE
|
|
96
|
+
break
|
|
97
|
+
case cx.consts.DISP_TIMESTAMP:
|
|
98
|
+
type = cx.consts.DT_DATETIME
|
|
99
|
+
break
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
flds.push(
|
|
103
|
+
{
|
|
104
|
+
colname: fld.colname,
|
|
105
|
+
title: fld.namec,
|
|
106
|
+
type
|
|
107
|
+
})
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
// 设置字段
|
|
111
|
+
obj.setFlds(flds)
|
|
112
|
+
|
|
113
|
+
// 设置对象状态
|
|
114
|
+
this.node.setData({ isConfiged: flds.length > 0 })
|
|
115
|
+
|
|
116
|
+
// 刷新界面
|
|
117
|
+
this.afterGetFlds()
|
|
118
|
+
},
|
|
119
|
+
|
|
120
|
+
afterGetFlds()
|
|
121
|
+
{
|
|
122
|
+
this.makeData()
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
</script>
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
<style lang="scss" scoped>
|
|
2
|
+
</style>
|
|
3
|
+
|
|
4
|
+
<template>
|
|
5
|
+
<cx-layout class="cx-plug-bfvalformat" :size="size" padding>
|
|
6
|
+
<cx-region region="center">
|
|
7
|
+
<ValFormat :size="size" :flds="flds" style="height:100%" />
|
|
8
|
+
</cx-region>
|
|
9
|
+
<cx-region region="south">
|
|
10
|
+
<PlugCmd
|
|
11
|
+
:size="size"
|
|
12
|
+
@getflds-click="onGetFLds"
|
|
13
|
+
@preview-click="onPreview"
|
|
14
|
+
@cancel-click="onCancel"
|
|
15
|
+
/>
|
|
16
|
+
</cx-region>
|
|
17
|
+
</cx-layout>
|
|
18
|
+
</template>
|
|
19
|
+
|
|
20
|
+
<script>
|
|
21
|
+
/**
|
|
22
|
+
* 插件 - 数据格式化(BiFlow)
|
|
23
|
+
*
|
|
24
|
+
* 调用说明:
|
|
25
|
+
* @param {Object} params
|
|
26
|
+
* @param {Object} params.node 配置结点
|
|
27
|
+
* @param {Object} params.context 运行上下文
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* 修改记录
|
|
32
|
+
* 24-08-02 张发勇 首次提交
|
|
33
|
+
*/
|
|
34
|
+
|
|
35
|
+
import IBfPlug from './IBfPlug'
|
|
36
|
+
import PlugCmd from './coms/PlugCmd.vue'
|
|
37
|
+
import ValFormat from './coms/ValFormat'
|
|
38
|
+
|
|
39
|
+
export default
|
|
40
|
+
{
|
|
41
|
+
components: { PlugCmd, ValFormat },
|
|
42
|
+
mixins: [cx.mixin.IPlugBase, IBfPlug],
|
|
43
|
+
data()
|
|
44
|
+
{
|
|
45
|
+
return {
|
|
46
|
+
flds: []
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
|
|
50
|
+
created()
|
|
51
|
+
{
|
|
52
|
+
this.makeData()
|
|
53
|
+
},
|
|
54
|
+
|
|
55
|
+
methods:
|
|
56
|
+
{
|
|
57
|
+
makeData()
|
|
58
|
+
{
|
|
59
|
+
this.flds = this.obj.flds
|
|
60
|
+
},
|
|
61
|
+
|
|
62
|
+
afterGetFlds()
|
|
63
|
+
{
|
|
64
|
+
this.makeData()
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
</script>
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
<style lang="scss" scoped>
|
|
2
|
+
</style>
|
|
3
|
+
|
|
4
|
+
<template>
|
|
5
|
+
<cx-layout class="cx-plug-bfvalnumber" :size="size" padding>
|
|
6
|
+
<cx-region region="center">
|
|
7
|
+
<ColList :size="size" :flds="flds" style="height:100%" />
|
|
8
|
+
</cx-region>
|
|
9
|
+
<cx-region region="south">
|
|
10
|
+
<PlugCmd
|
|
11
|
+
:size="size"
|
|
12
|
+
@getflds-click="onGetFLds"
|
|
13
|
+
@preview-click="onPreview"
|
|
14
|
+
@cancel-click="onCancel"
|
|
15
|
+
/>
|
|
16
|
+
</cx-region>
|
|
17
|
+
</cx-layout>
|
|
18
|
+
</template>
|
|
19
|
+
|
|
20
|
+
<script>
|
|
21
|
+
/**
|
|
22
|
+
* 插件 - 数据数值化(BiFlow)
|
|
23
|
+
*
|
|
24
|
+
* 调用说明:
|
|
25
|
+
* @param {Object} params
|
|
26
|
+
* @param {Object} params.node 配置结点
|
|
27
|
+
* @param {Object} params.context 运行上下文
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* 修改记录
|
|
32
|
+
* 24-08-02 张发勇 首次提交
|
|
33
|
+
*/
|
|
34
|
+
|
|
35
|
+
import IBfPlug from './IBfPlug'
|
|
36
|
+
import PlugCmd from './coms/PlugCmd.vue'
|
|
37
|
+
import ColList from './coms/ColList'
|
|
38
|
+
|
|
39
|
+
export default
|
|
40
|
+
{
|
|
41
|
+
components: { PlugCmd, ColList },
|
|
42
|
+
mixins: [cx.mixin.IPlugBase, IBfPlug],
|
|
43
|
+
data()
|
|
44
|
+
{
|
|
45
|
+
return {
|
|
46
|
+
flds: []
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
|
|
50
|
+
created()
|
|
51
|
+
{
|
|
52
|
+
this.makeData()
|
|
53
|
+
},
|
|
54
|
+
|
|
55
|
+
methods:
|
|
56
|
+
{
|
|
57
|
+
makeData()
|
|
58
|
+
{
|
|
59
|
+
this.flds = this.obj.flds
|
|
60
|
+
},
|
|
61
|
+
|
|
62
|
+
afterGetFlds()
|
|
63
|
+
{
|
|
64
|
+
this.makeData()
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
</script>
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
<style lang="scss" scoped>
|
|
2
|
+
</style>
|
|
3
|
+
|
|
4
|
+
<template>
|
|
5
|
+
<cx-layout class="cx-plug-bfvalproc" :size="size" padding>
|
|
6
|
+
<cx-region region="center">
|
|
7
|
+
<ColList :size="size" :flds="flds" style="height:100%" />
|
|
8
|
+
</cx-region>
|
|
9
|
+
<cx-region region="south" style="height:60%" gutter>
|
|
10
|
+
<cx-layout :size="size">
|
|
11
|
+
<cx-region region="center">
|
|
12
|
+
<ValProc :size="size" :flds="addFlds" style="height:100%" />
|
|
13
|
+
</cx-region>
|
|
14
|
+
<cx-region region="south">
|
|
15
|
+
<PlugCmd
|
|
16
|
+
:size="size"
|
|
17
|
+
@getflds-click="onGetFLds"
|
|
18
|
+
@preview-click="onPreview"
|
|
19
|
+
@cancel-click="onCancel"
|
|
20
|
+
/>
|
|
21
|
+
</cx-region>
|
|
22
|
+
</cx-layout>
|
|
23
|
+
</cx-region>
|
|
24
|
+
</cx-layout>
|
|
25
|
+
</template>
|
|
26
|
+
|
|
27
|
+
<script>
|
|
28
|
+
/**
|
|
29
|
+
* 插件 - 字段值处理(BiFlow)
|
|
30
|
+
*
|
|
31
|
+
* 调用说明:
|
|
32
|
+
* @param {Object} params
|
|
33
|
+
* @param {Object} params.node 配置结点
|
|
34
|
+
* @param {Object} params.context 运行上下文
|
|
35
|
+
*/
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* 修改记录
|
|
39
|
+
* 24-08-05 张发勇 首次提交
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
import IBfPlug from './IBfPlug'
|
|
43
|
+
import PlugCmd from './coms/PlugCmd.vue'
|
|
44
|
+
import ColList from './coms/ColList'
|
|
45
|
+
import ValProc from './coms/ValProc'
|
|
46
|
+
|
|
47
|
+
export default
|
|
48
|
+
{
|
|
49
|
+
components: { PlugCmd, ColList, ValProc },
|
|
50
|
+
mixins: [cx.mixin.IPlugBase, IBfPlug],
|
|
51
|
+
data()
|
|
52
|
+
{
|
|
53
|
+
return {
|
|
54
|
+
flds: [],
|
|
55
|
+
addFlds: []
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
|
|
59
|
+
created()
|
|
60
|
+
{
|
|
61
|
+
this.makeData()
|
|
62
|
+
},
|
|
63
|
+
|
|
64
|
+
methods:
|
|
65
|
+
{
|
|
66
|
+
makeData()
|
|
67
|
+
{
|
|
68
|
+
this.flds = this.obj.flds
|
|
69
|
+
this.addFlds = this.obj.addFlds
|
|
70
|
+
},
|
|
71
|
+
|
|
72
|
+
afterGetFlds()
|
|
73
|
+
{
|
|
74
|
+
this.makeData()
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
</script>
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
<style lang="scss" scoped>
|
|
2
|
+
</style>
|
|
3
|
+
|
|
4
|
+
<template>
|
|
5
|
+
<cx-layout class="cx-plug-bfvalsort" :size="size" padding>
|
|
6
|
+
<cx-region region="center">
|
|
7
|
+
<ColList :size="size" :flds="flds" style="height:100%" />
|
|
8
|
+
</cx-region>
|
|
9
|
+
<cx-region region="south" style="height:50%" gutter>
|
|
10
|
+
<cx-layout :size="size">
|
|
11
|
+
<cx-region region="center">
|
|
12
|
+
<ValSort :size="size" :flds="addFlds" style="height:100%" />
|
|
13
|
+
</cx-region>
|
|
14
|
+
<cx-region region="south">
|
|
15
|
+
<PlugCmd
|
|
16
|
+
:size="size"
|
|
17
|
+
@getflds-click="onGetFLds"
|
|
18
|
+
@preview-click="onPreview"
|
|
19
|
+
@cancel-click="onCancel"
|
|
20
|
+
/>
|
|
21
|
+
</cx-region>
|
|
22
|
+
</cx-layout>
|
|
23
|
+
</cx-region>
|
|
24
|
+
</cx-layout>
|
|
25
|
+
</template>
|
|
26
|
+
|
|
27
|
+
<script>
|
|
28
|
+
/**
|
|
29
|
+
* 插件 - 数值排序(BiFlow)
|
|
30
|
+
*
|
|
31
|
+
* 调用说明:
|
|
32
|
+
* @param {Object} params
|
|
33
|
+
* @param {Object} params.node 配置结点
|
|
34
|
+
* @param {Object} params.context 运行上下文
|
|
35
|
+
*/
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* 修改记录
|
|
39
|
+
* 24-08-07 张发勇 首次提交
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
import IBfPlug from './IBfPlug'
|
|
43
|
+
import PlugCmd from './coms/PlugCmd.vue'
|
|
44
|
+
import ColList from './coms/ColList'
|
|
45
|
+
import ValSort from './coms/ValSort'
|
|
46
|
+
|
|
47
|
+
export default
|
|
48
|
+
{
|
|
49
|
+
components: { PlugCmd, ColList, ValSort },
|
|
50
|
+
mixins: [cx.mixin.IPlugBase, IBfPlug],
|
|
51
|
+
data()
|
|
52
|
+
{
|
|
53
|
+
return {
|
|
54
|
+
flds: [],
|
|
55
|
+
addFlds: []
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
|
|
59
|
+
created()
|
|
60
|
+
{
|
|
61
|
+
this.makeData()
|
|
62
|
+
},
|
|
63
|
+
|
|
64
|
+
methods:
|
|
65
|
+
{
|
|
66
|
+
makeData()
|
|
67
|
+
{
|
|
68
|
+
this.flds = this.obj.flds
|
|
69
|
+
this.addFlds = this.obj.addFlds
|
|
70
|
+
},
|
|
71
|
+
|
|
72
|
+
afterGetFlds()
|
|
73
|
+
{
|
|
74
|
+
this.makeData()
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
</script>
|