diff --git a/src/components/quill/index.vue b/src/components/quill/index.vue index 953c290..7c750d4 100644 --- a/src/components/quill/index.vue +++ b/src/components/quill/index.vue @@ -2,7 +2,13 @@
- + 点击上传
@@ -50,6 +56,9 @@ }, data () { return { + headers: { + token: sessionStorage.getItem('token') + }, Quill: null, currentValue: '', options: { diff --git a/src/utils/api.js b/src/utils/api.js index 387d4da..d407973 100644 --- a/src/utils/api.js +++ b/src/utils/api.js @@ -124,7 +124,8 @@ export default { fileDeletion: `${uploadURL}/oss/manage/fileDeletion`, // 删除OSS文件 fileupload: `${uploadURL}/oss/manage/fileupload`, // 文件上传 getPlayAuth: `${uploadURL}/oss/manage/getPlayAuth`, // 获取播放凭证 - + removeMoreVideo: `${uploadURL}/oss/manage/removeMoreVideo`, // 批量删除视频文件 + removeVideo: `${uploadURL}/oss/manage/removeVideo`, // 删除视频文件 queryProvince: `${host}/nakadai/nakadai/province/queryProvince`, //查询省份 queryCity: `${host}/nakadai/nakadai/city/queryCity`, //查询城市 diff --git a/src/views/course/AddCurriculum.vue b/src/views/course/AddCurriculum.vue index 730c1f2..501755d 100644 --- a/src/views/course/AddCurriculum.vue +++ b/src/views/course/AddCurriculum.vue @@ -314,8 +314,8 @@ export default { ProfessionalList: [], systemBelongKeys: { - 0: "外部产品", - 1: "内部系统" + 1: "外部产品", + 0: "内部系统" }, systemTypeKeys: { 0: "编程类", diff --git a/src/views/course/assetConfig.vue b/src/views/course/assetConfig.vue index 64808fc..5572e1e 100644 --- a/src/views/course/assetConfig.vue +++ b/src/views/course/assetConfig.vue @@ -477,7 +477,7 @@ export default { preview(row) { if (this.transferType(row.fileType) == "视频") { this.$get(`${this.api.getPlayAuth}/${row.fileId}`).then(res => { - this.playAuth = res.playAuth; + this.playAuth = res.data.playAuth; if (this.player) { this.player.replayByVidAndPlayAuth(row.fileId, this.playAuth); } else { diff --git a/src/views/course/courseconfig.vue b/src/views/course/courseconfig.vue index 464f07b..8d9d0db 100644 --- a/src/views/course/courseconfig.vue +++ b/src/views/course/courseconfig.vue @@ -460,7 +460,7 @@ export default { preview(row) { if (this.transferType(row.fileType) == "视频") { this.$get(`${this.api.getPlayAuth}/${row.fileId}`).then(res => { - this.playAuth = res.playAuth; + this.playAuth = res.data.playAuth; if (this.player) { this.player.replayByVidAndPlayAuth(row.fileId, this.playAuth); } else { diff --git a/src/views/serve/AddConfigure.vue b/src/views/serve/AddConfigure.vue index fc17c8d..a123ebe 100644 --- a/src/views/serve/AddConfigure.vue +++ b/src/views/serve/AddConfigure.vue @@ -197,7 +197,6 @@ storeName: '1个月', total: '2019.01.02 11:00', payamount: '2019.01.02 11:00', - payamount: '700d12h1min', swtich: true, Intranet: '', extranet: '' @@ -214,7 +213,7 @@ }, { name: '内部系统', - value: 2 + value: 0 }], systemTypeList: [{ name: '工具', diff --git a/src/views/serve/Configure.vue b/src/views/serve/Configure.vue index d85f095..c2462b6 100644 --- a/src/views/serve/Configure.vue +++ b/src/views/serve/Configure.vue @@ -113,16 +113,16 @@ export default { systemBelongList: [ { label: "外部产品", - value: 0 + value: 1 }, { label: "内部系统", - value: 1 + value: 0 } ], systemBelongKeys: { - 0: '外部产品', - 1: '内部系统' + 1: '外部产品', + 0: '内部系统' }, systemTypeList: [ { diff --git a/src/views/serve/projectAdd.vue b/src/views/serve/projectAdd.vue index 0db9af1..2b8a8dc 100644 --- a/src/views/serve/projectAdd.vue +++ b/src/views/serve/projectAdd.vue @@ -123,13 +123,13 @@ {{ scope.row.sort }} - + - + @@ -140,7 +140,7 @@ - +