修正
This commit is contained in:
@@ -27,5 +27,5 @@ swagger:
|
||||
|
||||
logging:
|
||||
level:
|
||||
root: info
|
||||
root: debug
|
||||
path: logs/${spring.application.name}/
|
||||
|
||||
@@ -146,7 +146,6 @@ export default {
|
||||
*/
|
||||
getList() {
|
||||
this.listLoading = true
|
||||
this.listQuery.t = new Date().getTime()
|
||||
fetchList(this.options.listUrl, this.listQuery).then(response => {
|
||||
this.dataList = response.data
|
||||
this.listLoading = false
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
<el-table-column align="center" label="ISBN书号" prop="isbn">
|
||||
<template #default="scope">
|
||||
<a style="color: #1890ff" @click="handleUpdate(scope.row)">{{ scope.row.id }}</a>
|
||||
<a style="color: #1890ff" @click="handleUpdate(scope.row)">{{ scope.row.isbn }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="书名" prop="bName" />
|
||||
@@ -168,7 +168,7 @@ export default {
|
||||
dialogVisible: false,
|
||||
|
||||
listQuery: {
|
||||
current: 0,
|
||||
current: 1,
|
||||
size: 10,
|
||||
total: 0,
|
||||
params: {}
|
||||
@@ -243,9 +243,6 @@ export default {
|
||||
this.$message({
|
||||
type: 'success',
|
||||
message: '编辑成功!'
|
||||
}, {
|
||||
type: 'error',
|
||||
message: response.msg
|
||||
})
|
||||
this.dialogVisible = false
|
||||
this.$refs.pagingTable.getList()
|
||||
|
||||
@@ -134,7 +134,7 @@ export default {
|
||||
dialogVisible: false,// 编辑是否显示
|
||||
|
||||
listQuery: {
|
||||
current: 0,
|
||||
current: 1,
|
||||
size: 10,
|
||||
total: 0,
|
||||
params: {
|
||||
@@ -199,9 +199,6 @@ export default {
|
||||
this.$message({
|
||||
type: 'success',
|
||||
message: '保存成功!'
|
||||
}, {
|
||||
type: 'error',
|
||||
message: response.msg
|
||||
})
|
||||
this.dialogVisible = false
|
||||
this.$refs.pagingTable.getList()
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
<el-table-column align="center" label="ISBN书号" prop="isbn">
|
||||
<template #default="scope">
|
||||
<a style="color: #1890ff" @click="handleUpdate(scope.row)">{{ scope.row.id }}</a>
|
||||
<a style="color: #1890ff" @click="handleUpdate(scope.row)">{{ scope.row.isbn }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="书名" prop="bName"/>
|
||||
@@ -186,7 +186,7 @@ export default {
|
||||
dialogVisible: false,// 编辑是否显示
|
||||
|
||||
listQuery: {
|
||||
current: 0,
|
||||
current: 1,
|
||||
size: 10,
|
||||
total: 0,
|
||||
params: {}
|
||||
@@ -273,9 +273,6 @@ export default {
|
||||
this.$message({
|
||||
type: 'success',
|
||||
message: '成功!'
|
||||
}, {
|
||||
type: 'error',
|
||||
message: response.msg
|
||||
})
|
||||
this.dialogVisible = false
|
||||
this.$refs.pagingTable.getList()
|
||||
|
||||
@@ -99,7 +99,7 @@ export default {
|
||||
dialogVisible: false,// 编辑是否显示
|
||||
|
||||
listQuery: {
|
||||
current: 0,
|
||||
current: 1,
|
||||
size: 10,
|
||||
total: 0,
|
||||
params: {}
|
||||
@@ -186,9 +186,6 @@ export default {
|
||||
this.$message({
|
||||
type: 'success',
|
||||
message: '成功!'
|
||||
}, {
|
||||
type: 'error',
|
||||
message: response.msg
|
||||
})
|
||||
this.dialogVisible = false
|
||||
this.$refs.pagingTable.getList()
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
<el-table-column align="center" label="ISBN书号" prop="isbn">
|
||||
<template #default="scope">
|
||||
<a style="color: #1890ff" @click="handleUpdate(scope.row)">{{ scope.row.id }}</a>
|
||||
<a style="color: #1890ff" @click="handleUpdate(scope.row)">{{ scope.row.isbn }}</a>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="书名" prop="bName" />
|
||||
@@ -175,7 +175,7 @@ export default {
|
||||
dialogVisible: false,// 编辑是否显示
|
||||
|
||||
listQuery: {
|
||||
current: 0,
|
||||
current: 1,
|
||||
size: 10,
|
||||
total: 0,
|
||||
params: {}
|
||||
@@ -263,9 +263,6 @@ export default {
|
||||
this.$message({
|
||||
type: 'success',
|
||||
message: '成功!'
|
||||
}, {
|
||||
type: 'error',
|
||||
message: response.msg
|
||||
})
|
||||
this.dialogVisible = false
|
||||
this.$refs.pagingTable.getList()
|
||||
|
||||
@@ -134,7 +134,7 @@ export default {
|
||||
dialogVisible: false,// 编辑是否显示
|
||||
|
||||
listQuery: {
|
||||
current: 0,
|
||||
current: 1,
|
||||
size: 10,
|
||||
total: 0,
|
||||
params: {
|
||||
@@ -199,9 +199,6 @@ export default {
|
||||
this.$message({
|
||||
type: 'success',
|
||||
message: '保存成功!'
|
||||
}, {
|
||||
type: 'error',
|
||||
message: response.msg
|
||||
})
|
||||
this.dialogVisible = false
|
||||
this.$refs.pagingTable.getList()
|
||||
|
||||
@@ -116,7 +116,7 @@ export default {
|
||||
dialogVisible: false,// 编辑是否显示
|
||||
|
||||
listQuery: {
|
||||
current: 0,
|
||||
current: 1,
|
||||
size: 10,
|
||||
total: 0,
|
||||
params: {
|
||||
@@ -181,9 +181,6 @@ export default {
|
||||
this.$message({
|
||||
type: 'success',
|
||||
message: '保存成功!'
|
||||
}, {
|
||||
type: 'error',
|
||||
message: response.msg
|
||||
})
|
||||
this.dialogVisible = false
|
||||
this.$refs.pagingTable.getList()
|
||||
|
||||
@@ -119,7 +119,7 @@ export default {
|
||||
dialogVisible: false,// 编辑是否显示
|
||||
|
||||
listQuery: {
|
||||
current: 0,
|
||||
current: 1,
|
||||
size: 10,
|
||||
total: 0,
|
||||
params: {
|
||||
@@ -184,9 +184,6 @@ export default {
|
||||
this.$message({
|
||||
type: 'success',
|
||||
message: '保存成功!'
|
||||
}, {
|
||||
type: 'error',
|
||||
message: response.msg
|
||||
})
|
||||
this.dialogVisible = false
|
||||
this.$refs.pagingTable.getList()
|
||||
|
||||
Reference in New Issue
Block a user