| | |
| | | <!-- |
| | | * @Date: 2024-05-16 22:40:01 |
| | | * @LastEditors: Sneed |
| | | * @LastEditTime: 2024-05-19 19:52:38 |
| | | * @LastEditTime: 2024-05-19 19:54:53 |
| | | * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/dnc/document/index.vue |
| | | --> |
| | | <template> |
| | |
| | | saveFolder() { |
| | | if (this.form.id) { |
| | | return this.$HTTP.put(`/api/blade-dnc/file/${this.form.id}/rename`, { fileType: this.form.fileType, newName: this.form.name, parentId: this.form.parentId }).then(res => { |
| | | this.visible = false |
| | | this.search() |
| | | }) |
| | | } |
| | |
| | | |
| | | } |
| | | this.$HTTP.post(`/api/blade-dnc/folder`, data).then(res => { |
| | | this.visible = false |
| | | this.init() |
| | | }) |
| | | }, |