diff --git a/src/renderer/src/components/file-image/index.vue b/src/renderer/src/components/file-image/index.vue
index 3c6bd18..c68ee78 100644
--- a/src/renderer/src/components/file-image/index.vue
+++ b/src/renderer/src/components/file-image/index.vue
@@ -35,7 +35,7 @@ const getFileTypeIcon = () => {
txt: 'icon-txt',
rar: 'icon-rar',
apt: 'icon-A',
- aptist: 'icon-A',
+ aippt: 'icon-A',
}
if (iconObj[name]) {
return '#' + iconObj[name]
diff --git a/src/renderer/src/layout/components/Aside.vue b/src/renderer/src/layout/components/Aside.vue
index f58795b..e046925 100644
--- a/src/renderer/src/layout/components/Aside.vue
+++ b/src/renderer/src/layout/components/Aside.vue
@@ -48,7 +48,7 @@
V{{ version }}
-
+
@@ -87,6 +87,12 @@ const headerMenus = [
icon: 'icon-gongzuotai',
path: '/desktop'
},
+ {
+ name: '教学实践',
+ id: 4,
+ icon: 'icon-jiaoxueshijian',
+ path: '/prepare'
+ },
{
name: '资源中心',
id: 3,
@@ -126,12 +132,12 @@ const computedregistertype = computed(() => {
if(type==3 && userStore.DeptInfo.register.auditStatus==0){
return 2
}
-
+
// 创建学校 待审核
if(type==4 && userStore.DeptInfo.register.auditStatus==0){
return 3
}
-
+
})
const clickMenu = ({ id, disabled, path }) => {
if (disabled) return
@@ -193,7 +199,7 @@ onMounted(() => {
}
.popoverStyle .head-aside{
width: 100%;
- display: flex;
+ display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
@@ -246,7 +252,7 @@ onMounted(() => {
align-items: center;
font-size: 12px;
.user-img{
- width: 56px;
+ width: 56px;
height: 56px;
border-radius: 50%;
cursor: pointer;
@@ -312,4 +318,4 @@ onMounted(() => {
font-size: 18px;
font-weight: 800;
}
-
\ No newline at end of file
+
diff --git a/src/renderer/src/views/model/index.vue b/src/renderer/src/views/model/index.vue
index 95f3c39..ef727b5 100644
--- a/src/renderer/src/views/model/index.vue
+++ b/src/renderer/src/views/model/index.vue
@@ -230,7 +230,7 @@ const HTTP_SERVER_API = (type, params = {}) => {
ppttype: 'file',
title: enpt.coursetitle,
fileurl: '',
- filetype: 'aptist',
+ filetype: 'aippt',
datacontent: '',
filekey: '',
filetag: '',
@@ -287,7 +287,7 @@ const handleAll = async(type, row) =>{
break;
}
case 'open': { // 打开资源-pptist
- if (row.filetype != 'aptist') return msgUtils.msgWarning('暂不支持该类型文件操作!')
+ if (row.filetype != 'aippt') return msgUtils.msgWarning('暂不支持该类型文件操作!')
sessionStore.set('curr.resource', row) // 缓存当前资源信息
createWindow('open-win', {
url: '/pptist', // 窗口关闭时,清除缓存
@@ -312,7 +312,7 @@ const handleAll = async(type, row) =>{
// icons 处理 type 代表传递svg
const getIcon = (o, type) => {
let icon = typeof o == 'string' ? o : o?.filetype
- if (['aptist'].includes(o?.filetype)) icon = 'pptx'
+ if (['aippt'].includes(o?.filetype)) icon = 'pptx'
if (!!type) { // 其他格式icon
switch(type) {
case 'svg': // 返回svg格式
diff --git a/src/renderer/src/views/prepare/container/class-start.vue b/src/renderer/src/views/prepare/container/class-start.vue
index 3829064..3fa408b 100644
--- a/src/renderer/src/views/prepare/container/class-start.vue
+++ b/src/renderer/src/views/prepare/container/class-start.vue
@@ -262,7 +262,7 @@ const createClasscourse = async () => {
// getClasscourseList('update') // 更新列表
ElMessage.success('创建课程-成功')
// 新版-pptList 打开公屏
- if (myClassActive.value.filetype == 'aptist') {
+ if (myClassActive.value.filetype == 'aippt') {
const msgEl = ElMessage.warning({message:'正在打开公屏,请稍后...',duration: 0})
setTimeout(() => {
msgEl.close()
diff --git a/src/renderer/src/views/prepare/container/kj-list-item.vue b/src/renderer/src/views/prepare/container/kj-list-item.vue
index fc1cc6d..b874549 100644
--- a/src/renderer/src/views/prepare/container/kj-list-item.vue
+++ b/src/renderer/src/views/prepare/container/kj-list-item.vue
@@ -341,7 +341,7 @@ export default {
cookieData: { ...configObj.data }
})
return
- } else if(items.fileFlag === 'aptist') { // aptist 被点击 打开PPT-List 课件
+ } else if(items.fileFlag === 'aippt') { // aippt 被点击 打开PPT-List 课件
return this.$emit('change', 'click', items)
}
if (!items||!items.fileSuffix) return;
diff --git a/src/renderer/src/views/prepare/index.vue b/src/renderer/src/views/prepare/index.vue
index ca44ba8..43ff14a 100644
--- a/src/renderer/src/views/prepare/index.vue
+++ b/src/renderer/src/views/prepare/index.vue
@@ -2,8 +2,20 @@
+
+
+ 新建
+
+
+
+ 新建文枢课件
+ AI一键生成
+ 导入PPT
+
+
+
-
+