Browse Source

机构介绍新增问题

19266 1 year ago
parent
commit
1dc3342a78
1 changed files with 2 additions and 2 deletions
  1. 2 2
      ruoyi-ui/src/views/organization/jggl/jcxx/index.vue

+ 2 - 2
ruoyi-ui/src/views/organization/jggl/jcxx/index.vue

@@ -1630,12 +1630,12 @@ export default {
               szxzqh: szxzqh
             }
 	          console.log(pamar, 'pamar')
-            if(this.form2.id!=null){
+
+            if(this.form2.jgid!=null){
               updateJgjs(this.form2);
             }else{
               this.form2.jgid=this.form.id;
               addJgjs(this.form2);
-
               getJgjs(this.form.id).then(response => {
                 if(response.data!=null) {
                   this.form2 = response.data