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.common.js
CHANGED
|
@@ -27815,6 +27815,7 @@ let dept_ry = {
|
|
|
27815
27815
|
//同步新成员到gis
|
|
27816
27816
|
url: '/common-gis-web/data/gispos/addPersion',
|
|
27817
27817
|
method: 'POST',
|
|
27818
|
+
contentType: 'application/json;charset=utf-8',
|
|
27818
27819
|
requestParam: {
|
|
27819
27820
|
token: '',
|
|
27820
27821
|
name: '',
|
|
@@ -31410,7 +31411,7 @@ let $ = __webpack_require__("1157");
|
|
|
31410
31411
|
*/
|
|
31411
31412
|
|
|
31412
31413
|
|
|
31413
|
-
const loadJson = function (url, param, backSuccfn, async, method, headers) {
|
|
31414
|
+
const loadJson = function (url, param, backSuccfn, async, method, headers, contentType) {
|
|
31414
31415
|
method = method ? method : 'POST';
|
|
31415
31416
|
async = async == undefined || async == '' ? true : async;
|
|
31416
31417
|
|
|
@@ -31437,6 +31438,9 @@ const loadJson = function (url, param, backSuccfn, async, method, headers) {
|
|
|
31437
31438
|
'async': async
|
|
31438
31439
|
};
|
|
31439
31440
|
if (headers) Object.assign(ajaxContent, headers);
|
|
31441
|
+
if (contentType) Object.assign(ajaxContent, {
|
|
31442
|
+
contentType
|
|
31443
|
+
});
|
|
31440
31444
|
$.ajax(ajaxContent).fail(function (jqXHR, sts) {
|
|
31441
31445
|
console.error('加载数据失败:' + sts + ", " + url);
|
|
31442
31446
|
}).done(function (ret) {
|
|
@@ -32257,7 +32261,7 @@ const deptRyOp = sip => {
|
|
|
32257
32261
|
console.log("创建成员定位到GIS失败", ret.code);
|
|
32258
32262
|
reject(ret.code);
|
|
32259
32263
|
}
|
|
32260
|
-
}, '', net.method);
|
|
32264
|
+
}, '', net.method, param.contentType);
|
|
32261
32265
|
});
|
|
32262
32266
|
},
|
|
32263
32267
|
add: function (param) {
|
|
Binary file
|