修改bug:1.#16379 上传视频处修改地址,audioOrVideo前加“/” 2.安全生产责任制增加导出文件功能
parent
2ba859f3ab
commit
86f145fb53
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue