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

页面修改

parent e749f067
......@@ -147,7 +147,7 @@
<script>
import {
GetPaper
} from '../api/teacher/index';
} from '../../api/teacher/index';
export default {
meta: {
title: "考试"
......
......@@ -35,7 +35,8 @@
v-model="msg.tikuName" :options="tikuList" emit-value map-options label="所属题库" />
</div> -->
<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>
......@@ -56,7 +57,7 @@
<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" @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="分配管理" />
......@@ -100,12 +101,12 @@
}],
dataList: [],
columns: [
// {
// name: 'PaperId',
// label: '序号',
// field: 'PaperId',
// align: 'left',
// },
// {
// name: 'PaperId',
// label: '序号',
// field: 'PaperId',
// align: 'left',
// },
{
name: 'PaperName',
label: '试卷名称',
......@@ -160,12 +161,14 @@
this.getList();
},
//点击编辑 跳转
goExameEdit() {
this.OpenNewUrl('/examEdit', {})
goExameEdit(item) {
console.log("item",item);
this.OpenNewUrl('/exam/examEdit', {
Id: item.PaperId
})
}
}
}
</script>
<style lang="sass">
@import url('~assets/css/table.sass')
......
......@@ -1039,9 +1039,14 @@ const routes = [{
import("pages/teacher/myClass")
},
{
path: "/teacher/examManagement", //试卷管理
path: "/exam/examManagement", //试卷管理
component: () =>
import("pages/teacher/examManagement")
import("pages/exam/examManagement")
},
{
path: "/exam/examEdit", //考试编辑
component: () =>
import("pages/exam/examEdit")
},
{
path: "/teacher/testdatabase", //题库查询
......@@ -1198,11 +1203,7 @@ const routes = [{
component: () =>
import("pages/courseRefundH5.vue")
},
{
path: "/examEdit", //考试编辑
component: () =>
import("pages/examEdit")
},
{
path: "/financial/financalDocument/PrintPage", //财务单据打印
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