zhangjie 2 年之前
父節點
當前提交
8691d0c706
共有 1 個文件被更改,包括 26 次插入26 次删除
  1. 26 26
      src/modules/questions/views/OrgProperty.vue

+ 26 - 26
src/modules/questions/views/OrgProperty.vue

@@ -238,11 +238,11 @@ export default {
       form: {
       form: {
         orgId: null,
         orgId: null,
         properties: {
         properties: {
-          ROOT_ORG_QUESTION_TYPES: [],
-          ROOT_ORG_QUESTION_TYPES1: [],
-          ROOT_ORG_QUESTION_TYPES2: [],
-          ROOT_ORG_QUESTION_TYPES3: [],
-          QUESTION_TYPE_SPECIAL_SET: [],
+          // ROOT_ORG_QUESTION_TYPES: [],
+          // ROOT_ORG_QUESTION_TYPES1: [],
+          // ROOT_ORG_QUESTION_TYPES2: [],
+          // ROOT_ORG_QUESTION_TYPES3: [],
+          // QUESTION_TYPE_SPECIAL_SET: [],
           PAPER_AUDIT: "false",
           PAPER_AUDIT: "false",
           PAPER_FIRST_AUDIT: "false",
           PAPER_FIRST_AUDIT: "false",
           PAPER_SECOND_AUDIT: "false",
           PAPER_SECOND_AUDIT: "false",
@@ -296,26 +296,26 @@ export default {
       var url = QUESTION_API + "/org/allProperties/" + this.form.orgId;
       var url = QUESTION_API + "/org/allProperties/" + this.form.orgId;
       this.$httpWithMsg.get(url).then((response) => {
       this.$httpWithMsg.get(url).then((response) => {
         if (response.data) {
         if (response.data) {
-          if (response.data.ROOT_ORG_QUESTION_TYPES1) {
-            this.form.properties.ROOT_ORG_QUESTION_TYPES1 = JSON.parse(
-              response.data.ROOT_ORG_QUESTION_TYPES1
-            );
-          }
-          if (response.data.ROOT_ORG_QUESTION_TYPES2) {
-            this.form.properties.ROOT_ORG_QUESTION_TYPES2 = JSON.parse(
-              response.data.ROOT_ORG_QUESTION_TYPES2
-            );
-          }
-          if (response.data.ROOT_ORG_QUESTION_TYPES3) {
-            this.form.properties.ROOT_ORG_QUESTION_TYPES3 = JSON.parse(
-              response.data.ROOT_ORG_QUESTION_TYPES3
-            );
-          }
-          if (response.data.QUESTION_TYPE_SPECIAL_SET) {
-            this.form.properties.QUESTION_TYPE_SPECIAL_SET = JSON.parse(
-              response.data.QUESTION_TYPE_SPECIAL_SET
-            );
-          }
+          // if (response.data.ROOT_ORG_QUESTION_TYPES1) {
+          //   this.form.properties.ROOT_ORG_QUESTION_TYPES1 = JSON.parse(
+          //     response.data.ROOT_ORG_QUESTION_TYPES1
+          //   );
+          // }
+          // if (response.data.ROOT_ORG_QUESTION_TYPES2) {
+          //   this.form.properties.ROOT_ORG_QUESTION_TYPES2 = JSON.parse(
+          //     response.data.ROOT_ORG_QUESTION_TYPES2
+          //   );
+          // }
+          // if (response.data.ROOT_ORG_QUESTION_TYPES3) {
+          //   this.form.properties.ROOT_ORG_QUESTION_TYPES3 = JSON.parse(
+          //     response.data.ROOT_ORG_QUESTION_TYPES3
+          //   );
+          // }
+          // if (response.data.QUESTION_TYPE_SPECIAL_SET) {
+          //   this.form.properties.QUESTION_TYPE_SPECIAL_SET = JSON.parse(
+          //     response.data.QUESTION_TYPE_SPECIAL_SET
+          //   );
+          // }
           if (response.data.PAPER_AUDIT) {
           if (response.data.PAPER_AUDIT) {
             this.form.properties.PAPER_AUDIT = response.data.PAPER_AUDIT;
             this.form.properties.PAPER_AUDIT = response.data.PAPER_AUDIT;
           }
           }
@@ -401,7 +401,7 @@ export default {
       }
       }
     },
     },
     save() {
     save() {
-      this.setParams();
+      // this.setParams();
       let url = QUESTION_API + "/org/saveOrgProperties";
       let url = QUESTION_API + "/org/saveOrgProperties";
       this.$httpWithMsg.put(url, this.form).then(() => {
       this.$httpWithMsg.put(url, this.form).then(() => {
         this.$notify({
         this.$notify({