| | |
| | | custom-style="background: #4D80F0;" |
| | | safeAreaInsetTop |
| | | ></wd-navbar> |
| | | <wd-search v-model="searchValue" placeholder="请输入关键字" @search="handleSearch" /> |
| | | <wd-drop-menu> |
| | | <wd-drop-menu-item |
| | | v-model="equTypeId" |
| | |
| | | const equTypeId = ref<number>(-1) |
| | | // 设备状态 |
| | | const status = ref<number>(-1) |
| | | |
| | | const searchValue = ref<string>('') |
| | | const isSelectEqu = ref(false) |
| | | |
| | | const typeList = ref<Record<string, any>[]>([{ dictLabel: '设备类型', dictValue: -1 }]) |
| | |
| | | pageSize, |
| | | equTypeId: equTypeId.value, |
| | | status: status.value, |
| | | params: { |
| | | searchValue: searchValue.value, |
| | | }, |
| | | } |
| | | if (equTypeId.value === -1) { |
| | | delete parmams.equTypeId |
| | |
| | | } |
| | | } |
| | | |
| | | function handleSearch() { |
| | | console.log('handleSearch') |
| | | paging.value.reload() |
| | | } |
| | | |
| | | /** |
| | | * 选择设备回调 |
| | | * @param equ |