From 7e827c55fa38991089d6d735f5f425b3e9cb96e1 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: Tue, 30 Jun 2026 16:46:08 +0800
Subject: [PATCH] 修改名称

---
 src/views/system/role/index.vue                                       |   12 ++--
 src/api/system/user.js                                                |    2 
 src/api/system/role.js                                                |    2 
 src/views/system/dept/index.vue                                       |   30 +++++-----
 src/layout/components/Navbar.vue                                      |    2 
 src/views/system/user/profile/index.vue                               |    2 
 src/views/onlineEducation/people/components/stuDialog.vue             |    6 +-
 src/views/monitor/online/index.vue                                    |    2 
 src/views/onlineEducation/systemManage/user/index.vue                 |   10 +-
 src/api/system/dept.js                                                |   14 ++--
 src/views/system/user/index.vue                                       |   16 ++--
 src/views/onlineEducation/classHourBatch/components/batchDialog.vue   |    6 +-
 src/views/onlineEducation/classHourBatch/index.vue                    |   14 +++-
 src/views/error/noMenu.vue                                            |    2 
 src/views/onlineEducation/people/index.vue                            |    4 
 src/views/onlineEducation/offlineEducation/index.vue                  |    2 
 src/views/onlineEducation/systemManage/user/components/userDialog.vue |   30 +++++-----
 17 files changed, 80 insertions(+), 76 deletions(-)

diff --git a/src/api/system/dept.js b/src/api/system/dept.js
index fc943cd..9e509bd 100644
--- a/src/api/system/dept.js
+++ b/src/api/system/dept.js
@@ -1,6 +1,6 @@
 import request from '@/utils/request'
 
-// 查询部门列表
+// 查询学院列表
 export function listDept(query) {
   return request({
     url: '/system/dept/list',
@@ -9,7 +9,7 @@
   })
 }
 
-// 查询部门列表(排除节点)
+// 查询学院列表(排除节点)
 export function listDeptExcludeChild(deptId) {
   return request({
     url: '/system/dept/list/exclude/' + deptId,
@@ -17,7 +17,7 @@
   })
 }
 
-// 查询部门详细
+// 查询学院详细
 export function getDept(deptId) {
   return request({
     url: '/system/dept/' + deptId,
@@ -25,7 +25,7 @@
   })
 }
 
-// 新增部门
+// 新增学院
 export function addDept(data) {
   return request({
     url: '/system/dept',
@@ -34,7 +34,7 @@
   })
 }
 
-// 修改部门
+// 修改学院
 export function updateDept(data) {
   return request({
     url: '/system/dept',
@@ -43,10 +43,10 @@
   })
 }
 
-// 删除部门
+// 删除学院
 export function delDept(deptId) {
   return request({
     url: '/system/dept/' + deptId,
     method: 'delete'
   })
-}
\ No newline at end of file
+}
diff --git a/src/api/system/role.js b/src/api/system/role.js
index f13e6f4..890b91d 100644
--- a/src/api/system/role.js
+++ b/src/api/system/role.js
@@ -110,7 +110,7 @@
   })
 }
 
-// 根据角色ID查询部门树结构
+// 根据角色ID查询学院树结构
 export function deptTreeSelect(roleId) {
   return request({
     url: '/system/role/deptTree/' + roleId,
diff --git a/src/api/system/user.js b/src/api/system/user.js
index f2f76ef..8b1e12c 100644
--- a/src/api/system/user.js
+++ b/src/api/system/user.js
@@ -126,7 +126,7 @@
   })
 }
 
