|
@@ -905,6 +905,13 @@
|
|
|
<el-form-item label="链接说明" label-width="100px">
|
|
<el-form-item label="链接说明" label-width="100px">
|
|
|
<el-tag type="info">飞书看课链接由服务端根据上方所选课程、课节自动生成</el-tag>
|
|
<el-tag type="info">飞书看课链接由服务端根据上方所选课程、课节自动生成</el-tag>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
+ <el-form-item label="客户授权" label-width="100px">
|
|
|
|
|
+ <el-radio-group v-model="item.feishuNeedAuth">
|
|
|
|
|
+ <el-radio :label="1">需要授权</el-radio>
|
|
|
|
|
+ <el-radio :label="0">免授权</el-radio>
|
|
|
|
|
+ </el-radio-group>
|
|
|
|
|
+ <div style="color: #909399; font-size: 12px; margin-top: 4px;">免授权:客户可直接看课</div>
|
|
|
|
|
+ </el-form-item>
|
|
|
</el-card>
|
|
</el-card>
|
|
|
</div>
|
|
</div>
|
|
|
<div v-if="item.contentType == 4">
|
|
<div v-if="item.contentType == 4">
|
|
@@ -1909,6 +1916,9 @@ export default {
|
|
|
}
|
|
}
|
|
|
if (this.isFeishuContentType(row.contentType)) {
|
|
if (this.isFeishuContentType(row.contentType)) {
|
|
|
o.contentType = '17';
|
|
o.contentType = '17';
|
|
|
|
|
+ if (o.feishuNeedAuth === undefined || o.feishuNeedAuth === null || o.feishuNeedAuth === '') {
|
|
|
|
|
+ o.feishuNeedAuth = 1;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
return o;
|
|
return o;
|
|
|
});
|
|
});
|
|
@@ -1923,6 +1933,9 @@ export default {
|
|
|
if (this.setting[i].contentType == 7 && !this.setting[i].voiceInputMode) {
|
|
if (this.setting[i].contentType == 7 && !this.setting[i].voiceInputMode) {
|
|
|
this.$set(this.setting[i], 'voiceInputMode', 'dropdown');
|
|
this.$set(this.setting[i], 'voiceInputMode', 'dropdown');
|
|
|
}
|
|
}
|
|
|
|
|
+ if (this.isFeishuContentType(this.setting[i].contentType) && (this.setting[i].feishuNeedAuth === undefined || this.setting[i].feishuNeedAuth === null || this.setting[i].feishuNeedAuth === '')) {
|
|
|
|
|
+ this.$set(this.setting[i], 'feishuNeedAuth', 1);
|
|
|
|
|
+ }
|
|
|
//响应式直接给链接的标题/封面上值
|
|
//响应式直接给链接的标题/封面上值
|
|
|
if (selectedCourse && (this.setting[i].contentType == 3 || this.setting[i].contentType == 9 || this.isFeishuContentType(this.setting[i].contentType)) && this.msgForm.courseId != null) {
|
|
if (selectedCourse && (this.setting[i].contentType == 3 || this.setting[i].contentType == 9 || this.isFeishuContentType(this.setting[i].contentType)) && this.msgForm.courseId != null) {
|
|
|
this.$set(this.setting[i], 'linkTitle', selectedCourse.dictLabel);
|
|
this.$set(this.setting[i], 'linkTitle', selectedCourse.dictLabel);
|