| 
					
				 | 
			
			
				@@ -195,7 +195,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-form-item 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           label="角色" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           :label-width="formLabelWidth" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          v-if="org && org != 'undefined' && org != 'null'" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <el-radio v-model="modifyDiaData.radio" :label="0">管理员</el-radio> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -389,8 +388,11 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       let uRole = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      let uType = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // let uType = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // role 1是管理员  0普通教师 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (!this.modifyDiaData.radio) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         uRole = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } else { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -402,9 +404,11 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           uid: this.modifyDiaData.userid, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           uname: this.modifyDiaData.dName, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           rol: uRole, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          typ: uType 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          typ: this.modifyDiaData.type 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       ]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // return console.log('paramsparamsparams',params); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.ajax 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         .post(this.$store.state.api + "updateYTeacherInfo", params) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         .then(res => { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -437,6 +441,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.modifyDiaData.type = val.type; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.modifyDiaData.mail = val.un; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // role 1是管理员  0普通教师 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (val.role == 1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.modifyDiaData.radio = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } else { 
			 |