api
This commit is contained in:
@@ -86,7 +86,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getList() {
|
getList() {
|
||||||
this.instance.post(`/appmerchantinfo/discountList`,null, {
|
this.instance.post(`api/appmerchantinfo/discountList`,null, {
|
||||||
params: {
|
params: {
|
||||||
...this.page,
|
...this.page,
|
||||||
...this.search
|
...this.search
|
||||||
@@ -101,7 +101,7 @@ export default {
|
|||||||
// 删除
|
// 删除
|
||||||
delBtn(id) {
|
delBtn(id) {
|
||||||
this.$confirm('确定删除该记录?').then(() => {
|
this.$confirm('确定删除该记录?').then(() => {
|
||||||
this.instance.post(`/appmerchantinfo/deleteDiscount?ids=${id}`).then(res=>{
|
this.instance.post(`api/appmerchantinfo/deleteDiscount?ids=${id}`).then(res=>{
|
||||||
if(res.code == 0) {
|
if(res.code == 0) {
|
||||||
this.$message.success('删除成功!')
|
this.$message.success('删除成功!')
|
||||||
this.getList()
|
this.getList()
|
||||||
@@ -118,7 +118,7 @@ export default {
|
|||||||
title = '确定要审核拒绝该活动吗?'
|
title = '确定要审核拒绝该活动吗?'
|
||||||
}
|
}
|
||||||
this.$confirm(title).then(() => {
|
this.$confirm(title).then(() => {
|
||||||
this.instance.post(`/appmerchantinfo/examineDiscount?id=${id}&pass=${pass}`).then(res=>{
|
this.instance.post(`api/appmerchantinfo/examineDiscount?id=${id}&pass=${pass}`).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