소스 검색

CustomerWindowResource/uniqueByNo 优化。

YangZhiJie 1 년 전
부모
커밋
05d3a263a1
1개의 변경된 파일10개의 추가작업 그리고 1개의 파일을 삭제
  1. 10 1
      packages/info/src/QueryPage.vue

+ 10 - 1
packages/info/src/QueryPage.vue

@@ -667,7 +667,16 @@ export default {
         infoButton.customerWindowNo.length > 0
       ) {
         CustomerWindowResource.uniqueByNo(infoButton.customerWindowNo).then(
-          customerWindowDto => {
+          successData => {
+
+            if (successData.errorCode != 0) {
+              Notify.error(_self.$t('lang.Notify.error'), successData.errorMessage, true);
+              return;
+            }
+
+            const customerWindowDto = successData.data;
+
+
             var customerWindowRouteUrl = customerWindowDto.routeUrl;
             if (
               customerWindowRouteUrl != undefined &&