|
@@ -308,7 +308,7 @@ export default {
|
|
|
},
|
|
|
// 全选
|
|
|
allToggle () {
|
|
|
- let lengthId = 0; const nums = []
|
|
|
+ let lengthId = 0
|
|
|
this.deal_personList.forEach(v => {
|
|
|
lengthId += v.users.length
|
|
|
})
|
|
@@ -491,7 +491,7 @@ export default {
|
|
|
// 设置定时器
|
|
|
let timer
|
|
|
// 设置现在的时间
|
|
|
- let now = +new Date()
|
|
|
+ const now = +new Date()
|
|
|
// 当现在的时间减去上次点击的时间小于3s时,给出提示,并结束执行函数
|
|
|
if (this.lastTime && now - this.lastTime < 3000) {
|
|
|
clearTimeout(timer)
|
|
@@ -506,7 +506,7 @@ export default {
|
|
|
})
|
|
|
if (this.pagetype === 'manage') {
|
|
|
if (delId) {
|
|
|
- getDistributor({ wait_empower_id: this.selectData.wait_empower_id, ent_user_id: delId}).then(res => {
|
|
|
+ getDistributor({ wait_empower_id: this.selectData.wait_empower_id, ent_user_id: delId }).then(res => {
|
|
|
if (res.error_code === 0) {
|
|
|
if (res.data.status == 1) {
|
|
|
this.centerDialogVisible = false
|