Bladeren bron

Merge branch 'master' of http://gogs.gisvg.com/YDM/graduate-ui
555

47 1 maand geleden
bovenliggende
commit
34127ac894

+ 5 - 5
src/views/system/studentAttendanceManage/studentAttendance/index.vue

@@ -8,7 +8,7 @@
       :inline="true"
       label-width="100px"
     >
-      <el-form-item label="姓名" prop="studentName">
+      <el-form-item label="姓名" prop="studentName" v-if="userInfo.userType !== '1'">
         <el-input
           placeholder="请输入姓名 "
           v-model="queryParams.studentName"
@@ -17,7 +17,7 @@
           class="!w-240px"
         />
       </el-form-item>
-      <el-form-item label="学号" prop="userNumber">
+      <el-form-item label="学号" prop="userNumber" v-if="userInfo.userType !== '1'">
         <el-input
           placeholder="请输入学号 "
           v-model="queryParams.userNumber"
@@ -26,7 +26,7 @@
           class="!w-240px"
         />
       </el-form-item> 
-      <el-form-item label="导师姓名" prop="supervisor" v-if="userInfo.userType !== '3'">
+      <el-form-item label="导师姓名" prop="supervisor" v-if="userInfo.userType !== '3' && userInfo.userType !== '1'">
         <el-select
               v-model="queryParams.supervisor"
               @change="handleSupervisorChange"
@@ -66,8 +66,8 @@
       </el-form-item> -->
 
       <el-form-item>
-        <el-button @click="handleQuery"><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button>
-        <el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
+        <el-button @click="handleQuery" v-if="userInfo.userType !== '1'"><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button>
+        <el-button @click="resetQuery" v-if="userInfo.userType !== '1'"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
         <!-- <el-button
           type="primary"
           plain

+ 3 - 3
src/views/system/studentAttendanceManage/studentAttendanceError/index.vue

@@ -17,7 +17,7 @@
           placeholder="请选择日期"
         />
       </el-form-item>
-        <el-form-item label="姓名" prop="studentName">
+        <el-form-item label="姓名" prop="studentName" v-if="userInfo.userType !== '1'">
           <el-input
             placeholder="请输入姓名 "
             v-model="queryParams.studentName"
@@ -26,7 +26,7 @@
             class="!w-240px"
           />
         </el-form-item>
-        <el-form-item label="学号" prop="userNumber">
+        <el-form-item label="学号" prop="userNumber" v-if="userInfo.userType !== '1'">
           <el-input
             placeholder="请输入学号 "
             v-model="queryParams.userNumber"
@@ -35,7 +35,7 @@
             class="!w-240px"
           />
         </el-form-item>
-        <el-form-item label="导师姓名" prop="supervisor" v-if="userInfo.userType !== '3'">
+        <el-form-item label="导师姓名" prop="supervisor" v-if="userInfo.userType !== '3' && userInfo.userType !== '1'">
           <el-select
               v-model="queryParams.supervisor"
               @change="handleSupervisorChange"

+ 3 - 3
src/views/system/studentAttendanceManage/studentAttendanceExcused/index.vue

@@ -17,7 +17,7 @@
             placeholder="请选择日期"
           />
         </el-form-item>
-        <el-form-item label="姓名" prop="studentName">
+        <el-form-item label="姓名" prop="studentName" v-if="userInfo.userType !== '1'">
           <el-input
             placeholder="请输入姓名 "
             v-model="queryParams.studentName"
@@ -26,7 +26,7 @@
             class="!w-240px"
           />
         </el-form-item>
-        <el-form-item label="学号" prop="userNumber">
+        <el-form-item label="学号" prop="userNumber" v-if="userInfo.userType !== '1'">
           <el-input
             placeholder="请输入学号 "
             v-model="queryParams.userNumber"
@@ -35,7 +35,7 @@
             class="!w-240px"
           />
         </el-form-item>
-        <el-form-item label="导师姓名" prop="supervisor" v-if="userInfo.userType !== '3'">
+        <el-form-item label="导师姓名" prop="supervisor" v-if="userInfo.userType !== '3' && userInfo.userType !== '1'">
           <el-select
               v-model="queryParams.supervisor"
               @change="handleSupervisorChange"