@@ -40,13 +54,15 @@
+const clickItem = (index, item) => {
+ activeIndex.value = index
+ Object.assign(curFile, item)
+ emitter.emit('changeCurFile', item)
+}
+const prevItem = reactive({})
+const onPrevItem = (item) => {
+ Object.assign(prevItem, item)
+ prevVisible.value = true
+}
+
+onMounted(() => {
+ let data = sessionStore.get('subject.curNode')
+ Object.assign(curNode, data);
+ // 暂时写死"考试-" 目前只有考试分析才会弹出来
+ let jsonKey = `考试-${curNode.edustage}-${curNode.edusubject}`
+ dataset_id.value = dataSetJson[jsonKey]
+ getList()
+})
+
+
\ No newline at end of file
diff --git a/src/renderer/src/components/template-study/container/left.vue b/src/renderer/src/components/template-study/container/left.vue
index ae67aed..02db0d4 100644
--- a/src/renderer/src/components/template-study/container/left.vue
+++ b/src/renderer/src/components/template-study/container/left.vue
@@ -2,12 +2,13 @@
@@ -24,7 +25,7 @@ const props = defineProps(['curNode', 'type'])
const showDialog = ref(false)
const onClick = () => {
- if (props.type == 1) return
+ if (props.type != 3) return
showDialog.value = true
}
@@ -37,7 +38,9 @@ onMounted(async () => {
if(props.type == 1){
fileurl = `${data.edustage}-${data.edusubject}-课标.txt`
}
+ if(fileurl == '') return
pdfUrl.value = import.meta.env.VITE_APP_RES_FILE_PATH + fileurl.replace('.txt', '.pdf')
+
})
diff --git a/src/renderer/src/components/template-study/container/right.vue b/src/renderer/src/components/template-study/container/right.vue
index d62793a..8bc77e1 100644
--- a/src/renderer/src/components/template-study/container/right.vue
+++ b/src/renderer/src/components/template-study/container/right.vue
@@ -39,7 +39,7 @@
- 编辑
+ 编辑
移除
@@ -79,7 +79,7 @@
-
+
diff --git a/src/renderer/src/views/examination-analysis/container/dialog.vue b/src/renderer/src/views/examination-analysis/container/dialog.vue
deleted file mode 100644
index 5e41740..0000000
--- a/src/renderer/src/views/examination-analysis/container/dialog.vue
+++ /dev/null
@@ -1,268 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
- 预览
- {{ item.fileName }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/renderer/src/views/examination-analysis/container/edit-dialog.vue b/src/renderer/src/views/examination-analysis/container/edit-dialog.vue
deleted file mode 100644
index 06548d6..0000000
--- a/src/renderer/src/views/examination-analysis/container/edit-dialog.vue
+++ /dev/null
@@ -1,78 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/renderer/src/views/examination-analysis/container/header.vue b/src/renderer/src/views/examination-analysis/container/header.vue
deleted file mode 100644
index 880debf..0000000
--- a/src/renderer/src/views/examination-analysis/container/header.vue
+++ /dev/null
@@ -1,143 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/renderer/src/views/examination-analysis/container/keyword-dialog.vue b/src/renderer/src/views/examination-analysis/container/keyword-dialog.vue
deleted file mode 100644
index 4821d6e..0000000
--- a/src/renderer/src/views/examination-analysis/container/keyword-dialog.vue
+++ /dev/null
@@ -1,161 +0,0 @@
-
-
-
-
-
-
-
*当前模板为系统预设,不支持直接操作。需要复制一份为自己的然后再操作
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/renderer/src/views/examination-analysis/container/pdf.vue b/src/renderer/src/views/examination-analysis/container/pdf.vue
deleted file mode 100644
index c871a8d..0000000
--- a/src/renderer/src/views/examination-analysis/container/pdf.vue
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/renderer/src/views/examination-analysis/container/result.vue b/src/renderer/src/views/examination-analysis/container/result.vue
deleted file mode 100644
index 304d70a..0000000
--- a/src/renderer/src/views/examination-analysis/container/result.vue
+++ /dev/null
@@ -1,513 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- {{ item.prompt }}
-
-
-
-
-
- 重新研读
-
-
-
- AI对话调整
-
-
-
- 手动编辑结果
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/renderer/src/views/examination-analysis/index.vue b/src/renderer/src/views/examination-analysis/index.vue
index 7461e1c..ce74808 100644
--- a/src/renderer/src/views/examination-analysis/index.vue
+++ b/src/renderer/src/views/examination-analysis/index.vue
@@ -1,52 +1,11 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
\ No newline at end of file