mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
feat:修改学习路径删除
This commit is contained in:
@@ -182,6 +182,7 @@ export default {
|
||||
});
|
||||
const state = reactive({
|
||||
addLoading: false,
|
||||
fileUrl: null,
|
||||
});
|
||||
const formRef = ref();
|
||||
|
||||
@@ -250,12 +251,18 @@ export default {
|
||||
console.log(args);
|
||||
};
|
||||
const handleChange = (info) => {
|
||||
console.log("info", info);
|
||||
if (info.file.status !== "uploading") {
|
||||
console.log(info.file, info.fileList);
|
||||
}
|
||||
|
||||
if (info.file.status === "done") {
|
||||
message.success(`${info.file.name} 文件上传成功`);
|
||||
console.log("info.file", info.file.response.data);
|
||||
if (info.file.response && info.file.response.data) {
|
||||
// console.log("fileList", fileList);
|
||||
// fileList.value = [info];
|
||||
}
|
||||
} else if (info.file.status === "error") {
|
||||
message.error(`${info.file.name} 文件上传失败.`);
|
||||
}
|
||||
@@ -285,7 +292,7 @@ export default {
|
||||
let obj = {
|
||||
submitEndTime: dayjs(formState.choosedTime[1]).format("YYYY-MM-DD"),
|
||||
submitStartTime: dayjs(formState.choosedTime[0]).format("YYYY-MM-DD"),
|
||||
workEnclosureAddress: "",
|
||||
workEnclosureAddress: state.fileUrl,
|
||||
workId: props.edit ? props.EditWorkId : 0,
|
||||
workName: formState.workName,
|
||||
workRequirement: formState.workRequirement,
|
||||
@@ -410,7 +417,7 @@ export default {
|
||||
let obj = {
|
||||
submitEndTime: dayjs(formState.choosedTime[1]).format("YYYY-MM-DD"),
|
||||
submitStartTime: dayjs(formState.choosedTime[0]).format("YYYY-MM-DD"),
|
||||
workEnclosureAddress: "",
|
||||
workEnclosureAddress: state.fileUrl,
|
||||
workId: props.EditWorkId > 0 ? props.EditWorkId : 0,
|
||||
workName: formState.workName,
|
||||
workRequirement: formState.workRequirement,
|
||||
|
||||
@@ -92,7 +92,6 @@
|
||||
"
|
||||
v-model:value="inputV2"
|
||||
></a-input-number>
|
||||
|
||||
<span style="margin-left: 5px">分钟</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -157,7 +156,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="main_item" style="margin-top: -10px">
|
||||
<div class="signbox">
|
||||
<span style="margin-right: 3px">直播链接:</span>
|
||||
@@ -192,7 +190,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="main_item2">
|
||||
<div class="signbox">
|
||||
<span style="margin-right: 3px">评估:</span>
|
||||
@@ -223,7 +220,6 @@
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="main_item2">
|
||||
<div class="signbox">
|
||||
<span style="margin-right: 3px">考勤设置:</span>
|
||||
@@ -337,7 +333,6 @@ import { getMemberInfo } from "@/api/index1";
|
||||
import dayjs from "dayjs";
|
||||
import { fileUp } from "../../api/indexEval";
|
||||
import AssessmentList from "../drawers/ AssessmentList.vue";
|
||||
|
||||
import { debounce } from "lodash-es";
|
||||
// import { useRouter } from "vue-router";
|
||||
function getBase64(img, callback) {
|
||||
@@ -345,7 +340,6 @@ function getBase64(img, callback) {
|
||||
reader.addEventListener("load", () => callback(reader.result));
|
||||
reader.readAsDataURL(img);
|
||||
}
|
||||
|
||||
export default {
|
||||
name: "AddLive",
|
||||
components: {
|
||||
@@ -356,7 +350,6 @@ export default {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
|
||||
EditLiveId: {
|
||||
type: Number,
|
||||
default: null,
|
||||
@@ -513,20 +506,17 @@ export default {
|
||||
//message.error(`查询失败`);
|
||||
});
|
||||
};
|
||||
|
||||
const cloradio1 = (value) => {
|
||||
if (state.radioV1 === value.target._value) {
|
||||
state.radioV1 = "";
|
||||
}
|
||||
};
|
||||
|
||||
const handleChange = (info) => {
|
||||
if (info.file.status === "uploading") {
|
||||
state.loading = true;
|
||||
console.log("info", info);
|
||||
return;
|
||||
}
|
||||
|
||||
if (info.file.status === "done") {
|
||||
// Get this url from response in real world.
|
||||
getBase64(info.file.originFileObj, (base64Url) => {
|
||||
@@ -535,14 +525,12 @@ export default {
|
||||
console.log("imgURL", state.imageUrl);
|
||||
});
|
||||
}
|
||||
|
||||
if (info.file.status === "error") {
|
||||
state.loading = false;
|
||||
message.destroy();
|
||||
message.error("upload error");
|
||||
}
|
||||
};
|
||||
|
||||
const updateTask = (res) => {
|
||||
if (props.isLevel == 1) {
|
||||
RouterEditTask({
|
||||
@@ -622,7 +610,6 @@ export default {
|
||||
message.destroy();
|
||||
return message.warning("直播时长需大于0");
|
||||
}
|
||||
|
||||
let startTime = toDate(
|
||||
new Date(state.time[0].$d).getTime() / 1000,
|
||||
"Y-M-D"
|
||||
@@ -631,7 +618,6 @@ export default {
|
||||
new Date(state.time[1].$d).getTime() / 1000,
|
||||
"Y-M-D"
|
||||
);
|
||||
|
||||
state.obj = {
|
||||
afterSignIn: state.inputV6,
|
||||
beforeSignIn: state.inputV7,
|
||||
@@ -689,7 +675,6 @@ export default {
|
||||
message.error("仅支持jpg、gif、png、jpeg、svg、bmp格式!");
|
||||
return reject(false);
|
||||
}
|
||||
|
||||
let reader = new FileReader();
|
||||
reader.readAsDataURL(file);
|
||||
reader.onload = () => {
|
||||
@@ -707,11 +692,9 @@ export default {
|
||||
return resolve(true);
|
||||
};
|
||||
};
|
||||
|
||||
return reject(false);
|
||||
});
|
||||
};
|
||||
|
||||
const templateScroll = (e) => {
|
||||
console.log("滚动", e);
|
||||
const { target } = e;
|
||||
@@ -760,11 +743,10 @@ export default {
|
||||
options.value = [];
|
||||
state.fetching = true;
|
||||
state.currentPage = 1;
|
||||
state.memberValue = memberValue;
|
||||
state.memberValue.label = memberValue;
|
||||
queryMember();
|
||||
state.fetching = false;
|
||||
}, 300);
|
||||
|
||||
const handleChange2 = (value) => {
|
||||
console.log(`selected ${value}`);
|
||||
state.inputV3 = value;
|
||||
@@ -779,7 +761,6 @@ export default {
|
||||
state.discussSettings = "false";
|
||||
}
|
||||
};
|
||||
|
||||
return {
|
||||
...toRefs(state),
|
||||
afterVisibleChange,
|
||||
@@ -1012,5 +993,4 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
</style>
|
||||
@@ -7,14 +7,15 @@
|
||||
@after-visible-change="afterVisibleChange"
|
||||
>
|
||||
<div class="drawerMain">
|
||||
<div class="header">
|
||||
<!-- 2022-11-30注释 后面放开 -->
|
||||
<!-- <div class="header">
|
||||
<div class="headerTitle">批量面授报名</div>
|
||||
<img
|
||||
style="width: 29px; height: 29px; cursor: pointer"
|
||||
src="../../assets/images/basicinfo/close.png"
|
||||
@click="closeDrawer"
|
||||
/>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="main">
|
||||
<div class="minatitl">
|
||||
<div class="up1">请下载</div>
|
||||
|
||||
@@ -596,7 +596,8 @@
|
||||
</div>
|
||||
<div class="xheadb">
|
||||
<button class="addx" @click="showAddStu">添加学员</button>
|
||||
<button class="addd" @click="showImpStu">导入学员</button>
|
||||
<!-- 2022-11-30注释 后面放开 -->
|
||||
<!-- <button class="addd" @click="showImpStu">导入学员</button> -->
|
||||
<div class="select">
|
||||
<a-select
|
||||
style="width: 130px"
|
||||
@@ -1277,14 +1278,15 @@ export default {
|
||||
picUrl: null,
|
||||
remark: null,
|
||||
projectNameList: [
|
||||
{
|
||||
value: "1",
|
||||
label: "导出信息",
|
||||
},
|
||||
{
|
||||
value: "2",
|
||||
label: "批量调整关卡",
|
||||
},
|
||||
// 2022-11-30注释 后面放开
|
||||
// {
|
||||
// value: "1",
|
||||
// label: "导出信息",
|
||||
// },
|
||||
// {
|
||||
// value: "2",
|
||||
// label: "批量调整关卡",
|
||||
// },
|
||||
{
|
||||
value: "3",
|
||||
label: "批量删除",
|
||||
@@ -1501,6 +1503,8 @@ export default {
|
||||
return (
|
||||
<div class="opa">
|
||||
<div class="opacation">
|
||||
{/**
|
||||
2022-11-30注释 后面放开
|
||||
<span
|
||||
onClick={() => {
|
||||
showCheckStu(text.record.studentId);
|
||||
@@ -1510,6 +1514,9 @@ export default {
|
||||
>
|
||||
查看
|
||||
</span>
|
||||
*/}
|
||||
{/**
|
||||
2022-11-30注释 后面放开
|
||||
<span
|
||||
onClick={() => {
|
||||
state.visiblene = true;
|
||||
@@ -1519,6 +1526,7 @@ export default {
|
||||
>
|
||||
调整
|
||||
</span>
|
||||
*/}
|
||||
<span
|
||||
style="color:#4EA6FF;cursor:pointer"
|
||||
onClick={() => {
|
||||
@@ -1963,7 +1971,7 @@ export default {
|
||||
cancelText: "取消",
|
||||
onOk() {
|
||||
api
|
||||
.delStudent({ routerId: 100, studentIds: [id] })
|
||||
.delStudent({ routerId: state.routerId, studentIds: [id] })
|
||||
.then((res) => {
|
||||
message.success("删除成功");
|
||||
getStudent();
|
||||
@@ -2001,7 +2009,7 @@ export default {
|
||||
return;
|
||||
}
|
||||
let obj = {
|
||||
routerId: 100,
|
||||
routerId: state.routerId,
|
||||
studentIds: state.selectedRowKeys,
|
||||
};
|
||||
api
|
||||
|
||||
@@ -182,7 +182,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="rightt">
|
||||
<div class="select">
|
||||
<!-- 2022-11-30注释 后面放开 -->
|
||||
<!-- <div class="select">
|
||||
<span>学习模式:</span>
|
||||
<div class="inputbox">
|
||||
<input type="text" placeholder="按学习时间解锁" />
|
||||
@@ -190,9 +191,8 @@
|
||||
<div class="btnText">切换模式</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 切换模式抽屉 -->
|
||||
<unlock-mode v-model:unlockModeVisible="unlockModeVisible" />
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="line"></div>
|
||||
<router-link to="/leveladd">
|
||||
<div style="display: flex">
|
||||
@@ -744,7 +744,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="rightt">
|
||||
<div class="select">
|
||||
<!-- 2022-11-30注释 后面放开 -->
|
||||
<!-- <div class="select">
|
||||
<span>学习模式:</span>
|
||||
<div class="inputbox">
|
||||
<input type="text" placeholder="按学习时间解锁" />
|
||||
@@ -752,9 +753,8 @@
|
||||
<div class="btnText">切换模式</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 切换模式抽屉 -->
|
||||
<unlock-mode v-model:unlockModeVisible="unlockModeVisible" />
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="line"></div>
|
||||
<router-link to="/leveladd">
|
||||
<div style="display: flex">
|
||||
@@ -1053,7 +1053,7 @@ import { editTask } from "../../api/indexTaskadd";
|
||||
// import { RouterEditTask } from "@/api/indexTask";
|
||||
import { useRouter } from "vue-router";
|
||||
import { toDate } from "../../api/method";
|
||||
import UnlockMode from "../../components/drawers/UnlockMode.vue";
|
||||
// import UnlockMode from "../../components/drawers/UnlockMode.vue";
|
||||
export default {
|
||||
name: "LevelAddDetail",
|
||||
components: {
|
||||
@@ -1071,7 +1071,7 @@ export default {
|
||||
AddLive,
|
||||
AddRef,
|
||||
draggable,
|
||||
UnlockMode,
|
||||
// UnlockMode,
|
||||
AddFaceteach,
|
||||
AddProject,
|
||||
},
|
||||
|
||||
@@ -158,16 +158,17 @@
|
||||
return triggerNode.parentNode || document.body;
|
||||
}
|
||||
"
|
||||
:value="classifySelect1"
|
||||
mode="multiple"
|
||||
v-model:value="classifySelect1"
|
||||
placeholder="请选择项目经理"
|
||||
style="width: 100%"
|
||||
:options="classifyList1"
|
||||
@change="classificationChange1"
|
||||
allowClear
|
||||
showSearch
|
||||
mode="multiple"
|
||||
:disabled="viewDetail ? true : false"
|
||||
@popupScroll="memberScroll"
|
||||
@search="getMember"
|
||||
>
|
||||
</a-select>
|
||||
</div>
|
||||
@@ -798,12 +799,13 @@ export default {
|
||||
// 项目经理 后续接口调用
|
||||
const classifyList1 = ref([]);
|
||||
//获取学员
|
||||
const getMember = () => {
|
||||
const getMember = (e) => {
|
||||
console.log("state.classifySelect1", e, state.classifySelect1);
|
||||
api1
|
||||
.getMemberInfo({
|
||||
pageNo: state.currentPage1,
|
||||
pageSize: state.pageSize1,
|
||||
keyWord: "",
|
||||
keyWord: e ? e : "",
|
||||
})
|
||||
.then((res) => {
|
||||
if (res.data.code === 200) {
|
||||
@@ -817,7 +819,7 @@ export default {
|
||||
array.push(obj);
|
||||
});
|
||||
classifyList1.value = array;
|
||||
console.log("获取学员", res.data);
|
||||
console.log("获取学员", res.data, classifyList1.value);
|
||||
// classifyList1.value = res.data.data.rows;
|
||||
// state.tableDataTotal = res.data.data.total;
|
||||
// return res.data.data.rows;
|
||||
@@ -825,6 +827,7 @@ export default {
|
||||
});
|
||||
};
|
||||
getMember();
|
||||
|
||||
//学员滚动加载信息
|
||||
const memberScroll = (e) => {
|
||||
// console.log("滚动", e, b);
|
||||
@@ -1221,6 +1224,7 @@ export default {
|
||||
|
||||
templateScroll,
|
||||
memberScroll,
|
||||
getMember,
|
||||
};
|
||||
},
|
||||
};
|
||||
|
||||
@@ -2488,20 +2488,10 @@ export default {
|
||||
// options={state.projectNameList}
|
||||
dropdownClassName="tabledropdown"
|
||||
>
|
||||
{/*
|
||||
<a-select-option value="基础信息" label="基础信息">
|
||||
<router-link to="/taskpage">基础信息</router-link>
|
||||
</a-select-option>
|
||||
<a-select-option value="存为模版" label="存为模版">
|
||||
<div
|
||||
onClick={() => {
|
||||
showStartModal();
|
||||
}}
|
||||
>
|
||||
存为模版
|
||||
</div>
|
||||
</a-select-option> */}
|
||||
<a-select-option value="复制" label="复制">
|
||||
{/**
|
||||
2022-11-30注释 后面放开
|
||||
|
||||
<a-select-option value="复制" label="复制">
|
||||
<div
|
||||
onClick={() => {
|
||||
showCopyModal(value.record.projectId);
|
||||
@@ -2510,6 +2500,8 @@ export default {
|
||||
复制
|
||||
</div>
|
||||
</a-select-option>
|
||||
*/}
|
||||
|
||||
<a-select-option value="删除" label="删除">
|
||||
<div
|
||||
onClick={() => {
|
||||
@@ -2587,19 +2579,8 @@ export default {
|
||||
dropdownClassName="tabledropdown"
|
||||
>
|
||||
{/*
|
||||
<a-select-option value="基础信息" label="基础信息">
|
||||
<router-link to="/taskpage">基础信息</router-link>
|
||||
</a-select-option>
|
||||
<a-select-option value="存为模版" label="存为模版">
|
||||
<div
|
||||
onClick={() => {
|
||||
showStartModal();
|
||||
}}
|
||||
>
|
||||
存为模版
|
||||
</div>
|
||||
</a-select-option> */}
|
||||
<a-select-option value="复制" label="复制">
|
||||
2022-11-30注释 后面放开
|
||||
<a-select-option value="复制" label="复制">
|
||||
<div
|
||||
onClick={() => {
|
||||
showCopyModal(value.record.projectId);
|
||||
@@ -2608,6 +2589,8 @@ export default {
|
||||
复制
|
||||
</div>
|
||||
</a-select-option>
|
||||
|
||||
*/}
|
||||
</a-select>
|
||||
</div>
|
||||
</div>
|
||||
@@ -2675,19 +2658,8 @@ export default {
|
||||
dropdownClassName="tabledropdown"
|
||||
>
|
||||
{/*
|
||||
<a-select-option value="基础信息" label="基础信息">
|
||||
<router-link to="/taskpage">基础信息</router-link>
|
||||
</a-select-option>
|
||||
<a-select-option value="存为模版" label="存为模版">
|
||||
<div
|
||||
onClick={() => {
|
||||
showStartModal();
|
||||
}}
|
||||
>
|
||||
存为模版
|
||||
</div>
|
||||
</a-select-option> */}
|
||||
<a-select-option value="复制" label="复制">
|
||||
2022-11-30注释 后面放开
|
||||
<a-select-option value="复制" label="复制">
|
||||
<div
|
||||
onClick={() => {
|
||||
showCopyModal(value.record.projectId);
|
||||
@@ -2696,6 +2668,8 @@ export default {
|
||||
复制
|
||||
</div>
|
||||
</a-select-option>
|
||||
*/}
|
||||
|
||||
<a-select-option value="删除" label="删除">
|
||||
<div
|
||||
onClick={() => {
|
||||
@@ -2805,7 +2779,9 @@ export default {
|
||||
// options={state.projectNameList}
|
||||
dropdownClassName="tabledropdown"
|
||||
>
|
||||
<a-select-option value="复制" label="复制">
|
||||
{/*
|
||||
2022-11-30注释 后面放开
|
||||
<a-select-option value="复制" label="复制">
|
||||
<div
|
||||
onClick={() => {
|
||||
showCopyModal(value.record.projectId);
|
||||
@@ -2814,6 +2790,8 @@ export default {
|
||||
复制
|
||||
</div>
|
||||
</a-select-option>
|
||||
*/}
|
||||
|
||||
<a-select-option value="删除" label="删除">
|
||||
<div
|
||||
onClick={() => {
|
||||
@@ -2887,7 +2865,9 @@ export default {
|
||||
// options={state.projectNameList}
|
||||
dropdownClassName="tabledropdown"
|
||||
>
|
||||
<a-select-option value="复制" label="复制">
|
||||
{/*
|
||||
2022-11-30注释 后面放开
|
||||
<a-select-option value="复制" label="复制">
|
||||
<div
|
||||
onClick={() => {
|
||||
showCopyModal(value.record.projectId);
|
||||
@@ -2896,6 +2876,7 @@ export default {
|
||||
复制
|
||||
</div>
|
||||
</a-select-option>
|
||||
*/}
|
||||
</a-select>
|
||||
</div>
|
||||
</div>
|
||||
@@ -2957,7 +2938,9 @@ export default {
|
||||
// options={state.projectNameList}
|
||||
dropdownClassName="tabledropdown"
|
||||
>
|
||||
<a-select-option value="复制" label="复制">
|
||||
{/*
|
||||
2022-11-30注释 后面放开
|
||||
<a-select-option value="复制" label="复制">
|
||||
<div
|
||||
onClick={() => {
|
||||
showCopyModal(value.record.projectId);
|
||||
@@ -2966,6 +2949,8 @@ export default {
|
||||
复制
|
||||
</div>
|
||||
</a-select-option>
|
||||
*/}
|
||||
|
||||
<a-select-option value="删除" label="删除">
|
||||
<div
|
||||
onClick={() => {
|
||||
@@ -3180,7 +3165,9 @@ export default {
|
||||
// options={state.projectNameList}
|
||||
dropdownClassName="tabledropdown"
|
||||
>
|
||||
<a-select-option value="复制" label="复制">
|
||||
{/*
|
||||
2022-11-30注释 后面放开
|
||||
<a-select-option value="复制" label="复制">
|
||||
<div
|
||||
onClick={() => {
|
||||
showCopyModal(value.record.projectId);
|
||||
@@ -3189,6 +3176,8 @@ export default {
|
||||
复制
|
||||
</div>
|
||||
</a-select-option>
|
||||
*/}
|
||||
|
||||
<a-select-option value="删除" label="删除">
|
||||
<div
|
||||
onClick={() => {
|
||||
@@ -3230,7 +3219,9 @@ export default {
|
||||
// options={state.projectNameList}
|
||||
dropdownClassName="tabledropdown"
|
||||
>
|
||||
<a-select-option value="复制" label="复制">
|
||||
{/*
|
||||
2022-11-30注释 后面放开
|
||||
<a-select-option value="复制" label="复制">
|
||||
<div
|
||||
onClick={() => {
|
||||
showCopyModal(value.record.projectId);
|
||||
@@ -3239,6 +3230,8 @@ export default {
|
||||
复制
|
||||
</div>
|
||||
</a-select-option>
|
||||
*/}
|
||||
|
||||
<a-select-option value="存为模版" label="存为模版">
|
||||
<div
|
||||
onClick={() => {
|
||||
@@ -3295,7 +3288,9 @@ export default {
|
||||
存为模版
|
||||
</div>
|
||||
</a-select-option>
|
||||
<a-select-option value="复制" label="复制">
|
||||
{/*
|
||||
2022-11-30注释 后面放开
|
||||
<a-select-option value="复制" label="复制">
|
||||
<div
|
||||
onClick={() => {
|
||||
showCopyModal(value.record.projectId);
|
||||
@@ -3304,6 +3299,8 @@ export default {
|
||||
复制
|
||||
</div>
|
||||
</a-select-option>
|
||||
*/}
|
||||
|
||||
<a-select-option value="删除" label="删除">
|
||||
<div
|
||||
onClick={() => {
|
||||
@@ -3345,7 +3342,9 @@ export default {
|
||||
存为模版
|
||||
</div>
|
||||
</a-select-option>
|
||||
<a-select-option value="复制" label="复制">
|
||||
{/*
|
||||
2022-11-30注释 后面放开
|
||||
<a-select-option value="复制" label="复制">
|
||||
<div
|
||||
onClick={() => {
|
||||
showCopyModal(value.record.projectId);
|
||||
@@ -3354,6 +3353,7 @@ export default {
|
||||
复制
|
||||
</div>
|
||||
</a-select-option>
|
||||
*/}
|
||||
|
||||
<a-select-option value="基础信息" label="基础信息">
|
||||
<div
|
||||
|
||||
@@ -124,18 +124,17 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="rightt">
|
||||
<div class="select">
|
||||
<!-- 2022-11-30注释 后面放开 -->
|
||||
<!-- <div class="select">
|
||||
<span>学习模式:</span>
|
||||
<div class="inputbox">
|
||||
<input type="text" placeholder="按学习时间解锁" />
|
||||
<!-- v-model:unlockModeVisible="unlockModeVisible" -->
|
||||
<div class="bottonbox" @click="showModeVisible">
|
||||
<div class="btnText">切换模式</div>
|
||||
</div>
|
||||
<!-- 切换模式抽屉 -->
|
||||
<unlock-mode v-model:unlockModeVisible="unlockModeVisible" />
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="line"></div>
|
||||
<!-- <img class="img2" src="../../assets/images/projectadd/keep.png" />
|
||||
<div class="pub">保存</div>
|
||||
@@ -1036,7 +1035,7 @@ import * as apistage from "../../api/indexStage";
|
||||
import * as apimove from "../../api/indexMovetask";
|
||||
import draggable from "vuedraggable";
|
||||
import { storage } from "../../api/storage";
|
||||
import UnlockMode from "../../components/drawers/UnlockMode.vue";
|
||||
// import UnlockMode from "../../components/drawers/UnlockMode.vue";
|
||||
// import * as api1 from "../../api/index1";
|
||||
import { useRouter } from "vue-router";
|
||||
export default {
|
||||
@@ -1055,7 +1054,7 @@ export default {
|
||||
AddEval,
|
||||
AddInvist,
|
||||
AddVote,
|
||||
UnlockMode,
|
||||
// UnlockMode,
|
||||
},
|
||||
setup() {
|
||||
const router = useRouter();
|
||||
|
||||
@@ -318,9 +318,10 @@
|
||||
<div class="split"></div>
|
||||
<div class="onerow">
|
||||
<div class="taskmain">任务大纲</div>
|
||||
<button class="btn" @click="showFaceIn" v-if="morFaceT">
|
||||
<!-- 2022-11-30注释 后面放开 -->
|
||||
<!-- <button class="btn" @click="showFaceIn" v-if="morFaceT">
|
||||
批量面授报名
|
||||
</button>
|
||||
</button> -->
|
||||
<router-link to="/taskadd">
|
||||
<button to="/taskadd" class="edit">
|
||||
<img
|
||||
@@ -567,7 +568,8 @@
|
||||
placeholder="请输入小组名称"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
<!-- 2022-11-30注释 后面放开 -->
|
||||
<!-- <div
|
||||
style="
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -597,14 +599,10 @@
|
||||
value: 'id',
|
||||
}"
|
||||
></a-tree-select>
|
||||
<!-- <a-select
|
||||
v-model:value="valuestub"
|
||||
placeholder="请选择部门"
|
||||
:options="bum"
|
||||
@change="handleChangeBum"
|
||||
/> -->
|
||||
</div>
|
||||
<div
|
||||
|
||||
</div> -->
|
||||
<!-- 2022-11-30注释 后面放开 -->
|
||||
<!-- <div
|
||||
style="
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -618,7 +616,7 @@
|
||||
:options="goodstuList"
|
||||
@change="handleChangeGood"
|
||||
/>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
<div class="groupright">
|
||||
<div class="btn1" @click="searchStu">
|
||||
@@ -636,10 +634,11 @@
|
||||
<img src="../../assets/images/courseManage/add0.png" />
|
||||
<span class="btn1text">添加学员</span>
|
||||
</div>
|
||||
<div class="btn2" @click="showImportStu">
|
||||
<!-- 2022-11-30注释 后面放开 -->
|
||||
<!-- <div class="btn2" @click="showImportStu">
|
||||
<img src="../../assets/images/courseManage/reset2.png" />
|
||||
<span class="btn2text">导入学员</span>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="btn2" @click="showAllDelete">
|
||||
<img src="../../assets/images/projectadd/delete.png" />
|
||||
<span class="btn2text">批量删除</span>
|
||||
@@ -805,10 +804,10 @@
|
||||
></a-tab-pane>
|
||||
</a-tabs>
|
||||
</a-tab-pane>
|
||||
<a-tab-pane key="5" tab="项目积分">
|
||||
<a-tab-pane key="5" tab="项目积分" disabled>
|
||||
<ProjectScore :projectId="projectId"></ProjectScore>
|
||||
</a-tab-pane>
|
||||
<a-tab-pane key="6" tab="排行榜">
|
||||
<a-tab-pane key="6" tab="排行榜" disabled>
|
||||
<div class="split"></div>
|
||||
<div class="content6">
|
||||
<div class="title">排行榜</div>
|
||||
@@ -2920,7 +2919,9 @@ export default {
|
||||
{text.record.excellent ? "取消优秀" : "优秀学员"}
|
||||
</div>
|
||||
|
||||
<div
|
||||
{/**
|
||||
2022-11-30注释 后面放开
|
||||
<div
|
||||
class="studentopea2"
|
||||
onClick={() => {
|
||||
state.Seevisible = true;
|
||||
@@ -2930,6 +2931,7 @@ export default {
|
||||
>
|
||||
查看
|
||||
</div>
|
||||
*/}
|
||||
<div class="studentSelect">
|
||||
<a-select
|
||||
style="width: 50px"
|
||||
@@ -3132,9 +3134,10 @@ export default {
|
||||
: value.source == 3
|
||||
? "受众添加"
|
||||
: "-", //加入方式
|
||||
stutime: toDate(value.beginStudyTime / 1000, "Y-M-D"), //开始学习时间
|
||||
stutime: toDate(value.beginStudyTime, "Y-M-D"), //开始学习时间
|
||||
};
|
||||
array.push(obj);
|
||||
console.log("stutime", obj.stutime);
|
||||
});
|
||||
state.tabledata = array;
|
||||
};
|
||||
@@ -3711,6 +3714,7 @@ export default {
|
||||
groupList: res[2],
|
||||
projectId: state.projectId,
|
||||
studentList: res[0],
|
||||
projectGroupId: 0,
|
||||
};
|
||||
console.log("obj", obj);
|
||||
api
|
||||
|
||||
@@ -133,18 +133,17 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="rightt">
|
||||
<div class="select">
|
||||
<!-- 2022-11-30注释 后面放开 -->
|
||||
<!-- <div class="select">
|
||||
<span>学习模式:</span>
|
||||
<div class="inputbox">
|
||||
<input type="text" placeholder="按学习时间解锁" />
|
||||
<!-- v-model:unlockModeVisible="unlockModeVisible" -->
|
||||
<div class="bottonbox" @click="showModeVisible">
|
||||
<div class="btnText">切换模式</div>
|
||||
</div>
|
||||
<!-- 切换模式抽屉 -->
|
||||
<unlock-mode v-model:unlockModeVisible="unlockModeVisible" />
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="line"></div>
|
||||
<!-- <img class="img2" src="../../assets/images/projectadd/keep.png" />
|
||||
<div class="pub">保存</div>
|
||||
@@ -1049,7 +1048,7 @@ import { message } from "ant-design-vue";
|
||||
import * as api from "../../api/indexTemplate";
|
||||
import draggable from "vuedraggable";
|
||||
import { storage } from "../../api/storage";
|
||||
import UnlockMode from "../../components/drawers/UnlockMode.vue";
|
||||
// import UnlockMode from "../../components/drawers/UnlockMode.vue";
|
||||
// import * as api1 from "../../api/index1";
|
||||
import { useRouter } from "vue-router";
|
||||
const drawercolumns = [
|
||||
@@ -1107,7 +1106,7 @@ export default {
|
||||
AddEval,
|
||||
AddInvist,
|
||||
AddVote,
|
||||
UnlockMode,
|
||||
// UnlockMode,
|
||||
},
|
||||
setup() {
|
||||
const router = useRouter();
|
||||
|
||||
Reference in New Issue
Block a user