mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-11 05:19:00 +08:00
⬆️ 依赖升级。 mybatis-plus 3.1.2 spring boot admin 2.1.6
This commit is contained in:
1 parent
5b9218c083
commit
439accf746
3 files changed
+5
-22
No files matched your search
@@ -17,7 +17,7 @@
|
||||
|
||||
<properties>
|
||||
<pigx.version>3.2</pigx.version>
|
||||
<mybatis-plus.version>3.1.0</mybatis-plus.version>
|
||||
<mybatis-plus.version>3.1.2</mybatis-plus.version>
|
||||
<druid.version>1.1.16</druid.version>
|
||||
<mysql.connector.version>8.0.16</mysql.connector.version>
|
||||
<swagger.core.version>1.5.22</swagger.core.version>
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<spring-boot-admin.version>2.1.5</spring-boot-admin.version>
|
||||
<spring-boot-admin.version>2.1.6</spring-boot-admin.version>
|
||||
<easyexcel.version>1.1.2-beta5</easyexcel.version>
|
||||
<hutool.version>4.5.15</hutool.version>
|
||||
<kaptcha.version>0.0.9</kaptcha.version>
|
||||
|
||||
Reference in new issue
Block a user