| | |
| | | let that = this; |
| | | this.$axios({ |
| | | method:"get", |
| | | url:`./api/platform/catalog`, |
| | | url:`/api/platform/catalog`, |
| | | params: { |
| | | platformId: that.platformId, |
| | | parentId: parentId |
| | |
| | | removeCatalog: function (id, node){ |
| | | this.$axios({ |
| | | method:"delete", |
| | | url:`./api/platform/catalog/del`, |
| | | url:`/api/platform/catalog/del`, |
| | | params: { |
| | | id: id, |
| | | platformId: this.platformId, |
| | |
| | | setDefaultCatalog: function (id){ |
| | | this.$axios({ |
| | | method:"post", |
| | | url:`./api/platform/catalog/default/update`, |
| | | url:`/api/platform/catalog/default/update`, |
| | | params: { |
| | | platformId: this.platformId, |
| | | catalogId: id, |
| | |
| | | onClick: () => { |
| | | this.$axios({ |
| | | method:"delete", |
| | | url:"./api/platform/catalog/relation/del", |
| | | url:"/api/platform/catalog/relation/del", |
| | | data: data |
| | | }).then((res)=>{ |
| | | console.log("移除成功") |