作者 朱兆平

bug-fix:

1. 邮件风控的分页适配
@@ -148,7 +148,7 @@ @@ -148,7 +148,7 @@
148 </el-input> 148 </el-input>
149 </el-drawer> 149 </el-drawer>
150 150
151 - <v-md-editor v-model="reskResult" height="400px" ></v-md-editor> 151 + <v-md-editor v-model="reskResult" height="400px" :default-show-toc="true" :include-level="[1,2,3,4,5]"></v-md-editor>
152 152
153 <!-- Dialog --> 153 <!-- Dialog -->
154 <el-dialog :title="dialogStateMap[dialogType]" :visible.sync="showDialog" width="80%"> 154 <el-dialog :title="dialogStateMap[dialogType]" :visible.sync="showDialog" width="80%">
@@ -246,10 +246,15 @@ export default { @@ -246,10 +246,15 @@ export default {
246 }, 246 },
247 getList() { 247 getList() {
248 let _this = this 248 let _this = this
  249 + let pageParam= {
  250 + pageNum:this.queryInfo.pageNum,
  251 + pageSize:this.queryInfo.pageSize
  252 + }
249 //携带client ID,访问接口触发流程 253 //携带client ID,访问接口触发流程
250 - searchListAPI(_this.queryInfo).then(response => { 254 + searchListAPI(_this.queryInfo,pageParam).then(response => {
251 if (response.data.code === '200') { 255 if (response.data.code === '200') {
252 - _this.tableData = response.data.data.list; 256 + _this.tableData = response.data.data.list
  257 + _this.total = response.data.data.total
253 _this.$message.success('搜索完成!') 258 _this.$message.success('搜索完成!')
254 }else { 259 }else {
255 _this.$message.error('接口访问失败!') 260 _this.$message.error('接口访问失败!')
@@ -295,9 +300,13 @@ export default { @@ -295,9 +300,13 @@ export default {
295 }, 300 },
296 handleSizeChange(val) { 301 handleSizeChange(val) {
297 // Update queryInfo.pageSize and fetch new data 302 // Update queryInfo.pageSize and fetch new data
  303 + this.queryInfo.pageSize = val;
  304 + this.getList();
298 }, 305 },
299 handleCurrentChange(val) { 306 handleCurrentChange(val) {
300 // Update queryInfo.pageNum and fetch new data 307 // Update queryInfo.pageNum and fetch new data
  308 + this.queryInfo.pageNum = val;
  309 + this.getList();
301 }, 310 },
302 initUserInfo(){ 311 initUserInfo(){
303 let userinfo = loginedUserInfo(); 312 let userinfo = loginedUserInfo();