龚焕茏
2024-07-16 0ebcc1fd3b16b7a43e85a9a4bde1a1cee3ae5831
feat:出生年月取消必填、隐藏模拟菜单
3个文件已修改
43 ■■■■ 已修改文件
src/router.js 38 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/exam/personalRandomTemplate/list.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/user/student/edit.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router.js
@@ -171,18 +171,18 @@
        meta: { title: '单选题编辑', noCache: true, activeMenu: '/exam/question/list' },
        hidden: true
      },
      {
        path: 'simulation/list',
        component: () => import('@/views/exam/simulation/list'),
        name: 'personalSimulationList',
        meta: { title: '模拟列表', noCache: true }
      },
      {
        path: 'personalSimulation/list',
        component: () => import('@/views/exam/personalSimulation/list'),
        name: 'personalSimulation',
        meta: { title: '个人模拟', noCache: true }
      },
      // {
      //   path: 'simulation/list',
      //   component: () => import('@/views/exam/simulation/list'),
      //   name: 'personalSimulationList',
      //   meta: { title: '模拟列表', noCache: true }
      // },
      // {
      //   path: 'personalSimulation/list',
      //   component: () => import('@/views/exam/personalSimulation/list'),
      //   name: 'personalSimulation',
      //   meta: { title: '个人模拟', noCache: true }
      // },
      {
        path: 'personalRandomTemplate/list',
        component: () => import('@/views/exam/personalRandomTemplate/list'),
@@ -215,13 +215,13 @@
        name: 'feedback',
        meta: { title: '错题反馈', noCache: true }
      },
      {
        path: 'personalSimulation/list/mathList',
        component: () => import('@/views/exam/mathList/list.vue'),
        name: 'multiplemathList',
        meta: { title: '模拟列表详情', noCache: true, activeMenu: '/exam/mathList/list' },
        hidden: true
      },
      // {
      //   path: 'personalSimulation/list/mathList',
      //   component: () => import('@/views/exam/mathList/list.vue'),
      //   name: 'multiplemathList',
      //   meta: { title: '模拟列表详情', noCache: true, activeMenu: '/exam/mathList/list' },
      //   hidden: true
      // },
      {
        path: 'question/edit/multipleChoice',
        component: () => import('@/views/exam/question/edit/multiple-choice'),
src/views/exam/personalRandomTemplate/list.vue
@@ -25,6 +25,7 @@
        range-separator="至"
        start-placeholder="开始日期"
        end-placeholder="结束日期"
        value-format="yyyy-MM-dd"
        :picker-options="pickerOptions">
      </el-date-picker>
    </el-form-item>
@@ -278,6 +279,7 @@
    search () {
      this.listLoading = true
      this.queryParam.status = 0
      if (this.queryParam.period) this.queryParam.period[1] += ' 23:59:59'
      examPaperApi.pageselfList(this.queryParam).then(data => {
        const re = data.response
        this.tableData = re.list
src/views/user/student/edit.vue
@@ -90,9 +90,6 @@
        ],
        deptIds: [
          { required: true, message: '请选择部门', trigger: 'change' }
        ],
        birthDay: [
          { required: true, message: '请选择出生日期', trigger: 'blur' }
        ]
      }
    }