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

@@ -14,9 +14,9 @@ VUE_APP_IFRAME_TEACHER_URL=//u.boe.com/pc/need/waitaudit
VUE_APP_COURSE_STUDY=//u.boe.com/pc/course/studyindex?id=
VUE_APP_UP_LOAD_STUDENT_TEMPLATE=导入学员模版-1673963663229.xlsx
VUE_APP_UP_LOAD_STUDENT_TEMPLATE=file/导入学员模版-1678375429633.xlsx
# 外部考试导入成绩模板
VUE_APP_UP_LOAD_STUDENT_SCORE_TEMPLATE=外部考试学员成绩导入模板-1676551319283.xlsx
VUE_APP_UP_LOAD_STUDENT_SCORE_TEMPLATE=file/外部考试学员成绩导入模板-1678375450407.xlsx
VUE_APP_ONLINE_CLASS_URL=//u.boe.com/mobile/pages/study/courseStudy?id=
VITE_BOE_CASS_DETAIL_URL=//u.boe.com/pc/case/detail?id=

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 +