|
|
@@ -280,18 +280,25 @@
|
|
|
<el-radio-group v-model="setList.contentType"
|
|
|
:disabled="formType == 3 || (form.sendType == 11 && contentIndex != 0 && setIndex == 0)"
|
|
|
@change="handleContentTypeChange(content,index,contentIndex,setIndex, item, 'contentType', $event)">
|
|
|
+<!-- <el-radio-->
|
|
|
+<!-- :key="item.dictValue"-->
|
|
|
+<!-- :label="item.dictValue"-->
|
|
|
+<!-- :disabled="(content.type!=2 && item.dictValue === '9') || (content.isOfficial==1 && ['5','6','7','8','9'].includes(item.dictValue))"-->
|
|
|
+<!-- v-for="item in sysQwSopAiContentType"-->
|
|
|
+<!-- v-if="setIndex == 0 ? courseTypeList.includes(item.dictValue) : !courseTypeList.includes(item.dictValue)">{{ item.dictLabel }}-->
|
|
|
+<!-- </el-radio>-->
|
|
|
<el-radio
|
|
|
:key="item.dictValue"
|
|
|
:label="item.dictValue"
|
|
|
:disabled="(content.type!=2 && item.dictValue === '9') || (content.isOfficial==1 && ['5','6','7','8','9'].includes(item.dictValue))"
|
|
|
v-for="item in sysQwSopAiContentType"
|
|
|
- v-if="setIndex == 0 ? courseTypeList.includes(item.dictValue) : !courseTypeList.includes(item.dictValue)">{{ item.dictLabel }}
|
|
|
+ >{{ item.dictLabel }}
|
|
|
</el-radio>
|
|
|
</el-radio-group>
|
|
|
</div>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="内容">
|
|
|
- <el-input :disabled="formType == 3 || !roles.includes('edit_sop_temp_content')" v-if="setList.contentType == 1 "
|
|
|
+ <el-input :disabled="formType == 3 || !roles.includes('edit_sop_temp_content')" v-if="setList.contentType == 1|| setList.contentType == 11 "
|
|
|
v-model="setList.value"
|
|
|
type="textarea" :rows="3" placeholder="内容"
|
|
|
style="width: 90%;margin-top: 10px;"
|
|
|
@@ -497,7 +504,7 @@
|
|
|
style="margin-left: 10px; color: #b1b4ba">不加URL</span>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="课节过期时间"
|
|
|
- v-if="content.type == 2 && (setList.isBindUrl == '1' || setList.contentType==4) && setList.contentType != 2 && setList.contentType != 5 && setList.contentType != 6 && setList.contentType != 8 && setList.contentType != 9 && setList.contentType != 10 ">
|
|
|
+ v-if="content.type == 2 && (setList.isBindUrl == '1' || setList.contentType==4 || setList.contentType == 11) && setList.contentType != 2 && setList.contentType != 5 && setList.contentType != 6 && setList.contentType != 8 && setList.contentType != 9 && setList.contentType != 10 ">
|
|
|
<el-row>
|
|
|
<el-input type="number" v-model="setList.expiresDays"
|
|
|
:disabled="!roles.includes('edit_sop_temp_content') && (formType == 3 || (form.sendType == 11 && contentIndex != 0 && setIndex == 0))"
|