diff --git a/src/views/manage/materials/index.vue b/src/views/manage/materials/index.vue
index 499b4eb..accdecd 100644
--- a/src/views/manage/materials/index.vue
+++ b/src/views/manage/materials/index.vue
@@ -189,13 +189,12 @@
prop="materialsFilePath"
v-if="form.materialsType == 'VIDEO'"
>
-
+
+
import { listMaterials, getMaterials, delMaterials, addMaterials, updateMaterials,crowdInfo } from "@/api/manage/materials";
import stationAcatar from "../../system/stationAvatar/index.vue";
+import trainingAvatar from "../../system/trainingAvatar/index.vue";
export default {
name: "Materials",
- components: { stationAcatar },
+ components: { stationAcatar ,trainingAvatar},
dicts: ['crowd_type', 'materials_type', 'video_cover_type'],
data() {
return {
@@ -431,10 +431,14 @@ export default {
},
// 素材类型
radioChange(e) {
+ if(e=='VIDEO'){
this.form.materialsFilePath=null
this.form.videoCoverFilePath=null
+ }else if(e=='IMAGE_TEXT'){
+ this.form.materialsFilePath=null
+ this.form.videoCoverFilePath=null
- console.log(e)
+ }
},
// 素材上传
@@ -445,7 +449,9 @@ export default {
imgUrl2(imgUrl) {
this.form.materialsFilePath = process.env.VUE_APP_BASE_API + imgUrl;
this.form.materialsFilePath = imgUrl;
+
},
+
// 视频封面
imgUrl3(imgUrl) {
console.log(this.form.videoCoverFilePath)
diff --git a/src/views/system/trainingAvatar/index.vue b/src/views/system/trainingAvatar/index.vue
new file mode 100644
index 0000000..3b41473
--- /dev/null
+++ b/src/views/system/trainingAvatar/index.vue
@@ -0,0 +1,297 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 选取文件
+
+
+
+ 提 交
+ 提交中...
+
+
+
+
+
+
+
+