|
|
@@ -275,8 +275,14 @@ export default {
|
|
|
},
|
|
|
contentType: 'application/json',
|
|
|
data: JSON.stringify(infoQueryParam),
|
|
|
- success: function (data) {
|
|
|
+ success: function (response) {
|
|
|
_self.loading = false;
|
|
|
+ if(response.errorCode != 0){
|
|
|
+ Notify.error('Error', response.errorMessage, false);
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ const data = response.data;
|
|
|
+
|
|
|
if (data != undefined && data.range != undefined) {
|
|
|
if (isDelete === true) {
|
|
|
if (deleteData && deleteData.length > 0) {
|
|
|
@@ -326,8 +332,14 @@ export default {
|
|
|
},
|
|
|
contentType: 'application/json',
|
|
|
data: JSON.stringify(infoQueryParam),
|
|
|
- success: function (data) {
|
|
|
+ success: function (response) {
|
|
|
_self.loading = false;
|
|
|
+ if(response.errorCode != 0){
|
|
|
+ Notify.error('Error', response.errorMessage, false);
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
+ const data = response.data;
|
|
|
if (data != undefined && data.range != undefined) {
|
|
|
if (isDelete === true) {
|
|
|
if (deleteData && deleteData.length > 0) {
|