From f0429972f77e3e3b03be74f6e181e080483b7071 Mon Sep 17 00:00:00 2001
From: Pengxiansen <2422914688@qq.com>
Date: Fri, 14 Feb 2025 14:04:16 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/growthpath/GrowthProject.vue | 1 -
src/components/growthpath/StudentManage.vue | 3 +-
src/views/growthpath/GrowthPath.vue | 23 ---
src/views/growthpath/PathManage.vue | 165 +++++++++++++-------
4 files changed, 107 insertions(+), 85 deletions(-)
diff --git a/src/components/growthpath/GrowthProject.vue b/src/components/growthpath/GrowthProject.vue
index 2b336ed6..72fe66f8 100644
--- a/src/components/growthpath/GrowthProject.vue
+++ b/src/components/growthpath/GrowthProject.vue
@@ -240,7 +240,6 @@ async function confirm(record) {
dialog({
content: "确定选择该项目吗?",
ok: async () => {
- formData.value.offteachers.splice(index, 1);
// 新增
if (!selectData?.value?.id) {
await saveTask({
diff --git a/src/components/growthpath/StudentManage.vue b/src/components/growthpath/StudentManage.vue
index ccdb2422..c2f5bce8 100644
--- a/src/components/growthpath/StudentManage.vue
+++ b/src/components/growthpath/StudentManage.vue
@@ -251,6 +251,7 @@
+
@@ -630,6 +631,7 @@ function closeDrawer() {
GrowthDrawerRef.value.closeDrawer();
}
function confirmDrawer(selectList) {
+ closeDrawer();
tableData.value.loading = true;
addLearners({
growthId: props.id,
@@ -639,7 +641,6 @@ function confirmDrawer(selectList) {
tableData.value.loading = false;
message.success("添加成功");
getStuList();
- closeDrawer()
})
.catch((err) => {
tableData.value.loading = false;
diff --git a/src/views/growthpath/GrowthPath.vue b/src/views/growthpath/GrowthPath.vue
index 00083f15..132003d8 100644
--- a/src/views/growthpath/GrowthPath.vue
+++ b/src/views/growthpath/GrowthPath.vue
@@ -232,26 +232,6 @@
-
说明
@@ -376,7 +356,6 @@ export default {
statusPost: null,
matchRules: "1",
matchRulesVisible: false,
- template: "2",
statusPostMaps: [],
statusPosts: null,
editId: null,
@@ -522,7 +501,6 @@ export default {
state.pathWays = record.description;
state.band = record.band;
state.matchRules = record.matchRules || "1";
- state.template = state.template || "2";
state.bg_check = true;
};
@@ -547,7 +525,6 @@ export default {
description: state.pathWays,
matchRules: state.matchRules,
id: state.editId ? state.editId : null,
- template: state.template,
keepLearner: state.keepLearner,
};
updatePostInfomation(params)
diff --git a/src/views/growthpath/PathManage.vue b/src/views/growthpath/PathManage.vue
index 655bb17b..7bc7e794 100644
--- a/src/views/growthpath/PathManage.vue
+++ b/src/views/growthpath/PathManage.vue
@@ -489,6 +489,23 @@
+