Commit 9333b10a authored by 黄奎's avatar 黄奎

新增页面

parent 12483eb2
...@@ -156,6 +156,19 @@ export function GetPaper(data) { ...@@ -156,6 +156,19 @@ export function GetPaper(data) {
}) })
} }
/**
* 考试获取考试题目
* @param {JSON参数} data
*/
export function queryPaperDetails(data) {
return request({
url: '/AppletIndex/GetPaperDetails',
method: 'post',
data
})
}
/** /**
* 保存试卷信息 * 保存试卷信息
* @param {JSON参数} data * @param {JSON参数} data
......
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
</template> </template>
<template v-if="props.row.PaperType==2"> <template v-if="props.row.PaperType==2">
<q-btn flat size="xs" color="primary" style="font-weight:400" @click="goExameEdit(props.row)" label="编辑" <q-btn flat size="xs" color="primary" style="font-weight:400" @click="goExameEdit(props.row)" label="编辑"
v-if="currentUserInfo.Id==props.row.CreateBy &&(props.row.ExamineStatus==0||props.row.ExamineStatus==3||props.row.ExamineStatus==4)" /> />
</template> </template>
<q-btn-dropdown flat size="xs" color="dark" label="更多" style="margin-left: 10px"> <q-btn-dropdown flat size="xs" color="dark" label="更多" style="margin-left: 10px">
<q-list> <q-list>
......
...@@ -49,23 +49,7 @@ ...@@ -49,23 +49,7 @@
</template> </template>
<template v-slot:body-cell-optioned="props"> <template v-slot:body-cell-optioned="props">
<q-td :props="props"> <q-td :props="props">
<!-- <q-btn
flat
size="xs"
color="accent"
style="font-weight: 400"
label="停课"
@click="ShowStopLesson(props.row)"
v-if="props.row.GuestState === 1"
/>
<q-btn
flat
size="xs"
color="accent"
style="font-weight: 400"
label="课耗明细"
@click="goUrl(props.row)"
/> -->
</q-td> </q-td>
</template> </template>
</q-table> </q-table>
......
This diff is collapsed.
This diff is collapsed.
...@@ -1072,6 +1072,11 @@ const routes = [{ ...@@ -1072,6 +1072,11 @@ const routes = [{
component: () => component: () =>
import("pages/exam/paperInfo") import("pages/exam/paperInfo")
}, },
{
path: "/exam/examtest", //学生考试
component: () =>
import("pages/exam/examtest")
},
{ {
path: "/exam/paperCreate", //试卷组卷 path: "/exam/paperCreate", //试卷组卷
component: () => component: () =>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment