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 @@
-->