Browse Source

归档树接口参数

gangyj 2 năm trước cách đây
mục cha
commit
efab5a1e69
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 3 2
      src/views/manager/archivetree.vue

+ 3 - 2
src/views/manager/archivetree.vue

@@ -1174,7 +1174,8 @@ export default {
     async lazyTree (parentId) {//树节点懒加载
       const { data: res } = await lazyTree({
         parentId,
-        token: this.token
+        token: this.token,
+        projectId:0
       })
       console.log(res);
       if (res.code == 200 && res.msg == '操作成功') {
@@ -1263,7 +1264,7 @@ export default {
     },
     async archiveTreeDetail (data) {//详情接口
       console.log(data);
-      const { data: res } = await archiveTreeDetail({ id: data.id })
+      const { data: res } = await archiveTreeDetail({ id: data.id ,projectId:0})
       console.log(res);
       if (res.code == 200) {
         this.form.nodeName = res.data.fullName  //节点名称