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