@@ -1022,6 +1031,12 @@ export default {
selectedKeys: "sub17-3-2",
pagename: "员工学习数据",
},
+ {
+ href: "/trainingnewmanager",
+ openKeys: "sub17",
+ selectedKeys: "sub17-4",
+ pagename: "新任管理者培训数据",
+ },
{
href: "/oldsystemmanage",
openKeys: "sub18",
diff --git a/src/views/learningpath/LevelAddDetail.vue b/src/views/learningpath/LevelAddDetail.vue
index 5a2f0e9c..94c3ab1c 100644
--- a/src/views/learningpath/LevelAddDetail.vue
+++ b/src/views/learningpath/LevelAddDetail.vue
@@ -163,6 +163,10 @@
任务列表
+
+
{{switchList?'自由学习模式':'顺序学习模式'}}
+
+
@@ -547,7 +551,7 @@ function deleteTask(element, index) {
},
});
}
-
+const switchList = ref(false)
const showChangeModal = () => {
if (routerInfo.value?.chapterList?.length <= 1) {
message.warning("请添加关卡!");
diff --git a/src/views/projectcenter/TaskAdd.vue b/src/views/projectcenter/TaskAdd.vue
index bf7da452..1c27345a 100644
--- a/src/views/projectcenter/TaskAdd.vue
+++ b/src/views/projectcenter/TaskAdd.vue
@@ -119,6 +119,10 @@
任务列表
+
+
{{switchList?'自由学习模式':'顺序学习模式'}}
+
+
@@ -467,7 +471,7 @@ const getTask = async () => {
const editTaskForType = (ele, index) => {
courseRef.value['el' + ele.type].openDrawer(index, ele)
};
-
+const switchList = ref(false)
const showChangeModal = () => {
if (projectInfo.value?.stageList?.length <= 1) {
message.warning("请添加阶段!");
@@ -1420,6 +1424,21 @@ const openCourse = (ele) => {
color: #000000;
margin-top: 10px;
}
+ .taskmain_switch{
+ position: absolute;
+ top: 0;
+ right: 268px;
+ width: 150px;
+ height: 40px;
+ border-radius: 8px;
+ cursor: pointer;
+ text-align: center;
+ line-height: 40px;
+
+ .taskmain_switch_text{
+ margin-right: 10px;
+ }
+ }
.btn {
position: absolute;