This commit is contained in:
张成
2026-03-26 11:04:18 +08:00
parent b13fabb370
commit 885f86bcc9
2 changed files with 2 additions and 2 deletions

View File

@@ -255,7 +255,7 @@ export default {
this.gridOption.param.pageOption.total = res.data.count this.gridOption.param.pageOption.total = res.data.count
}, },
async showAddWarp() { async showAddWarp() {
this.$refs.editModal.addShow({ 'venue_type': 'indoor', 'surface_type': 'hard', 'court_count': '1', 'status': 'active', 'create_time': 'CURRENT_TIMESTAMP', 'updated_at': 'CURRENT_TIMESTAMP', }, async (newRow) => { this.$refs.editModal.addShow({ 'venue_type': 'indoor', 'surface_type': 'hard', 'court_count': '1', 'status': 'active' }, async (newRow) => {
let res = await venuesServer.add(newRow) let res = await venuesServer.add(newRow)
this.$Message.success('新增成功!') this.$Message.success('新增成功!')
this.init() this.init()

View File

@@ -316,7 +316,7 @@ export default {
this.gridOption.param.pageOption.total = res.data.count this.gridOption.param.pageOption.total = res.data.count
}, },
async showAddWarp() { async showAddWarp() {
this.$refs.editModal.addShow({ 'is_subscribed': '0', 'last_login_time': 'CURRENT_TIMESTAMP', 'create_time': 'CURRENT_TIMESTAMP', 'updated_at': 'CURRENT_TIMESTAMP', }, async (newRow) => { this.$refs.editModal.addShow({ 'is_subscribed': '0', 'last_login_time': 'CURRENT_TIMESTAMP' }, async (newRow) => {
let res = await wch_usersServer.add(newRow) let res = await wch_usersServer.add(newRow)
this.$Message.success('新增成功!') this.$Message.success('新增成功!')
this.init() this.init()