|
@@ -6,66 +6,86 @@ |
|
@@ -6,66 +6,86 @@ |
|
6
|
<div>
|
6
|
<div>
|
|
7
|
<el-row>
|
7
|
<el-row>
|
|
8
|
<el-col :span="5">
|
8
|
<el-col :span="5">
|
|
9
|
- <el-input v-model="messageNote_queryInfo.username" placeholder="用户名称"
|
9
|
+ <el-input v-model="ES_queryInfo.sndr" placeholder="发送者"
|
|
10
|
size="medium" clearable >
|
10
|
size="medium" clearable >
|
|
11
|
- <template slot="prepend" ><i class="el-icon-user"></i> 用 户 名 称</template>
|
11
|
+ <template slot="prepend" ><i class="el-icon-user"></i> 消息发送者</template>
|
|
12
|
</el-input>
|
12
|
</el-input>
|
|
13
|
</el-col>
|
13
|
</el-col>
|
|
14
|
<el-col :span="6">
|
14
|
<el-col :span="6">
|
|
15
|
- <el-input v-model="messageNote_queryInfo.alias_sendContent" placeholder="发送内容"
|
15
|
+ <el-input v-model="ES_queryInfo.btype" placeholder="消息大类"
|
|
16
|
size="medium" clearable>
|
16
|
size="medium" clearable>
|
|
17
|
- <template slot="prepend" ><i class="el-icon-document-checked"></i> 发 送 内 容</template>
|
17
|
+ <template slot="prepend" ><i class="el-icon-document-checked"></i> 消 息大 类 </template>
|
|
18
|
</el-input>
|
18
|
</el-input>
|
|
19
|
</el-col>
|
19
|
</el-col>
|
|
20
|
<el-col :span="6">
|
20
|
<el-col :span="6">
|
|
21
|
- <el-input v-model="messageNote_queryInfo.serverName" placeholder="服务器名称"
|
21
|
+ <el-input v-model="ES_queryInfo.stype" placeholder="消息子类"
|
|
22
|
size="medium" clearable>
|
22
|
size="medium" clearable>
|
|
23
|
- <template slot="prepend"><i class="el-icon-s-platform"></i>服务器名称</template>
|
23
|
+ <template slot="prepend"><i class="el-icon-s-platform"></i>消 息子 类</template>
|
|
24
|
</el-input>
|
24
|
</el-input>
|
|
25
|
</el-col>
|
25
|
</el-col>
|
|
26
|
<el-col :span="6">
|
26
|
<el-col :span="6">
|
|
27
|
- <el-input v-model="messageNote_queryInfo.virtualHostName"
|
27
|
+ <el-input v-model="ES_queryInfo.seqn"
|
|
28
|
size="medium" clearable
|
28
|
size="medium" clearable
|
|
29
|
- placeholder="虚拟主机名称">
|
|
|
|
30
|
- <template slot="prepend"><i class="el-icon-s-operation"></i>虚拟主机名称</template>
|
29
|
+ placeholder="消息序号">
|
|
|
|
30
|
+ <template slot="prepend"><i class="el-icon-s-operation"></i>消 息序 号</template>
|
|
31
|
</el-input>
|
31
|
</el-input>
|
|
32
|
</el-col>
|
32
|
</el-col>
|
|
33
|
|
33
|
|
|
34
|
</el-row>
|
34
|
</el-row>
|
|
35
|
<el-row>
|
35
|
<el-row>
|
|
36
|
<el-col :span="5">
|
36
|
<el-col :span="5">
|
|
37
|
- <el-input v-model="messageNote_queryInfo.exchangeName" placeholder="交换机名称"
|
37
|
+ <el-input v-model="ES_queryInfo.rcvrsUserName" placeholder="路由接收者"
|
|
38
|
size="medium" clearable >
|
38
|
size="medium" clearable >
|
|
39
|
- <template slot="prepend"><i class="el-icon-sort"></i>交换机名称</template>
|
39
|
+ <template slot="prepend"><i class="el-icon-news"></i>路由订阅者</template>
|
|
40
|
</el-input>
|
40
|
</el-input>
|
|
41
|
</el-col>
|
41
|
</el-col>
|
|
42
|
<el-col :span="6">
|
42
|
<el-col :span="6">
|
|
43
|
- <el-input v-model="messageNote_queryInfo.routingKeyName" placeholder="路由键名称"
|
43
|
+ <el-input v-model="ES_queryInfo.rcvlogUsername" placeholder="消息接收者"
|
|
44
|
size="medium" clearable >
|
44
|
size="medium" clearable >
|
|
45
|
- <template slot="prepend" ><i class="el-icon-user"></i>路由键名称</template>
|
45
|
+ <template slot="prepend" ><i class="el-icon-user"></i>消息接收者</template>
|
|
46
|
</el-input>
|
46
|
</el-input>
|
|
47
|
</el-col>
|
47
|
</el-col>
|
|
48
|
|
48
|
|
|
49
|
<el-col :span="6">
|
49
|
<el-col :span="6">
|
|
50
|
- <el-date-picker v-model="messageNote_queryInfo.sendTimeBegin" placeholder="时间段-开始"
|
|
|
|
51
|
- type="date" value-format="yyyy-MM-dd"
|
|
|
|
52
|
- size="medium" style="width: 100%"></el-date-picker>
|
50
|
+ <el-date-picker v-model="ES_queryInfo.creatimeSearch"
|
|
|
|
51
|
+ start-placeholder="开始日期"
|
|
|
|
52
|
+ end-placeholder="结束日期"
|
|
|
|
53
|
+ type="datetimerange"
|
|
|
|
54
|
+ :picker-options="pickerOptions"
|
|
|
|
55
|
+ :default-time="['00:00:00', '23:59:59']"
|
|
|
|
56
|
+ size="medium"
|
|
|
|
57
|
+ align="right"
|
|
|
|
58
|
+ format = "yyyy-MM-dd HH:mm:ss"
|
|
|
|
59
|
+ value-format = "yyyy-MM-dd HH:mm:ss"
|
|
|
|
60
|
+ style="width: 100%">
|
|
|
|
61
|
+ </el-date-picker>
|
|
53
|
</el-col>
|
62
|
</el-col>
|
|
54
|
<el-col :span="6">
|
63
|
<el-col :span="6">
|
|
55
|
- <el-date-picker v-model="messageNote_queryInfo.sendTimeEnd" placeholder="时间段-结束"
|
|
|
|
56
|
- type="date" value-format="yyyy-MM-dd"
|
|
|
|
57
|
- size="medium" style="width: 100%"></el-date-picker>
|
64
|
+ <el-input v-model="ES_queryInfo.alias_sendContent" placeholder="消息内容"
|
|
|
|
65
|
+ size="medium" clearable >
|
|
|
|
66
|
+ <template slot="prepend"><i class="el-icon-sort"></i>消息内容</template>
|
|
|
|
67
|
+ </el-input>
|
|
58
|
</el-col>
|
68
|
</el-col>
|
|
59
|
</el-row>
|
69
|
</el-row>
|
|
60
|
<el-row>
|
70
|
<el-row>
|
|
|
|
71
|
+ <el-col :span="5">
|
|
|
|
72
|
+ <el-input v-model="ES_queryInfo.msgid" placeholder="消息id"
|
|
|
|
73
|
+ size="medium" clearable >
|
|
|
|
74
|
+ <template slot="prepend"><i class="el-icon-sort"></i>消息入库ID</template>
|
|
|
|
75
|
+ </el-input>
|
|
|
|
76
|
+ </el-col>
|
|
61
|
<el-col :span="15">
|
77
|
<el-col :span="15">
|
|
62
|
- <el-button type="warning" style="width:150px" size="medium" icon="el-icon-search" @click="messageNote_getList">
|
78
|
+ <el-button type="warning" style="width:150px" size="medium" icon="el-icon-search" @click="searchSubmit">
|
|
63
|
查询消息记录
|
79
|
查询消息记录
|
|
64
|
</el-button>
|
80
|
</el-button>
|
|
65
|
- <el-button type="primary" style="width:150px" size="medium" icon="el-icon-plus"
|
|
|
|
66
|
- @click="messageNote_toAddDialog">
|
|
|
|
67
|
- 发送消息
|
81
|
+ <el-button type="primary" style="width:150px" size="medium" icon="el-icon-refresh"
|
|
|
|
82
|
+ @click="resetSearch">
|
|
|
|
83
|
+ 重置
|
|
68
|
</el-button>
|
84
|
</el-button>
|
|
|
|
85
|
+<!-- <el-button type="primary" style="width:150px" size="medium" icon="el-icon-plus"-->
|
|
|
|
86
|
+<!-- @click="messageNote_toAddDialog">-->
|
|
|
|
87
|
+<!-- 发送消息-->
|
|
|
|
88
|
+<!-- </el-button>-->
|
|
69
|
<!-- <el-button type="warning" style="width:150px" size="medium"-->
|
89
|
<!-- <el-button type="warning" style="width:150px" size="medium"-->
|
|
70
|
<!-- @click="messageNote_openDeleteTime">-->
|
90
|
<!-- @click="messageNote_openDeleteTime">-->
|
|
71
|
<!-- 设置保留时间-->
|
91
|
<!-- 设置保留时间-->
|
|
@@ -81,39 +101,45 @@ |
|
@@ -81,39 +101,45 @@ |
|
81
|
element-loading-text="获取消息收发记录,拼命加载中"
|
101
|
element-loading-text="获取消息收发记录,拼命加载中"
|
|
82
|
:header-cell-style="{background:'#6F8294',color:'#FFFFFF'}"
|
102
|
:header-cell-style="{background:'#6F8294',color:'#FFFFFF'}"
|
|
83
|
style="border-radius: 10px 10px 0px 0px;line-height: 25px;">
|
103
|
style="border-radius: 10px 10px 0px 0px;line-height: 25px;">
|
|
84
|
- <el-table-column type="selection" width="55" align="center"></el-table-column>
|
|
|
|
85
|
- <el-table-column type="index" align="center"></el-table-column>
|
|
|
|
86
|
- <el-table-column label="用户名称" prop="username" align="center" width="120"></el-table-column>
|
|
|
|
87
|
- <el-table-column label="消息发送时间" prop="alias_sendTime" align="center" width="150">
|
104
|
+ <el-table-column label="消息ID" prop="msgid" align="center" width="120"></el-table-column>
|
|
|
|
105
|
+ <el-table-column label="消息序号" prop="seqn" align="center" width="150"></el-table-column>
|
|
|
|
106
|
+ <el-table-column label="发送者" prop="sndr" align="center" width="120"></el-table-column>
|
|
|
|
107
|
+<!-- <el-table-column label="发送内容" prop="msg" align="center" width="220"></el-table-column>-->
|
|
|
|
108
|
+ <el-table-column label="消息大类" prop="btype" align="center" width="100"></el-table-column>
|
|
|
|
109
|
+ <el-table-column label="消息子类" prop="stype" align="center" width="100"></el-table-column>
|
|
|
|
110
|
+ <el-table-column label="消息发送时间" prop="ddtm" align="center" width="150"></el-table-column>
|
|
|
|
111
|
+ <el-table-column label="路由接收者" prop="rcvrs" align="center" width="150">
|
|
|
|
112
|
+ <template slot-scope="scope">
|
|
|
|
113
|
+ <div v-for="reciver in scope.row.rcvrs">{{reciver.username}}</div>
|
|
|
|
114
|
+ </template>
|
|
88
|
</el-table-column>
|
115
|
</el-table-column>
|
|
89
|
- <el-table-column label="发送内容" prop="alias_sendContent" align="center" width="220">
|
116
|
+ <el-table-column label="消息接收者" prop="rcvlog" align="center" width="250">
|
|
|
|
117
|
+ <template slot-scope="scope">
|
|
|
|
118
|
+ <div v-for="logitem in scope.row.rcvlog">{{logitem.username}} [{{logitem.rvtm}}]</div>
|
|
|
|
119
|
+ </template>
|
|
90
|
</el-table-column>
|
120
|
</el-table-column>
|
|
91
|
- <el-table-column label="服务器名称" prop="serverName" align="center" width="150"></el-table-column>
|
|
|
|
92
|
- <el-table-column label="虚拟主机名称" prop="virtualHostName" align="center" width="150"></el-table-column>
|
|
|
|
93
|
- <el-table-column label="交换机名称" prop="exchangeName" align="center" width="150"></el-table-column>
|
|
|
|
94
|
- <el-table-column label="路由键名称" prop="routingKeyName" align="center" width="150"></el-table-column>
|
|
|
|
95
|
<!-- <el-table-column label="相关描述" prop="description" align="center" width="220"></el-table-column>-->
|
121
|
<!-- <el-table-column label="相关描述" prop="description" align="center" width="220"></el-table-column>-->
|
|
96
|
<el-table-column label="操作" width="300px" align="center" fixed="right">
|
122
|
<el-table-column label="操作" width="300px" align="center" fixed="right">
|
|
97
|
<template slot-scope="scope">
|
123
|
<template slot-scope="scope">
|
|
98
|
|
124
|
|
|
99
|
- <el-tooltip effect="dark" content="查看" placement="top-start" :enterable="false">
|
|
|
|
100
|
- <el-button type="primary" icon="el-icon-view" size="mini"
|
|
|
|
101
|
- @click="messageNote_toEditDialog(scope.$index,scope.row)">查看
|
|
|
|
102
|
- </el-button>
|
|
|
|
103
|
- </el-tooltip>
|
125
|
+<!-- <el-tooltip effect="dark" content="查看" placement="top-start" :enterable="false">-->
|
|
|
|
126
|
+<!-- <el-button type="primary" icon="el-icon-view" size="mini"-->
|
|
|
|
127
|
+<!-- @click="messageNote_toEditDialog(scope.$index,scope.row)">查看-->
|
|
|
|
128
|
+<!-- </el-button>-->
|
|
|
|
129
|
+<!-- </el-tooltip>-->
|
|
104
|
|
130
|
|
|
105
|
<el-tooltip effect="dark" content="查看发送内容" placement="top-start" :enterable="false">
|
131
|
<el-tooltip effect="dark" content="查看发送内容" placement="top-start" :enterable="false">
|
|
106
|
<el-button type="success" icon="el-icon-view" size="mini"
|
132
|
<el-button type="success" icon="el-icon-view" size="mini"
|
|
107
|
- @click="messageNote_toViewContentDialogDialog(scope.$index,scope.row)">发送内容
|
133
|
+ @click="messageNote_toViewContentDialogDialog(scope.$index,scope.row)">查看内容
|
|
108
|
</el-button>
|
134
|
</el-button>
|
|
109
|
</el-tooltip>
|
135
|
</el-tooltip>
|
|
110
|
<!-- 删除按钮-->
|
136
|
<!-- 删除按钮-->
|
|
111
|
- <el-tooltip effect="dark" content="删除" placement="top-start" :enterable="false">
|
|
|
|
112
|
- <el-button type="danger" icon="el-icon-delete" size="mini"
|
|
|
|
113
|
- :loading="messageNote_loading.delLoading"
|
|
|
|
114
|
- @click="messageNote_remove(scope.$index,scope.row)">删除
|
|
|
|
115
|
- </el-button>
|
|
|
|
116
|
- </el-tooltip>
|
137
|
+<!-- <el-tooltip effect="dark" content="删除" placement="top-start" :enterable="false">-->
|
|
|
|
138
|
+<!-- <el-button type="danger" icon="el-icon-delete" size="mini"-->
|
|
|
|
139
|
+<!-- :loading="messageNote_loading.delLoading"-->
|
|
|
|
140
|
+<!-- @click="messageNote_remove(scope.$index,scope.row)">删除-->
|
|
|
|
141
|
+<!-- </el-button>-->
|
|
|
|
142
|
+<!-- </el-tooltip>-->
|
|
117
|
</template>
|
143
|
</template>
|
|
118
|
</el-table-column>
|
144
|
</el-table-column>
|
|
119
|
</el-table>
|
145
|
</el-table>
|
|
@@ -121,21 +147,21 @@ |
|
@@ -121,21 +147,21 @@ |
|
121
|
<!--分页区域-->
|
147
|
<!--分页区域-->
|
|
122
|
<div style="margin-top: 10px">
|
148
|
<div style="margin-top: 10px">
|
|
123
|
<el-row :gutter="24">
|
149
|
<el-row :gutter="24">
|
|
124
|
- <el-col :span="5">
|
|
|
|
125
|
- <el-button type="danger" icon="el-icon-delete"
|
|
|
|
126
|
- :loading="messageNote_loading.listLoading"
|
|
|
|
127
|
- :disabled="this.messageNote_page.selectList.length===0"
|
|
|
|
128
|
- @click="messageNote_batchRemove">批量删除
|
|
|
|
129
|
- </el-button>
|
|
|
|
130
|
- </el-col>
|
|
|
|
131
|
- <el-col :span="10" style="margin-top: 5px">
|
150
|
+<!-- <el-col :span="5">-->
|
|
|
|
151
|
+<!-- <el-button type="danger" icon="el-icon-delete"-->
|
|
|
|
152
|
+<!-- :loading="messageNote_loading.listLoading"-->
|
|
|
|
153
|
+<!-- :disabled="this.messageNote_page.selectList.length===0"-->
|
|
|
|
154
|
+<!-- @click="messageNote_batchRemove">批量删除-->
|
|
|
|
155
|
+<!-- </el-button>-->
|
|
|
|
156
|
+<!-- </el-col>-->
|
|
|
|
157
|
+ <el-col :span="24" style="margin-top: 5px">
|
|
132
|
<el-pagination
|
158
|
<el-pagination
|
|
133
|
@size-change="messageNote_handleSizeChange"
|
159
|
@size-change="messageNote_handleSizeChange"
|
|
134
|
@current-change="messageNote_handleCurrentChange"
|
160
|
@current-change="messageNote_handleCurrentChange"
|
|
135
|
- :current-page="messageNote_queryInfo.pageNum"
|
161
|
+ :current-page="ES_queryInfo.pageNum"
|
|
136
|
:page-sizes="[10,50,200,500]"
|
162
|
:page-sizes="[10,50,200,500]"
|
|
137
|
- :page-size="messageNote_queryInfo.pageSize"
|
|
|
|
138
|
- layout=" sizes, prev, pager, next, jumper"
|
163
|
+ :page-size="ES_queryInfo.pageSize"
|
|
|
|
164
|
+ layout="total, sizes, prev, pager, next, jumper"
|
|
139
|
:total="messageNote_page.total">
|
165
|
:total="messageNote_page.total">
|
|
140
|
</el-pagination>
|
166
|
</el-pagination>
|
|
141
|
</el-col>
|
167
|
</el-col>
|
|
@@ -469,6 +495,7 @@ |
|
@@ -469,6 +495,7 @@ |
|
469
|
import vkbeautify from "vkbeautify";
|
495
|
import vkbeautify from "vkbeautify";
|
|
470
|
import {
|
496
|
import {
|
|
471
|
selectMessageNoteList,
|
497
|
selectMessageNoteList,
|
|
|
|
498
|
+ selectMessageSearchList,
|
|
472
|
insertMessageNote,
|
499
|
insertMessageNote,
|
|
473
|
updateMessageNote,
|
500
|
updateMessageNote,
|
|
474
|
deleteMessageNote,
|
501
|
deleteMessageNote,
|
|
@@ -540,6 +567,36 @@ |
|
@@ -540,6 +567,36 @@ |
|
540
|
// 每页条数
|
567
|
// 每页条数
|
|
541
|
pageSize: 10
|
568
|
pageSize: 10
|
|
542
|
},
|
569
|
},
|
|
|
|
570
|
+ /**
|
|
|
|
571
|
+ * ES搜索参数
|
|
|
|
572
|
+ */
|
|
|
|
573
|
+ ES_queryInfo: {
|
|
|
|
574
|
+ // 消息发送者
|
|
|
|
575
|
+ sndr: '',
|
|
|
|
576
|
+ // 指定消息接收者
|
|
|
|
577
|
+ rcvr: '',
|
|
|
|
578
|
+ // 大类
|
|
|
|
579
|
+ btype: '',
|
|
|
|
580
|
+ // 二级类
|
|
|
|
581
|
+ stype: '',
|
|
|
|
582
|
+ // 消息发送时间
|
|
|
|
583
|
+ ddtm: '',
|
|
|
|
584
|
+ // 消息序号
|
|
|
|
585
|
+ seqn: '',
|
|
|
|
586
|
+ // 消息ID
|
|
|
|
587
|
+ msgid: '',
|
|
|
|
588
|
+ // 路由接收者
|
|
|
|
589
|
+ rcvrsUserName: '',
|
|
|
|
590
|
+ // 消息接收者
|
|
|
|
591
|
+ rcvlogUsername: '',
|
|
|
|
592
|
+ msg:'',
|
|
|
|
593
|
+ alias_sendContent:'',
|
|
|
|
594
|
+ creatimeSearch: [],
|
|
|
|
595
|
+ // 当前页数
|
|
|
|
596
|
+ pageNum: 1,
|
|
|
|
597
|
+ // 每页条数
|
|
|
|
598
|
+ pageSize: 10
|
|
|
|
599
|
+ },
|
|
543
|
|
600
|
|
|
544
|
/**
|
601
|
/**
|
|
545
|
* messageNote,分页
|
602
|
* messageNote,分页
|
|
@@ -748,6 +805,36 @@ |
|
@@ -748,6 +805,36 @@ |
|
748
|
label: '否'
|
805
|
label: '否'
|
|
749
|
},
|
806
|
},
|
|
750
|
],
|
807
|
],
|
|
|
|
808
|
+ pickerOptions: {
|
|
|
|
809
|
+ shortcuts: [
|
|
|
|
810
|
+ {
|
|
|
|
811
|
+ text: '最近十分钟',
|
|
|
|
812
|
+ onClick(picker) {
|
|
|
|
813
|
+ const end = new Date();
|
|
|
|
814
|
+ const start = new Date();
|
|
|
|
815
|
+ start.setTime(start.getTime() - 600*1000);
|
|
|
|
816
|
+ picker.$emit('pick', [start, end]);
|
|
|
|
817
|
+ }
|
|
|
|
818
|
+ },
|
|
|
|
819
|
+ {
|
|
|
|
820
|
+ text: '最近一小时',
|
|
|
|
821
|
+ onClick(picker) {
|
|
|
|
822
|
+ const end = new Date();
|
|
|
|
823
|
+ const start = new Date();
|
|
|
|
824
|
+ start.setTime(start.getTime() - 3600 * 1000 * 24);
|
|
|
|
825
|
+ picker.$emit('pick', [start, end]);
|
|
|
|
826
|
+ }
|
|
|
|
827
|
+ },
|
|
|
|
828
|
+ {
|
|
|
|
829
|
+ text: '最近一天',
|
|
|
|
830
|
+ onClick(picker) {
|
|
|
|
831
|
+ const end = new Date();
|
|
|
|
832
|
+ const start = new Date();
|
|
|
|
833
|
+ start.setTime(start.getTime() - 3600 * 1000 * 24);
|
|
|
|
834
|
+ picker.$emit('pick', [start, end]);
|
|
|
|
835
|
+ }
|
|
|
|
836
|
+ }]
|
|
|
|
837
|
+ }
|
|
751
|
}
|
838
|
}
|
|
752
|
},
|
839
|
},
|
|
753
|
methods: {
|
840
|
methods: {
|
|
@@ -755,7 +842,7 @@ |
|
@@ -755,7 +842,7 @@ |
|
755
|
* 分页查询,监听 pageSize 改变的事件
|
842
|
* 分页查询,监听 pageSize 改变的事件
|
|
756
|
*/
|
843
|
*/
|
|
757
|
messageNote_handleSizeChange(newSize) {
|
844
|
messageNote_handleSizeChange(newSize) {
|
|
758
|
- this.messageNote_queryInfo.pageSize = newSize;
|
845
|
+ this.ES_queryInfo.pageSize = newSize;
|
|
759
|
//刷新列表
|
846
|
//刷新列表
|
|
760
|
this.messageNote_getList();
|
847
|
this.messageNote_getList();
|
|
761
|
},
|
848
|
},
|
|
@@ -763,17 +850,52 @@ |
|
@@ -763,17 +850,52 @@ |
|
763
|
* 分页查询,监听 pageNum 改变的事件
|
850
|
* 分页查询,监听 pageNum 改变的事件
|
|
764
|
*/
|
851
|
*/
|
|
765
|
messageNote_handleCurrentChange(newPage) {
|
852
|
messageNote_handleCurrentChange(newPage) {
|
|
766
|
- this.messageNote_queryInfo.pageNum = newPage;
|
853
|
+ this.ES_queryInfo.pageNum = newPage;
|
|
767
|
//刷新列表
|
854
|
//刷新列表
|
|
768
|
this.messageNote_getList();
|
855
|
this.messageNote_getList();
|
|
769
|
},
|
856
|
},
|
|
|
|
857
|
+ resetSearch:function(){
|
|
|
|
858
|
+ this.ES_queryInfo = {
|
|
|
|
859
|
+ // 消息发送者
|
|
|
|
860
|
+ sndr: '',
|
|
|
|
861
|
+ // 指定消息接收者
|
|
|
|
862
|
+ rcvr: '',
|
|
|
|
863
|
+ // 大类
|
|
|
|
864
|
+ btype: '',
|
|
|
|
865
|
+ // 二级类
|
|
|
|
866
|
+ stype: '',
|
|
|
|
867
|
+ // 消息发送时间
|
|
|
|
868
|
+ ddtm: '',
|
|
|
|
869
|
+ // 消息序号
|
|
|
|
870
|
+ seqn: '',
|
|
|
|
871
|
+ // 消息ID
|
|
|
|
872
|
+ msgid: '',
|
|
|
|
873
|
+ // 路由接收者
|
|
|
|
874
|
+ rcvrsUserName: '',
|
|
|
|
875
|
+ // 消息接收者
|
|
|
|
876
|
+ rcvlogUsername: '',
|
|
|
|
877
|
+ msg:'',
|
|
|
|
878
|
+ alias_sendContent:'',
|
|
|
|
879
|
+ creatimeSearch: [],
|
|
|
|
880
|
+ // 当前页数
|
|
|
|
881
|
+ pageNum: 1,
|
|
|
|
882
|
+ // 每页条数
|
|
|
|
883
|
+ pageSize: 10
|
|
|
|
884
|
+ }
|
|
|
|
885
|
+ },
|
|
|
|
886
|
+ searchSubmit:function () {
|
|
|
|
887
|
+ this.ES_queryInfo.pageNum = 1;
|
|
|
|
888
|
+ this.ES_queryInfo.pageSize = 10;
|
|
|
|
889
|
+ this.messageNote_getList();
|
|
|
|
890
|
+
|
|
|
|
891
|
+ } ,
|
|
770
|
/**
|
892
|
/**
|
|
771
|
* messageNote,分页查询
|
893
|
* messageNote,分页查询
|
|
772
|
*/
|
894
|
*/
|
|
773
|
messageNote_getList() {
|
895
|
messageNote_getList() {
|
|
774
|
// 开启加载
|
896
|
// 开启加载
|
|
775
|
this.messageNote_loading.listLoading = true;
|
897
|
this.messageNote_loading.listLoading = true;
|
|
776
|
- selectMessageNoteList(this.messageNote_queryInfo).then((response) => {
|
898
|
+ selectMessageSearchList(this.ES_queryInfo).then((response) => {
|
|
777
|
let res = response.data;
|
899
|
let res = response.data;
|
|
778
|
if (res.code !== '200') {
|
900
|
if (res.code !== '200') {
|
|
779
|
// 关闭加载
|
901
|
// 关闭加载
|
|
@@ -781,9 +903,9 @@ |
|
@@ -781,9 +903,9 @@ |
|
781
|
return this.$message.error('获取消息收发记录,失败!');
|
903
|
return this.$message.error('获取消息收发记录,失败!');
|
|
782
|
}
|
904
|
}
|
|
783
|
// 获取列表数据
|
905
|
// 获取列表数据
|
|
784
|
- this.messageNote_page.messageNoteList = res.data;
|
906
|
+ this.messageNote_page.messageNoteList = res.data.content;
|
|
785
|
// 获取列表的总记录数
|
907
|
// 获取列表的总记录数
|
|
786
|
- this.messageNote_page.total = res.total;
|
908
|
+ this.messageNote_page.total = res.data.totalElements;
|
|
787
|
// 关闭加载
|
909
|
// 关闭加载
|
|
788
|
this.messageNote_loading.listLoading = false;
|
910
|
this.messageNote_loading.listLoading = false;
|
|
789
|
this.$message.success('获取消息收发记录,成功!');
|
911
|
this.$message.success('获取消息收发记录,成功!');
|
|
@@ -1238,6 +1360,12 @@ |
|
@@ -1238,6 +1360,12 @@ |
|
1238
|
// this.messageNote_getList();
|
1360
|
// this.messageNote_getList();
|
|
1239
|
// 获取删除时间
|
1361
|
// 获取删除时间
|
|
1240
|
this.selectDeleteTime();
|
1362
|
this.selectDeleteTime();
|
|
|
|
1363
|
+ let _this = this;
|
|
|
|
1364
|
+ document.onkeyup= e =>{
|
|
|
|
1365
|
+ if (e.code === "Enter" || e.code === "enter") {
|
|
|
|
1366
|
+ _this.searchSubmit();//调用登录 验证方法
|
|
|
|
1367
|
+ }
|
|
|
|
1368
|
+ }
|
|
1241
|
},
|
1369
|
},
|
|
1242
|
mounted() {
|
1370
|
mounted() {
|
|
1243
|
this.messageNote_selectServerList();
|
1371
|
this.messageNote_selectServerList();
|