mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-21 00:36:46 +08:00
回车键调整
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
<a-form layout="inline" style="min-width: 1380px;">
|
||||
<a-form-item class="select">
|
||||
<a-select style="width: 276px" v-model:value="searchParam.trainorgId" placeholder="培训发生组织" allowClear
|
||||
:options="trainOrglist">
|
||||
:options="trainOrglist"
|
||||
v-on:keydown.enter="enterPressHadlerSearch">
|
||||
</a-select>
|
||||
</a-form-item>
|
||||
<a-form-item class="select ">
|
||||
@@ -19,12 +20,14 @@
|
||||
valueFormat="YYYY-MM-DD"
|
||||
separator="至"
|
||||
:placeholder="[' 开始时间', ' 结束时间']"
|
||||
v-on:keydown.enter="enterPressHadlerSearch"
|
||||
/>
|
||||
</div>
|
||||
</a-form-item>
|
||||
<a-form-item class="select">
|
||||
<a-select style="width: 230px ;margin-bottom:20px" v-model:value="searchParam.status" placeholder="请选择状态" allowClear
|
||||
:options="AuthenticationStatusList">
|
||||
:options="AuthenticationStatusList"
|
||||
v-on:keydown.enter="enterPressHadlerSearch">
|
||||
</a-select>
|
||||
</a-form-item>
|
||||
<div style="display: flex; margin-bottom: 20px">
|
||||
@@ -431,7 +434,7 @@
|
||||
width: 200,
|
||||
},
|
||||
{
|
||||
title: '提交时间(未命名)',
|
||||
title: '提交时间',
|
||||
dataIndex: 'summaryTime',
|
||||
key: 'summaryTime',
|
||||
elipsis: true, align: "center",
|
||||
@@ -890,8 +893,17 @@
|
||||
// ...state.searchParam
|
||||
// }, `project_${new Date().getTime()}.xlsx` )
|
||||
}
|
||||
//回车
|
||||
const enterPressHadlerSearch = e => {
|
||||
console.log("e",e);
|
||||
if (e.keyCode === 13) {
|
||||
searchSubmit()
|
||||
|
||||
}
|
||||
}
|
||||
return {
|
||||
...toRefs(state),
|
||||
enterPressHadlerSearch,
|
||||
// searchTimeChange,
|
||||
gettableDataExamine,
|
||||
courseTypeList,
|
||||
|
||||
Reference in New Issue
Block a user