Merge remote-tracking branch 'origin/main'

This commit is contained in:
朱浩 2024-11-22 09:34:38 +08:00
commit 4fbd77c40c
85 changed files with 28 additions and 23 deletions

View File

@ -8,7 +8,7 @@
http-equiv="Content-Security-Policy" http-equiv="Content-Security-Policy"
content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:" content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:"
/> --> /> -->
<meta http-equiv="Content-Security-Policy" content="connect-src * blob: data:; default-src 'self'; script-src 'self' 'unsafe-eval' http://www.wiris.net; style-src 'self' 'unsafe-inline' http://www.wiris.net; media-src * blob:;img-src * 'self' data: blob:;font-src 'self' http://www.wiris.net;" /> <meta http-equiv="Content-Security-Policy" content="connect-src * blob: data:; default-src 'self'; script-src 'self' 'unsafe-eval' http://www.wiris.net 'unsafe-inline'; style-src 'self' 'unsafe-inline' http://www.wiris.net; media-src * blob:;img-src * 'self' data: blob:;font-src 'self' http://www.wiris.net;" />
</head> </head>

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: `/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

@ -457,8 +457,6 @@ const handleDelete = async(item, index) => {
// ElMessage('') // ElMessage('')
// } // }
}; };
// //
const debounceQueryData = debounce(() => { const debounceQueryData = debounce(() => {
console.log("防抖 加载数据中...") console.log("防抖 加载数据中...")
@ -477,17 +475,7 @@ watch(() => props.bookobj.levelSecondId, (newVal, oldVal) => {
}) })
</script> </script>
<style> <style src="@/assets/styles/JYStyle.css"></style>
.my-custom-dialog{
width: 60% !important;
height: 77vh !important;
overflow: hidden !important;
}
.my-custom-dialog .el-dialog__body {
height: 90% !important;
overflow: auto !important;
}
</style>
<style scoped lang="scss"> <style scoped lang="scss">
.page-myquest { .page-myquest {
height: 100%; height: 100%;
@ -522,4 +510,14 @@ watch(() => props.bookobj.levelSecondId, (newVal, oldVal) => {
// } // }
</style> </style>
<style src="@/assets/styles/JYStyle.css"></style> <style>
.my-custom-dialog{
width: 60% !important;
height: 77vh !important;
overflow: hidden !important;
}
.my-custom-dialog .el-dialog__body {
height: 90% !important;
overflow: auto !important;
}
</style>

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>

View File

@ -7,8 +7,8 @@
<div class="page-right"> <div class="page-right">
<div class="button-container"> <div class="button-container">
<el-button style="margin-left: 12px;" type="primary" @click="onchange('/model/curriculum')">课标研读</el-button> <el-button style="margin-left: 12px;" type="primary" @click="onchange('/model/curriculum')">课标研读</el-button>
<el-button type="primary" @click="onchange('/model/management')">作业管理1</el-button> <!-- <el-button type="primary" @click="onchange('/model/management')">作业管理1</el-button> -->
<el-button type="primary" @click="onchange('/model/newClassTaskAssign')">作业管理2</el-button> <el-button type="primary" @click="onchange('/model/newClassTaskAssign')">作业管理</el-button>
<el-button type="success" @click="onchange('/model/teaching')">教材研读</el-button> <el-button type="success" @click="onchange('/model/teaching')">教材研读</el-button>
<el-button type="info" @click="onchange('/model/design')">教学框架设计</el-button> <el-button type="info" @click="onchange('/model/design')">教学框架设计</el-button>
<el-button type="success" @click="openPPTist">打开PPTist</el-button> <el-button type="success" @click="openPPTist">打开PPTist</el-button>