|  | @@ -166,13 +166,11 @@
 | 
	
		
			
				|  |  |                    >
 | 
	
		
			
				|  |  |                  </auth>
 | 
	
		
			
				|  |  |                  <auth
 | 
	
		
			
				|  |  | -                  :auths="'tempLittleArtistTrainingCamp/update'"
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | +                  :auths="'/tempLittleArtistTrainingCamp/enable'"
 | 
	
		
			
				|  |  |                  >
 | 
	
		
			
				|  |  |                    <el-button
 | 
	
		
			
				|  |  |                      type="text"
 | 
	
		
			
				|  |  |                      @click="() => handleChangeState(scope.row)"
 | 
	
		
			
				|  |  | -                    v-if="scope.row.state != 'ING' && scope.row.state != 'END'"
 | 
	
		
			
				|  |  |                      >{{ scope.row.enableFlag ? '隐藏' : '显示' }}</el-button
 | 
	
		
			
				|  |  |                    >
 | 
	
		
			
				|  |  |                  </auth>
 | 
	
	
		
			
				|  | @@ -210,7 +208,7 @@ import pagination from "@/components/Pagination/index";
 | 
	
		
			
				|  |  |  import load from "@/utils/loading";
 | 
	
		
			
				|  |  |  import { getTimes } from "@/utils";
 | 
	
		
			
				|  |  |  import { campStateList } from "@/utils/searchArray";
 | 
	
		
			
				|  |  | -import { getTrainingCampList,delTrainingCamp, resetTrainingCamp } from "./api";
 | 
	
		
			
				|  |  | +import { getTrainingCampList,delTrainingCamp, tempLittleArtistTrainingCampEnable } from "./api";
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |   import campRosterList from "./models/campRosterList";
 | 
	
		
			
				|  |  |  import eidtCamp from "./models/eidtCamp";
 | 
	
	
		
			
				|  | @@ -251,10 +249,7 @@ export default {
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      /** 启用和停用 */
 | 
	
		
			
				|  |  |      handleChangeState(row){
 | 
	
		
			
				|  |  | -      resetTrainingCamp({
 | 
	
		
			
				|  |  | -        ...row,
 | 
	
		
			
				|  |  | -        enableFlag: !row.enableFlag
 | 
	
		
			
				|  |  | -      })
 | 
	
		
			
				|  |  | +      tempLittleArtistTrainingCampEnable(row.id)
 | 
	
		
			
				|  |  |        .then(() => {
 | 
	
		
			
				|  |  |          this.getList();
 | 
	
		
			
				|  |  |        })
 |