Commit 78eaced8 authored by IvyXia123's avatar IvyXia123

no message

parent 088df43a
...@@ -324,7 +324,7 @@ ...@@ -324,7 +324,7 @@
dialogTable: false, dialogTable: false,
infoText: '', infoText: '',
infoShow: '', infoShow: '',
realTime: '' realTime: new Date().getFullYear() + '-' + (new Date().getMonth() + 1) + '-' + new Date().getDate()
} }
}, },
mounted() { mounted() {
...@@ -375,8 +375,6 @@ ...@@ -375,8 +375,6 @@
* 聊天记录 * 聊天记录
*/ */
dialogTableClick(friendId) { dialogTableClick(friendId) {
if(this.realTime == '') this.realTime = new Date().getFullYear() + '-' + (new Date().getMonth() + 1) + '-' + new Date().getDate() // 时间
console.log(this.realTime)
getChatrecordApi(friendId, { start_at: this.realTime }).then(res => { getChatrecordApi(friendId, { start_at: this.realTime }).then(res => {
if(res.length > 0) { if(res.length > 0) {
this.dialogTable = true this.dialogTable = true
...@@ -517,7 +515,7 @@ ...@@ -517,7 +515,7 @@
if(infoShow === 2) { if(infoShow === 2) {
chatCount.push(minCountTotal) chatCount.push(minCountTotal)
chatCountTwo.push(minCountTotalOne); chatCountTwo.push(minCountTotalOne);
chatCountThree.push(minCountTotalOne); chatCountThree.push(minCountTotalThree);
} }
}else if(infoShow === 4){ }else if(infoShow === 4){
res.time.unshift(' '); res.time.unshift(' ');
......
...@@ -130,7 +130,6 @@ ...@@ -130,7 +130,6 @@
getData() { getData() {
this.infoLoading = true; this.infoLoading = true;
getVisitcalendarApi(this.customerO.id).then(res => { getVisitcalendarApi(this.customerO.id).then(res => {
console.log(res)
this.infoLoading = false; this.infoLoading = false;
let infoTimeData = [] let infoTimeData = []
Object.keys(res.weekday).map((item, index) => { Object.keys(res.weekday).map((item, index) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment