修改input禁止输入特殊字符并修改搜索按钮布局
This commit is contained in:
@ -16,6 +16,7 @@
|
||||
<el-form-item label="企业名称">
|
||||
<el-input
|
||||
v-model="queryParams.companyName"
|
||||
@input="e => queryParams.companyName = stripscript(e)"
|
||||
placeholder="请输入"
|
||||
style="min-width:270px"
|
||||
/>
|
||||
|
@ -14,7 +14,7 @@
|
||||
@submit.native.prevent
|
||||
>
|
||||
<el-form-item label="解读标题">
|
||||
<el-input v-model="queryParams.title" placeholder="请输入" style="min-width:270px" />
|
||||
<el-input v-model="queryParams.title" placeholder="请输入" style="min-width:270px" @input="e => queryParams.title = stripscript(e)" />
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="handleSearchList" size="small">
|
||||
|
@ -14,7 +14,7 @@
|
||||
@submit.native.prevent
|
||||
>
|
||||
<el-form-item label="成果标题">
|
||||
<el-input v-model="queryParams.title" placeholder="请输入" style="min-width:270px" />
|
||||
<el-input v-model="queryParams.title" @input="e => queryParams.title = stripscript(e)" placeholder="请输入" style="min-width:270px" />
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="handleSearchList" size="small">
|
||||
|
@ -14,7 +14,7 @@
|
||||
@submit.native.prevent
|
||||
>
|
||||
<el-form-item label="需求标题">
|
||||
<el-input v-model="queryParams.title" placeholder="请输入" style="min-width:270px" />
|
||||
<el-input v-model="queryParams.title" @input="e => queryParams.title = stripscript(e)" placeholder="请输入" style="min-width:270px" />
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="handleSearchList" size="small">
|
||||
|
@ -4,14 +4,6 @@
|
||||
<div>
|
||||
<i class="el-icon-search"></i>
|
||||
<span>筛选搜索</span>
|
||||
<el-button
|
||||
style="float:right"
|
||||
type="primary"
|
||||
@click="handleSearchList()"
|
||||
size="small"
|
||||
>
|
||||
查询
|
||||
</el-button>
|
||||
</div>
|
||||
<div style="margin-top: 15px">
|
||||
<el-form
|
||||
@ -26,8 +18,14 @@
|
||||
v-model="listQuery.keyword"
|
||||
class="input-width"
|
||||
placeholder="帐号/姓名"
|
||||
@input="e => listQuery.keyword = stripscript(e)"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="handleSearchList()" size="small">
|
||||
查询
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
</el-card>
|
||||
|
@ -4,7 +4,7 @@
|
||||
<div>
|
||||
<i class="el-icon-search"></i>
|
||||
<span>筛选搜索</span>
|
||||
<el-button
|
||||
<!-- <el-button
|
||||
style="float:right"
|
||||
type="primary"
|
||||
@click="handleSearchList()"
|
||||
@ -16,7 +16,7 @@
|
||||
@click="handleResetSearch()"
|
||||
size="small">
|
||||
重置
|
||||
</el-button>
|
||||
</el-button> -->
|
||||
</div>
|
||||
<div style="margin-top: 15px">
|
||||
<el-form :inline="true" :model="listQuery" size="small" label-width="140px">
|
||||
@ -35,6 +35,14 @@
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="handleSearchList()" size="small">
|
||||
查询
|
||||
</el-button>
|
||||
<!-- <el-button @click="handleResetSearch()" size="small">
|
||||
重置
|
||||
</el-button> -->
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
</el-card>
|
||||
|
@ -4,7 +4,7 @@
|
||||
<div>
|
||||
<i class="el-icon-search"></i>
|
||||
<span>筛选搜索</span>
|
||||
<el-button
|
||||
<!-- <el-button
|
||||
style="float:right"
|
||||
type="primary"
|
||||
@click="handleSearchList()"
|
||||
@ -18,7 +18,7 @@
|
||||
size="small"
|
||||
>
|
||||
重置
|
||||
</el-button>
|
||||
</el-button> -->
|
||||
</div>
|
||||
<div style="margin-top: 15px">
|
||||
<el-form
|
||||
@ -35,6 +35,14 @@
|
||||
clearable
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="handleSearchList()" size="small">
|
||||
查询
|
||||
</el-button>
|
||||
<!-- <el-button @click="handleResetSearch()" size="small">
|
||||
重置
|
||||
</el-button> -->
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
</el-card>
|
||||
|
Reference in New Issue
Block a user