Commit aec16fab authored by 黄奎's avatar 黄奎

页面修改

parent 0cfb94bd
......@@ -207,7 +207,7 @@
</div>
<div class="Exam-right f1">
<div class="Left-btn">
          <div>
 <div>
<template v-for="(fItem,fIndex) in firstTypeList">
<q-btn :key="fIndex" color="accent" :id="commonIndex==fIndex?'btn1':''" size="sm" :label="fItem.Name"
style="margin-left:5px;" @click="onItemClick(fItem,fIndex)" />
......@@ -223,10 +223,9 @@
</q-list>
</q-btn-dropdown>
</div>
          <div>
            
 <div>
<q-btn color="accent" size="sm" @click="isShowQuestion=true" class="q-mr-md" label="题库选题"  />
          </div>
 </div>
</div>
<div class="row wrap" v-if="ChooseItem" style="padding:20px;">
<div class="edit_stem">
......@@ -400,6 +399,12 @@
this.GetPaperInfo()
},
methods: {
//获取子组件内容
getChildData(obj) {
if (obj) {
this.ChooseItem.QuestionContent = JSON.stringify(obj);
}
},
//获取题型列表
getQuestionType() {
queryQuestionTypeList({}).then(res => {
......
......@@ -51,18 +51,33 @@
</el-table-column>
<el-table-column prop="QuestionCount" label="题量" width="100">
<template slot-scope="scope">
<template v-if="scope.row.PaperType==1">
---
</template>
<template v-if="scope.row.PaperType==2">
{{ scope.row.QuestionCount }}
</template>
</template>
</el-table-column>
<el-table-column prop="DifficultyTypeName" label="难度" width="200">
<template slot-scope="scope">
<template v-if="scope.row.PaperType==1">
---
</template>
<template v-if="scope.row.PaperType==2">
{{ scope.row.DifficultyTypeName }}
</template>
</template>
</el-table-column>
<el-table-column prop="PublishCount" label="发放次数" width="200">
<template slot-scope="scope">
<template v-if="scope.row.PaperType==1">
---
</template>
<template v-if="scope.row.PaperType==2">
{{ scope.row.PublishCount }}
</template>
</template>
</el-table-column>
<el-table-column prop="CreateByName" label="创建人" width="200">
<template slot-scope="scope">
......@@ -91,7 +106,8 @@
<q-pagination class="full-width justify-end" v-model="msg.pageIndex" color="primary" :max="pageCount"
:input="true" @input="changePage" />
</div>
<paperfolderForm v-if="isShowExamFolder" :saveObj="examObj"  @close="closeExamForm"  @success="refreshPage"></paperfolderForm>
<paperfolderForm v-if="isShowExamFolder" :saveObj="examObj"  @close="closeExamForm"  @success="refreshPage">
</paperfolderForm>
</div>
</template>
<script>
......
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