diff --git a/src/api/config.js b/src/api/config.js index fc8ebe82..90d5a99d 100644 --- a/src/api/config.js +++ b/src/api/config.js @@ -23,6 +23,7 @@ http.interceptors.request.use( console.log("当前请求页面无token,请执行操作!!!"); // 此处测试默认配置token config.headers.token = "123456"; + // config.headers.token = "eyJ0eXBlIjoidG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC91LmJvZS5jb20iLCJpYXQiOjE2Njg4NjI2MTAsImV4cCI6MTY2ODg2OTgxMCwiR2l2ZW5OYW1lIjoiYm9ldSIsInVzZXJJZCI6IjZCMDQ5RkFGLUMzMTQtN0NDRi0wRDI4LTBEMjNGNEM0MjUzMSIsInVJZCI6Ijk2NTM0MjAyNzQ5NzYwNzE2OCIsInBlcm1pc3Npb24iOiIifQ==.defa91ecb2b61d9b20d858db0c2c8d7d80dea4613cb2559a22569b7df36b3f6b"; } return config; }, diff --git a/src/api/indexCase.js b/src/api/indexCase.js index 3cde9d27..96d0d3ca 100644 --- a/src/api/indexCase.js +++ b/src/api/indexCase.js @@ -1,4 +1,4 @@ import http from "./config"; //获取案例信息 -export const queryCasesDetailList = (obj) => http.post(" /cases/queryCasesDetailList", obj); \ No newline at end of file +export const queryCasesDetailList = (obj) => http.post("/cases/queryCasesDetailList", obj); \ No newline at end of file diff --git a/src/api/indexEval.js b/src/api/indexEval.js index e7419800..7f2da7ce 100644 --- a/src/api/indexEval.js +++ b/src/api/indexEval.js @@ -68,7 +68,7 @@ export const updateEvaluation = (obj) => //测评列表查询接口 export const choiceEvaluation = (obj) => - http.post(" /evaluation/choiceEvaluation", obj); + http.post("/evaluation/choiceEvaluation", obj); // 测试方法 // import * as api from '../../api/index' diff --git a/src/api/indexTest.js b/src/api/indexTest.js new file mode 100644 index 00000000..bf7b5eab --- /dev/null +++ b/src/api/indexTest.js @@ -0,0 +1,19 @@ +import http from "./config"; + + +//创建考试信息接口 +export const createExamination = (obj) => http.post('/examination/createExamination',obj); +//根据Id删除考试信息 +export const deleteExaminationById = (obj) => http.post('/examination/deleteExaminationById',{params:obj}); +//根据ID获取考试信息详情 +export const queryExaminationDetailById = (obj) => http.post('/examination/queryExaminationDetailById',{params:obj}); +//获取考试试卷 +// export const queryExaminationPaper = (obj) => http.post('/examination/queryExaminationPaper',obj); +export const queryExaminationPaper = (obj) => http.post('/examination/queryExaminationPaperList',obj); +//修改考试信息接口 +export const updateExamination = (obj) => http.post('/examination/updateExamination',obj,{ + header:{ + 'token': '123', + 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8', + } +}); \ No newline at end of file diff --git a/src/components/drawers/ AssessmentList.vue b/src/components/drawers/ AssessmentList.vue index ab7d1fff..1b7d4992 100644 --- a/src/components/drawers/ AssessmentList.vue +++ b/src/components/drawers/ AssessmentList.vue @@ -46,7 +46,7 @@ expandRowByClick="true" @expand="expandTable" :pagination="false" - :row-selection="rowSelection" + :row-selection=" rowSelection " filterMultiple:false /> @@ -70,7 +70,7 @@ + \ No newline at end of file diff --git a/src/components/drawers/CheckQue.vue b/src/components/drawers/CheckQue.vue new file mode 100644 index 00000000..dcfafaa4 --- /dev/null +++ b/src/components/drawers/CheckQue.vue @@ -0,0 +1,287 @@ + + + + \ No newline at end of file diff --git a/src/components/drawers/CheckVote.vue b/src/components/drawers/CheckVote.vue index 527ff43c..5e8b862a 100644 --- a/src/components/drawers/CheckVote.vue +++ b/src/components/drawers/CheckVote.vue @@ -7,26 +7,34 @@ @after-visible-change="afterVisibleChange" >
-
+
查看投票
-
+
评估名称:管理者进阶投票
-
基础信息
-
作业名称:{{"管理者进阶作业"}}
-
作业要求:{{"写一篇观后感,字数600字"}}
-
- 作业信息: -
- -
{{"京东方商业模型.jpeg"}}
-
查看
-
下载
+
投票说明
+
+
+
{{ index+1 +"."+ item.quename }}
+
+ +
+
+ + {{items.answercontent}} + +
+
+
+
@@ -50,8 +58,41 @@ export default { }, setup(props,ctx){ const state = reactive({ - + valueE1:"", + queData:[ + { + quetype:false, + quename:"当前项目对您是否有帮助?", + value:1, + answer:[ + { + value:1, + answercontent:"有帮助" + }, + { + value:2, + answercontent:"mei帮助" + } + ] + }, + { + quetype:true, + quename:"当前项目对您是否有帮助memememememeemme?", + value:2, + answer:[ + { + value:1, + answercontent:"有帮助" + }, + { + value:2, + answercontent:"mei帮助" + } + ] + } + ], }) + const closeDrawer = ()=> { ctx.emit("update:CVvisible",false) } @@ -73,13 +114,12 @@ export default { margin: 0px 32px 0px 32px; display: flex; flex-direction: column; - .header { + .headersub { height: 73px; - border-bottom: 1px solid #e8e8e8; display: flex; justify-content: space-between; align-items: center; - margin-bottom: 20px; + .headerTitle { font-size: 18px; font-weight: 600; @@ -87,34 +127,32 @@ export default { line-height: 25px; } } + .headersup{ + border-bottom: 1px solid #e8e8e8; + padding-bottom: 20px; + } .main { width: 100%; overflow-y: auto; margin-bottom: 70px; .basetext{ - font-size: 16px; - font-weight: 600; color: #333333; line-height: 25px; + margin-top: 27px ; margin-bottom: 27px ; } - .HW{ - margin-bottom: 20px; - } - .hwText{ - display: flex; - align-items: center; - margin: 15px auto; - img{ - background-size: 100% 100%; - } - .hwName{ - margin:auto 10px; - } - .op{ - color:#388be1; - margin: auto 20px; - cursor: pointer; + .basequestion{ + .ques{ + .quename{ + margin: 10px auto ; + font-weight: bold; + } + .queanswer{ + padding-left: 20px; + .queabox{ + margin-bottom: 10px; + } + } } } } diff --git a/src/components/drawers/EvList.vue b/src/components/drawers/EvList.vue index d0bd45ba..5bb04782 100644 --- a/src/components/drawers/EvList.vue +++ b/src/components/drawers/EvList.vue @@ -47,16 +47,10 @@