     var isSelectAll:Bool = false
     
     var selectIndex = [Int]()
-    
-    var originalIndex = [Int]()
     
     override func viewDidLoad() {
         super.viewDidLoad()

        if selectIndex[indexPath.row] == 1{
            cell?.accessoryType = .none
            selectIndex[indexPath.row] = 0
        }else{
            cell?.accessoryType = .checkmark
            selectIndex[indexPath.row] = 1
        }
    }
    

        if isSelectAll{
            isSelectAll = false
            btn.title = "全选"
            rightBtn.isEnabled = false
        }else{
            isSelectAll = true
            btn.title = "清空"
            replace = 1
            rightBtn.isEnabled = true
        }
        for (index,_) in selectIndex.enumerated(){
            selectIndex[index] = replace
