@@ -217,6 +217,10 @@ export default {
uniqueName:''
};
}
+ if(this.list.length==1){
+ //当前在最后一页且只有一条数据时,删除后跳到前一页
+ this.currentPage = this.currentPage===1?1:this.currentPage-1;
+ }
this.getDataList();
this.warning(res.data.msg || '操作成功','success');
}else{
@@ -208,6 +208,10 @@ export default {
conceptName:''
@@ -284,6 +284,10 @@
tagSysName: '', //标签系统名称
@@ -239,6 +239,10 @@
type:''
this.warning(res.data.msg||'操作成功','success');
@@ -223,6 +223,10 @@
deptId: ''
@@ -318,6 +318,10 @@
@@ -238,6 +238,10 @@
@@ -268,6 +268,10 @@
relationId:'', //归属科室
@@ -263,6 +263,10 @@