fuliqi
2023-11-28 15ba3357bc9924b439d9a31976cf585f2c397c64
随即试卷时间段
3个文件已修改
8 ■■■■■ 已修改文件
src/router.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/exam/personalRandomTemplate/edit.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router.js
@@ -124,7 +124,7 @@
        path: 'personalRandomTemplate/list',
        component: () => import('@/views/exam/personalRandomTemplate/list'),
        name: 'personalSimulation',
        meta: { title: '个人随机模板', noCache: true }
        meta: { title: '随机试卷', noCache: true }
      },
      {
        path: 'personalRandomTemplate/edit',
src/views/exam/personalRandomTemplate/edit.vue
@@ -17,7 +17,8 @@
          <el-option v-for="item in paperTypeEnum" :key="item.key" :value="item.key" :label="item.value" ></el-option>
        </el-select>
      </el-form-item>
      <el-form-item label="时间限制:" required v-show="form.paperType===4">
      <el-form-item label="时间限制:"">
        <el-date-picker v-model="form.limitDateTime" value-format="yyyy-MM-dd HH:mm:ss" type="datetimerange"
                        range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期">
        </el-date-picker>
@@ -85,6 +86,7 @@
      <el-form-item label="建议时长:" prop="suggestTime" required>
        <el-input v-model="form.suggestTime" placeholder="分钟"/>
      </el-form-item>
      <el-form-item>
        <el-button type="primary" @click="submitForm">提交</el-button>
        <el-button @click="resetForm">重置</el-button>
vue.config.js
@@ -19,7 +19,7 @@
    hotOnly: false,
    proxy: {
      '/api': {
        target: 'http://80.36.32.171:8085',
        target: 'http://localhost:8000',
        changeOrigin: true
      }
    }