| | |
| | | height: calc(100% - 20px); |
| | | border-right: 3px solid rgb(245, 247, 251); |
| | | padding: 16px; |
| | | overflow-y: auto; |
| | | } |
| | | |
| | | .thing .left .custom-tree-node span { |
| | |
| | | node-key="name" |
| | | default-expand-all |
| | | @node-click="handleNodeClick" |
| | | style="height: 500px;overflow-y: auto;" |
| | | :key="upIndex" |
| | | highlight-current |
| | | > |
| | |
| | | } |
| | | ) |
| | | .then((res) => { |
| | | console.log(res); |
| | | this.$parent.removeAllTab() |
| | | this.selectAllTechNam(); |
| | | this.form = {}; |
| | | }); |
| | |
| | | }, |
| | | //批量删除 |
| | | delAllTech() { |
| | | console.log(this.delete); |
| | | this.$axios.post(this.$api.url.delAllTech, { |
| | | ids: this.delete, |
| | | ids: this.delete |
| | | }); |
| | | this.$parent.removeAllTab() |
| | | }, |
| | | //删除 |
| | | delTechById() { |
| | | console.log(this.$api.url.delTechById, this.upData.id); |
| | | this.$axios.post(this.$api.url.delTechById, { |
| | | id: this.upData.id, |
| | | id: this.upData.id |
| | | }); |
| | | this.$parent.removeAllTab() |
| | | }, |
| | | //编辑 |
| | | writeTechById() { |
| | |
| | | } |
| | | ) |
| | | .then((res) => { |
| | | console.log(res); |
| | | this.$parent.removeAllTab() |
| | | }); |
| | | }, |
| | | |
| | |
| | | return el.id; |
| | | }); |
| | | this.delete = cc.join(","); |
| | | console.log(this.delete); |
| | | this.delAllTech(); |
| | | this.$message.success("删除完成"); |
| | | }, |