feat: 解决冲突
This commit is contained in:
commit
f9508aa776
|
@ -29,7 +29,7 @@ export function reqAddRecord (data) {
|
||||||
method: 'post',
|
method: 'post',
|
||||||
params: data
|
params: data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export function reqChangePassword (data) {
|
export function reqChangePassword (data) {
|
||||||
return request({
|
return request({
|
||||||
|
|
|
@ -56,9 +56,11 @@ export default {
|
||||||
return res
|
return res
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
courseType: ['视频','文本'],
|
||||||
columns: [
|
columns: [
|
||||||
{ title: '课件名称', width: '160px', align: 'center', dataIndex: 'name', key: 'name' },
|
{ title: '课件名称', width: '160px', align: 'center', dataIndex: 'name', key: 'name' },
|
||||||
{ title: '课件时长/分', width: '160px', align: 'center', dataIndex: 'duration', key: 'duration' },
|
{ title: '课件时长/分', width: '160px', align: 'center', dataIndex: 'duration', key: 'duration', customRender: (text, record, index) => { if(!text) {return '-' } else {return text} }},
|
||||||
|
{ title: '类别', width: 'auto', align: 'center', dataIndex: 'type', key: 'type', customRender: (text, record, index) => { return this.courseType[Number(text) - 1] } },
|
||||||
{ title: '课件大小(MB)', width: '160px', align: 'center', dataIndex: 'sizeStr', key: 'sizeStr' },
|
{ title: '课件大小(MB)', width: '160px', align: 'center', dataIndex: 'sizeStr', key: 'sizeStr' },
|
||||||
{ title: '操作', key: 'operation', width: '200px', align: 'center', scopedSlots: { customRender: 'action' } },
|
{ title: '操作', key: 'operation', width: '200px', align: 'center', scopedSlots: { customRender: 'action' } },
|
||||||
],
|
],
|
||||||
|
@ -86,7 +88,7 @@ export default {
|
||||||
courseId: this.$route.query.id,
|
courseId: this.$route.query.id,
|
||||||
type: record.type,
|
type: record.type,
|
||||||
types: this.$route.query.type,
|
types: this.$route.query.type,
|
||||||
ifResources:0
|
ifResources: 0
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
|
@ -118,8 +118,8 @@
|
||||||
</a-radio-group>
|
</a-radio-group>
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
|
|
||||||
<!-- 简答题 -->
|
<!-- 简答题 20220316关闭入口 -->
|
||||||
<a-tab-pane key="4" tab="简答" :disabled="shortAnswer.disabled">
|
<a-tab-pane v-if="false" key="4" tab="简答" :disabled="shortAnswer.disabled">
|
||||||
<a-card title="题目(题干内容)" :bordered="false">
|
<a-card title="题目(题干内容)" :bordered="false">
|
||||||
<a-textarea placeholder="" :rows="6" v-model="shortAnswer.questionName" style="width: 100%" />
|
<a-textarea placeholder="" :rows="6" v-model="shortAnswer.questionName" style="width: 100%" />
|
||||||
</a-card>
|
</a-card>
|
||||||
|
@ -132,8 +132,8 @@
|
||||||
</a-card>
|
</a-card>
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
|
|
||||||
<!-- 填空题 -->
|
<!-- 填空题 20220316关闭入口 -->
|
||||||
<a-tab-pane key="5" tab="填空" :disabled="Completion.disabled">
|
<a-tab-pane v-if="false" key="5" tab="填空" :disabled="Completion.disabled">
|
||||||
<a-card title="题目(题干内容)" :bordered="false">
|
<a-card title="题目(题干内容)" :bordered="false">
|
||||||
<a-textarea placeholder="" :rows="6" v-model="Completion.questionName" style="width: 100%" />
|
<a-textarea placeholder="" :rows="6" v-model="Completion.questionName" style="width: 100%" />
|
||||||
</a-card>
|
</a-card>
|
||||||
|
|
Loading…
Reference in New Issue