Browse Source

提交违禁详情修改

dev
douzhuo 2 years ago
parent
commit
9b8bfa6ade
1 changed files with 14 additions and 33 deletions
  1. +14
    -33
      pages/center/prohibited/index.vue

+ 14
- 33
pages/center/prohibited/index.vue View File

@@ -5,15 +5,17 @@
<view class="tabbox" @click="taptimeisshow">
接待时间<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
</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">
顾问<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
</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">
违禁标识<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
</view>
</view>
<view class="count" v-if="recordList.length > 0">
筛选结果:<text>{{totalRecords}} </text>条
@@ -63,11 +65,6 @@
<view class="timeview" :style="{ color: activeTotal == data.id ? '#2B6EFF' : '#333333' }"
@click="tabtimetap(data.id)">{{ data.title }}</view>
</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-select v-model="soltishow" :list="orderBylist" @confirm="selectCallback2"></u-select>
@@ -81,24 +78,14 @@
return {
orderBylist: [{
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,
activeList: [ // 时间筛选数组
@@ -325,7 +312,6 @@
},
getMyCustom() {
let dateType = 0;
let orderBy = 0;
if (this.activeTotal == 5) {
dateType = null;
} else if (this.activeTotal == 4) {
@@ -334,11 +320,6 @@
dateType = this.activeTotal;
}

if (this.orderBy == 0) {
orderBy = null;
} else {
orderBy = this.orderBy;
}
var parames = {
pageNum: this.nextPage,
pageSize: 10,
@@ -349,7 +330,7 @@
endtime: this.endtime,
taboo: 1,
dateType: dateType,
orderBy: orderBy,
disposeStatus: this.orderBy, // 处理状态
violatedStatus: this.violatedStatus, // 违禁状态
}
};


Loading…
Cancel
Save