- 电话:{{user_info.UserName}} 复制
+ 电话:{{user_info.UserName}} 复制
+
微信:{{user_info.Wx}}
QQ:{{user_info.QQ}}
@@ -266,8 +293,10 @@ export default {
types: [],
user_info: {},
follow_status_change_fall: false,
+ follow_status_change_two: false,
follow_status_list: [],
set_follow_status: {
+ id: null,
user_id: null,
old_status: null,
status: null,
@@ -392,6 +421,14 @@ export default {
this.follow_status_list = res.data
})
},
+ click_follow_remark (row) {
+ this.clickOk = false
+ this.follow_status_change_two = true
+ this.set_follow_status.id = row.id
+ this.set_follow_status.status = this.setStatus(row.follow_status)
+ this.set_follow_status.user_id = row.user_id
+ this.set_follow_status.old_status = row.follow_status
+ },
changeFolowStatus () {
// eslint-disable-next-line valid-typeof
if (typeof this.set_follow_status.status !== 'number') {
@@ -404,6 +441,8 @@ export default {
this.clickOk = true
this.$api.post(this.$api.phpURL + 'manager/UserFollow/changeFolowStatus', {data: this.set_follow_status}).then(res => {
this.follow_status_change_fall = false
+ this.follow_status_change_two = false
+ this.set_follow_status.id = null
})
},
click_username (row) {
@@ -496,6 +535,24 @@ export default {
type: 'success'
})
}
+ },
+ hujiao(r) {
+
+ var phone = r.LoginCode;
+
+ this.$api.post(this.$api.phpURL + 'manager/UserFollow/hujiao', {phone: phone}).then(res => {
+ if (res.Code == 30000) {
+ this.$message({
+ message: res.msg,
+ type: 'error'
+ })
+ } else {
+ this.$message({
+ message: '呼叫成功',
+ type: 'success'
+ })
+ }
+ })
}
}
}
diff --git a/src/components/user/statisticsrecord.vue b/src/components/user/statisticsrecord.vue
index c14c7a4..115a9b7 100644
--- a/src/components/user/statisticsrecord.vue
+++ b/src/components/user/statisticsrecord.vue
@@ -28,6 +28,8 @@