Commit 515f4382 authored by “lixuyan”'s avatar “lixuyan”

修改查询

parent ee2fe64e
......@@ -2,6 +2,9 @@
<section class="single-sortie-instruction-identification-right">
<div class="header">
<div class="tools">
<el-input v-model="aoName" size="mini" clearable placeholder="AO(号/名称)" class="inputSearch">
<el-button slot="append" icon="el-icon-search" @click="getSearchTableData" />
</el-input>
<span v-if="jurisdId !== 'Activity_0v2qfnh'">
提示:<i class="el-icon-edit-outline" />可双击编辑列
</span>
......@@ -569,6 +572,9 @@ export default {
this.$utils.downLoadFile(res, downloadTitle)
})
},
getSearchTableData() {
this.getTableData(this.nodeData, this.level)
},
/**
* 获取表格数据
*/
......@@ -581,14 +587,34 @@ export default {
pageFrom: this.tablePagination.currentPage,
pageSize: this.tablePagination.pageSize,
searchItems: {
items: [
children: [
{
fieldName: 'sorties',
operator: 'EQ',
value: data.serialNo
items: [
{
fieldName: 'sorties',
operator: 'EQ',
value: data.serialNo
}
],
operator: 'AND'
},
{
'items': [
{
'fieldName': 'serialNumber',
'operator': 'LIKE',
'value': this.aoName
},
{
'fieldName': 'name',
'operator': 'LIKE',
'value': this.aoName
}
],
'operator': 'OR'
}
],
operator: 'AND'
]
},
openProps: [],
sortItem: [
......@@ -989,6 +1015,10 @@ export default {
.tools {
display: flex;
align-items: center;
.inputSearch{
width:300px;
margin-right:20px;
}
> span {
color: red;
font-size: 12px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment