优化详情查询
This commit is contained in:
@@ -191,9 +191,6 @@ export default {
|
|||||||
var toUid = currentData.toUid;
|
var toUid = currentData.toUid;
|
||||||
$('#fromUid').val(fromUid);
|
$('#fromUid').val(fromUid);
|
||||||
$('#toUid').val(toUid);
|
$('#toUid').val(toUid);
|
||||||
let firstTouchTime = '';
|
|
||||||
let isInitiative = 0;
|
|
||||||
let chatMsgNum = 0;
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "get",
|
type: "get",
|
||||||
url: "/admin/userChatMsgRecord/getDetail",
|
url: "/admin/userChatMsgRecord/getDetail",
|
||||||
@@ -204,18 +201,17 @@ export default {
|
|||||||
startTime: $('#startTime').val(),
|
startTime: $('#startTime').val(),
|
||||||
endTime: $('#endTime').val(),
|
endTime: $('#endTime').val(),
|
||||||
},
|
},
|
||||||
async: false,
|
|
||||||
success: function (json) {
|
success: function (json) {
|
||||||
apiResult(json);
|
apiResult(json);
|
||||||
let data = json.data;
|
let data = json.data;
|
||||||
if (data) {
|
if (data) {
|
||||||
firstTouchTime = data.firstTouchTime;
|
let firstTouchTime = data.firstTouchTime;
|
||||||
isInitiative = data.isInitiative;
|
let isInitiative = data.isInitiative;
|
||||||
chatMsgNum = data.chatMsgNum;
|
let chatMsgNum = data.chatMsgNum;
|
||||||
|
$('#modalLabel').html(fromNick + '(' + fromErBanNo + ')与' + toNick + '(' + toErBanNo + ')的聊天记录 首次接触时间:' + firstTouchTime + ' 首次接触情况:' + (isInitiative ? '被动回复' : '主动发起') + ' 聊天条目数:' + chatMsgNum);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
$('#modalLabel').html(fromNick + '(' + fromErBanNo + ')与' + toNick + '(' + toErBanNo + ')的聊天记录 首次接触时间:' + firstTouchTime + ' 首次接触情况:' + (isInitiative ? '被动回复' : '主动发起') + ' 聊天条目数:' + chatMsgNum);
|
|
||||||
$('#detailTable').bootstrapTable('destroy');
|
$('#detailTable').bootstrapTable('destroy');
|
||||||
$('#detailTable').bootstrapTable({
|
$('#detailTable').bootstrapTable({
|
||||||
columns: [
|
columns: [
|
||||||
|
Reference in New Issue
Block a user