|
@@ -997,9 +997,9 @@ export default {
|
|
|
$.ajax({
|
|
$.ajax({
|
|
|
url: Common.getApiURL('AssetInstanceResource/findAssetInstanceById'),
|
|
url: Common.getApiURL('AssetInstanceResource/findAssetInstanceById'),
|
|
|
type: 'post',
|
|
type: 'post',
|
|
|
- data: {
|
|
|
|
|
|
|
+ data: JSON.stringify({
|
|
|
'assetInstanceId': assetInstanceId,
|
|
'assetInstanceId': assetInstanceId,
|
|
|
- },
|
|
|
|
|
|
|
+ }),
|
|
|
contentType: 'application/json',
|
|
contentType: 'application/json',
|
|
|
beforeSend: function (request) {
|
|
beforeSend: function (request) {
|
|
|
Common.addTokenToRequest(request);
|
|
Common.addTokenToRequest(request);
|