作者 朱兆平

bug-fix:

1. 邮件风控的分页适配
... ... @@ -148,7 +148,7 @@
</el-input>
</el-drawer>
<v-md-editor v-model="reskResult" height="400px" ></v-md-editor>
<v-md-editor v-model="reskResult" height="400px" :default-show-toc="true" :include-level="[1,2,3,4,5]"></v-md-editor>
<!-- Dialog -->
<el-dialog :title="dialogStateMap[dialogType]" :visible.sync="showDialog" width="80%">
... ... @@ -246,10 +246,15 @@ export default {
},
getList() {
let _this = this
let pageParam= {
pageNum:this.queryInfo.pageNum,
pageSize:this.queryInfo.pageSize
}
//携带client ID,访问接口触发流程
searchListAPI(_this.queryInfo).then(response => {
searchListAPI(_this.queryInfo,pageParam).then(response => {
if (response.data.code === '200') {
_this.tableData = response.data.data.list;
_this.tableData = response.data.data.list
_this.total = response.data.data.total
_this.$message.success('搜索完成!')
}else {
_this.$message.error('接口访问失败!')
... ... @@ -295,9 +300,13 @@ export default {
},
handleSizeChange(val) {
// Update queryInfo.pageSize and fetch new data
this.queryInfo.pageSize = val;
this.getList();
},
handleCurrentChange(val) {
// Update queryInfo.pageNum and fetch new data
this.queryInfo.pageNum = val;
this.getList();
},
initUserInfo(){
let userinfo = loginedUserInfo();
... ...