-
-
-

-
测试素材封面
-
- 创建人/创建时间:张程程/555555555555555555555555555555555555
-
-
素材来源:
-
标签:暂无
-
标签管理
-
-
-

-
测试素材封面
-
- 创建人/创建时间:张程程/555555555555555555555555555555555555
-
-
素材来源:
-
标签:暂无
-
标签管理
-
-
-

-
测试素材封面
-
- 创建人/创建时间:张程程/555555555555555555555555555555555555
-
-
素材来源:
-
标签:暂无
-
标签管理
-
-
-

-
测试素材封面
-
- 创建人/创建时间:张程程/555555555555555555555555555555555555
-
-
素材来源:
-
标签:暂无
-
标签管理
-
-
-

-
测试素材封面
-
- 创建人/创建时间:张程程/555555555555555555555555555555555555
-
-
素材来源:
-
标签:暂无
-
标签管理
-
-
-

-
测试素材封面
-
- 创建人/创建时间:张程程/555555555555555555555555555555555555
-
-
素材来源:
-
标签:暂无
-
标签管理
-
-
-

-
测试素材封面
-
- 创建人/创建时间:张程程/555555555555555555555555555555555555
-
-
素材来源:
-
标签:暂无
-
标签管理
-
-
-

-
测试素材封面
-
- 创建人/创建时间:张程程/555555555555555555555555555555555555
-
-
素材来源:
-
标签:暂无
-
标签管理
-
-
-

-
测试素材封面
-
- 创建人/创建时间:张程程/555555555555555555555555555555555555
-
-
素材来源:
-
标签:暂无
-
标签管理
-
+
+
+
+
![]()
+
![]()
+
{{ item.name }}
+
+ 创建人/创建时间:{{ item.createBy }}/{{ item.createTime }}
+
+
素材来源:
+
+
标签:
-
-

-
测试素材封面
-
- 创建人/创建时间:张程程/555555555555555555555555555555555555
+ {{ item.indications }},
+ {{ item.drugName }},
+ {{ item.applicableDiseases }},
+ {{ item.surgicalName }},
+ {{ item.inspectionItems }},
+ {{ item.checkItems }},
+
-
素材来源:
-
标签:暂无
-
标签管理
+
+
标签管理
-
+
-
+
@@ -421,32 +217,7 @@
placeholder="请输入内容"
/>
-
-
+
@@ -472,40 +243,24 @@
placeholder="请输入检验项目"
/>
-
-
+
-
+
-
+
@@ -167,12 +165,15 @@ export default {
},
created() {
this.types = this.type;
+ console.log(this.types)
+
this.items = this.item;
if (this.tovideo == null) {
this.video.VideoPath = null;
} else if (this.tovideo == "") {
this.video.VideoPath = null;
} else {
+ console.log(this.tovideo)
this.video.VideoPath = process.env.VUE_APP_BASE_API + this.tovideo;
}
if (this.img == null) {
@@ -182,7 +183,7 @@ export default {
} else {
this.options.img = process.env.VUE_APP_BASE_API + this.img;
}
- if (this.types == "posterVideoUrl" || this.types == "itemDirectoryUrl") {
+ if (this.types == "materialsVideoUrl" || this.types == "itemDirectoryUrl") {
this.title = "上传视频";
} else {
this.title = "上传图片";
@@ -249,7 +250,7 @@ export default {
// 上传预处理
beforeUpload(file) {
console.log(file)
- if (this.types == "posterVideoUrl" || this.types == "itemDirectoryUrl") {
+ if (this.types == "materialsVideoUrl") {
const reader = new FileReader();
this.previews.data = file;
this.videoForm.showVideoPath = URL.createObjectURL(file);
@@ -354,6 +355,35 @@ export default {
});
}
+ // 素材图片上传
+ else if(this.types == "materialsCoverUrl"){
+ uploadFilefm(formData).then(response => {
+ if (response.code == 200) {
+ this.options.img = process.env.VUE_APP_BASE_API + response.imgUrl;
+ this.$emit("imgUrl", response.imgUrl);
+ this.openimg = false;
+ } else {
+ setTimeout(e => {
+ this.openimg = false;
+ }, 1000);
+ }
+ });
+ }
+ // 素材视频上传
+ else if(this.types == "materialsVideoUrl"){
+ uploadFilefm(formData).then(response => {
+ if (response.code == 200) {
+ this.options.img = process.env.VUE_APP_BASE_API + response.imgUrl;
+ this.$emit("imgUrl", response.imgUrl);
+ this.openimg = false;
+ } else {
+ setTimeout(e => {
+ this.openimg = false;
+ }, 1000);
+ }
+ });
+ }
+
else {
updateNurseStationHeads(formData).then(response => {
if (response.code == 200) {