别名
This commit is contained in:
parent
0416e559bb
commit
de6a4f8293
@ -155,6 +155,15 @@
|
||||
>
|
||||
</el-input>
|
||||
</div>
|
||||
<div class="title">
|
||||
<span>别名: </span>
|
||||
<el-input
|
||||
placeholder="请输入别名"
|
||||
v-model="item.questionNameAlias"
|
||||
clearable
|
||||
>
|
||||
</el-input>
|
||||
</div>
|
||||
<div class="options">
|
||||
<span>选项: </span>
|
||||
<div>
|
||||
@ -255,6 +264,15 @@
|
||||
>
|
||||
</el-input>
|
||||
</div>
|
||||
<div class="title">
|
||||
<span>别名: </span>
|
||||
<el-input
|
||||
placeholder="请输入别名"
|
||||
v-model="item.questionNameAlias"
|
||||
clearable
|
||||
>
|
||||
</el-input>
|
||||
</div>
|
||||
<div class="options">
|
||||
<span>选项: </span>
|
||||
<div>
|
||||
@ -346,6 +364,15 @@
|
||||
>
|
||||
</el-input>
|
||||
</div>
|
||||
<div class="title">
|
||||
<span>别名: </span>
|
||||
<el-input
|
||||
placeholder="请输入别名"
|
||||
v-model="item.questionNameAlias"
|
||||
clearable
|
||||
>
|
||||
</el-input>
|
||||
</div>
|
||||
<div class="options" style="align-items: center">
|
||||
<span>回答: </span>
|
||||
<el-input
|
||||
@ -384,6 +411,15 @@
|
||||
>
|
||||
</el-input>
|
||||
</div>
|
||||
<div class="title">
|
||||
<span>别名: </span>
|
||||
<el-input
|
||||
placeholder="请输入别名"
|
||||
v-model="item.questionNameAlias"
|
||||
clearable
|
||||
>
|
||||
</el-input>
|
||||
</div>
|
||||
<div class="options">
|
||||
<span>选项: </span>
|
||||
<div>
|
||||
@ -483,6 +519,15 @@
|
||||
>
|
||||
</el-input>
|
||||
</div>
|
||||
<div class="title">
|
||||
<span>别名: </span>
|
||||
<el-input
|
||||
placeholder="请输入别名"
|
||||
v-model="item.questionNameAlias"
|
||||
clearable
|
||||
>
|
||||
</el-input>
|
||||
</div>
|
||||
<div class="options">
|
||||
<span>选项: </span>
|
||||
<div>
|
||||
@ -603,6 +648,15 @@
|
||||
>
|
||||
</el-input>
|
||||
</div>
|
||||
<div class="title">
|
||||
<span>别名: </span>
|
||||
<el-input
|
||||
placeholder="请输入别名"
|
||||
v-model="item.questionNameAlias"
|
||||
clearable
|
||||
>
|
||||
</el-input>
|
||||
</div>
|
||||
<div class="options">
|
||||
<span>选项: </span>
|
||||
<div>
|
||||
@ -714,6 +768,15 @@
|
||||
>
|
||||
</el-input>
|
||||
</div>
|
||||
<div class="title">
|
||||
<span>别名: </span>
|
||||
<el-input
|
||||
placeholder="请输入别名"
|
||||
v-model="item.questionNameAlias"
|
||||
clearable
|
||||
>
|
||||
</el-input>
|
||||
</div>
|
||||
<div class="options" style="align-items: center">
|
||||
<span>回答: </span>
|
||||
<el-input
|
||||
@ -771,6 +834,15 @@
|
||||
>
|
||||
</el-input>
|
||||
</div>
|
||||
<div class="title">
|
||||
<span>别名: </span>
|
||||
<el-input
|
||||
placeholder="请输入别名"
|
||||
v-model="item.questionNameAlias"
|
||||
clearable
|
||||
>
|
||||
</el-input>
|
||||
</div>
|
||||
<div class="options">
|
||||
<span>选项: </span>
|
||||
<div>
|
||||
@ -854,6 +926,15 @@
|
||||
>
|
||||
</el-input>
|
||||
</div>
|
||||
<div class="title">
|
||||
<span>别名: </span>
|
||||
<el-input
|
||||
placeholder="请输入别名"
|
||||
v-model="item.questionNameAlias"
|
||||
clearable
|
||||
>
|
||||
</el-input>
|
||||
</div>
|
||||
<div class="options" style="align-items: center">
|
||||
<span>回答: </span>
|
||||
<el-input
|
||||
@ -893,6 +974,15 @@
|
||||
>
|
||||
</el-input>
|
||||
</div>
|
||||
<div class="title">
|
||||
<span>别名: </span>
|
||||
<el-input
|
||||
placeholder="请输入别名"
|
||||
v-model="item.questionNameAlias"
|
||||
clearable
|
||||
>
|
||||
</el-input>
|
||||
</div>
|
||||
<div class="options" style="align-items: center">
|
||||
<span>回答: </span>
|
||||
<el-input
|
||||
@ -1244,6 +1334,7 @@ export default {
|
||||
id: this.id++,
|
||||
title: '单选题',
|
||||
questionName: '',
|
||||
questionNameAlias:'',
|
||||
questionNumber: '',
|
||||
//是否计分
|
||||
whetherScore: false,
|
||||
@ -1280,6 +1371,7 @@ export default {
|
||||
questionType: 'MULTIPLE_CHOICE_QUESTIONS',
|
||||
id: this.id++,
|
||||
questionName: '',
|
||||
questionNameAlias:'',
|
||||
title: '多选题',
|
||||
questionSubjectOptionList: [{
|
||||
optionid: ++this.optionid,
|
||||
@ -1315,6 +1407,7 @@ export default {
|
||||
questionType: 'FILL_IN_THE_BLANKS',
|
||||
id: this.id++,
|
||||
questionName: '',
|
||||
questionNameAlias:'',
|
||||
title: '填空题',
|
||||
//是否计分
|
||||
whetherScore: false,
|
||||
@ -1325,6 +1418,7 @@ export default {
|
||||
questionType: 'SCORING_QUESTIONS',
|
||||
id: this.id,
|
||||
questionName: '',
|
||||
questionNameAlias:'',
|
||||
title: '打分题',
|
||||
//是否计分
|
||||
whetherScore: false,
|
||||
@ -1340,6 +1434,7 @@ export default {
|
||||
questionType: 'COMBINATION_RADIO_SUBJECT',
|
||||
id: this.id++,
|
||||
questionDescription: '',
|
||||
questionNameAlias:'',
|
||||
list: [
|
||||
{
|
||||
questionType: 'COMBINATION_RADIO_SUBJECT',
|
||||
@ -1418,6 +1513,7 @@ export default {
|
||||
this.questionlist.push({
|
||||
title: '组合多选题',
|
||||
questionDescription: '',
|
||||
questionNameAlias:'',
|
||||
questionType: 'COMBINATION_MULTIPLE_SUBJECT',
|
||||
id: this.id++,
|
||||
list: [
|
||||
@ -1500,6 +1596,7 @@ export default {
|
||||
this.questionlist.push({
|
||||
title: '组合填空题',
|
||||
questionDescription: '',
|
||||
questionNameAlias:'',
|
||||
questionType: 'COMBINATION_BLANKS_SUBJECT',
|
||||
id: this.id++,
|
||||
list: [
|
||||
@ -1528,6 +1625,7 @@ export default {
|
||||
this.questionlist.push({
|
||||
title: '组合打分题',
|
||||
questionDescription: '',
|
||||
questionNameAlias:'',
|
||||
questionType: 'COMBINATION_SCORING_SUBJECT',
|
||||
id: this.id++,
|
||||
list: [
|
||||
@ -1565,6 +1663,7 @@ export default {
|
||||
questionType: 'DATE_BLANKS_SUBJECT',
|
||||
id: this.id++,
|
||||
questionName: '',
|
||||
questionNameAlias:'',
|
||||
questionNumber: '',
|
||||
title: '日期填空题',
|
||||
//是否计分
|
||||
@ -1577,6 +1676,7 @@ export default {
|
||||
id: this.id++,
|
||||
questionNumber: '',
|
||||
questionName: '',
|
||||
questionNameAlias:'',
|
||||
title: '时间填空题',
|
||||
//是否计分
|
||||
whetherScore: false,
|
||||
@ -1686,7 +1786,6 @@ export default {
|
||||
},
|
||||
//保存
|
||||
async upload() {
|
||||
console.log(this.list, ' 前list')
|
||||
// var newObj = JSON.parse(JSON.stringify(this.list))
|
||||
|
||||
await this.$confirm('保存此问卷, 是否继续?', '提示', {
|
||||
@ -1763,7 +1862,6 @@ export default {
|
||||
})
|
||||
})
|
||||
newObj.questionCount = this.questionlist.length
|
||||
// return
|
||||
if (this.$route.query.id) {
|
||||
updateQuestion(newObj).then(res => {
|
||||
loading.close();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user