作业管理

This commit is contained in:
白了个白 2024-11-22 09:33:04 +08:00
parent 2fd17df429
commit 6a6d932852
4 changed files with 13 additions and 6 deletions

View File

@ -187,10 +187,10 @@ const init = reactive({
min_height: props.minHeight, min_height: props.minHeight,
draggable_modal: true, draggable_modal: true,
extended_valid_elements: '*[.*]', extended_valid_elements: '*[.*]',
external_plugins: { // external_plugins: {
tiny_mce_wiris: getStaticUrl('/tinymce/tool/wiris/mathtype-tinymce6/plugin.min.js'), // tiny_mce_wiris: getStaticUrl('/tinymce/tool/wiris/mathtype-tinymce6/plugin.min.js'),
//tiny_mce_wiris: `https://www.wiris.net/demo/plugins/tiny_mce/plugin.js`, // //tiny_mce_wiris: `https://www.wiris.net/demo/plugins/tiny_mce/plugin.js`,
}, // },
// setup: function (editor) { // setup: function (editor) {
// }, // },

View File

@ -36,6 +36,7 @@ const items = shallowRef([
{ title: '课堂展示', description: '555555', icon: '#icon-huaban',type:'primary' }, { title: '课堂展示', description: '555555', icon: '#icon-huaban',type:'primary' },
{ title: '常规作业', description: '555555', icon: '#icon-zhaoxiangji',type:'primary' }, { title: '常规作业', description: '555555', icon: '#icon-zhaoxiangji',type:'primary' },
{ title: 'AI设计作业', description: '555555', icon: '#icon-jiqiren_o',type:'danger' }, { title: 'AI设计作业', description: '555555', icon: '#icon-jiqiren_o',type:'danger' },
{ title: '习题上传', description: '555555', icon: '#icon-jiqiren_o',type:'danger' },
]); ]);
const handleClick = (item) => { const handleClick = (item) => {

View File

@ -155,6 +155,7 @@ import { useRouter, useRoute } from 'vue-router'
import useUserStore from '@/store/modules/user' import useUserStore from '@/store/modules/user'
const userStore = useUserStore().user const userStore = useUserStore().user
const route = useRoute(); const route = useRoute();
const router = useRouter()
const { proxy } = getCurrentInstance() const { proxy } = getCurrentInstance()
const props = defineProps({ const props = defineProps({
}) })
@ -202,6 +203,11 @@ onMounted(() => {
//------------ //------------
const handleItemClick = (itemName) => { const handleItemClick = (itemName) => {
console.log('itemName', itemName); console.log('itemName', itemName);
if(itemName == '习题上传'){
router.push({ path: '/model/questionUpload', query: { courseObj: JSON.stringify(courseObj) } });
return;
}
currentRow.value = {id:1}; // currentRow.value = {id:1}; //
/** /**
* 智能推荐AI设计作业 * 智能推荐AI设计作业

View File

@ -46,8 +46,8 @@
<p>orc 使用说明</p> <p>orc 使用说明</p>
<p>1本地浏览 </p> <p>1本地浏览 </p>
<p>2获取剪贴板图片 </p> <p>2获取剪贴板图片 </p>
<p>3整题识别 </p> <p>3整题识别可识别整张图片自动填充到对应内容 </p>
<p> </p> <p>4右侧搜索按钮点击后可识别图中内容到对应的富文本中 </p>
</div> </div>
</div> </div>
</el-tab-pane> </el-tab-pane>