去掉打印 和改接口地址
This commit is contained in:
+22
-15
@@ -99,7 +99,6 @@
|
||||
}
|
||||
},
|
||||
onLoad(e) {
|
||||
console.log(e)
|
||||
if(e.tab){
|
||||
this.follow=e.tab - 1
|
||||
this.current = e.tab
|
||||
@@ -178,7 +177,6 @@
|
||||
this.show= false
|
||||
},
|
||||
confirm(e) {
|
||||
console.log(e)
|
||||
this.follow_last = e.value[0].id
|
||||
this.show = false
|
||||
this.queryList(1, 10)
|
||||
@@ -188,7 +186,6 @@
|
||||
},
|
||||
//tab标签切换
|
||||
tabclick(e){
|
||||
console.log(e)
|
||||
if(e.id=='all'){
|
||||
this.follow=''
|
||||
}else{
|
||||
@@ -211,7 +208,6 @@
|
||||
follow_last:this.follow_last,
|
||||
}
|
||||
}).then(res => {
|
||||
console.log(res.data)
|
||||
if(res.data.code ==0){
|
||||
var datas = res.data.data.list;
|
||||
this.$refs.paging.complete(datas);
|
||||
@@ -223,7 +219,6 @@
|
||||
})
|
||||
},
|
||||
godetile(item){
|
||||
console.log(item)
|
||||
uni.navigateTo({
|
||||
url: '/pages/customer/detile?id='+item.id
|
||||
});
|
||||
@@ -238,16 +233,28 @@
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
uni.makePhoneCall({
|
||||
phoneNumber: phoneNumber,
|
||||
success: () => {
|
||||
console.log('拨打电话成功');
|
||||
},
|
||||
fail: (err) => {
|
||||
console.log('拨打电话失败', err);
|
||||
},
|
||||
});
|
||||
uni.showModal ({
|
||||
title: this.$t('prompt'),
|
||||
content: this.$t('callmsg'),
|
||||
cancelText: this.$t('cancel'),
|
||||
confirmText: this.$t('confirm'),
|
||||
success: function (res) {
|
||||
if (res.confirm) {
|
||||
uni.makePhoneCall({
|
||||
phoneNumber: phoneNumber,
|
||||
success: () => {
|
||||
// console.log('拨打电话成功');
|
||||
},
|
||||
fail: (err) => {
|
||||
// console.log('拨打电话失败', err);
|
||||
},
|
||||
});
|
||||
} else if (res.cancel) {
|
||||
// console.log('用户点击取消');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
},
|
||||
editClick(item){
|
||||
uni.navigateTo({
|
||||
|
||||
Reference in New Issue
Block a user