⬆️ 依赖升级。 mybatis-plus 3.1.2 spring boot admin 2.1.6

This commit is contained in:
冷冷 committed 2019-07-08 13:54:28 +08:00
1 parent 5b9218c083
commit 439accf746
3 files changed
+5 -22

No files matched your search

@@ -43,6 +43,7 @@
name: '${pathName}',
data() {
return {
searchForm: {},
tableData: [],
page: {
total: 0, // 总页数
@@ -69,7 +70,7 @@
fetchList(Object.assign({
current: page.currentPage,
size: page.pageSize
}, params)).then(response => {
}, params, this.searchForm )).then(response => {
this.tableData = response.data.data.records
this.page.total = response.data.data.total
this.tableLoading = false
@@ -95,13 +96,6 @@
this.getList(this.page)
})
},
/**
* @title 数据更新
* @param row 为当前的数据
* @param index 为当前更新数据的行数
* @param done 为表单关闭函数
*
**/
handleUpdate: function (row, index, done,loading) {
putObj(row).then(data => {
this.$message({
@@ -115,12 +109,6 @@
loading();
});
},
/**
* @title 数据添加
* @param row 为当前的数据
* @param done 为表单关闭函数
*
**/
handleSave: function (row, done,loading) {
addObj(row).then(data => {
this.$message({
@@ -134,15 +122,10 @@
loading();
});
},
/**
* 搜索回调
*/
searchChange(form) {
this.searchForm = form
this.getList(this.page, form)
},
/**
* 刷新回调
*/
refreshChange() {
this.getList(this.page)
}