修改bug:1.#16379 上传视频处修改地址,audioOrVideo前加“/” 2.安全生产责任制增加导出文件功能

dev
WL 2024-06-25 15:56:39 +08:00
parent 2ba859f3ab
commit 86f145fb53
6 changed files with 6 additions and 6 deletions

View File

@ -941,7 +941,7 @@ export default {
// uploadInfo.videoId , (https://help.aliyun.com/document_detail/55408.html) // uploadInfo.videoId , (https://help.aliyun.com/document_detail/55408.html)
// uploadInfo.videoId , (https://help.aliyun.com/document_detail/55407.html) // uploadInfo.videoId , (https://help.aliyun.com/document_detail/55407.html)
if (!uploadInfo.videoId) { if (!uploadInfo.videoId) {
const createUrl = config.httpurl + 'audioOrVideo/createUploadVideo?Title=' + uploadInfo.file.name + '&FileName=' + uploadInfo.file.name const createUrl = config.httpurl + '/audioOrVideo/createUploadVideo?Title=' + uploadInfo.file.name + '&FileName=' + uploadInfo.file.name
axios.get(createUrl).then(({ data }) => { axios.get(createUrl).then(({ data }) => {
const uploadAuth = data.body.uploadAuth const uploadAuth = data.body.uploadAuth
const uploadAddress = data.body.uploadAddress const uploadAddress = data.body.uploadAddress

View File

@ -988,7 +988,7 @@ export default {
// uploadInfo.videoId , (https://help.aliyun.com/document_detail/55408.html) // uploadInfo.videoId , (https://help.aliyun.com/document_detail/55408.html)
// uploadInfo.videoId , (https://help.aliyun.com/document_detail/55407.html) // uploadInfo.videoId , (https://help.aliyun.com/document_detail/55407.html)
if (!uploadInfo.videoId) { if (!uploadInfo.videoId) {
const createUrl = config.httpurl + 'audioOrVideo/createUploadVideo?Title=' + uploadInfo.file.name + '&FileName=' + uploadInfo.file.name const createUrl = config.httpurl + '/audioOrVideo/createUploadVideo?Title=' + uploadInfo.file.name + '&FileName=' + uploadInfo.file.name
axios.get(createUrl).then(({ data }) => { axios.get(createUrl).then(({ data }) => {
const uploadAuth = data.body.uploadAuth const uploadAuth = data.body.uploadAuth
const uploadAddress = data.body.uploadAddress const uploadAddress = data.body.uploadAddress

View File

@ -951,7 +951,7 @@ export default {
// uploadInfo.videoId , (https://help.aliyun.com/document_detail/55408.html) // uploadInfo.videoId , (https://help.aliyun.com/document_detail/55408.html)
// uploadInfo.videoId , (https://help.aliyun.com/document_detail/55407.html) // uploadInfo.videoId , (https://help.aliyun.com/document_detail/55407.html)
if (!uploadInfo.videoId) { if (!uploadInfo.videoId) {
const createUrl = config.httpurl + 'audioOrVideo/createUploadVideo?Title=' + uploadInfo.file.name + '&FileName=' + uploadInfo.file.name const createUrl = config.httpurl + '/audioOrVideo/createUploadVideo?Title=' + uploadInfo.file.name + '&FileName=' + uploadInfo.file.name
axios.get(createUrl).then(({ data }) => { axios.get(createUrl).then(({ data }) => {
const uploadAuth = data.body.uploadAuth const uploadAuth = data.body.uploadAuth
const uploadAddress = data.body.uploadAddress const uploadAddress = data.body.uploadAddress

View File

@ -1000,7 +1000,7 @@ export default {
// uploadInfo.videoId , (https://help.aliyun.com/document_detail/55408.html) // uploadInfo.videoId , (https://help.aliyun.com/document_detail/55408.html)
// uploadInfo.videoId , (https://help.aliyun.com/document_detail/55407.html) // uploadInfo.videoId , (https://help.aliyun.com/document_detail/55407.html)
if (!uploadInfo.videoId) { if (!uploadInfo.videoId) {
const createUrl = config.httpurl + 'audioOrVideo/createUploadVideo?Title=' + uploadInfo.file.name + '&FileName=' + uploadInfo.file.name const createUrl = config.httpurl + '/audioOrVideo/createUploadVideo?Title=' + uploadInfo.file.name + '&FileName=' + uploadInfo.file.name
axios.get(createUrl).then(({ data }) => { axios.get(createUrl).then(({ data }) => {
const uploadAuth = data.body.uploadAuth const uploadAuth = data.body.uploadAuth
const uploadAddress = data.body.uploadAddress const uploadAddress = data.body.uploadAddress

View File

@ -1285,7 +1285,7 @@ export default {
// uploadInfo.videoId , (https://help.aliyun.com/document_detail/55408.html) // uploadInfo.videoId , (https://help.aliyun.com/document_detail/55408.html)
// uploadInfo.videoId , (https://help.aliyun.com/document_detail/55407.html) // uploadInfo.videoId , (https://help.aliyun.com/document_detail/55407.html)
if (!uploadInfo.videoId) { if (!uploadInfo.videoId) {
const createUrl = config.httpurl + 'audioOrVideo/createUploadVideo?Title=' + uploadInfo.file.name + '&FileName=' + uploadInfo.file.name const createUrl = config.httpurl + '/audioOrVideo/createUploadVideo?Title=' + uploadInfo.file.name + '&FileName=' + uploadInfo.file.name
axios.get(createUrl).then(({ data }) => { axios.get(createUrl).then(({ data }) => {
const uploadAuth = data.body.uploadAuth const uploadAuth = data.body.uploadAuth
const uploadAddress = data.body.uploadAddress const uploadAddress = data.body.uploadAddress

View File

@ -163,7 +163,7 @@
<!-- <el-button v-show="del" type="info" icon="el-icon-view" size="mini" @click="getInformation(row)"></el-button>--> <!-- <el-button v-show="del" type="info" icon="el-icon-view" size="mini" @click="getInformation(row)"></el-button>-->
<!-- <el-button v-if="!row.ISTOPTIME" v-show="del" type="success" icon="el-icon-edit-outline" size="mini" @click="handleTop(row,'1')"></el-button>--> <!-- <el-button v-if="!row.ISTOPTIME" v-show="del" type="success" icon="el-icon-edit-outline" size="mini" @click="handleTop(row,'1')"></el-button>-->
<!-- <el-button v-if="row.ISTOPTIME" v-show="del" type="warning" icon="el-icon-edit-outline" size="mini" @click="handleTop(row,'2')"></el-button>--> <!-- <el-button v-if="row.ISTOPTIME" v-show="del" type="warning" icon="el-icon-edit-outline" size="mini" @click="handleTop(row,'2')"></el-button>-->
<!-- <el-button v-show="del" type="warning" icon="el-icon-printer" size="mini" @click="handleExport(row)"></el-button>--> <el-button v-show="del" type="warning" icon="el-icon-printer" size="mini" @click="handleExport(row)"></el-button>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>