|
@@ -660,7 +660,7 @@
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
this.pageOptions.pageNum = 1
|
|
this.pageOptions.pageNum = 1
|
|
// console.log(this.pageOptions.pageNum)
|
|
// console.log(this.pageOptions.pageNum)
|
|
- this.getfsuserListdata()
|
|
|
|
|
|
+ this.getfsuserListdata('refresh')
|
|
// 创建一个在**秒后执行的定时器
|
|
// 创建一个在**秒后执行的定时器
|
|
const timer = setTimeout(function() {
|
|
const timer = setTimeout(function() {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
@@ -670,6 +670,7 @@
|
|
}, 200);
|
|
}, 200);
|
|
this.getvipListnum()
|
|
this.getvipListnum()
|
|
this.isShowSelectAll = false
|
|
this.isShowSelectAll = false
|
|
|
|
+ this.isSelectAll =false
|
|
} else {
|
|
} else {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
icon: 'none',
|
|
icon: 'none',
|
|
@@ -976,13 +977,15 @@
|
|
changeLable(params).then(res => {
|
|
changeLable(params).then(res => {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
this.userList = []
|
|
this.userList = []
|
|
- this.getfsuserListdata()
|
|
|
|
|
|
+ this.getfsuserListdata('refresh')
|
|
const timer = setTimeout(function() {
|
|
const timer = setTimeout(function() {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
icon: 'none',
|
|
icon: 'none',
|
|
title: '标签更改成功'
|
|
title: '标签更改成功'
|
|
})
|
|
})
|
|
}, 500);
|
|
}, 500);
|
|
|
|
+ this.isSelectAll=false
|
|
|
|
+ this.selectedCount=0
|
|
} else {
|
|
} else {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
icon: 'none',
|
|
icon: 'none',
|
|
@@ -1103,7 +1106,7 @@
|
|
Addblacklist(this.selectidAll).then(res => {
|
|
Addblacklist(this.selectidAll).then(res => {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
this.pageOptions.pageNum = 1
|
|
this.pageOptions.pageNum = 1
|
|
- this.getfsuserListdata()
|
|
|
|
|
|
+ this.getfsuserListdata('refresh')
|
|
// 创建一个在**秒后执行的定时器
|
|
// 创建一个在**秒后执行的定时器
|
|
const timer = setTimeout(function() {
|
|
const timer = setTimeout(function() {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
@@ -1112,7 +1115,8 @@
|
|
})
|
|
})
|
|
}, 200);
|
|
}, 200);
|
|
this.getvipListnum()
|
|
this.getvipListnum()
|
|
- this.isShowSelectAll = false
|
|
|
|
|
|
+ // this.isShowSelectAll = false
|
|
|
|
+ this.isSelectAll =false
|
|
} else {
|
|
} else {
|
|
uni.showToast({
|
|
uni.showToast({
|
|
icon: 'none',
|
|
icon: 'none',
|
|
@@ -1167,18 +1171,18 @@
|
|
this.registerTimeIndex = ''
|
|
this.registerTimeIndex = ''
|
|
this.endTime = ''
|
|
this.endTime = ''
|
|
this.startTime = ''
|
|
this.startTime = ''
|
|
- this.getfsuserListdata()
|
|
|
|
|
|
+ this.getfsuserListdata('refresh')
|
|
// console.log(this.getfsuserListdata())
|
|
// console.log(this.getfsuserListdata())
|
|
} else if (type == 'watchStatus') {
|
|
} else if (type == 'watchStatus') {
|
|
this.watchStatusIndex = 0
|
|
this.watchStatusIndex = 0
|
|
- this.getfsuserListdata()
|
|
|
|
|
|
+ this.getfsuserListdata('refresh')
|
|
} else if (type == 'userStatus') {
|
|
} else if (type == 'userStatus') {
|
|
this.userStatusIndex = 0
|
|
this.userStatusIndex = 0
|
|
this.salesid = ''
|
|
this.salesid = ''
|
|
- this.getfsuserListdata()
|
|
|
|
|
|
+ this.getfsuserListdata('refresh')
|
|
} else if (type == 'courseStatus') {
|
|
} else if (type == 'courseStatus') {
|
|
this.courseStatusIndex = 0
|
|
this.courseStatusIndex = 0
|
|
- this.getfsuserListdata()
|
|
|
|
|
|
+ this.getfsuserListdata('refresh')
|
|
} else {
|
|
} else {
|
|
|
|
|
|
}
|
|
}
|
|
@@ -1192,25 +1196,25 @@
|
|
if (value == 0) {
|
|
if (value == 0) {
|
|
this.startTime = ''
|
|
this.startTime = ''
|
|
this.endTime = ''
|
|
this.endTime = ''
|
|
- this.getfsuserListdata()
|
|
|
|
|
|
+ this.getfsuserListdata('refresh')
|
|
} else if (value == 1) {
|
|
} else if (value == 1) {
|
|
this.startTime = this.todayday + ' 00:00:00'
|
|
this.startTime = this.todayday + ' 00:00:00'
|
|
this.endTime = this.todayday + ' 23:59:59'
|
|
this.endTime = this.todayday + ' 23:59:59'
|
|
- this.getfsuserListdata()
|
|
|
|
|
|
+ this.getfsuserListdata('refresh')
|
|
} else if (value == 2) {
|
|
} else if (value == 2) {
|
|
let yesterday = new Date();
|
|
let yesterday = new Date();
|
|
yesterday.setDate(yesterday.getDate() - 1);
|
|
yesterday.setDate(yesterday.getDate() - 1);
|
|
this.startTime = uni.$u.timeFormat(yesterday, 'yyyy-mm-dd') + ' 00:00:00'
|
|
this.startTime = uni.$u.timeFormat(yesterday, 'yyyy-mm-dd') + ' 00:00:00'
|
|
this.endTime = uni.$u.timeFormat(yesterday, 'yyyy-mm-dd') + ' 23:59:59'
|
|
this.endTime = uni.$u.timeFormat(yesterday, 'yyyy-mm-dd') + ' 23:59:59'
|
|
- this.getfsuserListdata()
|
|
|
|
|
|
+ this.getfsuserListdata('refresh')
|
|
} else if (value == 3) {
|
|
} else if (value == 3) {
|
|
let yesterday = new Date();
|
|
let yesterday = new Date();
|
|
yesterday.setDate(yesterday.getDate() - 6);
|
|
yesterday.setDate(yesterday.getDate() - 6);
|
|
this.startTime = uni.$u.timeFormat(yesterday, 'yyyy-mm-dd') + ' 00:00:00'
|
|
this.startTime = uni.$u.timeFormat(yesterday, 'yyyy-mm-dd') + ' 00:00:00'
|
|
this.endTime = this.todayday + ' 23:59:59'
|
|
this.endTime = this.todayday + ' 23:59:59'
|
|
- this.getfsuserListdata()
|
|
|
|
|
|
+ this.getfsuserListdata('refresh')
|
|
} else {
|
|
} else {
|
|
- this.getfsuserListdata()
|
|
|
|
|
|
+ this.getfsuserListdata('refresh')
|
|
}
|
|
}
|
|
} else if (type == 'watchStatus') {
|
|
} else if (type == 'watchStatus') {
|
|
// this.watchStatusIndex=value
|
|
// this.watchStatusIndex=value
|
|
@@ -1220,13 +1224,13 @@
|
|
} else if (type == 'userStatus') {
|
|
} else if (type == 'userStatus') {
|
|
if (this.userStatusIndex == 0) {
|
|
if (this.userStatusIndex == 0) {
|
|
this.salesid = ''
|
|
this.salesid = ''
|
|
- this.getfsuserListdata()
|
|
|
|
|
|
+ this.getfsuserListdata('refresh')
|
|
} else {
|
|
} else {
|
|
- this.getfsuserListdata()
|
|
|
|
|
|
+ this.getfsuserListdata('refresh')
|
|
}
|
|
}
|
|
// console.log(this.userStatusIndex)
|
|
// console.log(this.userStatusIndex)
|
|
} else if (type == 'courseStatus') {
|
|
} else if (type == 'courseStatus') {
|
|
- this.getfsuserListdata()
|
|
|
|
|
|
+ this.getfsuserListdata('refresh')
|
|
console.log(this.courseStatusIndex)
|
|
console.log(this.courseStatusIndex)
|
|
}
|
|
}
|
|
// this.mescroll.resetUpScroll()
|
|
// this.mescroll.resetUpScroll()
|