| | |
| | | ids: row.id, |
| | | isConfCategorys: this.nodeRow.id === 'firstNode' ? true : false |
| | | } |
| | | this.$confirm('您确定要删除当前数据吗?', '提示', { |
| | | confirmButtonText: '确定', |
| | | cancelButtonText: '取消', |
| | | type: 'warning' |
| | | }).then(() => { |
| | | getAppConfigCategoryInfo(params).then(res => { |
| | | console.log(res) |
| | | if (res.data.code === 200) { |
| | |
| | | } |
| | | } |
| | | }) |
| | | }).catch(() => { |
| | | this.$message({ |
| | | type: 'info', |
| | | message: '已取消删除' |
| | | }); |
| | | }); |
| | | }, |
| | | |
| | | // 选择框 |
| | |
| | | this.$message.error('请至少选择一条数据'); |
| | | return; |
| | | } |
| | | |
| | | const params = { |
| | | ids: this.selectList.map(item => { |
| | | return item.id |
| | | }).join(','), |
| | | isConfCategorys: this.nodeRow.id === 'firstNode' ? true : false |
| | | } |
| | | |
| | | this.$confirm('您确定要删除当前数据吗?', '提示', { |
| | | confirmButtonText: '确定', |
| | | cancelButtonText: '取消', |
| | | type: 'warning' |
| | | }).then(() => { |
| | | getAppConfigCategoryInfo(params).then(res => { |
| | | console.log(res) |
| | | if (res.data.code === 200) { |
| | |
| | | } |
| | | } |
| | | }) |
| | | }).catch(() => { |
| | | this.$message({ |
| | | type: 'info', |
| | | message: '已取消删除' |
| | | }); |
| | | }); |
| | | }, |
| | | |
| | | // 导出按钮 |