1
lzhe
2024-11-04 43c2ebf8b5df8a785b5c717eede3aac52962cd5e
src/views/dnc/craft/document/File.vue
@@ -272,7 +272,7 @@
        loadNode(node, resolve) {
            let id = node.level === 0 ? '' : node.data.id
            if (node.level === 0) {
                return this.$HTTP.get(`/api/blade-cps/group/getRootNode?groupCategory=1&groupType=group_workstation`).then(res => {
                return this.$HTTP.get(`/api/smis/group/getRootNode?groupCategory=1&groupType=group_workstation`).then(res => {
                    this.nodeClick(res.data)
                    resolve([res.data].map(v => {
                        return {
@@ -283,7 +283,7 @@
                    }))
                })
            } else {
                this.$HTTP.get(`/api/blade-cps/group/groupWorkstation/lazy?groupId=${id}`).then(res => {
                this.$HTTP.get(`/api/smis/group/groupWorkstation/lazy?groupId=${id}`).then(res => {
                    resolve(res.data.map(v => {
                        return {
                            ...v,