Browse Source

20221010_sun修正申请验证check

15143018065 2 years ago
parent
commit
f05a6c3b14

+ 2 - 2
ruoyi-ui/src/views/organization/zwyw/djpdsq/bgdjpdSq/index.vue

@@ -520,7 +520,7 @@ export default {
       this.valid(this.rules, 'frzjhm', this.form.frzjlx)
     },
     getJgxx(res) {
-      if (res.szlrlx == null || res.szlrlx == '') {
+      if (res.data.szlrlx == null || res.data.szlrlx == '') {
         this.$modal.msgWarning("请先备案再开启等级评定");
       }
       this.searchXydm = res.data.tyshxydm;
@@ -671,7 +671,7 @@ export default {
       if (this.user.userData.userType != '00') {
         getJgByUser().then(res => {
           if (res.data) {
-            if (res.szlrlx == null || res.szlrlx == '') {
+            if (res.data.szlrlx == null || res.data.szlrlx == '') {
               return this.$modal.msgWarning("请先备案再开启等级评定变更申请");
             }
             this.open = true;

+ 2 - 2
ruoyi-ui/src/views/organization/zwyw/djpdsq/djpdSq/index.vue

@@ -268,7 +268,7 @@ export default {
       return this.selectDictLabel(this.dict.type[type], value)
     },
     getJgxx(res) {
-      if (res.szlrlx == null || res.szlrlx == '') {
+      if (res.data.szlrlx == null || res.data.szlrlx == '') {
         this.$modal.msgWarning("请先备案再开启等级评定");
       }
       this.searchXydm = res.data.tyshxydm
@@ -416,7 +416,7 @@ export default {
       if (this.user.userData.userType != '00') {
         getJgByUser().then(res => {
           if (res.data) {
-            if (res.szlrlx == null || res.szlrlx == '') {
+            if (res.data.szlrlx == null || res.data.szlrlx == '') {
               return this.$modal.msgWarning("请先备案再开启等级评定");
             }
             this.searchXydm = res.data.tyshxydm