1
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user