Commit eb825bcc authored by zhengke's avatar zhengke

修改

parent 34419732
...@@ -18,14 +18,37 @@ ...@@ -18,14 +18,37 @@
color: red; color: red;
cursor: pointer; cursor: pointer;
} }
.setpaperCreat {
border: 1px dashed #E1E1E5;
padding-top: 12px;
border-radius: 4px;
padding: 12px 4px 0 4px;
margin: 20px 0 10px 68px;
}
.setpaperCreat span {
display: inline-block;
background: #F2F5FA;
padding: 0 10px;
height: 26px;
line-height: 26px;
border-radius: 14px;
color: #181E33;
margin-left: 10px;
margin-bottom: 12px;
font-size: 12px;
}
</style> </style>
<template> <template>
<div class="page-body"> <div class="page-body">
组卷题库(<span style="color:red;">*</span>): {{ShowBankName}} <br /> <div>
<a style="cursor:pointer;color:blue;margin:10px 0 10px 0;display:inline-block;" @click="showQuestionBank">选择题库</a> 组卷题库(<span style="color:red;">*</span>)
<br /> <q-btn color="accent" size="sm" @click="showQuestionBank" class="q-mr-md" label="选择题库"  /><br />
<a style="cursor:pointer;color:blue;margin-bottom:10px;display:inline-block;" @click="showExamTemplate">选择模板</a> </div>
<div class="setpaperCreat" v-if="QuestionArray.length>0">
<span v-for="(item,index) in QuestionArray" :key="index">{{item.BankName}}</span>
</div>
<q-btn color="accent" size="sm" style="margin-top:20px;" @click="showExamTemplate" class="q-mr-md" label="选择模板" /><br />
<br /> <br />
<div class="row"> <div class="row">
<q-input filled stack-label maxlength="100" :dense="false" v-model="templateMsg.TemplateName" <q-input filled stack-label maxlength="100" :dense="false" v-model="templateMsg.TemplateName"
...@@ -132,7 +155,8 @@ ...@@ -132,7 +155,8 @@
BankList: [], BankList: [],
MoreQuestionTypeId: "", //更多题型 MoreQuestionTypeId: "", //更多题型
questionTypeList: [], //问题列表 questionTypeList: [], //问题列表
saveLoading:false saveLoading:false,
QuestionArray:[]
} }
}, },
created() { created() {
...@@ -297,6 +321,7 @@ ...@@ -297,6 +321,7 @@
}, },
//获取选择的题库 //获取选择的题库
getBankData(bankArray) { getBankData(bankArray) {
this.QuestionArray = bankArray;
this.isShowQuestionBank = false; this.isShowQuestionBank = false;
var qBankIds = ""; var qBankIds = "";
var sBankName = ""; var sBankName = "";
......
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