| | |
| | | :style="{background: '#fff', zIndex: '999', paddingTop: `${statusbarHeight}px`, height: `${navHeight}px`, lineHeight:`${navHeight}px`, textAlign: 'center'}">
|
| | | 待办</view>
|
| | | <div class="content_search"> |
| | | <v-Search @searchInput="searchInput" @submit="search" @reset="reset" :isShow="true" |
| | | <v-Search @searchInput="searchInput" @submit="confirm" @reset="resetType" :isShow="true" |
| | | placeholder="搜索关键字"> |
| | | <template v-slot:content> |
| | | <view class="rp contanir"> |
| | | <view class="c2 b">类型</view> |
| | | <view class="content"> |
| | | <u-grid col="2" :border="false"> |
| | | <u-grid-item v-for="item in types" :key="item.id"> |
| | | <view class="ptb20 f26 c9 type-style tc rd10" :class="type===item.id?'sbtn_green':'sbtn_gray'" |
| | | @click="type=item.id">{{ item.name }}</view> |
| | | </u-grid-item> |
| | | </u-grid> |
| | | </view> |
| | | <!-- <view class="flex ap tc bottom-view"> |
| | | <view class="fx1 ptb20 sbtn_gray c9" @click="resetType">重置</view> |
| | | <view class="fx1 ml20 ptb20 sbtn_green" @click="confirm">确定</view> |
| | | </view> --> |
| | | </view> |
| | | </template> |
| | | </v-Search> |
| | | <div class="content_search_x"></div> |
| | | <LabelSelection :TagList="tagList" :isShow="true" @change="clickTag"></LabelSelection> |
| | |
| | | .in(this) |
| | | .select('.content_search') |
| | | .boundingClientRect((rect) => { |
| | | console.log('-----',rect); |
| | | that.height = `calc(100vh - ${rect.height + 80}px)` |
| | | that.top = `${rect.height}px` |
| | | }) |
| | |
| | | searchInput(val) { |
| | | this.searchForm.mixParam = val; |
| | | this.search(); |
| | | this.getPageCount() |
| | | }, |
| | | getPageCount() { |
| | | pageCount({mixParam: this.searchForm.mixParam}) |
| | |
| | | refresh() {
|
| | | if (this.triggered) return |
| | | this.triggered = true; |
| | | this.page.page = 1 |
| | | this.loadData()
|
| | | this.search() |
| | | // this.page.page = 1 |
| | | // this.loadData() |
| | | // this.getPageCount()
|
| | | },
|
| | | loadMore() {
|
| | | this.page.page += 1
|
| | |
| | | this.search()
|
| | | },
|
| | | jump(item) { |
| | | console.log(item.type); |
| | | switch(item.type) { |
| | | case 0: case 2: case 5: { |
| | | if (item.status === 0) { |
| | |
| | | url: `/pages_inspect/pages/OutOperation/OutOperation?id=${item.objId}&dbid=${item.id}&type=7` |
| | | }) |
| | | } else { |
| | | debugger |
| | | uni.navigateTo({ |
| | | url: `/pages_adjust/pages/warehousingDetails/warehousingDetails?id=${item.objId}&status=${item.status}&type=${item.type}&dbid=${item.id}` |
| | | }) |
| | |
| | | resetType() {
|
| | | this.type = ''
|
| | | this.searchForm.type = ''
|
| | | this.confirm()
|
| | | this.confirm() |
| | | |
| | | },
|
| | | confirm() {
|
| | | this.searchForm.type = this.type
|
| | |
| | | search() { |
| | | this.page.page = 1 |
| | | this.loadData() |
| | | this.getPageCount() |
| | | }
|
| | | }
|
| | | }
|