微心愿-事件分组
This commit is contained in:
@@ -107,7 +107,7 @@
|
|||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
getList() {
|
getList() {
|
||||||
this.instance.post(`/app/appclapeventgroup/list`, null, {
|
this.instance.post(`/app/appclapeventgrouppingchang/list`, null, {
|
||||||
params: {
|
params: {
|
||||||
...this.search
|
...this.search
|
||||||
}
|
}
|
||||||
@@ -138,7 +138,7 @@
|
|||||||
onConfirm () {
|
onConfirm () {
|
||||||
this.$refs.form.validate((valid) => {
|
this.$refs.form.validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.instance.post(`/app/appclapeventgroup/addOrUpdate`, {
|
this.instance.post(`/app/appclapeventgrouppingchang/addOrUpdate`, {
|
||||||
...this.form,
|
...this.form,
|
||||||
id: this.id || null
|
id: this.id || null
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
@@ -162,7 +162,7 @@
|
|||||||
|
|
||||||
remove(id) {
|
remove(id) {
|
||||||
this.$confirm('确定删除该数据?').then(() => {
|
this.$confirm('确定删除该数据?').then(() => {
|
||||||
this.instance.post(`/app/appclapeventgroup/delete?ids=${id}`).then(res => {
|
this.instance.post(`/app/appclapeventgrouppingchang/delete?ids=${id}`).then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.$message.success('删除成功!')
|
this.$message.success('删除成功!')
|
||||||
this.getList()
|
this.getList()
|
||||||
|
|||||||
Reference in New Issue
Block a user