From 0f3f803756b101388c33ea7ebbb1dff25636dd30 Mon Sep 17 00:00:00 2001 From: HanLong <404402223@qq.com> Date: Thu, 8 Jan 2026 16:01:05 +0800 Subject: [PATCH] =?UTF-8?q?feat:[=E8=AF=95=E9=AA=8C=E7=AE=A1=E7=90=86][?= =?UTF-8?q?=E8=AF=95=E9=AA=8C=E6=96=B9=E6=B3=95]=E9=98=85=E8=AF=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 3 + .env.production | 2 + .env.staging | 2 + package.json | 1 + src/api/business/study/studyMethod.js | 9 ++ src/views/business/study/comp/syff/Xq.vue | 177 +++++++++++++++++++++++++++++ src/views/business/study/comp/syff/Yd.vue | 109 ++++++++++++++++++ src/views/business/study/comp/syffList.vue | 35 +++--- 8 files changed, 317 insertions(+), 21 deletions(-) create mode 100644 src/views/business/study/comp/syff/Xq.vue create mode 100644 src/views/business/study/comp/syff/Yd.vue diff --git a/.env.development b/.env.development index a45018b..e2a761f 100644 --- a/.env.development +++ b/.env.development @@ -7,5 +7,8 @@ ENV = 'development' # 华西海圻管理系统/开发环境 VUE_APP_BASE_API = '/dev-api' +VUE_APP_FILE_DOMAIN = 'http://127.0.0.1:9300' + + # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/.env.production b/.env.production index be54bce..d3ab550 100644 --- a/.env.production +++ b/.env.production @@ -6,3 +6,5 @@ ENV = 'production' # 华西海圻管理系统/生产环境 VUE_APP_BASE_API = '/prod-api' + +VUE_APP_FILE_DOMAIN = 'http://127.0.0.1:9300' \ No newline at end of file diff --git a/.env.staging b/.env.staging index 274e52e..0485d55 100644 --- a/.env.staging +++ b/.env.staging @@ -10,3 +10,5 @@ ENV = 'staging' # 华西海圻管理系统/测试环境 VUE_APP_BASE_API = '/stage-api' + +VUE_APP_FILE_DOMAIN = 'http://127.0.0.1:9300' \ No newline at end of file diff --git a/package.json b/package.json index c2a0c30..69dbf07 100644 --- a/package.json +++ b/package.json @@ -47,6 +47,7 @@ "vue-count-to": "1.0.13", "vue-cropper": "0.5.5", "vue-i18n": "7.3.2", + "vue-pdf": "^4.3.0", "vue-router": "3.4.9", "vuedraggable": "2.24.3", "vuex": "3.6.0" diff --git a/src/api/business/study/studyMethod.js b/src/api/business/study/studyMethod.js index 20de93e..becd1fb 100644 --- a/src/api/business/study/studyMethod.js +++ b/src/api/business/study/studyMethod.js @@ -18,3 +18,12 @@ export function studyMethod_list(query) { params: query }) } + +// 阅读 +export function studyMethod_read(data) { + return request({ + url: '/system/business/studyMethod/read', + method: 'post', + data: data + }) +} \ No newline at end of file diff --git a/src/views/business/study/comp/syff/Xq.vue b/src/views/business/study/comp/syff/Xq.vue new file mode 100644 index 0000000..52dc4b3 --- /dev/null +++ b/src/views/business/study/comp/syff/Xq.vue @@ -0,0 +1,177 @@ + + + + + + + + + + + + {{ $t('form.cancel') }} + {{ + $t('page.business.study.studyMethod.yuedu') }} + + + + + + + + + {{ pageNum }} / {{ totalPages }} + + 上一页 + 下一页 + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/business/study/comp/syff/Yd.vue b/src/views/business/study/comp/syff/Yd.vue new file mode 100644 index 0000000..91ec1b1 --- /dev/null +++ b/src/views/business/study/comp/syff/Yd.vue @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/business/study/comp/syffList.vue b/src/views/business/study/comp/syffList.vue index 7ad3f39..9baeffd 100644 --- a/src/views/business/study/comp/syffList.vue +++ b/src/views/business/study/comp/syffList.vue @@ -1,7 +1,7 @@ - + @@ -75,12 +75,8 @@ - - - - - - + + @@ -88,9 +84,7 @@