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

修改查询

parent ee2fe64e
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
<section class="single-sortie-instruction-identification-right"> <section class="single-sortie-instruction-identification-right">
<div class="header"> <div class="header">
<div class="tools"> <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'"> <span v-if="jurisdId !== 'Activity_0v2qfnh'">
提示:<i class="el-icon-edit-outline" />可双击编辑列 提示:<i class="el-icon-edit-outline" />可双击编辑列
</span> </span>
...@@ -569,6 +572,9 @@ export default { ...@@ -569,6 +572,9 @@ export default {
this.$utils.downLoadFile(res, downloadTitle) this.$utils.downLoadFile(res, downloadTitle)
}) })
}, },
getSearchTableData() {
this.getTableData(this.nodeData, this.level)
},
/** /**
* 获取表格数据 * 获取表格数据
*/ */
...@@ -581,14 +587,34 @@ export default { ...@@ -581,14 +587,34 @@ export default {
pageFrom: this.tablePagination.currentPage, pageFrom: this.tablePagination.currentPage,
pageSize: this.tablePagination.pageSize, pageSize: this.tablePagination.pageSize,
searchItems: { searchItems: {
items: [ children: [
{ {
fieldName: 'sorties', items: [
operator: 'EQ', {
value: data.serialNo 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: [], openProps: [],
sortItem: [ sortItem: [
...@@ -989,6 +1015,10 @@ export default { ...@@ -989,6 +1015,10 @@ export default {
.tools { .tools {
display: flex; display: flex;
align-items: center; align-items: center;
.inputSearch{
width:300px;
margin-right:20px;
}
> span { > span {
color: red; color: red;
font-size: 12px; 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