mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-24 18:22:55 +08:00
Merge branch 'develop' into manage-release
This commit is contained in:
@@ -86,7 +86,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="hwName">
|
||||
{{ workUploadAddressName }}
|
||||
{{ workUploadAddressName?workUploadAddressName.slice(workUploadAddressName.lastIndexOf('/')+1):'' }}
|
||||
</div>
|
||||
<div
|
||||
class="op"
|
||||
|
||||
@@ -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: "创建人",
|
||||
|
||||
@@ -2821,7 +2821,6 @@ export default {
|
||||
|
||||
// 共享文档文件下载
|
||||
const downloadFile = (url) => {
|
||||
url && window.open(url);
|
||||
console.log(url);
|
||||
window.open(
|
||||
window.location.protocol +
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -4724,7 +4724,6 @@ export default {
|
||||
}
|
||||
// 共享文档文件下载
|
||||
const downloadFile = (url) => {
|
||||
url && window.open(url);
|
||||
console.log(url);
|
||||
window.open(
|
||||
window.location.protocol +
|
||||
|
||||
Reference in New Issue
Block a user