duy před 2 roky
rodič
revize
0b80cc93c9

+ 3 - 4
src/views/manager/projectinfo/archivetreeRule.vue

@@ -1005,11 +1005,11 @@ export default {
 
         treeSelectId:'',//选中的划分树
         menusData:[
-          {icon: 'el-icon-s-promotion', label: '新增', key: "add"},
+          {icon: 'el-icon-plus', label: '新增', key: "add"},
           {icon: 'el-icon-s-promotion', label: '编辑', key: "edit"},
           {icon: 'el-icon-sort', label: '排序', key: "sort"},
        
-          {icon: 'el-icon-s-promotion', label: '删除', key: "del"},
+          {icon: 'el-icon-delete', label: '删除', key: "del"},
           {icon: 'el-icon-refresh', label: '同步', key: "sync"},
       
       ],//树组件操作菜单
@@ -1273,7 +1273,6 @@ export default {
       this.treeTap = true
     },
     deletetree (node) {//删除树
-      console.log(node);
       let _that = this
       this.$confirm('是否删除此数据', '提示', {
         distinguishCancelAndClose: true,
@@ -1281,7 +1280,7 @@ export default {
         cancelButtonText: '取消'
       })
         .then(() => {
-          this.remove(node.data.id).then(()=>{
+          this.remove(node.id).then(()=>{
             _that.$refs.trees1.remove(node) //删除界面上的节点
           }).catch(()=>{