Commit 2276fc43 authored by 黄奎's avatar 黄奎

新增页面

parent 5135b89c
...@@ -136,10 +136,14 @@ ...@@ -136,10 +136,14 @@
<q-item-label>发布考试</q-item-label> <q-item-label>发布考试</q-item-label>
</q-item-section> </q-item-section>
</q-item> </q-item>
<q-item clickable v-close-popup @click="showPaperInfo(scope.row)">
<q-item-section>
<q-item-label>详情</q-item-label>
</q-item-section>
</q-item>
</q-list> </q-list>
</q-btn-dropdown> </q-btn-dropdown>
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -241,6 +245,16 @@ ...@@ -241,6 +245,16 @@
this.OpenNewUrl('/exam/paperPublish', { this.OpenNewUrl('/exam/paperPublish', {
PaperId: PaperId PaperId: PaperId
}) })
},
//试卷详情
showPaperInfo(item) {
let PaperId = 0;
if (item) {
PaperId = item.PaperId
}
this.OpenNewUrl('/exam/paperInfo', {
PaperId: PaperId
})
} }
} }
} }
......
This diff is collapsed.
...@@ -1049,17 +1049,22 @@ const routes = [{ ...@@ -1049,17 +1049,22 @@ const routes = [{
import("pages/exam/examlist") import("pages/exam/examlist")
}, },
{ {
path: "/exam/paperEdit", //考试编辑 path: "/exam/paperEdit", //试卷编辑
component: () => component: () =>
import("pages/exam/paperEdit") import("pages/exam/paperEdit")
}, },
{ {
path: "/exam/paperCreate", //考试组卷 path: "/exam/paperInfo", //试卷详情
component: () =>
import("pages/exam/paperInfo")
},
{
path: "/exam/paperCreate", //试卷组卷
component: () => component: () =>
import("pages/exam/paperCreate") import("pages/exam/paperCreate")
}, },
{ {
path: "/exam/paperPublish", //发布考试 path: "/exam/paperPublish", //试卷发布考试
component: () => component: () =>
import("pages/exam/paperPublish") import("pages/exam/paperPublish")
}, },
......
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