提交 94fe0710 authored 作者: lihuihui's avatar lihuihui

update

上级 5b4ffe04
...@@ -5,13 +5,13 @@ export default class ExamAPI extends BaseAPI { ...@@ -5,13 +5,13 @@ export default class ExamAPI extends BaseAPI {
* 获取考试信息 * 获取考试信息
* @param {[string]} examId resource_id * @param {[string]} examId resource_id
*/ */
getTopic = (examId) => this.get(`/ehall/v1/exam/sheet/${examId}`, {}) getTopic = (examId) => this.get(`/xexam/v1/exam/sheet/${examId}`, {})
/* 缓存考试 */ /* 缓存考试 */
setCache = (examId = {}, obj = {}) => this.post(`/ehall/v1/exam/cache/${examId}`, obj, { headers: { 'Content-Type': 'application/x-www-form-urlencoded' } }) setCache = (examId = {}, obj = {}) => this.post(`/xexam/v1/exam/cache/${examId}`, obj, { headers: { 'Content-Type': 'application/x-www-form-urlencoded' } })
/* 获取缓存 */ /* 获取缓存 */
getCache = (examId) => this.get(`/ehall/v1/exam/cache/${examId}`, {}) getCache = (examId) => this.get(`/xexam/v1/exam/cache/${examId}`, {})
/* 缓存考试 */ /* 缓存考试 */
endExam = (examId = {}, obj = {}) => this.post(`/ehall/v1/exam/sheet/${examId}`, obj, { headers: { 'Content-Type': 'application/x-www-form-urlencoded' } }) endExam = (examId = {}, obj = {}) => this.post(`/xexam/v1/exam/sheet/${examId}`, obj, { headers: { 'Content-Type': 'application/x-www-form-urlencoded' } })
/** /**
* 进入考试 * 进入考试
*/ */
......
...@@ -5,12 +5,12 @@ export default class TestAPI extends BaseAPI { ...@@ -5,12 +5,12 @@ export default class TestAPI extends BaseAPI {
* 获取考试信息 * 获取考试信息
* @param {[string]} examId resource_id * @param {[string]} examId resource_id
*/ */
getExamInfo = (examId) => this.get(`/ehall/v1/exam/view/${examId}`, {}) getExamInfo = (examId) => this.get(`/xexam/v1/exam/view/${examId}`, {})
/** /**
* 进入考试 * 进入考试
*/ */
userLogin = (obj = {}) => this.post('/ehall/v1/user/login', obj, { headers: { 'Content-Type': 'application/x-www-form-urlencoded' } }) userLogin = (obj = {}) => this.post('/xexam/v1/user/login', obj, { headers: { 'Content-Type': 'application/x-www-form-urlencoded' } })
confirmInfo = (obj = {}) => this.post('/ehall/v1/user/confirm', obj, { headers: { 'Content-Type': 'application/x-www-form-urlencoded' } }) confirmInfo = (obj = {}) => this.post('/xexam/v1/user/confirm', obj, { headers: { 'Content-Type': 'application/x-www-form-urlencoded' } })
// /** // /**
// * post传输方式 // * post传输方式
// * @param {[object]} obj // * @param {[object]} obj
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<div class="tips">{{ tips }}</div> <div class="tips">{{ tips }}</div>
<!-- 您登录的次数已超过最大限制 --> <!-- 您登录的次数已超过最大限制 -->
<input type="text" @click="fullScreen" v-model="examineeNumber" placeholder="请输入准考证号" v-show="!loginParam.is"> <input type="text" @click="fullScreen" v-model="examineeNumber" placeholder="请输入准考证号" v-show="!loginParam.is">
<input type="text" placeholder="请输入准考证号" readonly="readonly" class="prohibit" v-show="loginParam.is"> <input type="text" @click="fullScreen" placeholder="请输入准考证号" readonly="readonly" class="prohibit" v-show="loginParam.is">
<div class="btn" @click="login">登录</div> <div class="btn" @click="login">登录</div>
<!-- <div class="btn prohibit">登录</div> --> <!-- <div class="btn prohibit">登录</div> -->
<div class="time-tips" v-show="loginParam.is">{{ loginParam.countTimeText }}</div> <div class="time-tips" v-show="loginParam.is">{{ loginParam.countTimeText }}</div>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论