Jing 4 dienas atpakaļ
vecāks
revīzija
c7e26a4190
1 mainītis faili ar 5 papildinājumiem un 5 dzēšanām
  1. 5 5
      src/views/project/creatProject.vue

+ 5 - 5
src/views/project/creatProject.vue

@@ -287,7 +287,7 @@ export default {
           let parentId;
           parentId = level == 0 ? 0 : data.value;
           let parames = {
-            'type': 1,
+            'type': 7,
             'website_id': getWebSiteId(),
             'pid': parentId
           }
@@ -298,7 +298,7 @@ export default {
                 label: item.name,
                 leaf: level >= 3,
                 children: [],
-                disabled: item.type != 1
+                disabled: item.type != 7
               }))
               resolve(nodes)
             }
@@ -324,7 +324,7 @@ export default {
             self.ifwebsitId = false;
           }
           let parames = {
-            'type': 1,
+            'type': 7,
             'website_id': self.form.website_id,
             'pid': parentId
           }
@@ -335,7 +335,7 @@ export default {
                 label: item.alias,
                 leaf: level >= 3,
                 children: [],
-                disabled: item.type != 1
+                disabled: item.type != 7
               }))
               resolve(nodes)
             }
@@ -725,7 +725,7 @@ export default {
       let that = this;
       this.form.website_id = this.form.website_id[0];
       that.parentKey_2 += 1;
-      this.$store.dispatch('pool/get_creatNews_nav_son_actions', { type: 1, pid: String(this.creatNews_pid_num), website_id: String(this.form.website_id) }).then(res => {
+      this.$store.dispatch('pool/get_creatNews_nav_son_actions', { type: 7, pid: String(this.creatNews_pid_num), website_id: String(this.form.website_id) }).then(res => {
         if (res.data.length == 0) {//没有导航池子级
           // alert("没有导航池子级");
           return