From 3f6f6124b3617d9ff20a807e9faee09f0234b6fa Mon Sep 17 00:00:00 2001 From: lyc Date: Wed, 13 Nov 2024 11:22:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../template-study/container/dialog.vue | 14 +- .../template-study/container/header.vue | 15 +- .../template-study/container/pdf.vue | 1 - .../template-study/container/result.vue | 7 +- .../src/components/template-study/index.vue | 12 +- src/renderer/src/layout/components/Aside.vue | 1 - src/renderer/src/layout/components/Header.vue | 1 - .../container/pdf-template.vue | 28 -- .../container/question-answer.vue | 153 --------- .../container/read-result.vue | 301 ------------------ .../container/read-template.vue | 132 -------- .../src/views/curriculum-standards/index.vue | 182 +---------- src/renderer/src/views/model/index.vue | 2 +- .../src/views/teaching-material/index.vue | 175 +--------- 14 files changed, 38 insertions(+), 986 deletions(-) delete mode 100644 src/renderer/src/views/curriculum-standards/container/pdf-template.vue delete mode 100644 src/renderer/src/views/curriculum-standards/container/question-answer.vue delete mode 100644 src/renderer/src/views/curriculum-standards/container/read-result.vue delete mode 100644 src/renderer/src/views/curriculum-standards/container/read-template.vue diff --git a/src/renderer/src/components/template-study/container/dialog.vue b/src/renderer/src/components/template-study/container/dialog.vue index e1cd782..801158f 100644 --- a/src/renderer/src/components/template-study/container/dialog.vue +++ b/src/renderer/src/components/template-study/container/dialog.vue @@ -1,5 +1,5 @@ diff --git a/src/renderer/src/components/template-study/container/result.vue b/src/renderer/src/components/template-study/container/result.vue index 909d36c..d853dd3 100644 --- a/src/renderer/src/components/template-study/container/result.vue +++ b/src/renderer/src/components/template-study/container/result.vue @@ -59,8 +59,8 @@ const props = defineProps({ type: [String, Number], default: '' }, - model: { - type: [String, Number], + modeType: { + type: Number, default: 1 } }) @@ -70,9 +70,8 @@ const tempLoading = ref(false) const childTempList = ref([]) const getChildTemplate = () => { tempLoading.value = true - modelList({ model: props.model, type: 2, parentId: props.tempId }).then(res => { + modelList({ model: props.modeType, type: 2, parentId: props.tempId }).then(res => { childTempList.value = res.rows - console.log('res.rows=====>', res.rows) }).finally(() => { tempLoading.value = false diff --git a/src/renderer/src/components/template-study/index.vue b/src/renderer/src/components/template-study/index.vue index 37d443e..2963151 100644 --- a/src/renderer/src/components/template-study/index.vue +++ b/src/renderer/src/components/template-study/index.vue @@ -1,7 +1,7 @@