龚焕茏
2024-07-19 9a2293ea12531e49bb183a1a98e7bc3b065fffa6
feat:通知空数据提示
4个文件已修改
14 ■■■■ 已修改文件
src/layout/components/Navbar.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/education/department/edit.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/education/department/list.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/education/subject/list.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/layout/components/Navbar.vue
@@ -32,11 +32,14 @@
      <div class="notify-warp" v-if="notify.feedBack && notify.feedBack > 0">
        {{notify.feedBack}}条<el-link @click="jump('/exam/feedback/list')" class="core" type="primary">错题反馈</el-link>等待您的处理!
      </div>
      <div class="notify-warp" v-if="notify.mobilize && notify.mobilize > 0">
      <div class="notify-warp" v-else-if="notify.mobilize && notify.mobilize > 0">
        {{notify.mobilize}}条<el-link @click="jump('/user/departmentExamine/list')" class="core" type="primary">部门调动审核</el-link>等待您的处理!
      </div>
      <div class="notify-warp" v-if="notify.status && notify.status > 0">
      <div class="notify-warp" v-else-if="notify.status && notify.status > 0">
        {{notify.status}}条<el-link @click="jump('/user/UserConditionExamine/list')" class="core" type="primary">状态审核</el-link>等待您的处理!
      </div>
      <div class="notify-warp" v-else-if="notify.feedBack === 0 && notify.mobilize === 0 && notify.status === 0 ">
        <el-empty description="暂无通知"></el-empty>
      </div>
      <span slot="footer" class="dialog-footer">
        <el-button v-if="this.notify.ids && this.notify.ids.length > 0" type="success" @click="allRead">一键全读</el-button>
@@ -123,6 +126,7 @@
.notify-warp {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.navbar {
  height: 60px;
src/views/education/department/edit.vue
@@ -19,7 +19,7 @@
<!--        </el-select>-->
<!--      </el-form-item>-->
      <el-form-item v-if="fig === 0" label="管理员:">
        <el-select v-model="form.adminId" filterable placeholder="选择管理员">
        <el-select v-model="form.adminId" filterable placeholder="选择管理员" multiple collapse-tags>
          <el-option
            v-for="item in deptUserList"
            :key="item.id"
src/views/education/department/list.vue
@@ -21,6 +21,7 @@
      style="width: 100%"
      :tree-props="{children: 'children', hasChildren: 'hasChildren'}"
      :row-class-name="tableRowClassName"
      default-expand-all
      row-key="id"
    >
      <el-table-column prop="name" label="部门"/>
@@ -47,7 +48,7 @@
      :visible.sync="dialogVisible"
      width="400px"
      :before-close="handleClose">
      <el-select v-model="updateAdminForm.adminIds" @change="changSelect" multiple filterable placeholder="选择管理员">
      <el-select v-model="updateAdminForm.adminIds" @change="changSelect" multiple filterable placeholder="选择管理员" collapse-tags>
        <el-option
          v-for="item in deptUserList"
          :key="item.id"
src/views/education/subject/list.vue
@@ -18,6 +18,7 @@
    <el-table
      v-loading="listLoading"
      :data="tableData"
      default-expand-all
      border fit highlight-current-row style="width: 100%"
      :tree-props="{children: 'children', hasChildren: 'hasChildren'}"
      row-key="id"