diff --git a/src/renderer/src/api/education/entpCourseWork.js b/src/renderer/src/api/education/entpCourseWork.js
index 0ba694c..04582ba 100644
--- a/src/renderer/src/api/education/entpCourseWork.js
+++ b/src/renderer/src/api/education/entpCourseWork.js
@@ -108,4 +108,21 @@ export function pyOCRAPI(path) {
imageBas64: path,
}
})
+}
+
+
+/**
+ * @desc: 菁优网转发
+ * @return: {*}
+ * @param {*} url
+ * @param {*} config
+ */
+export function getJYPath(url,config) {
+ config.params = config.params?config.params:{}
+ config.params["getjypath"] = url;
+ return request({
+ url: "/jy/proxy",
+ method: config.method||"get",
+ params: config.params
+ })
}
\ No newline at end of file
diff --git a/src/renderer/src/api/education/knowledgePoint.js b/src/renderer/src/api/education/knowledgePoint.js
index 0db8521..b70941b 100644
--- a/src/renderer/src/api/education/knowledgePoint.js
+++ b/src/renderer/src/api/education/knowledgePoint.js
@@ -2,12 +2,21 @@
import request from '@/utils/request'
// 查询知识点列表
export function listKnowlegepoint(query) {
- return request({
- url: '/point/list',
- method: 'get',
- params: query
- })
- }
+ return request({
+ url: '/point/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询知识点列表
+export function listKnowlegepointFormat(query) {
+ return request({
+ url: '/point/formatList',
+ method: 'get',
+ params: query
+ })
+}
// 查询一级知识点查下级所有层级
diff --git a/src/renderer/src/components/exam-question/examDetailsDrawer.vue b/src/renderer/src/components/exam-question/examDetailsDrawer.vue
index 12de43c..28ea8d8 100644
--- a/src/renderer/src/components/exam-question/examDetailsDrawer.vue
+++ b/src/renderer/src/components/exam-question/examDetailsDrawer.vue
@@ -71,4 +71,9 @@ defineExpose({
justify-content: flex-end;
box-sizing: border-box;
}
+
+ :deep(.format-work-desc > :is(div):first-child){
+ display: inline-block;
+ }
+
\ No newline at end of file
diff --git a/src/renderer/src/components/template-study/container/adjust-dialog.vue b/src/renderer/src/components/template-study/container/adjust-dialog.vue
index 0258471..35de365 100644
--- a/src/renderer/src/components/template-study/container/adjust-dialog.vue
+++ b/src/renderer/src/components/template-study/container/adjust-dialog.vue
@@ -40,11 +40,12 @@
@@ -152,7 +164,7 @@ onMounted(() => {
width: 100%;
justify-content: flex-start;
flex-direction: column;
-
+
}
.chart-item {
border-radius: 5px;
@@ -257,4 +269,4 @@ onMounted(() => {
transform: scale(0.01);
}
}
-
\ No newline at end of file
+
diff --git a/src/renderer/src/components/template-study/container/edit-dialog.vue b/src/renderer/src/components/template-study/container/edit-dialog.vue
index fa7ff5d..97dda43 100644
--- a/src/renderer/src/components/template-study/container/edit-dialog.vue
+++ b/src/renderer/src/components/template-study/container/edit-dialog.vue
@@ -29,6 +29,7 @@
import { ref, watch} from 'vue'
import { ElMessage } from 'element-plus'
import { editTempResult } from '@/api/mode/index.js'
+import emitter from '@/utils/mitt';
const textarea = ref('')
@@ -49,12 +50,12 @@ watch(() => props.item.answer, (newVal) => {
}
},{ deep: true })
-const emit = defineEmits(['saveEdit'])
+
const onSave = () =>{
editTempResult({id: props.item.reultId, content: textarea.value}).then( res =>{
isDialog.value = false
ElMessage.success('操作成功')
- emit('saveEdit', textarea.value)
+ emitter.emit('onGetChild', textarea.value)
})
}
diff --git a/src/renderer/src/components/template-study/container/header.vue b/src/renderer/src/components/template-study/container/header.vue
deleted file mode 100644
index 0846bb1..0000000
--- a/src/renderer/src/components/template-study/container/header.vue
+++ /dev/null
@@ -1,144 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/renderer/src/components/template-study/container/keyword-dialog.vue b/src/renderer/src/components/template-study/container/keyword-dialog.vue
index 4821d6e..a9888ed 100644
--- a/src/renderer/src/components/template-study/container/keyword-dialog.vue
+++ b/src/renderer/src/components/template-study/container/keyword-dialog.vue
@@ -1,5 +1,5 @@
-
+
-
-
-
- {{ el.name }}
-
-
- {{ el.prompt }}
-
-
-
-
-
+
+
+
+
+
+ {{ el.name }}
+
+
+
+
+ {{ el.prompt }}
+
+
+
+
+
@@ -97,30 +101,44 @@ onMounted(() => {
justify-content: space-between;
margin-bottom: 5px;
}
-
.con-item {
margin-bottom: 20px;
+ display: flex;
+ flex-direction: column
+ }
+ .item-list{
+ margin-bottom: 10px;
}
-
.item-card {
width: 130px;
font-size: 13px;
padding: 10px;
margin-right: 20px;
-
+ flex-shrink: 0;
+ border-radius: 10px;
:deep(.el-card__body) {
padding: 0 !important;
}
.card-name {
text-align: center;
+ font-size: 14px;
}
.card-text {
text-align: left;
- font-size: 12px;
+
+ .el-text{
+ font-size: 12px !important;
+ }
}
}
}
}
+.content-list{
+ overflow-x: auto
+}
+.content-list::-webkit-scrollbar {
+ height: 8px;
+}
\ No newline at end of file
diff --git a/src/renderer/src/views/teachingDesign/container/right.vue b/src/renderer/src/views/teachingDesign/container/right.vue
index 48c1ce3..2be6c0d 100644
--- a/src/renderer/src/views/teachingDesign/container/right.vue
+++ b/src/renderer/src/views/teachingDesign/container/right.vue
@@ -11,7 +11,7 @@
@@ -49,29 +49,65 @@
+