|
@@ -781,6 +781,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
|
|
+import Vue from "vue";
|
|
|
import {
|
|
import {
|
|
|
addVideoResource,
|
|
addVideoResource,
|
|
|
deleteVideoResource,
|
|
deleteVideoResource,
|
|
@@ -1377,7 +1378,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
- let line_1 = `${this.$runtimeConfig.VUE_APP_VIDEO_LINE_1}${data.urlPath}`;
|
|
|
|
|
|
|
+ let line_1 = `${Vue.prototype.$runtimeConfig.VUE_APP_VIDEO_LINE_1}${data.urlPath}`;
|
|
|
form.fileKey = data.urlPath.substring(1);
|
|
form.fileKey = data.urlPath.substring(1);
|
|
|
form.videoUrl = line_1;
|
|
form.videoUrl = line_1;
|
|
|
form.line1 = line_1;
|
|
form.line1 = line_1;
|
|
@@ -1474,9 +1475,9 @@ export default {
|
|
|
);
|
|
);
|
|
|
console.log("上传火山云返回参数",data)
|
|
console.log("上传火山云返回参数",data)
|
|
|
|
|
|
|
|
- form.line2 = `${this.$runtimeConfig.VUE_APP_VIDEO_URL}/${data.SourceInfo.FileName}`;
|
|
|
|
|
|
|
+ form.line2 = `${Vue.prototype.$runtimeConfig.VUE_APP_VIDEO_URL}/${data.SourceInfo.FileName}`;
|
|
|
this.form.hsyVid = data.Vid
|
|
this.form.hsyVid = data.Vid
|
|
|
- this.form.hsyVodUrl = this.$runtimeConfig.VUE_APP_VIDEO_URL+"/"+data.SourceInfo.FileName
|
|
|
|
|
|
|
+ this.form.hsyVodUrl = Vue.prototype.$runtimeConfig.VUE_APP_VIDEO_URL+"/"+data.SourceInfo.FileName
|
|
|
console.log("this.form",this.form)
|
|
console.log("this.form",this.form)
|
|
|
this.$message.success('线路二上传成功');
|
|
this.$message.success('线路二上传成功');
|
|
|
return { success: true, url: form.line2 };
|
|
return { success: true, url: form.line2 };
|
|
@@ -2272,7 +2273,7 @@ export default {
|
|
|
this.uploadCancellationTokens.set(tempVideo.tempId, tokens);
|
|
this.uploadCancellationTokens.set(tempVideo.tempId, tokens);
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
- let line_1 = `${this.$runtimeConfig.VUE_APP_VIDEO_LINE_1}${data.urlPath}`;
|
|
|
|
|
|
|
+ let line_1 = `${Vue.prototype.$runtimeConfig.VUE_APP_VIDEO_LINE_1}${data.urlPath}`;
|
|
|
tempVideo.fileKey = data.urlPath.substring(1);
|
|
tempVideo.fileKey = data.urlPath.substring(1);
|
|
|
tempVideo.videoUrl = line_1;
|
|
tempVideo.videoUrl = line_1;
|
|
|
tempVideo.line1 = line_1;
|
|
tempVideo.line1 = line_1;
|
|
@@ -2320,7 +2321,7 @@ export default {
|
|
|
this.uploadCancellationTokens.set(tempVideo.tempId, tokens);
|
|
this.uploadCancellationTokens.set(tempVideo.tempId, tokens);
|
|
|
});
|
|
});
|
|
|
console.log("批量上传返回参数",data)
|
|
console.log("批量上传返回参数",data)
|
|
|
- tempVideo.line2 = `${this.$runtimeConfig.VUE_APP_VIDEO_URL}/${data.SourceInfo.FileName}`;
|
|
|
|
|
|
|
+ tempVideo.line2 = `${Vue.prototype.$runtimeConfig.VUE_APP_VIDEO_URL}/${data.SourceInfo.FileName}`;
|
|
|
tempVideo.hsyVid = data.Vid;
|
|
tempVideo.hsyVid = data.Vid;
|
|
|
|
|
|
|
|
return { success: true, url: tempVideo.line2};
|
|
return { success: true, url: tempVideo.line2};
|