From cb921e7997de3cfceb559f1723bc81715f74d42f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Thu, 4 May 2023 09:33:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/stationAvatar/index.vue | 3 +- src/views/system/trainingAvatar/index.vue | 349 ++++++++++++++++++++++ src/views/system/trainingItem/index.vue | 341 +++++++-------------- src/views/system/trainingOrder/index.vue | 17 +- 4 files changed, 469 insertions(+), 241 deletions(-) create mode 100644 src/views/system/trainingAvatar/index.vue diff --git a/src/views/system/stationAvatar/index.vue b/src/views/system/stationAvatar/index.vue index 72660b4..c5664c2 100644 --- a/src/views/system/stationAvatar/index.vue +++ b/src/views/system/stationAvatar/index.vue @@ -243,7 +243,6 @@ export default { if (this.types == "posterVideoUrl" || this.types == "itemDirectoryUrl") { const reader = new FileReader(); this.previews.data = file; - this.previews.url = URL.createObjectURL(file); this.videoForm.showVideoPath = URL.createObjectURL(file); reader.readAsDataURL(file); reader.onload = () => { @@ -369,7 +368,7 @@ export default { } else { this.openimg = false; } - this.videoForm.showVideoPath = null; + // this.videoForm.showVideoPath = null; this.previews.data = null; }, // 实时预览 diff --git a/src/views/system/trainingAvatar/index.vue b/src/views/system/trainingAvatar/index.vue new file mode 100644 index 0000000..5aa5298 --- /dev/null +++ b/src/views/system/trainingAvatar/index.vue @@ -0,0 +1,349 @@ + + + + diff --git a/src/views/system/trainingItem/index.vue b/src/views/system/trainingItem/index.vue index 9625881..8369da1 100644 --- a/src/views/system/trainingItem/index.vue +++ b/src/views/system/trainingItem/index.vue @@ -40,16 +40,8 @@ - 搜索 - 重置 + 搜索 + 重置 @@ -62,8 +54,7 @@ size="mini" @click="handleAdd" v-hasPermi="['system:trainingItem:add']" - >新增 + >新增 修改 + >修改 删除 + >删除 - + --> + - - - - - - + + + + + @@ -162,8 +127,7 @@ active-color="#13ce66" inactive-color="#ff4949" @change="uptrainingShelfFlag(scope.row)" - > - + > - - + --> + + @@ -245,22 +199,14 @@ label-width="80px" :inline="true" > - + - + - 搜索 - 重置 + 搜索 + 重置 @@ -308,20 +246,9 @@ label="培训课程组名称" align="center" :show-overflow-tooltip="true" - > - - - - - + > + + + --> - --> + --> - + {{ form.trainingParentName }} + >{{ form.trainingParentName }} {{ form.trainingParentName }} + >{{ form.trainingParentName }} + --> - + --> + />--> --> + />--> --> + />--> - + > - + > - + > - + - + - @@ -888,7 +784,7 @@ - + \ No newline at end of file + diff --git a/src/views/system/trainingOrder/index.vue b/src/views/system/trainingOrder/index.vue index ac3307d..f517b3a 100644 --- a/src/views/system/trainingOrder/index.vue +++ b/src/views/system/trainingOrder/index.vue @@ -51,7 +51,6 @@ > - - - - -
{{ form.trainingOrderAmount }}
-
{{ form.trainingOrderChannel }}
@@ -370,8 +364,7 @@ >
{{ formlist.trainingItemDetails }}
- -