| @@ -5,15 +5,17 @@ | |||||
| <view class="tabbox" @click="taptimeisshow"> | <view class="tabbox" @click="taptimeisshow"> | ||||
| 接待时间<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon> | 接待时间<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon> | ||||
| </view> | </view> | ||||
| <view class="tabbox" @click="tapsoltishow"> | |||||
| 排序<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon> | |||||
| </view> | |||||
| <view class="tabbox" @click="selectshow = true"> | <view class="tabbox" @click="selectshow = true"> | ||||
| 顾问<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon> | 顾问<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon> | ||||
| </view> | </view> | ||||
| <view class="tabbox" @click="tapsoltishow"> | |||||
| 处理状态<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon> | |||||
| </view> | |||||
| <view class="tabbox" @click="showIdent = true"> | <view class="tabbox" @click="showIdent = true"> | ||||
| 违禁标识<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon> | 违禁标识<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon> | ||||
| </view> | </view> | ||||
| </view> | </view> | ||||
| <view class="count" v-if="recordList.length > 0"> | <view class="count" v-if="recordList.length > 0"> | ||||
| 筛选结果:<text>{{totalRecords}} </text>条 | 筛选结果:<text>{{totalRecords}} </text>条 | ||||
| @@ -63,11 +65,6 @@ | |||||
| <view class="timeview" :style="{ color: activeTotal == data.id ? '#2B6EFF' : '#333333' }" | <view class="timeview" :style="{ color: activeTotal == data.id ? '#2B6EFF' : '#333333' }" | ||||
| @click="tabtimetap(data.id)">{{ data.title }}</view> | @click="tabtimetap(data.id)">{{ data.title }}</view> | ||||
| </block> | </block> | ||||
| <!-- <view class="timeview" :style="{ color: activeTotal == 0 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(0)">今天</view> | |||||
| <view class="timeview" :style="{ color: activeTotal == 1 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(1)">昨天</view> | |||||
| <view class="timeview" :style="{ color: activeTotal == 2 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(2)">近7天</view> | |||||
| <view class="timeview" :style="{ color: activeTotal == 3 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(3)">近30天</view> | |||||
| <view class="timeview" :style="{ color: activeTotal == 4 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(4)">自定义</view> --> | |||||
| </u-popup> | </u-popup> | ||||
| <u-select v-model="soltishow" :list="orderBylist" @confirm="selectCallback2"></u-select> | <u-select v-model="soltishow" :list="orderBylist" @confirm="selectCallback2"></u-select> | ||||
| @@ -81,24 +78,14 @@ | |||||
| return { | return { | ||||
| orderBylist: [{ | orderBylist: [{ | ||||
| label: '全部', | label: '全部', | ||||
| value: '0' | |||||
| }, | |||||
| { | |||||
| label: '创建时间倒序', | |||||
| value: '1' | |||||
| }, | |||||
| { | |||||
| label: '创建时间正序', | |||||
| value: '2' | |||||
| }, | |||||
| { | |||||
| label: '接待时间倒序', | |||||
| value: '3' | |||||
| }, | |||||
| { | |||||
| label: '接待时间正序', | |||||
| value: '4' | |||||
| }, | |||||
| value: -1 | |||||
| },{ | |||||
| label: '待处理', | |||||
| value: 0 | |||||
| },{ | |||||
| label: '已处理', | |||||
| value: 1 | |||||
| } | |||||
| ], | ], | ||||
| activeTotal: 5, | activeTotal: 5, | ||||
| activeList: [ // 时间筛选数组 | activeList: [ // 时间筛选数组 | ||||
| @@ -325,7 +312,6 @@ | |||||
| }, | }, | ||||
| getMyCustom() { | getMyCustom() { | ||||
| let dateType = 0; | let dateType = 0; | ||||
| let orderBy = 0; | |||||
| if (this.activeTotal == 5) { | if (this.activeTotal == 5) { | ||||
| dateType = null; | dateType = null; | ||||
| } else if (this.activeTotal == 4) { | } else if (this.activeTotal == 4) { | ||||
| @@ -334,11 +320,6 @@ | |||||
| dateType = this.activeTotal; | dateType = this.activeTotal; | ||||
| } | } | ||||
| if (this.orderBy == 0) { | |||||
| orderBy = null; | |||||
| } else { | |||||
| orderBy = this.orderBy; | |||||
| } | |||||
| var parames = { | var parames = { | ||||
| pageNum: this.nextPage, | pageNum: this.nextPage, | ||||
| pageSize: 10, | pageSize: 10, | ||||
| @@ -349,7 +330,7 @@ | |||||
| endtime: this.endtime, | endtime: this.endtime, | ||||
| taboo: 1, | taboo: 1, | ||||
| dateType: dateType, | dateType: dateType, | ||||
| orderBy: orderBy, | |||||
| disposeStatus: this.orderBy, // 处理状态 | |||||
| violatedStatus: this.violatedStatus, // 违禁状态 | violatedStatus: this.violatedStatus, // 违禁状态 | ||||
| } | } | ||||
| }; | }; | ||||