| | |
| | | } |
| | | ) |
| | | .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("删除完成"); |
| | | }, |