|
|
@ -147,7 +147,7 @@ |
|
|
|
> |
|
|
|
> |
|
|
|
<el-option |
|
|
|
<el-option |
|
|
|
v-for="(item, index) in scope.row.lcItems" |
|
|
|
v-for="(item, index) in scope.row.lcItems" |
|
|
|
:key="index" |
|
|
|
:key="item.itemId" |
|
|
|
:label="item.options" |
|
|
|
:label="item.options" |
|
|
|
:value="item.itemId" |
|
|
|
:value="item.itemId" |
|
|
|
></el-option> |
|
|
|
></el-option> |
|
|
@ -173,7 +173,7 @@ |
|
|
|
> |
|
|
|
> |
|
|
|
<el-option |
|
|
|
<el-option |
|
|
|
v-for="(item, index) in scope.row.lcItems" |
|
|
|
v-for="(item, index) in scope.row.lcItems" |
|
|
|
:key="index" |
|
|
|
:key="item.subjectId" |
|
|
|
:label="item.options" |
|
|
|
:label="item.options" |
|
|
|
:value="item.subjectId" |
|
|
|
:value="item.subjectId" |
|
|
|
></el-option> |
|
|
|
></el-option> |
|
|
@ -490,7 +490,7 @@ export default { |
|
|
|
//题目类型(1选择 2判断 3填空 4问答 5指标结果) |
|
|
|
//题目类型(1选择 2判断 3填空 4问答 5指标结果) |
|
|
|
if (item.type == 1 || item.type == 2) { |
|
|
|
if (item.type == 1 || item.type == 2) { |
|
|
|
obj.subjectId = Number(item.emptyOne); |
|
|
|
obj.subjectId = Number(item.emptyOne); |
|
|
|
obj.value1 = item.emptyTwo; |
|
|
|
obj.value1 = +item.emptyTwo; |
|
|
|
} else if (item.type == 3) { |
|
|
|
} else if (item.type == 3) { |
|
|
|
obj.subjectId = Number(item.emptyOne); |
|
|
|
obj.subjectId = Number(item.emptyOne); |
|
|
|
obj.value1 = item.emptyTwo; |
|
|
|
obj.value1 = item.emptyTwo; |
|
|
@ -540,7 +540,7 @@ export default { |
|
|
|
console.log(obj) |
|
|
|
console.log(obj) |
|
|
|
if (item.type == 1 || item.type == 2) { |
|
|
|
if (item.type == 1 || item.type == 2) { |
|
|
|
obj.subjectId = Number(item.emptyOne); |
|
|
|
obj.subjectId = Number(item.emptyOne); |
|
|
|
obj.value1 = item.emptyTwo; |
|
|
|
obj.value1 = +item.emptyTwo; |
|
|
|
} else if (item.type == 3) { |
|
|
|
} else if (item.type == 3) { |
|
|
|
obj.subjectId = Number(item.emptyOne); |
|
|
|
obj.subjectId = Number(item.emptyOne); |
|
|
|
obj.value1 = item.emptyTwo; |
|
|
|
obj.value1 = item.emptyTwo; |
|
|
|