|
|
@@ -21,7 +21,7 @@
|
|
|
<div v-if="item.type == 'SCQ'">
|
|
|
<div class="itemTitle">{{ index + 1 }}. {{ item.description }}<el-tag class="elTag" size="small" type="danger">单选</el-tag></div>
|
|
|
<el-radio-group v-model="item.comment" class="flex-column">
|
|
|
- <el-radio class="myRadio" :disabled="data.interactUserStatus == 0?false:true" v-for="(childItem, childIndex) in item.options" :key="childIndex"
|
|
|
+ <el-radio class="myRadio" :disabled="data.interactUserStatus == 0 && data.status !=2?false:true" v-for="(childItem, childIndex) in item.options" :key="childIndex"
|
|
|
:label="childItem.id">{{ childItem.name }}</el-radio>
|
|
|
</el-radio-group>
|
|
|
</div>
|
|
|
@@ -29,16 +29,17 @@
|
|
|
<div v-if="item.type == 'MCQ'">
|
|
|
<div class="itemTitle">{{ index + 1 }}. {{ item.description }}<el-tag class="elTag" size="small" type="danger">多选</el-tag></div>
|
|
|
<el-checkbox-group v-model="item.comment" class="flex-column">
|
|
|
- <el-checkbox class="myRadio" :disabled="data.interactUserStatus == 0?false:true" v-for="(childItem, childIndex) in item.options" :key="childIndex"
|
|
|
+ <el-checkbox class="myRadio" :disabled="data.interactUserStatus == 0 && data.status !=2?false:true" v-for="(childItem, childIndex) in item.options" :key="childIndex"
|
|
|
:label="childItem.id">{{ childItem.name }}</el-checkbox>
|
|
|
</el-checkbox-group>
|
|
|
</div>
|
|
|
<div v-if="item.type == 'SAQ'">
|
|
|
<div class="itemTitle">{{ index + 1 }}. {{ item.description }}<el-tag class="elTag" size="small" type="danger">问答</el-tag></div>
|
|
|
- <div v-if="data.interactUserStatus != 0" class="myText">
|
|
|
+ <el-input v-if="data.interactUserStatus == 0 && data.status !=2" type="textarea" :rows="6" maxlength="200" show-word-limit placeholder="请输入内容" v-model="item.comment"></el-input>
|
|
|
+ <div v-else class="myText">
|
|
|
{{ item.comment }}
|
|
|
</div>
|
|
|
- <el-input v-else type="textarea" :rows="6" maxlength="200" show-word-limit placeholder="请输入内容" v-model="item.comment"></el-input>
|
|
|
+
|
|
|
</div>
|
|
|
</div>
|
|
|
<div v-if="data.interactUserStatus == 0" class="footBut">
|