@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
|
@@ -421,7 +421,7 @@
|
|
|
421
421
|
outFormat: "JSON",
|
|
422
422
|
});
|
|
423
423
|
workFlowServer600354.execute({
|
|
424
|
-
method:
|
|
424
|
+
method: zondy.enum.FetchMethod.get,
|
|
425
425
|
success: function (res) {
|
|
426
426
|
console.log("execute: ", res);
|
|
427
427
|
},
|
|
@@ -1326,7 +1326,7 @@
|
|
|
1326
1326
|
|
|
1327
1327
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1328
1328
|
// ES5引入方式
|
|
1329
|
-
const { BaseServer } =
|
|
1329
|
+
const { BaseServer } = zondy.service
|
|
1330
1330
|
// ES6引入方式
|
|
1331
1331
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1332
1332
|
let BaseServer = new BaseServer({
|
|
@@ -1735,7 +1735,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
1735
1735
|
|
|
1736
1736
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
1737
1737
|
// ES5引入方式
|
|
1738
|
-
const { BaseServer } =
|
|
1738
|
+
const { BaseServer } = zondy.service
|
|
1739
1739
|
// ES6引入方式
|
|
1740
1740
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1741
1741
|
let BaseServer = new BaseServer({
|
|
@@ -2062,7 +2062,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
2062
2062
|
|
|
2063
2063
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
2064
2064
|
// ES5引入方式
|
|
2065
|
-
const { BaseServer,RequestInterceptor } =
|
|
2065
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
2066
2066
|
// ES6引入方式
|
|
2067
2067
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
2068
2068
|
let BaseServer = new BaseServer({
|
|
@@ -2171,7 +2171,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
2171
2171
|
<pre class="prettyprint"><code>//设置超时时间
|
|
2172
2172
|
//初始化AddressServer服务对象
|
|
2173
2173
|
// ES5引入方式
|
|
2174
|
-
const { BaseServer } =
|
|
2174
|
+
const { BaseServer } = zondy.service
|
|
2175
2175
|
// ES6引入方式
|
|
2176
2176
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2177
2177
|
let BaseServer = new BaseServer({
|
|
@@ -2268,7 +2268,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
2268
2268
|
|
|
2269
2269
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
2270
2270
|
// ES5引入方式
|
|
2271
|
-
const { BaseServer,ResponseInterceptor } =
|
|
2271
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
2272
2272
|
// ES6引入方式
|
|
2273
2273
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
2274
2274
|
let BaseServer = new BaseServer({
|
|
@@ -2378,8 +2378,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
2378
2378
|
|
|
2379
2379
|
<pre class="prettyprint"><code>//设置token值
|
|
2380
2380
|
// ES5引入方式
|
|
2381
|
-
const { BaseServer } =
|
|
2382
|
-
const { TokenAttachType } =
|
|
2381
|
+
const { BaseServer } = zondy.service
|
|
2382
|
+
const { TokenAttachType } = zondy.enum
|
|
2383
2383
|
// ES6引入方式
|
|
2384
2384
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
2385
2385
|
let BaseServer = new BaseServer({
|
|
@@ -2480,7 +2480,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
2480
2480
|
|
|
2481
2481
|
<pre class="prettyprint"><code>//设置token名
|
|
2482
2482
|
// ES5引入方式
|
|
2483
|
-
const { BaseServer } =
|
|
2483
|
+
const { BaseServer } = zondy.service
|
|
2484
2484
|
// ES6引入方式
|
|
2485
2485
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2486
2486
|
let BaseServer = new BaseServer({
|
|
@@ -2577,7 +2577,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
2577
2577
|
|
|
2578
2578
|
<pre class="prettyprint"><code>//设置token值
|
|
2579
2579
|
// ES5引入方式
|
|
2580
|
-
const { BaseServer } =
|
|
2580
|
+
const { BaseServer } = zondy.service
|
|
2581
2581
|
// ES6引入方式
|
|
2582
2582
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2583
2583
|
let BaseServer = new BaseServer({
|
|
@@ -3101,7 +3101,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
3101
3101
|
|
|
3102
3102
|
|
|
3103
3103
|
<pre class="prettyprint"><code>workflow.execute({
|
|
3104
|
-
method:
|
|
3104
|
+
method: zondy.enum.FetchMethod.get,
|
|
3105
3105
|
success: function (res) {
|
|
3106
3106
|
console.log("execute: ", res);
|
|
3107
3107
|
},
|
|
@@ -4353,7 +4353,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
4353
4353
|
<div class="columns">
|
|
4354
4354
|
|
|
4355
4355
|
<div class='param-desc column is-7'><p>workflow.submit({
|
|
4356
|
-
method:
|
|
4356
|
+
method: zondy.enum.FetchMethod.get,
|
|
4357
4357
|
success: function (res) {
|
|
4358
4358
|
console.log("submit: ", res);
|
|
4359
4359
|
},
|
|
@@ -310,7 +310,7 @@
|
|
|
310
310
|
FID2: "1",
|
|
311
311
|
});
|
|
312
312
|
workFlowServer600368.execute({
|
|
313
|
-
method:
|
|
313
|
+
method: zondy.enum.FetchMethod.get,
|
|
314
314
|
success: function (res) {
|
|
315
315
|
console.log("execute: ", res);
|
|
316
316
|
},
|
|
@@ -918,7 +918,7 @@
|
|
|
918
918
|
|
|
919
919
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
920
920
|
// ES5引入方式
|
|
921
|
-
const { BaseServer } =
|
|
921
|
+
const { BaseServer } = zondy.service
|
|
922
922
|
// ES6引入方式
|
|
923
923
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
924
924
|
let BaseServer = new BaseServer({
|
|
@@ -1327,7 +1327,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
1327
1327
|
|
|
1328
1328
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
1329
1329
|
// ES5引入方式
|
|
1330
|
-
const { BaseServer } =
|
|
1330
|
+
const { BaseServer } = zondy.service
|
|
1331
1331
|
// ES6引入方式
|
|
1332
1332
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1333
1333
|
let BaseServer = new BaseServer({
|
|
@@ -1429,7 +1429,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
1429
1429
|
|
|
1430
1430
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1431
1431
|
// ES5引入方式
|
|
1432
|
-
const { BaseServer,RequestInterceptor } =
|
|
1432
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
1433
1433
|
// ES6引入方式
|
|
1434
1434
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
1435
1435
|
let BaseServer = new BaseServer({
|
|
@@ -1538,7 +1538,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
1538
1538
|
<pre class="prettyprint"><code>//设置超时时间
|
|
1539
1539
|
//初始化AddressServer服务对象
|
|
1540
1540
|
// ES5引入方式
|
|
1541
|
-
const { BaseServer } =
|
|
1541
|
+
const { BaseServer } = zondy.service
|
|
1542
1542
|
// ES6引入方式
|
|
1543
1543
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1544
1544
|
let BaseServer = new BaseServer({
|
|
@@ -1635,7 +1635,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
1635
1635
|
|
|
1636
1636
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1637
1637
|
// ES5引入方式
|
|
1638
|
-
const { BaseServer,ResponseInterceptor } =
|
|
1638
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
1639
1639
|
// ES6引入方式
|
|
1640
1640
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
1641
1641
|
let BaseServer = new BaseServer({
|
|
@@ -1895,8 +1895,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
1895
1895
|
|
|
1896
1896
|
<pre class="prettyprint"><code>//设置token值
|
|
1897
1897
|
// ES5引入方式
|
|
1898
|
-
const { BaseServer } =
|
|
1899
|
-
const { TokenAttachType } =
|
|
1898
|
+
const { BaseServer } = zondy.service
|
|
1899
|
+
const { TokenAttachType } = zondy.enum
|
|
1900
1900
|
// ES6引入方式
|
|
1901
1901
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
1902
1902
|
let BaseServer = new BaseServer({
|
|
@@ -1997,7 +1997,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
1997
1997
|
|
|
1998
1998
|
<pre class="prettyprint"><code>//设置token名
|
|
1999
1999
|
// ES5引入方式
|
|
2000
|
-
const { BaseServer } =
|
|
2000
|
+
const { BaseServer } = zondy.service
|
|
2001
2001
|
// ES6引入方式
|
|
2002
2002
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2003
2003
|
let BaseServer = new BaseServer({
|
|
@@ -2094,7 +2094,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
2094
2094
|
|
|
2095
2095
|
<pre class="prettyprint"><code>//设置token值
|
|
2096
2096
|
// ES5引入方式
|
|
2097
|
-
const { BaseServer } =
|
|
2097
|
+
const { BaseServer } = zondy.service
|
|
2098
2098
|
// ES6引入方式
|
|
2099
2099
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2100
2100
|
let BaseServer = new BaseServer({
|
|
@@ -2618,7 +2618,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
2618
2618
|
|
|
2619
2619
|
|
|
2620
2620
|
<pre class="prettyprint"><code>workflow.execute({
|
|
2621
|
-
method:
|
|
2621
|
+
method: zondy.enum.FetchMethod.get,
|
|
2622
2622
|
success: function (res) {
|
|
2623
2623
|
console.log("execute: ", res);
|
|
2624
2624
|
},
|
|
@@ -3870,7 +3870,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
3870
3870
|
<div class="columns">
|
|
3871
3871
|
|
|
3872
3872
|
<div class='param-desc column is-7'><p>workflow.submit({
|
|
3873
|
-
method:
|
|
3873
|
+
method: zondy.enum.FetchMethod.get,
|
|
3874
3874
|
success: function (res) {
|
|
3875
3875
|
console.log("submit: ", res);
|
|
3876
3876
|
},
|
|
@@ -392,7 +392,7 @@
|
|
|
392
392
|
radius: "0.01",
|
|
393
393
|
});
|
|
394
394
|
workFlowServer600369.execute({
|
|
395
|
-
method:
|
|
395
|
+
method: zondy.enum.FetchMethod.get,
|
|
396
396
|
success: function (res) {
|
|
397
397
|
console.log("execute: ", res);
|
|
398
398
|
},
|
|
@@ -1129,7 +1129,7 @@
|
|
|
1129
1129
|
|
|
1130
1130
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1131
1131
|
// ES5引入方式
|
|
1132
|
-
const { BaseServer } =
|
|
1132
|
+
const { BaseServer } = zondy.service
|
|
1133
1133
|
// ES6引入方式
|
|
1134
1134
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1135
1135
|
let BaseServer = new BaseServer({
|
|
@@ -1538,7 +1538,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
1538
1538
|
|
|
1539
1539
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
1540
1540
|
// ES5引入方式
|
|
1541
|
-
const { BaseServer } =
|
|
1541
|
+
const { BaseServer } = zondy.service
|
|
1542
1542
|
// ES6引入方式
|
|
1543
1543
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1544
1544
|
let BaseServer = new BaseServer({
|
|
@@ -1715,7 +1715,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
1715
1715
|
|
|
1716
1716
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1717
1717
|
// ES5引入方式
|
|
1718
|
-
const { BaseServer,RequestInterceptor } =
|
|
1718
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
1719
1719
|
// ES6引入方式
|
|
1720
1720
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
1721
1721
|
let BaseServer = new BaseServer({
|
|
@@ -1824,7 +1824,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
1824
1824
|
<pre class="prettyprint"><code>//设置超时时间
|
|
1825
1825
|
//初始化AddressServer服务对象
|
|
1826
1826
|
// ES5引入方式
|
|
1827
|
-
const { BaseServer } =
|
|
1827
|
+
const { BaseServer } = zondy.service
|
|
1828
1828
|
// ES6引入方式
|
|
1829
1829
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1830
1830
|
let BaseServer = new BaseServer({
|
|
@@ -1921,7 +1921,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
1921
1921
|
|
|
1922
1922
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1923
1923
|
// ES5引入方式
|
|
1924
|
-
const { BaseServer,ResponseInterceptor } =
|
|
1924
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
1925
1925
|
// ES6引入方式
|
|
1926
1926
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
1927
1927
|
let BaseServer = new BaseServer({
|
|
@@ -2256,8 +2256,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
2256
2256
|
|
|
2257
2257
|
<pre class="prettyprint"><code>//设置token值
|
|
2258
2258
|
// ES5引入方式
|
|
2259
|
-
const { BaseServer } =
|
|
2260
|
-
const { TokenAttachType } =
|
|
2259
|
+
const { BaseServer } = zondy.service
|
|
2260
|
+
const { TokenAttachType } = zondy.enum
|
|
2261
2261
|
// ES6引入方式
|
|
2262
2262
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
2263
2263
|
let BaseServer = new BaseServer({
|
|
@@ -2358,7 +2358,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
2358
2358
|
|
|
2359
2359
|
<pre class="prettyprint"><code>//设置token名
|
|
2360
2360
|
// ES5引入方式
|
|
2361
|
-
const { BaseServer } =
|
|
2361
|
+
const { BaseServer } = zondy.service
|
|
2362
2362
|
// ES6引入方式
|
|
2363
2363
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2364
2364
|
let BaseServer = new BaseServer({
|
|
@@ -2455,7 +2455,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
2455
2455
|
|
|
2456
2456
|
<pre class="prettyprint"><code>//设置token值
|
|
2457
2457
|
// ES5引入方式
|
|
2458
|
-
const { BaseServer } =
|
|
2458
|
+
const { BaseServer } = zondy.service
|
|
2459
2459
|
// ES6引入方式
|
|
2460
2460
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2461
2461
|
let BaseServer = new BaseServer({
|
|
@@ -2979,7 +2979,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
2979
2979
|
|
|
2980
2980
|
|
|
2981
2981
|
<pre class="prettyprint"><code>workflow.execute({
|
|
2982
|
-
method:
|
|
2982
|
+
method: zondy.enum.FetchMethod.get,
|
|
2983
2983
|
success: function (res) {
|
|
2984
2984
|
console.log("execute: ", res);
|
|
2985
2985
|
},
|
|
@@ -4231,7 +4231,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
4231
4231
|
<div class="columns">
|
|
4232
4232
|
|
|
4233
4233
|
<div class='param-desc column is-7'><p>workflow.submit({
|
|
4234
|
-
method:
|
|
4234
|
+
method: zondy.enum.FetchMethod.get,
|
|
4235
4235
|
success: function (res) {
|
|
4236
4236
|
console.log("submit: ", res);
|
|
4237
4237
|
},
|
|
@@ -363,7 +363,7 @@
|
|
|
363
363
|
expression: "I1+200",
|
|
364
364
|
});
|
|
365
365
|
workFlowServer600370.execute({
|
|
366
|
-
method:
|
|
366
|
+
method: zondy.enum.FetchMethod.get,
|
|
367
367
|
success: function (res) {
|
|
368
368
|
console.log("execute: ", res);
|
|
369
369
|
},
|
|
@@ -1232,7 +1232,7 @@
|
|
|
1232
1232
|
|
|
1233
1233
|
<pre class="prettyprint"><code>//设置请求基地址
|
|
1234
1234
|
// ES5引入方式
|
|
1235
|
-
const { BaseServer } =
|
|
1235
|
+
const { BaseServer } = zondy.service
|
|
1236
1236
|
// ES6引入方式
|
|
1237
1237
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1238
1238
|
let BaseServer = new BaseServer({
|
|
@@ -1566,7 +1566,7 @@ BaseServer.enableGlobeFetch = true;</code></pre>
|
|
|
1566
1566
|
|
|
1567
1567
|
<pre class="prettyprint"><code>//设置请求头参数
|
|
1568
1568
|
// ES5引入方式
|
|
1569
|
-
const { BaseServer } =
|
|
1569
|
+
const { BaseServer } = zondy.service
|
|
1570
1570
|
// ES6引入方式
|
|
1571
1571
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1572
1572
|
let BaseServer = new BaseServer({
|
|
@@ -1743,7 +1743,7 @@ BaseServer.headers.token = '新token';</code></pre>
|
|
|
1743
1743
|
|
|
1744
1744
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1745
1745
|
// ES5引入方式
|
|
1746
|
-
const { BaseServer,RequestInterceptor } =
|
|
1746
|
+
const { BaseServer,RequestInterceptor } = zondy.service
|
|
1747
1747
|
// ES6引入方式
|
|
1748
1748
|
import { BaseServer,RequestInterceptor } from "@mapgis/webclient-common"
|
|
1749
1749
|
let BaseServer = new BaseServer({
|
|
@@ -1852,7 +1852,7 @@ BaseServer.requestInterceptor.before = function() {};</code></pre>
|
|
|
1852
1852
|
<pre class="prettyprint"><code>//设置超时时间
|
|
1853
1853
|
//初始化AddressServer服务对象
|
|
1854
1854
|
// ES5引入方式
|
|
1855
|
-
const { BaseServer } =
|
|
1855
|
+
const { BaseServer } = zondy.service
|
|
1856
1856
|
// ES6引入方式
|
|
1857
1857
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
1858
1858
|
let BaseServer = new BaseServer({
|
|
@@ -1949,7 +1949,7 @@ BaseServer.requestTimeout = 3000;</code></pre>
|
|
|
1949
1949
|
|
|
1950
1950
|
<pre class="prettyprint"><code>//设置拦截器,任何一个继承自BaseServer的对象都可以设置,全局唯一
|
|
1951
1951
|
// ES5引入方式
|
|
1952
|
-
const { BaseServer,ResponseInterceptor } =
|
|
1952
|
+
const { BaseServer,ResponseInterceptor } = zondy.service
|
|
1953
1953
|
// ES6引入方式
|
|
1954
1954
|
import { BaseServer,ResponseInterceptor } from "@mapgis/webclient-common"
|
|
1955
1955
|
let BaseServer = new BaseServer({
|
|
@@ -2134,8 +2134,8 @@ BaseServer.responseInterceptor.success = function() {};</code></pre>
|
|
|
2134
2134
|
|
|
2135
2135
|
<pre class="prettyprint"><code>//设置token值
|
|
2136
2136
|
// ES5引入方式
|
|
2137
|
-
const { BaseServer } =
|
|
2138
|
-
const { TokenAttachType } =
|
|
2137
|
+
const { BaseServer } = zondy.service
|
|
2138
|
+
const { TokenAttachType } = zondy.enum
|
|
2139
2139
|
// ES6引入方式
|
|
2140
2140
|
import { BaseServer,TokenAttachType } from "@mapgis/webclient-common"
|
|
2141
2141
|
let BaseServer = new BaseServer({
|
|
@@ -2236,7 +2236,7 @@ BaseServer.tokenAttachType = TokenAttachType.header;</code></pre>
|
|
|
2236
2236
|
|
|
2237
2237
|
<pre class="prettyprint"><code>//设置token名
|
|
2238
2238
|
// ES5引入方式
|
|
2239
|
-
const { BaseServer } =
|
|
2239
|
+
const { BaseServer } = zondy.service
|
|
2240
2240
|
// ES6引入方式
|
|
2241
2241
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2242
2242
|
let BaseServer = new BaseServer({
|
|
@@ -2333,7 +2333,7 @@ BaseServer.tokenKey = '新tokenKey';</code></pre>
|
|
|
2333
2333
|
|
|
2334
2334
|
<pre class="prettyprint"><code>//设置token值
|
|
2335
2335
|
// ES5引入方式
|
|
2336
|
-
const { BaseServer } =
|
|
2336
|
+
const { BaseServer } = zondy.service
|
|
2337
2337
|
// ES6引入方式
|
|
2338
2338
|
import { BaseServer } from "@mapgis/webclient-common"
|
|
2339
2339
|
let BaseServer = new BaseServer({
|
|
@@ -2857,7 +2857,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
2857
2857
|
|
|
2858
2858
|
|
|
2859
2859
|
<pre class="prettyprint"><code>workflow.execute({
|
|
2860
|
-
method:
|
|
2860
|
+
method: zondy.enum.FetchMethod.get,
|
|
2861
2861
|
success: function (res) {
|
|
2862
2862
|
console.log("execute: ", res);
|
|
2863
2863
|
},
|
|
@@ -4109,7 +4109,7 @@ BaseServer.tokenValue = '新token值';</code></pre>
|
|
|
4109
4109
|
<div class="columns">
|
|
4110
4110
|
|
|
4111
4111
|
<div class='param-desc column is-7'><p>workflow.submit({
|
|
4112
|
-
method:
|
|
4112
|
+
method: zondy.enum.FetchMethod.get,
|
|
4113
4113
|
success: function (res) {
|
|
4114
4114
|
console.log("submit: ", res);
|
|
4115
4115
|
},
|