src/views/experiment/inspectionApplication/index.vue
@@ -609,8 +609,12 @@ }, reset() { this.countSize = 1; this.pageSize = 8; this.searchData = {}; this.pageSize = 10; this.searchData = { applicationnumber: '', type: '', state: '', }; this.selectInspectsList(); }, //被选中的信息 单选 @@ -770,12 +774,18 @@ this.addInspection() }, delInspect(row){ this.$confirm('您确认删除这条数据吗?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }).then(() => { delInspect({ id: row.id }).then(res=>{ }).then(()=>{ this.$message.success('已作废') this.selectInspectsList() }) }).catch(() => {}); } } }