-// 查询部门下拉树结构
+// 查询学院下拉树结构
 export function deptTreeSelect() {
   return request({
     url: '/system/user/deptTree',
diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue
index e04cd9a..d6ba482 100644
--- a/src/layout/components/Navbar.vue
+++ b/src/layout/components/Navbar.vue
@@ -90,7 +90,7 @@
   if(getToken()){
     userInfo.value = JSON.parse(Cookies.get('userInfo'))
     userName.value = userInfo.value.username
-    userTypeName.value = userInfo.value.userType == 0 ? '管理员' : userInfo.value.userType == 1 ? '企业级' :userInfo.value.userType == 2 ? '部门级':userInfo.value.userType == 3 ? '车间级' :userInfo.value.userType == 4 ? '其他' : '学员'
+    userTypeName.value = userInfo.value.userType == 0 ? '管理员' : userInfo.value.userType == 1 ? '单位级' :userInfo.value.userType == 2 ? '学院级':userInfo.value.userType == 3 ? '实验室级' :userInfo.value.userType == 4 ? '其他' : '学员'
     console.log("userInfo",userInfo.value )
   }
   // getState();
diff --git a/src/views/error/noMenu.vue b/src/views/error/noMenu.vue
index 4c937f1..d94a85b 100644
--- a/src/views/error/noMenu.vue
+++ b/src/views/error/noMenu.vue
@@ -6,7 +6,7 @@
           {{data.stateMsg}}
         </el-tag>
       </div>
-      <span style="font-size: 25px;font-weight: 600;margin-top: 20px">请<span v-if="data.state ===3">整改提交后</span>联系监管部门审核</span>
+      <span style="font-size: 25px;font-weight: 600;margin-top: 20px">请<span v-if="data.state ===3">整改提交后</span>联系监管学院审核</span>
     </div>
 </template>
 
diff --git a/src/views/monitor/online/index.vue b/src/views/monitor/online/index.vue
index eb17ebc..29355dd 100644
--- a/src/views/monitor/online/index.vue
+++ b/src/views/monitor/online/index.vue
@@ -36,7 +36,7 @@
          </el-table-column>
          <el-table-column label="会话编号" align="center" prop="tokenId" :show-overflow-tooltip="true" />
          <el-table-column label="登录名称" align="center" prop="userName" :show-overflow-tooltip="true" />
-         <el-table-column label="所属部门" align="center" prop="deptName" :show-overflow-tooltip="true" />
+         <el-table-column label="所属学院" align="center" prop="deptName" :show-overflow-tooltip="true" />
          <el-table-column label="主机" align="center" prop="ipaddr" :show-overflow-tooltip="true" />
          <el-table-column label="登录地点" align="center" prop="loginLocation" :show-overflow-tooltip="true" />
          <el-table-column label="操作系统" align="center" prop="os" :show-overflow-tooltip="true" />
diff --git a/src/views/onlineEducation/classHourBatch/components/batchDialog.vue b/src/views/onlineEducation/classHourBatch/components/batchDialog.vue
index ac2a8ee..5cee985 100644
--- a/src/views/onlineEducation/classHourBatch/components/batchDialog.vue
+++ b/src/views/onlineEducation/classHourBatch/components/batchDialog.vue
@@ -137,15 +137,15 @@
   levelList: [
     {
       id: 1,
-      name: '公司级 '
+      name: '单位级 '
     },
     {
       id: 2,
-      name: '部门级'
+      name: '学院级'
     },
     {
       id: 3,
-      name: '车间级'
+      name: '实验室级'
     },
     {
       id: 4,
diff --git a/src/views/onlineEducation/classHourBatch/index.vue b/src/views/onlineEducation/classHourBatch/index.vue
index d264e80..5f28fca 100644
--- a/src/views/onlineEducation/classHourBatch/index.vue
+++ b/src/views/onlineEducation/classHourBatch/index.vue
@@ -49,14 +49,18 @@
       <el-table-column label="创建企业" prop="companyName" align="center"  />
       <el-table-column label="批次级别" prop="level" align="center"  >
         <template #default="scope">
-          <span>{{scope.row.level === 1 ? '公司级' : scope.row.level === 2 ? '部门级' : scope.row.level === 3 ? '车间级' : '其他'  }}</span>
+          <span>{{scope.row.level === 1 ? '单位级' : scope.row.level === 2 ? '学院级' : scope.row.level === 3 ? '实验室级' : '其他'  }}</span>
         </template>
       </el-table-column>
       <el-table-column label="课程" prop="courseName" align="center"  />
       <el-table-column label="学习人数" prop="studentCount" align="center"  />
       <el-table-column label="总课时" prop="coursePeriodNum" align="center"  />
       <el-table-column label="已完成人数" prop="finishCount" align="center"  />
-      <el-table-column label="完成率" prop="finishRate" align="center"  />
+      <el-table-column label="完成率" prop="finishRate" align="center">
+        <template #default="scope">
+          <span>{{scope.row.finishRate.toFixed(2)}}</span>
+        </template>
+      </el-table-column>
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width"  width="180">
         <template #default="scope">
           <el-button link type="primary" @click="toStuChoose(scope.row)">学生数据</el-button>
@@ -110,15 +114,15 @@
   levelList: [
     {
       id: 1,
-      name: '公司级 '
+      name: '单位级 '
     },
     {
       id: 2,
-      name: '部门级'
+      name: '学院级'
     },
     {
       id: 3,
-      name: '车间级'
+      name: '实验室级'
     },
     {
       id: 4,
diff --git a/src/views/onlineEducation/offlineEducation/index.vue b/src/views/onlineEducation/offlineEducation/index.vue
index 89abc80..df9ddd9 100644
--- a/src/views/onlineEducation/offlineEducation/index.vue
+++ b/src/views/onlineEducation/offlineEducation/index.vue
@@ -62,7 +62,7 @@
       <el-table-column label="课程名称" prop="courseName" align="center"/>
       <el-table-column label="培训等级" prop="level" align="center">
         <template #default="scope">
-          <span>{{scope.row.sex == 1 ? '公司级':scope.row.sex == 2 ? '部门级' : '车间级'}}</span>
+          <span>{{scope.row.sex == 1 ? '单位级':scope.row.sex == 2 ? '学院级' : '实验室级'}}</span>
         </template>
       </el-table-column>
       <el-table-column label="要求课时(分)" prop="period" align="center"/>
diff --git a/src/views/onlineEducation/people/components/stuDialog.vue b/src/views/onlineEducation/people/components/stuDialog.vue
index 8976689..ababf63 100644
--- a/src/views/onlineEducation/people/components/stuDialog.vue
+++ b/src/views/onlineEducation/people/components/stuDialog.vue
@@ -33,7 +33,7 @@
         <el-form-item label="重复密码:" prop="confirmPassword" v-if="state.title == '新增' || state.title == '修改密码'">
           <el-input v-model.trim="state.form.confirmPassword" type="password" show-password placeholder="请输入确认密码"></el-input>
         </el-form-item>
-        <el-form-item label="所属部门账号:"  prop="createBy" v-if="state.title !== '修改密码' && (currentUserType === 1 || currentUserType === 4)">
+        <el-form-item label="所属学院账号:"  prop="createBy" v-if="state.title !== '修改密码' && (currentUserType === 1 || currentUserType === 4)">
           <el-select
               clearable
               v-model="state.form.createBy"
@@ -41,7 +41,7 @@
               remote
               @change="selectValue"
               reserve-keyword
-              placeholder="请输入部门账号名称"
+              placeholder="请输入学院账号名称"
               remote-show-suffix
               :remote-method="getDeptUserList"
               :loading="loading"
@@ -230,7 +230,7 @@
     confirmPassword: [{ required: true, validator: equalToPassword, trigger: 'blur' }],
     phone: [{ required: true, validator: validateUserPhone, trigger: 'blur' }],
     idNo: [{ required: true, validator: validateIdNo, trigger: 'blur' }],
-    createBy: [{ required: true, message: '请输入所属部门名称', trigger: 'blur' }],
+    createBy: [{ required: true, message: '请输入所属学院名称', trigger: 'blur' }],
 
   },
   isAdmin: false,
diff --git a/src/views/onlineEducation/people/index.vue b/src/views/onlineEducation/people/index.vue
index 91ccbc4..b592d8a 100644
--- a/src/views/onlineEducation/people/index.vue
+++ b/src/views/onlineEducation/people/index.vue
@@ -130,10 +130,10 @@
 
 const openDialog = (type, value) => {
   if(type == 'add' && data.isAdmin){
-    ElMessage.warning('监管部门请联系企业创建企业学员')
+    ElMessage.warning('监管学院请联系企业创建企业学员')
   }
   // else if(userType.value !== 3 && (type == 'add' || type == 'edit')) {
-  //   ElMessage.warning(' 只有车间级用户才能新增和编辑')
+  //   ElMessage.warning(' 只有实验室级用户才能新增和编辑')
   // }
   else{
     dialogRef.value.openDialog(type, value);
diff --git a/src/views/onlineEducation/systemManage/user/components/userDialog.vue b/src/views/onlineEducation/systemManage/user/components/userDialog.vue
index 59f2a98..ca181c8 100644
--- a/src/views/onlineEducation/systemManage/user/components/userDialog.vue
+++ b/src/views/onlineEducation/systemManage/user/components/userDialog.vue
@@ -13,7 +13,7 @@
           <el-input v-model.trim="state.form.username" :disabled="state.title =='编辑' || state.title =='查看'" placeholder="请输入用户名" ></el-input>
         </el-form-item>
         <el-form-item label="名称:"  prop="name" v-if="state.title !== '修改密码'">
-          <el-input v-model.trim="state.form.name" :disabled="disabled" placeholder="请输入公司、部门或者车间岗位名"></el-input>
+          <el-input v-model.trim="state.form.name" :disabled="disabled" placeholder="请输入学院、实验室名称"></el-input>
         </el-form-item>
         <el-form-item label="性别:"  prop="sex" v-if="state.title !== '修改密码'">
           <el-radio-group v-model="state.form.sex"  :disabled="disabled">
@@ -33,22 +33,22 @@
         <el-form-item label="用户类型:" v-if="state.title !== '修改密码'" prop="userType">
           <el-radio-group v-model="state.form.userType"  :disabled="disabled" @change="changeType" v-if="state.title == '新增'">
             <el-radio :label="0" v-if="state.currentUserType == 0">管理员</el-radio>
-            <el-radio :label="1" v-if="state.currentUserType == 0 ">企业级</el-radio>
-            <el-radio :label="2" v-if="state.currentUserType == 1 ">部门级</el-radio>
-            <el-radio :label="3" v-if="!state.isAdmin">车间(岗位)级</el-radio>
+            <el-radio :label="1" v-if="state.currentUserType == 0 ">单位级</el-radio>
+            <el-radio :label="2" v-if="state.currentUserType == 1 ">学院级</el-radio>
+            <el-radio :label="3" v-if="!state.isAdmin">实验室级</el-radio>
             <el-radio :label="4" v-if="state.currentUserType == 0">其他</el-radio>
           </el-radio-group>
-          <span v-else-if="state.title == '查看'">{{state.currentUserType === 0 ? '管理员' : state.currentUserType === 1 ? '企业级' : state.currentUserType === 2 ? '部门级' : state.currentUserType === 3 ? '车间级' :'其他'}}</span>
-          <span v-else-if="state.title == '编辑'">{{state.form.userType === 0 ? '管理员' : state.form.userType === 1 ? '企业级' : state.form.userType === 2 ? '部门级' : state.form.userType === 3 ? '车间级' :'其他'}}</span>
+          <span v-else-if="state.title == '查看'">{{state.currentUserType === 0 ? '管理员' : state.currentUserType === 1 ? '单位级' : state.currentUserType === 2 ? '学院级' : state.currentUserType === 3 ? '实验室级' :'其他'}}</span>
+          <span v-else-if="state.title == '编辑'">{{state.form.userType === 0 ? '管理员' : state.form.userType === 1 ? '单位级' : state.form.userType === 2 ? '学院级' : state.form.userType === 3 ? '实验室级' :'其他'}}</span>
           <!--          <el-radio-group v-model="state.form.userType"  :disabled="disabled" @change="changeType" v-else-if="state.title == '编辑'">-->
 <!--            <el-radio :label="0" v-if="state.currentUserType == 0">管理员</el-radio>-->
-<!--            <el-radio :label="1" >企业级</el-radio>-->
-<!--            <el-radio :label="2" >部门级</el-radio>-->
-<!--            <el-radio :label="3" >车间(岗位)级</el-radio>-->
+<!--            <el-radio :label="1" >单位级</el-radio>-->
+<!--            <el-radio :label="2" >学院级</el-radio>-->
+<!--            <el-radio :label="3" >实验室级</el-radio>-->
 <!--            <el-radio :label="4" >其他</el-radio>-->
 <!--          </el-radio-group>-->
         </el-form-item>
-        <el-form-item label="所属企业:" prop="companyName" v-if="state.title !== '修改密码' && showCompany">
+        <el-form-item label="所属单位:" prop="companyName" v-if="state.title !== '修改密码' && showCompany">
           <el-select
               clearable
               v-if="state.isAdmin"
@@ -79,7 +79,7 @@
 <!--                style="width: 45%"-->
 <!--                v-loadMore="loadMore"-->
 <!--                class="m-2"-->
-<!--                placeholder="请选择所属企业"-->
+<!--                placeholder="请选择所属单位"-->
 <!--                popper-class="more_select_dropdown"-->
 <!--            >-->
 <!--              <el-option-->
@@ -219,7 +219,7 @@
     parentId: null
   },
   formRules:{
-    name: [{ required: true, message: '请输入公司、部门或者车间岗位名称', trigger: 'blur' }],
+    name: [{ required: true, message: '请输入学院、实验室名称称', trigger: 'blur' }],
     companyName: [{ required: true, message: '请选择上级企业', trigger: 'blur' }],
     username: [{ required: true, trigger: "blur", validator: validateUsername }],
     password: [{ required: true, validator: validatePwd, trigger: 'blur' }],
@@ -445,7 +445,7 @@
       showChild.value = false;
     }
   }
-  //当前是企业级/其他用户选择部门
+  //当前是单位级/其他用户选择学院
   if((state.currentUserType === 1 && state.form.userType === 2) || (state.currentUserType === 4 && state.form.userType === 2)){
     state.form.parentId = userInfo.value.id;
     state.form.companyName = userInfo.value.companyName
@@ -453,7 +453,7 @@
     showChild.value = false;
     showCompany.value = true;
 
-  } //当前是企业级/其他用户选择车间
+  } //当前是单位级/其他用户选择实验室
   else if((state.currentUserType === 1 && state.form.userType === 3) || (state.currentUserType === 4 && state.form.userType === 3)){
     state.form.companyName = userInfo.value.companyName
     state.form.companyId = userInfo.value.companyId;
@@ -467,7 +467,7 @@
       scrollRef.value.getList(param,'change');
     })
   }
-  //当前是部门级选择车间
+  //当前是学院级选择实验室
   if((state.currentUserType === 2 && state.form.userType === 3)){
     state.form.parentId = userInfo.value.id;
     state.form.companyName = userInfo.value.companyName
diff --git a/src/views/onlineEducation/systemManage/user/index.vue b/src/views/onlineEducation/systemManage/user/index.vue
index 4bc7af5..6b6f315 100644
--- a/src/views/onlineEducation/systemManage/user/index.vue
+++ b/src/views/onlineEducation/systemManage/user/index.vue
@@ -92,15 +92,15 @@
     },
     {
       id: 1,
-      name: '企业级'
+      name: '单位级'
     },
     {
       id: 2,
-      name: '部门级'
+      name: '学院级'
     },
     {
       id: 3,
-      name: '车间(岗位)级别'
+      name: '实验室级别'
     },
     {
       id: 4,
@@ -128,7 +128,7 @@
     data.dataList = res.data.list.map(item => {
       return {
         ...item,
-        userTypeName: item.userType === 0 ? '管理员' : item.userType === 1 ? '企业级' : item.userType === 2 ? '部门级' : item.userType === 3 ? '车间级' :'其他'
+        userTypeName: item.userType === 0 ? '管理员' : item.userType === 1 ? '单位级' : item.userType === 2 ? '学院级' : item.userType === 3 ? '实验室级' :'其他'
       }
     })
     data.total = res.data.total
@@ -140,7 +140,7 @@
 
 const openDialog = (type, value) => {
   if(userInfo.value.userType === 3){
-    ElMessage.warning('车间级用户不能新增')
+    ElMessage.warning('实验室级用户不能新增')
     return;
   }
   dialogRef.value.openDialog(type, value);
diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue
index c045dae..a251ae0 100644
--- a/src/views/system/dept/index.vue
+++ b/src/views/system/dept/index.vue
@@ -1,17 +1,17 @@
 <template>
    <div class="app-container">
       <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch">
-         <el-form-item label="部门名称" prop="deptName">
+         <el-form-item label="学院名称" prop="deptName">
             <el-input
                v-model="queryParams.deptName"
-               placeholder="请输入部门名称"
+               placeholder="请输入学院名称"
                clearable
                style="width: 200px"
                @keyup.enter="handleQuery"
             />
          </el-form-item>
          <el-form-item label="状态" prop="status">
-            <el-select v-model="queryParams.status" placeholder="部门状态" clearable style="width: 200px">
+            <el-select v-model="queryParams.status" placeholder="学院状态" clearable style="width: 200px">
                <el-option
                   v-for="dict in sys_normal_disable"
                   :key="dict.value"
@@ -55,7 +55,7 @@
          :default-expand-all="isExpandAll"
          :tree-props="{ children: 'children', hasChildren: 'hasChildren' }"
       >
-         <el-table-column prop="deptName" label="部门名称" width="260"></el-table-column>
+         <el-table-column prop="deptName" label="学院名称" width="260"></el-table-column>
          <el-table-column prop="orderNum" label="排序" width="200"></el-table-column>
          <el-table-column prop="status" label="状态" width="100">
             <template #default="scope">
@@ -76,25 +76,25 @@
          </el-table-column>
       </el-table>
 
-      <!-- 添加或修改部门对话框 -->
+      <!-- 添加或修改学院对话框 -->
       <el-dialog :title="title" v-model="open" width="600px" append-to-body>
          <el-form ref="deptRef" :model="form" :rules="rules" label-width="80px">
             <el-row>
                <el-col :span="24" v-if="form.parentId !== 0">
-                  <el-form-item label="上级部门" prop="parentId">
+                  <el-form-item label="上级学院" prop="parentId">
                      <el-tree-select
                         v-model="form.parentId"
                         :data="deptOptions"
                         :props="{ value: 'deptId', label: 'deptName', children: 'children' }"
                         value-key="deptId"
-                        placeholder="选择上级部门"
+                        placeholder="选择上级学院"
                         check-strictly
                      />
                   </el-form-item>
                </el-col>
                <el-col :span="12">
-                  <el-form-item label="部门名称" prop="deptName">
-                     <el-input v-model="form.deptName" placeholder="请输入部门名称" />
+                  <el-form-item label="学院名称" prop="deptName">
+                     <el-input v-model="form.deptName" placeholder="请输入学院名称" />
                   </el-form-item>
                </el-col>
                <el-col :span="12">
@@ -118,7 +118,7 @@
                   </el-form-item>
                </el-col>
                <el-col :span="12">
-                  <el-form-item label="部门状态">
+                  <el-form-item label="学院状态">
                      <el-radio-group v-model="form.status">
                         <el-radio
                            v-for="dict in sys_normal_disable"
@@ -162,8 +162,8 @@
     status: undefined
   },
   rules: {
-    parentId: [{ required: true, message: "上级部门不能为空", trigger: "blur" }],
-    deptName: [{ required: true, message: "部门名称不能为空", trigger: "blur" }],
+    parentId: [{ required: true, message: "上级学院不能为空", trigger: "blur" }],
+    deptName: [{ required: true, message: "学院名称不能为空", trigger: "blur" }],
     orderNum: [{ required: true, message: "显示排序不能为空", trigger: "blur" }],
     email: [{ type: "email", message: "请输入正确的邮箱地址", trigger: ["blur", "change"] }],
     phone: [{ pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, message: "请输入正确的手机号码", trigger: "blur" }]
@@ -172,7 +172,7 @@
 
 const { queryParams, form, rules } = toRefs(data);
 
-/** 查询部门列表 */
+/** 查询学院列表 */
 function getList() {
   loading.value = true;
   listDept(queryParams.value).then(response => {
@@ -218,7 +218,7 @@
     form.value.parentId = row.deptId;
   }
   open.value = true;
-  title.value = "添加部门";
+  title.value = "添加学院";
 }
 /** 展开/折叠操作 */
 function toggleExpandAll() {
@@ -237,7 +237,7 @@
   getDept(row.deptId).then(response => {
     form.value = response.data;
     open.value = true;
-    title.value = "修改部门";
+    title.value = "修改学院";
   });
 }
 /** 提交按钮 */
diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue
index 65c8216..83285fa 100644
--- a/src/views/system/role/index.vue
+++ b/src/views/system/role/index.vue
@@ -273,8 +273,8 @@
 const dataScopeOptions = ref([
   { value: "1", label: "全部数据权限" },
   { value: "2", label: "自定数据权限" },
-  { value: "3", label: "本部门数据权限" },
-  { value: "4", label: "本部门及以下数据权限" },
+  { value: "3", label: "本学院数据权限" },
+  { value: "4", label: "本学院及以下数据权限" },
   { value: "5", label: "仅本人数据权限" }
 ]);
 
@@ -372,11 +372,11 @@
     menuOptions.value = response.data;
   });
 }
-/** 所有部门节点数据 */
+/** 所有学院节点数据 */
 function getDeptAllCheckedKeys() {
-  // 目前被选中的部门节点
+  // 目前被选中的学院节点
   let checkedKeys = deptRef.value.getCheckedKeys();
-  // 半选中的部门节点
+  // 半选中的学院节点
   let halfCheckedKeys = deptRef.value.getHalfCheckedKeys();
   checkedKeys.unshift.apply(checkedKeys, halfCheckedKeys);
   return checkedKeys;
@@ -440,7 +440,7 @@
     return response;
   });
 }
-/** 根据角色ID查询部门树结构 */
+/** 根据角色ID查询学院树结构 */
 function getDeptTree(roleId) {
   return deptTreeSelect(roleId).then(response => {
     deptOptions.value = response.depts;
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index d6cfdd6..d7629fa 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -1,12 +1,12 @@
 <template>
    <div class="app-container">
       <el-row :gutter="20">
-         <!--部门数据-->
+         <!--学院数据-->
          <el-col :span="4" :xs="24">
             <div class="head-container">
                <el-input
                   v-model="deptName"
-                  placeholder="请输入部门名称"
+                  placeholder="请输入学院名称"
                   clearable
                   prefix-icon="Search"
                   style="margin-bottom: 20px"
@@ -134,7 +134,7 @@
                <el-table-column label="用户编号" align="center" key="userId" prop="userId" v-if="columns[0].visible" />
                <el-table-column label="用户名称" align="center" key="userName" prop="userName" v-if="columns[1].visible" :show-overflow-tooltip="true" />
                <el-table-column label="用户昵称" align="center" key="nickName" prop="nickName" v-if="columns[2].visible" :show-overflow-tooltip="true" />
-               <el-table-column label="部门" align="center" key="deptName" prop="dept.deptName" v-if="columns[3].visible" :show-overflow-tooltip="true" />
+               <el-table-column label="学院" align="center" key="deptName" prop="dept.deptName" v-if="columns[3].visible" :show-overflow-tooltip="true" />
                <el-table-column label="手机号码" align="center" key="phonenumber" prop="phonenumber" v-if="columns[4].visible" width="120" />
                <el-table-column label="状态" align="center" key="status" v-if="columns[5].visible">
                   <template #default="scope">
@@ -188,13 +188,13 @@
                   </el-form-item>
                </el-col>
                <el-col :span="12">
-                  <el-form-item label="归属部门" prop="deptId">
+                  <el-form-item label="归属学院" prop="deptId">
                      <el-tree-select
                         v-model="form.deptId"
                         :data="deptOptions"
                         :props="{ value: 'id', label: 'label', children: 'children' }"
                         value-key="id"
-                        placeholder="请选择归属部门"
+                        placeholder="请选择归属学院"
                         check-strictly
                      />
                   </el-form-item>
@@ -372,7 +372,7 @@
   { key: 0, label: `用户编号`, visible: true },
   { key: 1, label: `用户名称`, visible: true },
   { key: 2, label: `用户昵称`, visible: true },
-  { key: 3, label: `部门`, visible: true },
+  { key: 3, label: `学院`, visible: true },
   { key: 4, label: `手机号码`, visible: true },
   { key: 5, label: `状态`, visible: true },
   { key: 6, label: `创建时间`, visible: true }
@@ -404,11 +404,11 @@
   if (!value) return true;
   return data.label.indexOf(value) !== -1;
 };
-/** 根据名称筛选部门树 */
+/** 根据名称筛选学院树 */
 watch(deptName, val => {
   proxy.$refs["deptTreeRef"].filter(val);
 });
-/** 查询部门下拉树结构 */
+/** 查询学院下拉树结构 */
 function getDeptTree() {
   deptTreeSelect().then(response => {
     deptOptions.value = response.data;
diff --git a/src/views/system/user/profile/index.vue b/src/views/system/user/profile/index.vue
index 5851f05..17f51e1 100644
--- a/src/views/system/user/profile/index.vue
+++ b/src/views/system/user/profile/index.vue
@@ -26,7 +26,7 @@
                         <div class="pull-right">{{ state.user.email }}</div>
                      </li>
                      <li class="list-group-item">
-                        <svg-icon icon-class="tree" />所属部门
+                        <svg-icon icon-class="tree" />所属学院
                         <div class="pull-right" v-if="state.user.dept">{{ state.user.dept.deptName }} / {{ state.postGroup }}</div>
                      </li>
                      <li class="list-group-item">

--
Gitblit v1.9.2