From 067fced942d167bc3e633a3111f167609bb1316e Mon Sep 17 00:00:00 2001 From: paidaxing444 <12qwaszx> Date: Mon, 22 Jun 2020 11:29:25 +0800 Subject: [PATCH] =?UTF-8?q?20200622-zlp-1=20=E9=A6=96=E9=A1=B5-=E4=B8=80?= =?UTF-8?q?=E6=97=A5=E6=B5=81=E7=A8=8B=E5=AD=A6=E4=B9=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/api/benyi_train/video.js | 9 ++ .../src/views/benyi/dayflowstudy/index.vue | 129 +++++++++--------- .../src/views/benyi_train/video/index.vue | 49 +++++++ .../views/benyi_train/video_study/detail.vue | 1 + .../controller/ByTrainVideoController.java | 17 +++ .../project/benyi/domain/ByTrainVideo.java | 15 ++ .../benyi/domain/ByTrainVideoScore.java | 91 +++++++----- .../mybatis/benyi/ByTrainVideoMapper.xml | 5 +- .../mybatis/benyi/ByTrainVideoScoreMapper.xml | 3 +- 9 files changed, 219 insertions(+), 100 deletions(-) diff --git a/ruoyi-ui/src/api/benyi_train/video.js b/ruoyi-ui/src/api/benyi_train/video.js index 5d522bc49..63d762a31 100644 --- a/ruoyi-ui/src/api/benyi_train/video.js +++ b/ruoyi-ui/src/api/benyi_train/video.js @@ -9,6 +9,15 @@ export function listVideo(query) { }) } + +// 查询培训列表 +export function listScoreAndFree(id) { + return request({ + url: '/benyi/video/listscoreandfree/'+id, + method: 'get' + }) +} + // 查询培训详细 export function getVideo(id) { return request({ diff --git a/ruoyi-ui/src/views/benyi/dayflowstudy/index.vue b/ruoyi-ui/src/views/benyi/dayflowstudy/index.vue index ad52d3463..131129330 100644 --- a/ruoyi-ui/src/views/benyi/dayflowstudy/index.vue +++ b/ruoyi-ui/src/views/benyi/dayflowstudy/index.vue @@ -24,20 +24,36 @@ /> -
- 流程中所含任务 -
- - -
- -
-

{{item.taskLable}}

-
-
-

该任务所含标准个数:{{ item.standardCount }}

-
- + + +
+ {{title}} +
+
+ 导言 +
+ +
+
+ 目的 +
+ +
+
+ {{item.taskLable}} +
{{item_standard.standardTitle}} +
解读 +
{{item_unscramble.sort}}-{{item_unscramble.content}} + +
@@ -47,29 +63,31 @@ - \ No newline at end of file diff --git a/ruoyi-ui/src/views/benyi_train/video/index.vue b/ruoyi-ui/src/views/benyi_train/video/index.vue index 018b6e6b5..b0576f0b4 100644 --- a/ruoyi-ui/src/views/benyi_train/video/index.vue +++ b/ruoyi-ui/src/views/benyi_train/video/index.vue @@ -85,6 +85,16 @@ :formatter="typeFormat" :show-overflow-tooltip="true" /> + + +