| 
														
															@@ -254,24 +254,38 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <el-upload 
														 | 
														
														 | 
														
															         <el-upload 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           class="ivu-upload" 
														 | 
														
														 | 
														
															           class="ivu-upload" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           :show-upload-list="false" 
														 | 
														
														 | 
														
															           :show-upload-list="false" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          :show-file-list='false' 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          :show-file-list="false" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           :headers="headers" 
														 | 
														
														 | 
														
															           :headers="headers" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           :on-success="handleSuccess" 
														 | 
														
														 | 
														
															           :on-success="handleSuccess" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          :format="['jpg','jpeg','png','gif']" 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          accept=".jpg, .jpeg, .png" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           :max-size="2048" 
														 | 
														
														 | 
														
															           :max-size="2048" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           multiple 
														 | 
														
														 | 
														
															           multiple 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           action="/api-web/uploadFile" 
														 | 
														
														 | 
														
															           action="/api-web/uploadFile" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         > 
														 | 
														
														 | 
														
															         > 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          <el-button icon="ios-cloud-upload-outline" v-if="pageType != 'create'"v-permission="{child: 'resetTeacher/uploadFile', parent: '/teacherUpdate/baseInfo'}">修改头像</el-button> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          <el-button icon="ios-cloud-upload-outline" v-if="pageType == 'create'" v-permission="{child: 'createTeacher/uploadFile', parent: '/teacherAdd/baseInfo'}">新增头像</el-button> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          <el-button 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            icon="ios-cloud-upload-outline" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            v-if="pageType != 'create'" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            v-permission="{child: 'resetTeacher/uploadFile', parent: '/teacherUpdate/baseInfo'}" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          >修改头像</el-button> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          <el-button 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            icon="ios-cloud-upload-outline" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            v-if="pageType == 'create'" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            v-permission="{child: 'createTeacher/uploadFile', parent: '/teacherAdd/baseInfo'}" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          >新增头像</el-button> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         </el-upload> 
														 | 
														
														 | 
														
															         </el-upload> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <p class="iconP"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          推荐图片尺寸:200x200; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          <br />支持的格式:jpg,jpeg,png; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          <br />*头像修改后,需要点击页面 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          <br />下方「立即修改」保存生效; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        </p> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       </div> 
														 | 
														
														 | 
														
															       </div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </div> 
														 | 
														
														 | 
														
															     </div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   </div> 
														 | 
														
														 | 
														
															   </div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 </template> 
														 | 
														
														 | 
														
															 </template> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 <script> 
														 | 
														
														 | 
														
															 <script> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 // import { queryByOrganId } from '@/api/systemManage' 
														 | 
														
														 | 
														
															 // import { queryByOrganId } from '@/api/systemManage' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-import { getToken } from '@/utils/auth' 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import { getToken } from "@/utils/auth"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import { branchQueryPage, subjectListTree } from "@/api/specialSetting"; 
														 | 
														
														 | 
														
															 import { branchQueryPage, subjectListTree } from "@/api/specialSetting"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import { teacherAdd, teacherUpdate, teacherGet } from "@/api/teacherManager"; 
														 | 
														
														 | 
														
															 import { teacherAdd, teacherUpdate, teacherGet } from "@/api/teacherManager"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import store from "@/store"; 
														 | 
														
														 | 
														
															 import store from "@/store"; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -291,7 +305,7 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   name: "teacherOperation", 
														 | 
														
														 | 
														
															   name: "teacherOperation", 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   data() { 
														 | 
														
														 | 
														
															   data() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     return { 
														 | 
														
														 | 
														
															     return { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-       headers: { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      headers: { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         Authorization: getToken() 
														 | 
														
														 | 
														
															         Authorization: getToken() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }, 
														 | 
														
														 | 
														
															       }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       jobNature: jobNature, 
														 | 
														
														 | 
														
															       jobNature: jobNature, 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -352,7 +366,7 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             trigger: "change" 
														 | 
														
														 | 
														
															             trigger: "change" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           } 
														 | 
														
														 | 
														
															           } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         ], 
														 | 
														
														 | 
														
															         ], 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        isAvatar:null 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        isAvatar: null 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       } 
														 | 
														
														 | 
														
															       } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }; 
														 | 
														
														 | 
														
															     }; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   }, 
														 | 
														
														 | 
														
															   }, 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -541,15 +555,15 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         query: { rules: this.Frules, search: this.Fsearch } 
														 | 
														
														 | 
														
															         query: { rules: this.Frules, search: this.Fsearch } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }); 
														 | 
														
														 | 
														
															       }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }, 
														 | 
														
														 | 
														
															     }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    handleSuccess (res) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    handleSuccess(res) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       // 获取富文本组件实例 
														 | 
														
														 | 
														
															       // 获取富文本组件实例 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       // let quill = this.editor 
														 | 
														
														 | 
														
															       // let quill = this.editor 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       // 如果上传成功 
														 | 
														
														 | 
														
															       // 如果上传成功 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       if (res.code == 200) { 
														 | 
														
														 | 
														
															       if (res.code == 200) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         // 获取光标所在位置 
														 | 
														
														 | 
														
															         // 获取光标所在位置 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-       this.topForm.avatar = res.data.url 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        this.topForm.avatar = res.data.url; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       } 
														 | 
														
														 | 
														
															       } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    }, 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   } 
														 | 
														
														 | 
														
															   } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 }; 
														 | 
														
														 | 
														
															 }; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 </script> 
														 | 
														
														 | 
														
															 </script> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -652,5 +666,12 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       } 
														 | 
														
														 | 
														
															       } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   } 
														 | 
														
														 | 
														
															   } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  .iconP { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    margin-top: 10px; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    font-size: 14px; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    color: red; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    width: 260px; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    text-align: center; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 </style> 
														 | 
														
														 | 
														
															 </style> 
														 |