@mapgis/webclient-common 17.2.0 → 17.2.2
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 +21 -3
- package/dist/es5/webclient-common.min.js +5 -5
- package/dist/webclient-common-es6.min.js +6 -6
- package/documention/AddressServer.html +12 -12
- package/documention/ArcGISFeatureServer.html +10 -10
- package/documention/ArcGISGeometryServer.html +10 -10
- package/documention/ArcGISMapImageLayer.html +10 -10
- package/documention/ArcGISMapServer.html +10 -10
- package/documention/ArcGISTileLayer.html +5 -5
- package/documention/ArcGISVectorTileLayer.html +7 -7
- package/documention/ArcGISVectorTileServer.html +10 -10
- package/documention/BaseScene.html +7577 -0
- package/documention/BaseServer.html +10 -10
- package/documention/BaseView.html +1 -1
- package/documention/Basemap.html +3 -3
- package/documention/Cesium3DTilesCacheLayer.html +38 -112
- package/documention/Cesium3DTilesServer.html +11 -11
- package/documention/Circle.html +7 -7
- package/documention/ClassBreakRenderer.html +18 -18
- package/documention/ClusterRenderer.html +2 -2
- package/documention/Collection.html +198 -4
- package/documention/Config.html +4 -4
- package/documention/Extent.html +15 -15
- package/documention/ExtrudeSymbol3DLayer.html +2 -2
- package/documention/Feature.html +7 -7
- package/documention/FeatureServer.html +27 -27
- package/documention/FeatureSet.html +7 -7
- package/documention/FillSymbol3DLayer.html +2 -2
- package/documention/Font.html +1 -1
- package/documention/GeoJSONLayer.html +26 -26
- package/documention/Geometry.html +7 -7
- package/documention/GeometryEngine.html +79 -79
- package/documention/GeometryServer.html +30 -30
- package/documention/GraphicsLayer.html +31 -31
- package/documention/GroupLayer.html +2 -2
- package/documention/IGSFeatureLayer.html +25 -25
- package/documention/IGSMapImageLayer.html +47 -49
- package/documention/IGSMapImageSubLayer.html +3 -3
- package/documention/IGSSceneLayer.html +11 -11
- package/documention/IGSTileLayer.html +10 -11
- package/documention/IGSVectorTileLayer.html +33 -63
- package/documention/IGSVectorTileSubLayer.html +5 -4
- package/documention/ISScene.html +1336 -0
- package/documention/ISSceneLayer.html +2028 -0
- package/documention/ISSceneServer.html +2234 -0
- package/documention/ISSceneSubLayer.html +3356 -0
- package/documention/IconSymbol3DLayer.html +4 -4
- package/documention/ImageServer.html +11 -11
- package/documention/LabelClass.html +3 -3
- package/documention/LabelSymbol3D.html +2 -2
- package/documention/LineString.html +10 -10
- package/documention/LineSymbol3D.html +2 -2
- package/documention/LineSymbol3DLayer.html +2 -2
- package/documention/M3DModelCacheLayer.html +12 -12
- package/documention/M3DServer.html +11 -11
- package/documention/Map.html +4 -4
- package/documention/MapGISTextSymbol.html +3 -3
- package/documention/MapServer.html +14 -14
- package/documention/MapView.html +1 -1
- package/documention/MultiLineString.html +13 -13
- package/documention/MultiPoint.html +10 -10
- package/documention/MultiPolygon.html +9 -9
- package/documention/ObjectSymbol3DLayer.html +4 -4
- package/documention/OutStatistic.html +1 -1
- package/documention/PathSymbol3DLayer.html +2 -2
- package/documention/PictureFillSymbol.html +1 -1
- package/documention/PictureMarkerSymbol.html +3 -3
- package/documention/PlotServer.html +10 -10
- package/documention/PoiServer.html +11 -11
- package/documention/Point.html +12 -12
- package/documention/PointSymbol3D.html +3 -3
- package/documention/Polygon.html +14 -14
- package/documention/PolygonSymbol3D.html +2 -2
- package/documention/Projection.html +8 -8
- package/documention/RandomRenderer.html +1 -1
- package/documention/RankRenderer.html +2 -2
- package/documention/ResourceServer.html +150 -150
- package/documention/RootServer.html +11 -11
- package/documention/S3MTilesCacheLayer.html +7726 -0
- package/documention/SceneServer.html +16 -16
- package/documention/SceneView.html +1 -1
- package/documention/SecurityServer.html +12 -12
- package/documention/SimpleFillSymbol.html +3 -3
- package/documention/SimpleLineSymbol.html +3 -3
- package/documention/SimpleMarkerSymbol.html +3 -3
- package/documention/SimpleRenderer.html +9 -9
- package/documention/SizeVariable.html +1 -1
- package/documention/SketchEditor.html +1 -1
- package/documention/SpatialReference.html +1 -1
- package/documention/Symbol.html +1 -1
- package/documention/TerrainCacheLayer.html +1 -1
- package/documention/TerrainServer.html +11 -11
- package/documention/TextSymbol.html +4 -4
- package/documention/TextSymbol3DLayer.html +2 -2
- package/documention/ThemeServer.html +12 -12
- package/documention/TileServer.html +11 -11
- package/documention/UniqueValueRenderer.html +18 -18
- package/documention/VectorTileLayer.html +1 -1
- package/documention/VectorTileServer.html +11 -11
- package/documention/WCSServer.html +10 -10
- package/documention/WFSLayer.html +24 -24
- package/documention/WFSServer.html +11 -11
- package/documention/WMSLayer.html +15 -15
- package/documention/WMSServer.html +11 -11
- package/documention/WMTSLayer.html +10 -10
- package/documention/WMTSServer.html +11 -11
- package/documention/WPSServer.html +10 -10
- package/documention/WebTileLayer.html +5 -5
- package/documention/WorkFlowServer.html +12 -12
- package/documention/WorkFlowServer600227.html +12 -12
- package/documention/WorkFlowServer600228.html +13 -13
- package/documention/WorkFlowServer600229.html +12 -12
- package/documention/WorkFlowServer600230.html +12 -12
- package/documention/WorkFlowServer600231.html +12 -12
- package/documention/WorkFlowServer600232.html +13 -13
- package/documention/WorkFlowServer600233.html +14 -14
- package/documention/WorkFlowServer600235.html +12 -12
- package/documention/WorkFlowServer600237.html +13 -13
- package/documention/WorkFlowServer600238.html +15 -15
- package/documention/WorkFlowServer600239.html +16 -16
- package/documention/WorkFlowServer600307.html +14 -14
- package/documention/WorkFlowServer600308.html +2 -2
- package/documention/WorkFlowServer600309.html +12 -12
- package/documention/WorkFlowServer600314.html +12 -12
- package/documention/WorkFlowServer600334.html +12 -12
- package/documention/WorkFlowServer600336.html +12 -12
- package/documention/WorkFlowServer600340.html +12 -12
- package/documention/WorkFlowServer600354.html +12 -12
- package/documention/WorkFlowServer600368.html +12 -12
- package/documention/WorkFlowServer600369.html +12 -12
- package/documention/WorkFlowServer600370.html +12 -12
- package/documention/global.html +344 -1644
- package/documention/index.html +40 -37
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CAllOtherDataItemInfoSource.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CAnnInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartLabelFormat.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartTheme.html +4 -4
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartThemeInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartThemeRepresentInfo.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CChartType.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CDotDensityTheme.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CFourColorTheme.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CGraduatedSymbolTheme.html +7 -7
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CLinInfo.html +5 -5
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CMultiClassTheme.html +5 -5
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CPntInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRandomTheme.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRangeTheme.html +5 -5
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRangeThemeInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CRegInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CSimpleTheme.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CTheme.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CThemeInfo.html +7 -7
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CUniqueTheme.html +4 -4
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.CUniqueThemeInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ExpInfo.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.FolderInfo.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.FolderInfoAttribute.html +1 -1
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ItemValue.html +3 -3
- package/documention/module-%E4%B8%93%E9%A2%98%E5%9B%BE%E6%9C%8D%E5%8A%A1.ThemesInfo.html +2 -2
- package/package.json +2 -1
|
@@ -450,7 +450,7 @@
|
|
|
450
450
|
radius: 0.01,
|
|
451
451
|
});
|
|
452
452
|
workFlowServer600227.execute({
|
|
453
|
-
method:
|
|
453
|
+
method: zondy.enum.FetchMethod.get,
|
|
454
454
|
success: function (res) {
|
|
455
455
|
console.log("execute: ", res);
|
|
456
456
|
},
|
|
@@ -1298,7 +1298,7 @@
|
|
|
1298
1298
|
|
|
1299
1299
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1300
1300
|
// ES5引入方式
|
|
1301
|
-
const { BaseServer } =
|
|
1301
|
+
const { BaseServer } = zondy.service
|
|
1302
1302
|
// ES6引入方式
|
|
1303
1303
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1304
1304
|
let BaseServer = new BaseServer({
|
|
@@ -1557,7 +1557,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
1557
1557
|
|
|
1558
1558
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
1559
1559
|
// ES5引入方式
|
|
1560
|
-
const { BaseServer } =
|
|
1560
|
+
const { BaseServer } = zondy.service
|
|
1561
1561
|
// ES6引入方式
|
|
1562
1562
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1563
1563
|
let BaseServer = new BaseServer({
|
|
@@ -1884,7 +1884,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
1884
1884
|
|
|
1885
1885
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1886
1886
|
// ES5引入方式
|
|
1887
|
-
const { BaseServer,RequestInterceptor } =
|
|
1887
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
1888
1888
|
// ES6引入方式
|
|
1889
1889
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
1890
1890
|
let BaseServer = new BaseServer({
|
|
@@ -1993,7 +1993,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
1993
1993
|
<pre class="prettyprint"><code>//设置超时时间
|
|
1994
1994
|
//初始化AddressServer服务对象
|
|
1995
1995
|
// ES5引入方式
|
|
1996
|
-
const { BaseServer } =
|
|
1996
|
+
const { BaseServer } = zondy.service
|
|
1997
1997
|
// ES6引入方式
|
|
1998
1998
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1999
1999
|
let BaseServer = new BaseServer({
|
|
@@ -2090,7 +2090,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
2090
2090
|
|
|
2091
2091
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
2092
2092
|
// ES5引入方式
|
|
2093
|
-
const { BaseServer,ResponseInterceptor } =
|
|
2093
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
2094
2094
|
// ES6引入方式
|
|
2095
2095
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
2096
2096
|
let BaseServer = new BaseServer({
|
|
@@ -2500,8 +2500,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
2500
2500
|
|
|
2501
2501
|
<pre class="prettyprint"><code>//设置token值
|
|
2502
2502
|
// ES5引入方式
|
|
2503
|
-
const { BaseServer } =
|
|
2504
|
-
const { TokenAttachType } =
|
|
2503
|
+
const { BaseServer } = zondy.service
|
|
2504
|
+
const { TokenAttachType } = zondy.enum
|
|
2505
2505
|
// ES6引入方式
|
|
2506
2506
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
2507
2507
|
let BaseServer = new BaseServer({
|
|
@@ -2602,7 +2602,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
2602
2602
|
|
|
2603
2603
|
<pre class="prettyprint"><code>//设置token名
|
|
2604
2604
|
// ES5引入方式
|
|
2605
|
-
const { BaseServer } =
|
|
2605
|
+
const { BaseServer } = zondy.service
|
|
2606
2606
|
// ES6引入方式
|
|
2607
2607
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2608
2608
|
let BaseServer = new BaseServer({
|
|
@@ -2699,7 +2699,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
2699
2699
|
|
|
2700
2700
|
<pre class="prettyprint"><code>//设置token值
|
|
2701
2701
|
// ES5引入方式
|
|
2702
|
-
const { BaseServer } =
|
|
2702
|
+
const { BaseServer } = zondy.service
|
|
2703
2703
|
// ES6引入方式
|
|
2704
2704
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2705
2705
|
let BaseServer = new BaseServer({
|
|
@@ -3223,7 +3223,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
3223
3223
|
|
|
3224
3224
|
|
|
3225
3225
|
<pre class="prettyprint"><code>workflow.execute({
|
|
3226
|
-
method:
|
|
3226
|
+
method: zondy.enum.FetchMethod.get,
|
|
3227
3227
|
success: function (res) {
|
|
3228
3228
|
console.log("execute: ", res);
|
|
3229
3229
|
},
|
|
@@ -4475,7 +4475,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
4475
4475
|
<div class="columns">
|
|
4476
4476
|
|
|
4477
4477
|
<div class='param-desc column is-7'><p>workflow.submit({
|
|
4478
|
-
method:
|
|
4478
|
+
method: zondy.enum.FetchMethod.get,
|
|
4479
4479
|
success: function (res) {
|
|
4480
4480
|
console.log("submit: ", res);
|
|
4481
4481
|
},
|
|
@@ -387,7 +387,7 @@
|
|
|
387
387
|
url: "http://localhost:8089/igs/rest/services/workflow/600228/WorkflowServer",
|
|
388
388
|
srcInfo: "gdbp://MapGISLocalPlus/test/sfcls/湖泊",
|
|
389
389
|
desInfo: "gdbp://MapGISLocalPlus/test/sfcls/湖泊_resultClip",
|
|
390
|
-
geometry: new
|
|
390
|
+
geometry: new zondy.geometry.Polygon({
|
|
391
391
|
coordinates: [
|
|
392
392
|
// 外圈
|
|
393
393
|
[
|
|
@@ -406,7 +406,7 @@
|
|
|
406
406
|
tolerance: 0.001,
|
|
407
407
|
});
|
|
408
408
|
workFlowServer600228.execute({
|
|
409
|
-
method:
|
|
409
|
+
method: zondy.enum.FetchMethod.get,
|
|
410
410
|
success: function (res) {
|
|
411
411
|
console.log("execute: ", res);
|
|
412
412
|
},
|
|
@@ -1218,7 +1218,7 @@
|
|
|
1218
1218
|
|
|
1219
1219
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1220
1220
|
// ES5引入方式
|
|
1221
|
-
const { BaseServer } =
|
|
1221
|
+
const { BaseServer } = zondy.service
|
|
1222
1222
|
// ES6引入方式
|
|
1223
1223
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1224
1224
|
let BaseServer = new BaseServer({
|
|
@@ -1552,7 +1552,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
1552
1552
|
|
|
1553
1553
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
1554
1554
|
// ES5引入方式
|
|
1555
|
-
const { BaseServer } =
|
|
1555
|
+
const { BaseServer } = zondy.service
|
|
1556
1556
|
// ES6引入方式
|
|
1557
1557
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1558
1558
|
let BaseServer = new BaseServer({
|
|
@@ -1804,7 +1804,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
1804
1804
|
|
|
1805
1805
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1806
1806
|
// ES5引入方式
|
|
1807
|
-
const { BaseServer,RequestInterceptor } =
|
|
1807
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
1808
1808
|
// ES6引入方式
|
|
1809
1809
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
1810
1810
|
let BaseServer = new BaseServer({
|
|
@@ -1913,7 +1913,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
1913
1913
|
<pre class="prettyprint"><code>//设置超时时间
|
|
1914
1914
|
//初始化AddressServer服务对象
|
|
1915
1915
|
// ES5引入方式
|
|
1916
|
-
const { BaseServer } =
|
|
1916
|
+
const { BaseServer } = zondy.service
|
|
1917
1917
|
// ES6引入方式
|
|
1918
1918
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1919
1919
|
let BaseServer = new BaseServer({
|
|
@@ -2010,7 +2010,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
2010
2010
|
|
|
2011
2011
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
2012
2012
|
// ES5引入方式
|
|
2013
|
-
const { BaseServer,ResponseInterceptor } =
|
|
2013
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
2014
2014
|
// ES6引入方式
|
|
2015
2015
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
2016
2016
|
let BaseServer = new BaseServer({
|
|
@@ -2195,8 +2195,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
2195
2195
|
|
|
2196
2196
|
<pre class="prettyprint"><code>//设置token值
|
|
2197
2197
|
// ES5引入方式
|
|
2198
|
-
const { BaseServer } =
|
|
2199
|
-
const { TokenAttachType } =
|
|
2198
|
+
const { BaseServer } = zondy.service
|
|
2199
|
+
const { TokenAttachType } = zondy.enum
|
|
2200
2200
|
// ES6引入方式
|
|
2201
2201
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
2202
2202
|
let BaseServer = new BaseServer({
|
|
@@ -2297,7 +2297,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
2297
2297
|
|
|
2298
2298
|
<pre class="prettyprint"><code>//设置token名
|
|
2299
2299
|
// ES5引入方式
|
|
2300
|
-
const { BaseServer } =
|
|
2300
|
+
const { BaseServer } = zondy.service
|
|
2301
2301
|
// ES6引入方式
|
|
2302
2302
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2303
2303
|
let BaseServer = new BaseServer({
|
|
@@ -2394,7 +2394,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
2394
2394
|
|
|
2395
2395
|
<pre class="prettyprint"><code>//设置token值
|
|
2396
2396
|
// ES5引入方式
|
|
2397
|
-
const { BaseServer } =
|
|
2397
|
+
const { BaseServer } = zondy.service
|
|
2398
2398
|
// ES6引入方式
|
|
2399
2399
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2400
2400
|
let BaseServer = new BaseServer({
|
|
@@ -2993,7 +2993,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
2993
2993
|
|
|
2994
2994
|
|
|
2995
2995
|
<pre class="prettyprint"><code>workflow.execute({
|
|
2996
|
-
method:
|
|
2996
|
+
method: zondy.enum.FetchMethod.get,
|
|
2997
2997
|
success: function (res) {
|
|
2998
2998
|
console.log("execute: ", res);
|
|
2999
2999
|
},
|
|
@@ -4245,7 +4245,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
4245
4245
|
<div class="columns">
|
|
4246
4246
|
|
|
4247
4247
|
<div class='param-desc column is-7'><p>workflow.submit({
|
|
4248
|
-
method:
|
|
4248
|
+
method: zondy.enum.FetchMethod.get,
|
|
4249
4249
|
success: function (res) {
|
|
4250
4250
|
console.log("submit: ", res);
|
|
4251
4251
|
},
|
|
@@ -450,7 +450,7 @@
|
|
|
450
450
|
tolerance: 0.001,
|
|
451
451
|
});
|
|
452
452
|
workFlowServer600229.execute({
|
|
453
|
-
method:
|
|
453
|
+
method: zondy.enum.FetchMethod.get,
|
|
454
454
|
success: function (res) {
|
|
455
455
|
console.log("execute: ", res);
|
|
456
456
|
},
|
|
@@ -1373,7 +1373,7 @@
|
|
|
1373
1373
|
|
|
1374
1374
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1375
1375
|
// ES5引入方式
|
|
1376
|
-
const { BaseServer } =
|
|
1376
|
+
const { BaseServer } = zondy.service
|
|
1377
1377
|
// ES6引入方式
|
|
1378
1378
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1379
1379
|
let BaseServer = new BaseServer({
|
|
@@ -1632,7 +1632,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
1632
1632
|
|
|
1633
1633
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
1634
1634
|
// ES5引入方式
|
|
1635
|
-
const { BaseServer } =
|
|
1635
|
+
const { BaseServer } = zondy.service
|
|
1636
1636
|
// ES6引入方式
|
|
1637
1637
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1638
1638
|
let BaseServer = new BaseServer({
|
|
@@ -1959,7 +1959,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
1959
1959
|
|
|
1960
1960
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1961
1961
|
// ES5引入方式
|
|
1962
|
-
const { BaseServer,RequestInterceptor } =
|
|
1962
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
1963
1963
|
// ES6引入方式
|
|
1964
1964
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
1965
1965
|
let BaseServer = new BaseServer({
|
|
@@ -2068,7 +2068,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
2068
2068
|
<pre class="prettyprint"><code>//设置超时时间
|
|
2069
2069
|
//初始化AddressServer服务对象
|
|
2070
2070
|
// ES5引入方式
|
|
2071
|
-
const { BaseServer } =
|
|
2071
|
+
const { BaseServer } = zondy.service
|
|
2072
2072
|
// ES6引入方式
|
|
2073
2073
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2074
2074
|
let BaseServer = new BaseServer({
|
|
@@ -2165,7 +2165,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
2165
2165
|
|
|
2166
2166
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
2167
2167
|
// ES5引入方式
|
|
2168
|
-
const { BaseServer,ResponseInterceptor } =
|
|
2168
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
2169
2169
|
// ES6引入方式
|
|
2170
2170
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
2171
2171
|
let BaseServer = new BaseServer({
|
|
@@ -2425,8 +2425,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
2425
2425
|
|
|
2426
2426
|
<pre class="prettyprint"><code>//设置token值
|
|
2427
2427
|
// ES5引入方式
|
|
2428
|
-
const { BaseServer } =
|
|
2429
|
-
const { TokenAttachType } =
|
|
2428
|
+
const { BaseServer } = zondy.service
|
|
2429
|
+
const { TokenAttachType } = zondy.enum
|
|
2430
2430
|
// ES6引入方式
|
|
2431
2431
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
2432
2432
|
let BaseServer = new BaseServer({
|
|
@@ -2527,7 +2527,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
2527
2527
|
|
|
2528
2528
|
<pre class="prettyprint"><code>//设置token名
|
|
2529
2529
|
// ES5引入方式
|
|
2530
|
-
const { BaseServer } =
|
|
2530
|
+
const { BaseServer } = zondy.service
|
|
2531
2531
|
// ES6引入方式
|
|
2532
2532
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2533
2533
|
let BaseServer = new BaseServer({
|
|
@@ -2624,7 +2624,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
2624
2624
|
|
|
2625
2625
|
<pre class="prettyprint"><code>//设置token值
|
|
2626
2626
|
// ES5引入方式
|
|
2627
|
-
const { BaseServer } =
|
|
2627
|
+
const { BaseServer } = zondy.service
|
|
2628
2628
|
// ES6引入方式
|
|
2629
2629
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2630
2630
|
let BaseServer = new BaseServer({
|
|
@@ -3223,7 +3223,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
3223
3223
|
|
|
3224
3224
|
|
|
3225
3225
|
<pre class="prettyprint"><code>workflow.execute({
|
|
3226
|
-
method:
|
|
3226
|
+
method: zondy.enum.FetchMethod.get,
|
|
3227
3227
|
success: function (res) {
|
|
3228
3228
|
console.log("execute: ", res);
|
|
3229
3229
|
},
|
|
@@ -4475,7 +4475,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
4475
4475
|
<div class="columns">
|
|
4476
4476
|
|
|
4477
4477
|
<div class='param-desc column is-7'><p>workflow.submit({
|
|
4478
|
-
method:
|
|
4478
|
+
method: zondy.enum.FetchMethod.get,
|
|
4479
4479
|
success: function (res) {
|
|
4480
4480
|
console.log("submit: ", res);
|
|
4481
4481
|
},
|
|
@@ -448,7 +448,7 @@
|
|
|
448
448
|
tolerance: 0.001,
|
|
449
449
|
});
|
|
450
450
|
workFlowServer600230.execute({
|
|
451
|
-
method:
|
|
451
|
+
method: zondy.enum.FetchMethod.get,
|
|
452
452
|
success: function (res) {
|
|
453
453
|
console.log("execute: ", res);
|
|
454
454
|
},
|
|
@@ -1296,7 +1296,7 @@
|
|
|
1296
1296
|
|
|
1297
1297
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1298
1298
|
// ES5引入方式
|
|
1299
|
-
const { BaseServer } =
|
|
1299
|
+
const { BaseServer } = zondy.service
|
|
1300
1300
|
// ES6引入方式
|
|
1301
1301
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1302
1302
|
let BaseServer = new BaseServer({
|
|
@@ -1555,7 +1555,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
1555
1555
|
|
|
1556
1556
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
1557
1557
|
// ES5引入方式
|
|
1558
|
-
const { BaseServer } =
|
|
1558
|
+
const { BaseServer } = zondy.service
|
|
1559
1559
|
// ES6引入方式
|
|
1560
1560
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1561
1561
|
let BaseServer = new BaseServer({
|
|
@@ -1807,7 +1807,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
1807
1807
|
|
|
1808
1808
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1809
1809
|
// ES5引入方式
|
|
1810
|
-
const { BaseServer,RequestInterceptor } =
|
|
1810
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
1811
1811
|
// ES6引入方式
|
|
1812
1812
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
1813
1813
|
let BaseServer = new BaseServer({
|
|
@@ -1916,7 +1916,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
1916
1916
|
<pre class="prettyprint"><code>//设置超时时间
|
|
1917
1917
|
//初始化AddressServer服务对象
|
|
1918
1918
|
// ES5引入方式
|
|
1919
|
-
const { BaseServer } =
|
|
1919
|
+
const { BaseServer } = zondy.service
|
|
1920
1920
|
// ES6引入方式
|
|
1921
1921
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1922
1922
|
let BaseServer = new BaseServer({
|
|
@@ -2013,7 +2013,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
2013
2013
|
|
|
2014
2014
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
2015
2015
|
// ES5引入方式
|
|
2016
|
-
const { BaseServer,ResponseInterceptor } =
|
|
2016
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
2017
2017
|
// ES6引入方式
|
|
2018
2018
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
2019
2019
|
let BaseServer = new BaseServer({
|
|
@@ -2423,8 +2423,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
2423
2423
|
|
|
2424
2424
|
<pre class="prettyprint"><code>//设置token值
|
|
2425
2425
|
// ES5引入方式
|
|
2426
|
-
const { BaseServer } =
|
|
2427
|
-
const { TokenAttachType } =
|
|
2426
|
+
const { BaseServer } = zondy.service
|
|
2427
|
+
const { TokenAttachType } = zondy.enum
|
|
2428
2428
|
// ES6引入方式
|
|
2429
2429
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
2430
2430
|
let BaseServer = new BaseServer({
|
|
@@ -2525,7 +2525,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
2525
2525
|
|
|
2526
2526
|
<pre class="prettyprint"><code>//设置token名
|
|
2527
2527
|
// ES5引入方式
|
|
2528
|
-
const { BaseServer } =
|
|
2528
|
+
const { BaseServer } = zondy.service
|
|
2529
2529
|
// ES6引入方式
|
|
2530
2530
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2531
2531
|
let BaseServer = new BaseServer({
|
|
@@ -2622,7 +2622,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
2622
2622
|
|
|
2623
2623
|
<pre class="prettyprint"><code>//设置token值
|
|
2624
2624
|
// ES5引入方式
|
|
2625
|
-
const { BaseServer } =
|
|
2625
|
+
const { BaseServer } = zondy.service
|
|
2626
2626
|
// ES6引入方式
|
|
2627
2627
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2628
2628
|
let BaseServer = new BaseServer({
|
|
@@ -3221,7 +3221,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
3221
3221
|
|
|
3222
3222
|
|
|
3223
3223
|
<pre class="prettyprint"><code>workflow.execute({
|
|
3224
|
-
method:
|
|
3224
|
+
method: zondy.enum.FetchMethod.get,
|
|
3225
3225
|
success: function (res) {
|
|
3226
3226
|
console.log("execute: ", res);
|
|
3227
3227
|
},
|
|
@@ -4473,7 +4473,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
4473
4473
|
<div class="columns">
|
|
4474
4474
|
|
|
4475
4475
|
<div class='param-desc column is-7'><p>workflow.submit({
|
|
4476
|
-
method:
|
|
4476
|
+
method: zondy.enum.FetchMethod.get,
|
|
4477
4477
|
success: function (res) {
|
|
4478
4478
|
console.log("submit: ", res);
|
|
4479
4479
|
},
|
|
@@ -562,7 +562,7 @@
|
|
|
562
562
|
isMultiFeatureOpr: true,
|
|
563
563
|
});
|
|
564
564
|
workFlowServer600231.execute({
|
|
565
|
-
method:
|
|
565
|
+
method: zondy.enum.FetchMethod.get,
|
|
566
566
|
success: function (res) {
|
|
567
567
|
console.log("execute: ", res);
|
|
568
568
|
},
|
|
@@ -1632,7 +1632,7 @@
|
|
|
1632
1632
|
|
|
1633
1633
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1634
1634
|
// ES5引入方式
|
|
1635
|
-
const { BaseServer } =
|
|
1635
|
+
const { BaseServer } = zondy.service
|
|
1636
1636
|
// ES6引入方式
|
|
1637
1637
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1638
1638
|
let BaseServer = new BaseServer({
|
|
@@ -1966,7 +1966,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
1966
1966
|
|
|
1967
1967
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
1968
1968
|
// ES5引入方式
|
|
1969
|
-
const { BaseServer } =
|
|
1969
|
+
const { BaseServer } = zondy.service
|
|
1970
1970
|
// ES6引入方式
|
|
1971
1971
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1972
1972
|
let BaseServer = new BaseServer({
|
|
@@ -2518,7 +2518,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
2518
2518
|
|
|
2519
2519
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
2520
2520
|
// ES5引入方式
|
|
2521
|
-
const { BaseServer,RequestInterceptor } =
|
|
2521
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
2522
2522
|
// ES6引入方式
|
|
2523
2523
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
2524
2524
|
let BaseServer = new BaseServer({
|
|
@@ -2627,7 +2627,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
2627
2627
|
<pre class="prettyprint"><code>//设置超时时间
|
|
2628
2628
|
//初始化AddressServer服务对象
|
|
2629
2629
|
// ES5引入方式
|
|
2630
|
-
const { BaseServer } =
|
|
2630
|
+
const { BaseServer } = zondy.service
|
|
2631
2631
|
// ES6引入方式
|
|
2632
2632
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2633
2633
|
let BaseServer = new BaseServer({
|
|
@@ -2724,7 +2724,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
2724
2724
|
|
|
2725
2725
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
2726
2726
|
// ES5引入方式
|
|
2727
|
-
const { BaseServer,ResponseInterceptor } =
|
|
2727
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
2728
2728
|
// ES6引入方式
|
|
2729
2729
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
2730
2730
|
let BaseServer = new BaseServer({
|
|
@@ -2984,8 +2984,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
2984
2984
|
|
|
2985
2985
|
<pre class="prettyprint"><code>//设置token值
|
|
2986
2986
|
// ES5引入方式
|
|
2987
|
-
const { BaseServer } =
|
|
2988
|
-
const { TokenAttachType } =
|
|
2987
|
+
const { BaseServer } = zondy.service
|
|
2988
|
+
const { TokenAttachType } = zondy.enum
|
|
2989
2989
|
// ES6引入方式
|
|
2990
2990
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
2991
2991
|
let BaseServer = new BaseServer({
|
|
@@ -3086,7 +3086,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
3086
3086
|
|
|
3087
3087
|
<pre class="prettyprint"><code>//设置token名
|
|
3088
3088
|
// ES5引入方式
|
|
3089
|
-
const { BaseServer } =
|
|
3089
|
+
const { BaseServer } = zondy.service
|
|
3090
3090
|
// ES6引入方式
|
|
3091
3091
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
3092
3092
|
let BaseServer = new BaseServer({
|
|
@@ -3183,7 +3183,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
3183
3183
|
|
|
3184
3184
|
<pre class="prettyprint"><code>//设置token值
|
|
3185
3185
|
// ES5引入方式
|
|
3186
|
-
const { BaseServer } =
|
|
3186
|
+
const { BaseServer } = zondy.service
|
|
3187
3187
|
// ES6引入方式
|
|
3188
3188
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
3189
3189
|
let BaseServer = new BaseServer({
|
|
@@ -3707,7 +3707,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
3707
3707
|
|
|
3708
3708
|
|
|
3709
3709
|
<pre class="prettyprint"><code>workflow.execute({
|
|
3710
|
-
method:
|
|
3710
|
+
method: zondy.enum.FetchMethod.get,
|
|
3711
3711
|
success: function (res) {
|
|
3712
3712
|
console.log("execute: ", res);
|
|
3713
3713
|
},
|
|
@@ -4959,7 +4959,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
4959
4959
|
<div class="columns">
|
|
4960
4960
|
|
|
4961
4961
|
<div class='param-desc column is-7'><p>workflow.submit({
|
|
4962
|
-
method:
|
|
4962
|
+
method: zondy.enum.FetchMethod.get,
|
|
4963
4963
|
success: function (res) {
|
|
4964
4964
|
console.log("submit: ", res);
|
|
4965
4965
|
},
|
|
@@ -437,7 +437,7 @@
|
|
|
437
437
|
<h5>示例</h5>
|
|
438
438
|
|
|
439
439
|
|
|
440
|
-
<pre class="prettyprint"><code>const workFlowServer600232 = new
|
|
440
|
+
<pre class="prettyprint"><code>const workFlowServer600232 = new zondy.service.WorkFlowServer600232({
|
|
441
441
|
url: "http://localhost:8089/igs/rest/services/workflow/600232/WorkflowServer",
|
|
442
442
|
srcInfo: "gdbp://MapGISLocalPlus/test/sfcls/林地-gs",
|
|
443
443
|
desInfo: "gdbp://MapGISLocalPlus/test/sfcls/林地-gs-buffer" + Math.random(),
|
|
@@ -450,7 +450,7 @@
|
|
|
450
450
|
isMultiFeatureOpr: false,
|
|
451
451
|
});
|
|
452
452
|
workFlowServer600232.execute({
|
|
453
|
-
method:
|
|
453
|
+
method: zondy.enum.FetchMethod.get,
|
|
454
454
|
success: function (res) {
|
|
455
455
|
console.log("execute: ", res);
|
|
456
456
|
},
|
|
@@ -1373,7 +1373,7 @@
|
|
|
1373
1373
|
|
|
1374
1374
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1375
1375
|
// ES5引入方式
|
|
1376
|
-
const { BaseServer } =
|
|
1376
|
+
const { BaseServer } = zondy.service
|
|
1377
1377
|
// ES6引入方式
|
|
1378
1378
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1379
1379
|
let BaseServer = new BaseServer({
|
|
@@ -1632,7 +1632,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
1632
1632
|
|
|
1633
1633
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
1634
1634
|
// ES5引入方式
|
|
1635
|
-
const { BaseServer } =
|
|
1635
|
+
const { BaseServer } = zondy.service
|
|
1636
1636
|
// ES6引入方式
|
|
1637
1637
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1638
1638
|
let BaseServer = new BaseServer({
|
|
@@ -2109,7 +2109,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
2109
2109
|
|
|
2110
2110
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
2111
2111
|
// ES5引入方式
|
|
2112
|
-
const { BaseServer,RequestInterceptor } =
|
|
2112
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
2113
2113
|
// ES6引入方式
|
|
2114
2114
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
2115
2115
|
let BaseServer = new BaseServer({
|
|
@@ -2218,7 +2218,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
2218
2218
|
<pre class="prettyprint"><code>//设置超时时间
|
|
2219
2219
|
//初始化AddressServer服务对象
|
|
2220
2220
|
// ES5引入方式
|
|
2221
|
-
const { BaseServer } =
|
|
2221
|
+
const { BaseServer } = zondy.service
|
|
2222
2222
|
// ES6引入方式
|
|
2223
2223
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2224
2224
|
let BaseServer = new BaseServer({
|
|
@@ -2315,7 +2315,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
2315
2315
|
|
|
2316
2316
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
2317
2317
|
// ES5引入方式
|
|
2318
|
-
const { BaseServer,ResponseInterceptor } =
|
|
2318
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
2319
2319
|
// ES6引入方式
|
|
2320
2320
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
2321
2321
|
let BaseServer = new BaseServer({
|
|
@@ -2500,8 +2500,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
2500
2500
|
|
|
2501
2501
|
<pre class="prettyprint"><code>//设置token值
|
|
2502
2502
|
// ES5引入方式
|
|
2503
|
-
const { BaseServer } =
|
|
2504
|
-
const { TokenAttachType } =
|
|
2503
|
+
const { BaseServer } = zondy.service
|
|
2504
|
+
const { TokenAttachType } = zondy.enum
|
|
2505
2505
|
// ES6引入方式
|
|
2506
2506
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
2507
2507
|
let BaseServer = new BaseServer({
|
|
@@ -2602,7 +2602,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
2602
2602
|
|
|
2603
2603
|
<pre class="prettyprint"><code>//设置token名
|
|
2604
2604
|
// ES5引入方式
|
|
2605
|
-
const { BaseServer } =
|
|
2605
|
+
const { BaseServer } = zondy.service
|
|
2606
2606
|
// ES6引入方式
|
|
2607
2607
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2608
2608
|
let BaseServer = new BaseServer({
|
|
@@ -2699,7 +2699,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
2699
2699
|
|
|
2700
2700
|
<pre class="prettyprint"><code>//设置token值
|
|
2701
2701
|
// ES5引入方式
|
|
2702
|
-
const { BaseServer } =
|
|
2702
|
+
const { BaseServer } = zondy.service
|
|
2703
2703
|
// ES6引入方式
|
|
2704
2704
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2705
2705
|
let BaseServer = new BaseServer({
|
|
@@ -3223,7 +3223,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
3223
3223
|
|
|
3224
3224
|
|
|
3225
3225
|
<pre class="prettyprint"><code>workflow.execute({
|
|
3226
|
-
method:
|
|
3226
|
+
method: zondy.enum.FetchMethod.get,
|
|
3227
3227
|
success: function (res) {
|
|
3228
3228
|
console.log("execute: ", res);
|
|
3229
3229
|
},
|
|
@@ -4475,7 +4475,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
4475
4475
|
<div class="columns">
|
|
4476
4476
|
|
|
4477
4477
|
<div class='param-desc column is-7'><p>workflow.submit({
|
|
4478
|
-
method:
|
|
4478
|
+
method: zondy.enum.FetchMethod.get,
|
|
4479
4479
|
success: function (res) {
|
|
4480
4480
|
console.log("submit: ", res);
|
|
4481
4481
|
},
|