47 6 days ago
parent
commit
d00d157ba0
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/system/userDetail/teacher.vue

+ 3 - 3
src/views/system/userDetail/teacher.vue

@@ -21,7 +21,7 @@
         </el-form-item>
       </el-col>
     </el-row>
-    <el-row>
+    <el-row v-if="userInfo.userType==='5'">
       <el-col :span="24" >
         <el-form-item label="外聘导师" style="font-weight: 550;">
           <p></p>
@@ -33,14 +33,14 @@
         </el-form-item>
       </el-col>
     </el-row>
-    <el-row  >
+    <el-row v-if="userInfo.userType==='5'">
       <el-col :span="24">
         <el-form-item label="合作的校内导师" prop="supervisor">
           <el-input v-model="formData.supervisor" placeholder="自动链接" :disabled="!isSupervisor"/>
         </el-form-item>
       </el-col>
     </el-row>
-    <el-row  >
+    <el-row>
       <el-col :span="24">
         <el-form-item label="研究方向" prop="major">
           <el-input v-model="formData.major" placeholder="请输入研究方向" :disabled="!isSupervisor" />