| | |
| | | style="width: 100%" |
| | | /> |
| | | </a-col> |
| | | <a-col :span="4"> |
| | | <a-button type="primary" @click="getData">查询</a-button> |
| | | <a-col :span="6"> |
| | | <a-button type="primary" @click="searchData">查询</a-button> |
| | | <a-button style="margin-left: 12px" @click="resetSearch">重置</a-button> |
| | | </a-col> |
| | | </a-row> |
| | |
| | | }, |
| | | { |
| | | title: '接收人', |
| | | dataIndex: 'recipienterName', |
| | | dataIndex: 'responseRealName', |
| | | width: '20%', |
| | | scopedSlots: { |
| | | customRender: 'recipienterName' |
| | | customRender: 'responseRealName' |
| | | } |
| | | }, |
| | | { |
| | |
| | | }, |
| | | riskOptions: [ |
| | | {name: '地震',value: 1}, |
| | | {name: '洪涝',value: 2}, |
| | | {name: '气象',value: 3}, |
| | | {name: '泥石流',value: 4}, |
| | | {name: '地质灾害',value: 4}, |
| | | {name: '水旱',value: 5}, |
| | | {name: '森林草原火灾',value: 6} |
| | | ], |
| | |
| | | console.log('onOk: ', value); |
| | | }, |
| | | |
| | | searchData(){ |
| | | this.search.pageIndex = 1 |
| | | this.getData() |
| | | }, |
| | | |
| | | resetSearch(){ |
| | | const t = this |
| | | t.search = { |