mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 20:06:47 +08:00
修改生产环境API
This commit is contained in:
@@ -5,6 +5,8 @@ VUE_APP_BASE_API=/manageApi
|
||||
VUE_APP_PIC_FOLDERID=1148997110156759040
|
||||
# 教师节上传zip文件夹id
|
||||
VUE_APP_TOOL_FOLDERID=1148996610925531136
|
||||
# 专业力必修API前缀
|
||||
VUE_APP_BASE_API_GROWTH=/growth
|
||||
|
||||
VUE_APP_PROXY_URL=//u.boe.com/
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="growth-invist-root">
|
||||
<div class="contentMain drawerMain">
|
||||
<div class="contentMain">
|
||||
<div class="main_item">
|
||||
<div class="fi_input">
|
||||
<a-input
|
||||
@@ -180,25 +180,8 @@ async function confirm(record) {
|
||||
width: 1300px !important;
|
||||
}
|
||||
.growth-invist-root {
|
||||
.drawerMain {
|
||||
margin: 16px 0;
|
||||
.header {
|
||||
height: 73px;
|
||||
border-bottom: 1px solid #e8e8e8;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
.headerTitle {
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
color: #333333;
|
||||
line-height: 25px;
|
||||
margin-left: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
.contentMain {
|
||||
margin: 16px 0;
|
||||
.main_item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -297,5 +280,4 @@ async function confirm(record) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -442,12 +442,16 @@ const durationText = computed(() =>
|
||||
);
|
||||
|
||||
const closeDrawer = () => {
|
||||
if (step.value > 1) {
|
||||
step.value = 1;
|
||||
} else {
|
||||
imageUrl.value = "";
|
||||
visible.value = false;
|
||||
dateTime.value = [];
|
||||
formData.reset();
|
||||
formData.value.info = {};
|
||||
resetFields();
|
||||
}
|
||||
};
|
||||
function timeChange(time, timeStr) {
|
||||
formData.value.info.liveStartTime = timeStr[0];
|
||||
|
||||
@@ -558,7 +558,9 @@ export default {
|
||||
// 创建a标签并为其添加属性
|
||||
const link = document.createElement("a");
|
||||
link.href = url;
|
||||
link.download = "专业力必修-录入学员模版.xlsx";
|
||||
link.download = `【${
|
||||
state.TASK_TYPE[props.datasource.taskType].name
|
||||
}】${props.datasource.taskName}.xlsx`;
|
||||
// 触发点击事件执行下载
|
||||
document.body.appendChild(link);
|
||||
link.click();
|
||||
|
||||
Reference in New Issue
Block a user