|
@@ -257,8 +257,9 @@ export default {
|
|
|
/** 删除按钮操作 */
|
|
|
handleDelete(row) {
|
|
|
const ids = row.id || this.ids;
|
|
|
+ const type = this.$route.query.type
|
|
|
this.$modal.confirm('是否确认删除此条数据项?').then(function () {
|
|
|
- return delServer(ids,row.type);
|
|
|
+ return delServer(ids,type);
|
|
|
}).then(() => {
|
|
|
this.getList();
|
|
|
this.$modal.msgSuccess("删除成功");
|