Commit 120d4220 authored by 黄奎's avatar 黄奎

页面修改

parent e749f067
...@@ -147,7 +147,7 @@ ...@@ -147,7 +147,7 @@
<script> <script>
import { import {
GetPaper GetPaper
} from '../api/teacher/index'; } from '../../api/teacher/index';
export default { export default {
meta: { meta: {
title: "考试" title: "考试"
......
...@@ -35,7 +35,8 @@ ...@@ -35,7 +35,8 @@
v-model="msg.tikuName" :options="tikuList" emit-value map-options label="所属题库" /> v-model="msg.tikuName" :options="tikuList" emit-value map-options label="所属题库" />
</div> --> </div> -->
<div class="col-3"> <div class="col-3">
<q-input @change="getList" clearable filled v-model="msg.PaperName" @clear="getList" maxlength="20" label="输入试卷名称、组卷人查找" /> <q-input @change="getList" clearable filled v-model="msg.PaperName" @clear="getList" maxlength="20"
label="输入试卷名称、组卷人查找" />
</div> </div>
</div> </div>
</div> </div>
...@@ -56,7 +57,7 @@ ...@@ -56,7 +57,7 @@
<q-td :props="props" style="width:100px;"> <q-td :props="props" style="width:100px;">
<q-btn flat size="xs" color="primary" style="font-weight:400" label="封存" /> <q-btn flat size="xs" color="primary" style="font-weight:400" label="封存" />
<q-btn flat size="xs" color="primary" style="font-weight:400" label="预览" /> <q-btn flat size="xs" color="primary" style="font-weight:400" label="预览" />
<q-btn flat size="xs" color="primary" style="font-weight:400" @click="goExameEdit()" label="编辑" /> <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" label="复制" /> <q-btn flat size="xs" color="primary" style="font-weight:400" label="复制" />
<q-btn flat size="xs" color="primary" style="font-weight:400" label="发布考试" /> <q-btn flat size="xs" color="primary" style="font-weight:400" label="发布考试" />
<q-btn flat size="xs" color="primary" style="font-weight:400" label="分配管理" /> <q-btn flat size="xs" color="primary" style="font-weight:400" label="分配管理" />
...@@ -100,12 +101,12 @@ ...@@ -100,12 +101,12 @@
}], }],
dataList: [], dataList: [],
columns: [ columns: [
// { // {
// name: 'PaperId', // name: 'PaperId',
// label: '序号', // label: '序号',
// field: 'PaperId', // field: 'PaperId',
// align: 'left', // align: 'left',
// }, // },
{ {
name: 'PaperName', name: 'PaperName',
label: '试卷名称', label: '试卷名称',
...@@ -160,12 +161,14 @@ ...@@ -160,12 +161,14 @@
this.getList(); this.getList();
}, },
//点击编辑 跳转 //点击编辑 跳转
goExameEdit() { goExameEdit(item) {
this.OpenNewUrl('/examEdit', {}) console.log("item",item);
this.OpenNewUrl('/exam/examEdit', {
Id: item.PaperId
})
} }
} }
} }
</script> </script>
<style lang="sass"> <style lang="sass">
@import url('~assets/css/table.sass') @import url('~assets/css/table.sass')
......
...@@ -1039,9 +1039,14 @@ const routes = [{ ...@@ -1039,9 +1039,14 @@ const routes = [{
import("pages/teacher/myClass") import("pages/teacher/myClass")
}, },
{ {
path: "/teacher/examManagement", //试卷管理 path: "/exam/examManagement", //试卷管理
component: () => component: () =>
import("pages/teacher/examManagement") import("pages/exam/examManagement")
},
{
path: "/exam/examEdit", //考试编辑
component: () =>
import("pages/exam/examEdit")
}, },
{ {
path: "/teacher/testdatabase", //题库查询 path: "/teacher/testdatabase", //题库查询
...@@ -1198,11 +1203,7 @@ const routes = [{ ...@@ -1198,11 +1203,7 @@ const routes = [{
component: () => component: () =>
import("pages/courseRefundH5.vue") import("pages/courseRefundH5.vue")
}, },
{
path: "/examEdit", //考试编辑
component: () =>
import("pages/examEdit")
},
{ {
path: "/financial/financalDocument/PrintPage", //财务单据打印 path: "/financial/financalDocument/PrintPage", //财务单据打印
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