ucservice 2.0.1 → 2.0.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/dist/ucservice.common.js +6 -2
- package/dist/ucservice.common.js.gz +0 -0
- package/dist/ucservice.common.js.map +1 -1
- package/dist/ucservice.umd.js +6 -2
- package/dist/ucservice.umd.js.gz +0 -0
- package/dist/ucservice.umd.js.map +1 -1
- package/dist/ucservice.umd.min.js +1 -1
- 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
|
@@ -27824,6 +27824,7 @@ let dept_ry = {
|
|
|
27824
27824
|
//同步新成员到gis
|
|
27825
27825
|
url: '/common-gis-web/data/gispos/addPersion',
|
|
27826
27826
|
method: 'POST',
|
|
27827
|
+
contentType: 'application/json;charset=utf-8',
|
|
27827
27828
|
requestParam: {
|
|
27828
27829
|
token: '',
|
|
27829
27830
|
name: '',
|
|
@@ -31419,7 +31420,7 @@ let $ = __webpack_require__("1157");
|
|
|
31419
31420
|
*/
|
|
31420
31421
|
|
|
31421
31422
|
|
|
31422
|
-
const loadJson = function (url, param, backSuccfn, async, method, headers) {
|
|
31423
|
+
const loadJson = function (url, param, backSuccfn, async, method, headers, contentType) {
|
|
31423
31424
|
method = method ? method : 'POST';
|
|
31424
31425
|
async = async == undefined || async == '' ? true : async;
|
|
31425
31426
|
|
|
@@ -31446,6 +31447,9 @@ const loadJson = function (url, param, backSuccfn, async, method, headers) {
|
|
|
31446
31447
|
'async': async
|
|
31447
31448
|
};
|
|
31448
31449
|
if (headers) Object.assign(ajaxContent, headers);
|
|
31450
|
+
if (contentType) Object.assign(ajaxContent, {
|
|
31451
|
+
contentType
|
|
31452
|
+
});
|
|
31449
31453
|
$.ajax(ajaxContent).fail(function (jqXHR, sts) {
|
|
31450
31454
|
console.error('加载数据失败:' + sts + ", " + url);
|
|
31451
31455
|
}).done(function (ret) {
|
|
@@ -32266,7 +32270,7 @@ const deptRyOp = sip => {
|
|
|
32266
32270
|
console.log("创建成员定位到GIS失败", ret.code);
|
|
32267
32271
|
reject(ret.code);
|
|
32268
32272
|
}
|
|
32269
|
-
}, '', net.method);
|
|
32273
|
+
}, '', net.method, param.contentType);
|
|
32270
32274
|
});
|
|
32271
32275
|
},
|
|
32272
32276
|
add: function (param) {
|
package/dist/ucservice.umd.js.gz
CHANGED
|
Binary file
|