ucservice 2.0.7 → 2.0.8
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/dist/ucservice.common.js +12 -1
- package/dist/ucservice.common.js.gz +0 -0
- package/dist/ucservice.common.js.map +1 -1
- package/dist/ucservice.umd.js +12 -1
- package/dist/ucservice.umd.js.gz +0 -0
- package/dist/ucservice.umd.js.map +1 -1
- package/dist/ucservice.umd.min.js +2 -2
- package/dist/ucservice.umd.min.js.gz +0 -0
- package/dist/ucservice.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/ucservice.umd.js
CHANGED
|
@@ -27825,6 +27825,7 @@ let dept_ry = {
|
|
|
27825
27825
|
url: '/common-gis-web/data/gispos/addPersion',
|
|
27826
27826
|
method: 'POST',
|
|
27827
27827
|
contentType: 'application/json;charset=utf-8',
|
|
27828
|
+
paramOnUrl: ['token'],
|
|
27828
27829
|
requestParam: {
|
|
27829
27830
|
token: '',
|
|
27830
27831
|
name: '',
|
|
@@ -32268,8 +32269,18 @@ const deptRyOp = sip => {
|
|
|
32268
32269
|
},
|
|
32269
32270
|
createOnGis: function (param) {
|
|
32270
32271
|
let net = dept_ry_url.createOnGis;
|
|
32272
|
+
let urlParamString = '';
|
|
32273
|
+
|
|
32274
|
+
if (net.paramOnUrl) {
|
|
32275
|
+
net.paramOnUrl.forEach(key => {
|
|
32276
|
+
urlParamString && (urlParamString += '&');
|
|
32277
|
+
urlParamString += `${key}=${param[key]}`;
|
|
32278
|
+
delete param[key];
|
|
32279
|
+
});
|
|
32280
|
+
}
|
|
32281
|
+
|
|
32271
32282
|
return new Promise((resolve, reject) => {
|
|
32272
|
-
loadJson(server_ + net.url, { ...param
|
|
32283
|
+
loadJson(server_ + net.url + (urlParamString ? '?' + urlParamString : ''), { ...param
|
|
32273
32284
|
}, function (ret) {
|
|
32274
32285
|
if (ret.code == 0) {
|
|
32275
32286
|
resolve(ret);
|
package/dist/ucservice.umd.js.gz
CHANGED
|
Binary file
|