mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-21 16:56:46 +08:00
提交
This commit is contained in:
@@ -35,8 +35,7 @@
|
||||
:multiple="false"
|
||||
@change="handleChange"
|
||||
:data="{
|
||||
growthId: Number(courseId),
|
||||
type: courseType,
|
||||
growthId: String(growId),
|
||||
}"
|
||||
:showUploadList="false"
|
||||
>
|
||||
@@ -219,7 +218,7 @@ export default {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
courseId: {
|
||||
growId: {
|
||||
type: String,
|
||||
default: "",
|
||||
},
|
||||
@@ -235,10 +234,10 @@ export default {
|
||||
const store = useStore();
|
||||
const state = reactive({
|
||||
redisKey: "",
|
||||
importStudent: `${process.env.VUE_APP_BOE_API_URL}${
|
||||
process.env.VUE_APP_BASE_API_GROWTH || ""
|
||||
}/professional/allocation/importLearner`,
|
||||
|
||||
// importStudent: `${process.env.VUE_APP_BOE_API_URL}${
|
||||
// process.env.VUE_APP_BASE_API_GROWTH || ""
|
||||
// }/professional/allocation/importLearner`,
|
||||
importStudent: `http://192.168.31.211:32002/professional/allocation/importLearner`,
|
||||
timers: "", // 定时器,用于清空定时器使用
|
||||
isAddStudent: false, // 用于判断用户是否关闭弹框需要重新获取学员列表
|
||||
uploadpercent: -1,
|
||||
@@ -268,7 +267,7 @@ export default {
|
||||
if (state.redisKey && state.succNum != 0 && item) {
|
||||
saveStudent({
|
||||
redisKey: state.redisKey,
|
||||
growId: props.courseId,
|
||||
growId: props.growId,
|
||||
isImportNotMatchStudent: state.groupValue ? 1 : 0,
|
||||
})
|
||||
.then((res) => {
|
||||
@@ -343,7 +342,7 @@ export default {
|
||||
console.log("上传成功返回的UUID----->", info);
|
||||
console.log("我是导入学员接口传递的参数", {
|
||||
file: info.file.originFileObj,
|
||||
targetId: props.courseId,
|
||||
targetId: props.growId,
|
||||
type: 14,
|
||||
});
|
||||
state.fileName = info.file.name;
|
||||
|
||||
Reference in New Issue
Block a user