|  | @@ -237,21 +237,28 @@ export default {
 | 
	
		
			
				|  |  |        this.isShow = false;
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      rowDel(row, index, done) {
 | 
	
		
			
				|  |  | -      this.$confirm("确定删除数据?", {
 | 
	
		
			
				|  |  | -        confirmButtonText: "确定",
 | 
	
		
			
				|  |  | -        cancelButtonText: "取消",
 | 
	
		
			
				|  |  | -        type: "warning"
 | 
	
		
			
				|  |  | -      }).then(() => {
 | 
	
		
			
				|  |  | -        deleteDetails(row.id).then(res => {
 | 
	
		
			
				|  |  | -          if (res.data.code == 200) {
 | 
	
		
			
				|  |  | -            this.$message({
 | 
	
		
			
				|  |  | -              type: "success",
 | 
	
		
			
				|  |  | -              message: "删除成功!"
 | 
	
		
			
				|  |  | -            });
 | 
	
		
			
				|  |  | -            this.onLoad(this.page, this.search);
 | 
	
		
			
				|  |  | -          }
 | 
	
		
			
				|  |  | +      if (row.status === 1) {
 | 
	
		
			
				|  |  | +        this.$confirm("确定删除数据?", {
 | 
	
		
			
				|  |  | +          confirmButtonText: "确定",
 | 
	
		
			
				|  |  | +          cancelButtonText: "取消",
 | 
	
		
			
				|  |  | +          type: "warning"
 | 
	
		
			
				|  |  | +        }).then(() => {
 | 
	
		
			
				|  |  | +          deleteDetails(row.id).then(res => {
 | 
	
		
			
				|  |  | +            if (res.data.code == 200) {
 | 
	
		
			
				|  |  | +              this.$message({
 | 
	
		
			
				|  |  | +                type: "success",
 | 
	
		
			
				|  |  | +                message: "删除成功!"
 | 
	
		
			
				|  |  | +              });
 | 
	
		
			
				|  |  | +              this.onLoad(this.page, this.search);
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +          });
 | 
	
		
			
				|  |  | +        });
 | 
	
		
			
				|  |  | +      } else {
 | 
	
		
			
				|  |  | +        this.$message({
 | 
	
		
			
				|  |  | +          message: '非禁用状态无法删除',
 | 
	
		
			
				|  |  | +          type: 'warning'
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  | -      });
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      goBack() {
 | 
	
		
			
				|  |  |        if (this.$route.query.check) {
 |