Merge branch 'develop' into manage-release

This commit is contained in:
wyx
2023-03-10 01:35:47 +08:00
6 changed files with 12 additions and 11 deletions

View File

@@ -86,7 +86,7 @@
</div>
</div>
<div class="hwName">
{{ workUploadAddressName }}
{{ workUploadAddressName?workUploadAddressName.slice(workUploadAddressName.lastIndexOf('/')+1):'' }}
</div>
<div
class="op"

View File

@@ -347,7 +347,7 @@
</a-button> -->
<a-button
v-if="
(record.auditStatus === 3)
(record.publishStatus === 1)
"
@click="() => handleStart(record, String(record.courseform))"
type="link"
@@ -2295,11 +2295,11 @@ export default defineComponent({
{
title: "是否发布",
width: 100,
dataIndex: "auditStatus",
dataIndex: "publishStatus",
key: "7",
align: "center",
customRender: ({ record }) =>
record.auditStatus === 3 ? "已发布" : "未发布",
record.publishStatus === 1 ? "已发布" : "未发布",
},
{
title: "创建人",

View File

@@ -2821,7 +2821,6 @@ export default {
// 共享文档文件下载
const downloadFile = (url) => {
url && window.open(url);
console.log(url);
window.open(
window.location.protocol +

View File

@@ -1389,9 +1389,12 @@ export default defineComponent({
// 共享文档文件下载
const downloadFile = (url) => {
console.log(url)
if (url) {
window.open(url)
}
window.open(
window.location.protocol +
process.env.VUE_APP_BOE_API_URL +
process.env.VUE_APP_FILE_PATH +
url
);
// if(url){
// const filename = '操作指南'
// const x = new XMLHttpRequest()

View File

@@ -4724,7 +4724,6 @@ export default {
}
// 共享文档文件下载
const downloadFile = (url) => {
url && window.open(url);
console.log(url);
window.open(
window.location.protocol +