|
|
|
|
@ -773,11 +773,11 @@ export default {
|
|
|
|
|
/** 删除按钮操作 */
|
|
|
|
|
handleDelete(row) {
|
|
|
|
|
const ids = row.id || this.ids;
|
|
|
|
|
this.$modal.confirm('是否确认删除仪器列编号为"' + ids + '"的数据项?').then(function () {
|
|
|
|
|
this.$modal.confirm('是否确认隐藏仪器列编号为"' + ids + '"的数据项?').then(function () {
|
|
|
|
|
return delInstrument(ids);
|
|
|
|
|
}).then(() => {
|
|
|
|
|
this.getList();
|
|
|
|
|
this.$modal.msgSuccess("删除成功");
|
|
|
|
|
this.$modal.msgSuccess("隐藏成功");
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|