From a48d8739514946ec8b83d52da7c920ea2f1445a3 Mon Sep 17 00:00:00 2001
From: wangxuemei <283912718@qq.com>
Date: Fri, 8 Nov 2024 17:21:00 +0800
Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E8=BD=A6=E9=94=AE=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/lecturer/ExternalLecturer.vue | 15 +++++++--
src/views/lecturer/ExternalTeaching.vue | 28 ++++++++++++----
src/views/lecturer/InsideTeaching.vue | 35 +++++++++++++++-----
src/views/lecturer/LecturerApproval.vue | 18 ++++++++--
src/views/lecturer/LecturerFee.vue | 28 ++++++++++++----
src/views/lecturer/LecturerFeeStatistics.vue | 14 ++++++--
src/views/lecturer/LecturerSystem.vue | 12 ++++++-
src/views/lecturer/MonthlyStatistics.vue | 18 ++++++++--
src/views/lecturer/Organization.vue | 12 ++++++-
9 files changed, 147 insertions(+), 33 deletions(-)
diff --git a/src/views/lecturer/ExternalLecturer.vue b/src/views/lecturer/ExternalLecturer.vue
index b611f9ea..abd27b63 100644
--- a/src/views/lecturer/ExternalLecturer.vue
+++ b/src/views/lecturer/ExternalLecturer.vue
@@ -7,12 +7,14 @@
+ placeholder="请输入讲师姓名/手机号进行检索" allowClear showSearch
+ v-on:keydown.enter="enterPressHadlerSearch">
+ :options="AccountStatusList"
+ v-on:keydown.enter="enterPressHadlerSearch">
@@ -676,9 +678,18 @@ export default {
return roleCode.some(t => t == admin)
}
}
+ //回车
+ const enterPressHadlerSearch = e => {
+ console.log("e",e);
+ if (e.keyCode === 13) {
+ searchSubmit()
+
+ }
+};
return {
...toRefs(state),
lecturerAdmin,
+ enterPressHadlerSearch,
validateField,
rules,
rule,
diff --git a/src/views/lecturer/ExternalTeaching.vue b/src/views/lecturer/ExternalTeaching.vue
index f25c5d6f..cbd7ff6b 100644
--- a/src/views/lecturer/ExternalTeaching.vue
+++ b/src/views/lecturer/ExternalTeaching.vue
@@ -10,18 +10,22 @@
placeholder="请输入工号/讲师姓名进行检索" allowClear showSearch>
-->
+ allowClear v-model:value="searchParam.name"
+ v-on:keydown.enter="enterPressHadlerSearch">
+ placeholder="请输入课程名称进行搜索" allowClear showSearch
+ v-on:keydown.enter="enterPressHadlerSearch">
创建时间:
+ separator="至" :placeholder="[' 开始时间', ' 结束时间']
+ "
+ v-on:keydown.enter="enterPressHadlerSearch" />
@@ -45,7 +49,8 @@
+ :options="entryTypeList" allowClear
+ v-on:keydown.enter="enterPressHadlerSearch">
@@ -56,12 +61,14 @@
}" allow-clear :getPopupContainer="triggerNode => triggerNode.parentNode || document.body"
v-model:value="searchParam.courseTypeId" show-search
:dropdown-style="{ maxHeight: '400px', overflow: 'auto' }" placeholder="请选择内容分类" tree-default-expand-all
- :tree-data="sysTypeOptions">
+ :tree-data="sysTypeOptions"
+ v-on:keydown.enter="enterPressHadlerSearch">
+ :options="AuthenticationStatusList" allowClear
+ v-on:keydown.enter="enterPressHadlerSearch">
@@ -807,9 +814,18 @@ export default {
const clearscoreNumber = () => {
state.formParam.score = state.formParam.score.replace(/\D/g, '');
}
+ //回车
+const enterPressHadlerSearch = e => {
+ console.log("e",e);
+ if (e.keyCode === 13) {
+ searchSubmit()
+
+ }
+};
return {
...toRefs(state),
rules,
+ enterPressHadlerSearch,
treetype,
clearscoreNumber,
clearstudysNumber,
diff --git a/src/views/lecturer/InsideTeaching.vue b/src/views/lecturer/InsideTeaching.vue
index 5a5b4728..68e27958 100644
--- a/src/views/lecturer/InsideTeaching.vue
+++ b/src/views/lecturer/InsideTeaching.vue
@@ -6,12 +6,12 @@
+ placeholder="请输入工号/讲师姓名进行检索" allowClear showSearch v-on:keydown.enter="enterPressHadlerSearch" >
+ placeholder="请输入课程名称进行搜索" allowClear showSearch v-on:keydown.enter="enterPressHadlerSearch">
@@ -53,22 +54,26 @@
+ :options="entryTypeList" allowClear
+ v-on:keydown.enter="enterPressHadlerSearch">
+ :options="AuthenticationStatusList" allowClear showSearch
+ v-on:keydown.enter="enterPressHadlerSearch">
+ :options="LecturerSystemList" allowClear showSearch @change="changetlevel"
+ v-on:keydown.enter="enterPressHadlerSearch">
+ :options="getOrganizationList" allowClear showSearch
+ v-on:keydown.enter="enterPressHadlerSearch">
@@ -87,18 +92,21 @@
:dropdown-style="{ maxHeight: '400px', overflow: 'auto' }"
placeholder="请选择内容分类"
tree-default-expand-all
- :tree-data="sysTypeOptions">
+ :tree-data="sysTypeOptions"
+ v-on:keydown.enter="enterPressHadlerSearch">
+ placeholder="请选择评分" :options="scoreList" allowClear showSearch mode="tags" @change="scoreChange"
+ v-on:keydown.enter="enterPressHadlerSearch">
+ allowClear showSearch
+ v-on:keydown.enter="enterPressHadlerSearch">
+ placeholder="请输入工号/讲师姓名进行检索" allowClear showSearch
+ v-on:keydown.enter="enterPressHadlerSearch">
+ placeholder="请输入培训发生组织进行搜索" allowClear showSearch
+ v-on:keydown.enter="enterPressHadlerSearch">
@@ -30,6 +32,7 @@
valueFormat="YYYY-MM-DD"
separator="至"
:placeholder="[' 开始时间', ' 结束时间']"
+ v-on:keydown.enter="enterPressHadlerSearch"
/>
@@ -59,22 +62,26 @@
-->