Compare commits
No commits in common. "74767b44df3539ea8b9419051c229c57de4045ab" and "15b9f388108cf7c1e5fe57cf28692b7a8a696e7b" have entirely different histories.
74767b44df
...
15b9f38810
|
@ -71,11 +71,3 @@ export const addFileToKj = (id) => {
|
||||||
method: 'get'
|
method: 'get'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
export const getModelInfo = (params) => {
|
|
||||||
return request({
|
|
||||||
url: '/education/llmModel/getModelInfo',
|
|
||||||
method: 'post',
|
|
||||||
params
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
<el-icon class="item-icon"><Flag /></el-icon>
|
<el-icon class="item-icon"><Flag /></el-icon>
|
||||||
<div class="content-header-title">{{item.name}}</div>
|
<div class="content-header-title">{{item.name}}</div>
|
||||||
<div class="content-header-body">
|
<div class="content-header-body">
|
||||||
<div class="content-header-num">{{item.num}}</div>
|
<div class="content-header-num">6</div>
|
||||||
<div class="content-header-text">分析结果</div>
|
<div class="content-header-text">分析结果</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -83,7 +83,7 @@ import useUserStore from '@/store/modules/user' // 用户信息
|
||||||
import ChooseTextbook from '@/components/choose-textbook/index.vue'
|
import ChooseTextbook from '@/components/choose-textbook/index.vue'
|
||||||
import KjListItem from '@/views/prepare/container/kj-list-item.vue'
|
import KjListItem from '@/views/prepare/container/kj-list-item.vue'
|
||||||
import FileImage from '@/components/file-image/index.vue'
|
import FileImage from '@/components/file-image/index.vue'
|
||||||
import {creatAPT, getSmarttalkPage, getModelInfo} from '@/api/file'
|
import {creatAPT, getSmarttalkPage} from '@/api/file'
|
||||||
import {ArrowDown, Flag, Position} from '@element-plus/icons-vue'
|
import {ArrowDown, Flag, Position} from '@element-plus/icons-vue'
|
||||||
import {asyncLocalFile, parseCataByNode} from "@/utils/talkFile";
|
import {asyncLocalFile, parseCataByNode} from "@/utils/talkFile";
|
||||||
import { dataSetJson } from '@/utils/comm' // 数据集id文生图
|
import { dataSetJson } from '@/utils/comm' // 数据集id文生图
|
||||||
|
@ -165,6 +165,9 @@ const uploadData = ref({
|
||||||
fileRoot: '备课'
|
fileRoot: '备课'
|
||||||
})
|
})
|
||||||
const currentFileList = ref([])
|
const currentFileList = ref([])
|
||||||
|
// 页面加载
|
||||||
|
onMounted(() => {
|
||||||
|
})
|
||||||
|
|
||||||
const gotoRoute = (item) => {
|
const gotoRoute = (item) => {
|
||||||
if (item.path) {
|
if (item.path) {
|
||||||
|
@ -389,35 +392,6 @@ const changeBook = async(data) => {
|
||||||
uploadData.value.levelSecondId = cata[1]
|
uploadData.value.levelSecondId = cata[1]
|
||||||
uploadData.value.levelThirdId = cata[2]
|
uploadData.value.levelThirdId = cata[2]
|
||||||
uploadData.value.textbookId = data.textBook.curBookId
|
uploadData.value.textbookId = data.textBook.curBookId
|
||||||
getModelInfo({cataid: currentNode.value.id}).then(res=>{
|
|
||||||
console.log(res)
|
|
||||||
if (res&&res.data) {
|
|
||||||
tags.filter(item=>{
|
|
||||||
switch (item.name) {
|
|
||||||
case '课标分析':
|
|
||||||
item.num = res.data.kbs
|
|
||||||
break;
|
|
||||||
case '教材分析':
|
|
||||||
item.num = res.data.jcs
|
|
||||||
break;
|
|
||||||
case '考试分析':
|
|
||||||
item.num = res.data.kss
|
|
||||||
break;
|
|
||||||
case '素材设计':
|
|
||||||
item.num = res.data.scs
|
|
||||||
break;
|
|
||||||
case '作业设计':
|
|
||||||
item.num = res.data.zys
|
|
||||||
break;
|
|
||||||
case '框架设计':
|
|
||||||
item.num = res.data.kjs
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
|
||||||
})
|
|
||||||
getSmarttalkPage({
|
getSmarttalkPage({
|
||||||
...uploadData.value,
|
...uploadData.value,
|
||||||
orderByColumn: 'createTime',
|
orderByColumn: 'createTime',
|
||||||
|
@ -495,11 +469,6 @@ const changeClass = async (type, row, other) => {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 页面加载
|
|
||||||
onMounted(() => {
|
|
||||||
})
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.model-wrap{
|
.model-wrap{
|
||||||
|
|
|
@ -419,7 +419,7 @@ export default {
|
||||||
} else { // 列表-下课
|
} else { // 列表-下课
|
||||||
other.loading.value = false
|
other.loading.value = false
|
||||||
row.status = isApt ? head : '已结束'
|
row.status = isApt ? head : '已结束'
|
||||||
}
|
}
|
||||||
ElMessage({ type: 'success', message: `下课成功!` })
|
ElMessage({ type: 'success', message: `下课成功!` })
|
||||||
}, 1000)
|
}, 1000)
|
||||||
break
|
break
|
||||||
|
@ -1131,7 +1131,6 @@ export default {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
top: 4px;
|
top: 4px;
|
||||||
z-index: 10;
|
|
||||||
}
|
}
|
||||||
.prepare-center-jxkj{
|
.prepare-center-jxkj{
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
|
@ -346,8 +346,8 @@ const toRousrceUrl = async(o) => {
|
||||||
if (o?.background?.image) await toRousrceUrl(o.background.image)
|
if (o?.background?.image) await toRousrceUrl(o.background.image)
|
||||||
if(o?.elements){
|
if(o?.elements){
|
||||||
for (let element of o.elements) {
|
for (let element of o.elements) {
|
||||||
await toRousrceUrl(element);
|
await this.toRousrceUrl(element);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// ======== zdg end ============
|
// ======== zdg end ============
|
||||||
|
|
Loading…
Reference in New Issue