| | |
| | | <template> |
| | | <BaseCard class="map-date-selector"> |
| | | <BaseCard class="map-date-selector flexbox-col align-items"> |
| | | <template #content> |
| | | <el-form :inline="true"> |
| | | <OptionMission v-model="formSearch.missionCode"></OptionMission> |
| | |
| | | v-model="formSearch.deviceCode" |
| | | ></OptionDevice> |
| | | <OptionTime v-model="formSearch.timeArray"></OptionTime> |
| | | <el-button type="primary" class="el-button-custom" @click="handleClick"> |
| | | 分析 |
| | | </el-button> |
| | | </el-form> |
| | | </template> |
| | | </BaseCard> |
| | |
| | | <script> |
| | | // 搜索框 |
| | | export default { |
| | | props: { |
| | | searchTime: Array |
| | | }, |
| | | data() { |
| | | return { |
| | | formSearch: { |
| | |
| | | } |
| | | }; |
| | | }, |
| | | method: {} |
| | | emits: ['search'], |
| | | watch: { |
| | | searchTime(nV, oV) { |
| | | if (nV != oV) { |
| | | this.timeArray = this.searchTime; |
| | | } |
| | | } |
| | | }, |
| | | method: { |
| | | handleClick() { |
| | | this.$emit('search', this.formSearch); |
| | | } |
| | | } |
| | | }; |
| | | </script> |
| | | <style scoped></style> |
| | | <style lang="scss"> |
| | | .fy-container { |
| | | } |
| | | </style> |