From 2468a0c8a5a9d848f815b366f86bf10b0e07424f Mon Sep 17 00:00:00 2001 From: qsh <> Date: Thu, 16 May 2024 11:50:50 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A9=BE=E6=A0=A1=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/index.scss | 8 + src/views/Clue/Set/Comp/ClueGet.vue | 65 ++- src/views/Clue/Set/Comp/ClueSend.vue | 76 +-- .../Class/Comp/DialogClass.vue | 377 +++++++++++++ src/views/SchoolManagement/Class/index.vue | 514 ++++++++++++++++-- 5 files changed, 917 insertions(+), 123 deletions(-) create mode 100644 src/views/SchoolManagement/Class/Comp/DialogClass.vue diff --git a/src/styles/index.scss b/src/styles/index.scss index e04e8a4..c1650dc 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -59,3 +59,11 @@ .el-form--inline .el-form-item { margin-right: 15px; } + +.el-row .el-form-item { + .el-input, + .el-select, + .el-input-number { + width: 100%; + } +} diff --git a/src/views/Clue/Set/Comp/ClueGet.vue b/src/views/Clue/Set/Comp/ClueGet.vue index edbca8e..038a7e2 100644 --- a/src/views/Clue/Set/Comp/ClueGet.vue +++ b/src/views/Clue/Set/Comp/ClueGet.vue @@ -2,16 +2,33 @@
- + - + + + diff --git a/src/views/Clue/Set/Comp/ClueSend.vue b/src/views/Clue/Set/Comp/ClueSend.vue index ef8426b..161f7ce 100644 --- a/src/views/Clue/Set/Comp/ClueSend.vue +++ b/src/views/Clue/Set/Comp/ClueSend.vue @@ -30,27 +30,6 @@
-
-
- - - - 平均分配 - - 权重分配 - -
-
-
{{ item.label }}
- - - -
-
-
-
- - + + +
@@ -128,25 +84,6 @@ const form = ref({ }) const rules = ref({}) -// const checkUserAll = ref(false) -// const userIndeterminate = ref(true) -// const userOptions = ref([ -// { label: '张三', value: 1 }, -// { label: '李四', value: 2 }, -// { label: '王二', value: 3 } -// ]) - -// function userCheckAllChange(val) { -// form.value.users = val ? userOptions.value.map((it) => it.value) : [] -// userIndeterminate.value = false -// } - -// function userCheckedChange(val) { -// const checkedCount = val.length -// checkUserAll.value = checkedCount == userOptions.value.length -// userIndeterminate.value = checkedCount > 0 && checkedCount < userOptions.value.length -// } - function getUserList() { console.log('获取列表') } @@ -174,13 +111,6 @@ function resourceCheckedChange(val) { resourceIndeterminate.value = checkedCount > 0 && checkedCount < resourceOptions.value.length } -const intentionOptions = ref([ - { label: '高意向', value: 20 }, - { label: '中意向', value: 20 }, - { label: '低意向', value: 20 }, - { label: '未知意向', value: 40 } -]) - function selectUser(row) { console.log(row) } diff --git a/src/views/SchoolManagement/Class/Comp/DialogClass.vue b/src/views/SchoolManagement/Class/Comp/DialogClass.vue new file mode 100644 index 0000000..f0044bd --- /dev/null +++ b/src/views/SchoolManagement/Class/Comp/DialogClass.vue @@ -0,0 +1,377 @@ + + diff --git a/src/views/SchoolManagement/Class/index.vue b/src/views/SchoolManagement/Class/index.vue index a07dbcc..5b5fe0f 100644 --- a/src/views/SchoolManagement/Class/index.vue +++ b/src/views/SchoolManagement/Class/index.vue @@ -47,50 +47,95 @@ - - - - - - - - - - - - - +
+ + + + + + + + + + + + + + + + + + + + + + 启用 + 禁用 + + + + + + + +