30413
This commit is contained in:
@@ -232,7 +232,7 @@ export default {
|
||||
this.instance
|
||||
.post(`/app/apppartyintegralrule/delete?ids=${id}`)
|
||||
.then((res) => {
|
||||
if (res.code == 0) {
|
||||
if (res?.code == 0) {
|
||||
this.$message.success("删除成功!");
|
||||
this.getList();
|
||||
}
|
||||
@@ -242,8 +242,8 @@ export default {
|
||||
changeStatus(id, status) {
|
||||
let text = status == 1 ? '启用' : '停用'
|
||||
this.$confirm(`确定${text}该条规则?`).then(() => {
|
||||
this.instance.post(`/apppartyintegralrule/enableOrDisable?partyOrgId=${id}`).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.instance.post(`/app/apppartyintegralrule/enableOrDisable?id=${id}`).then((res) => {
|
||||
if (res?.code == 0) {
|
||||
this.$message.success(`${text}成功!`)
|
||||
this.getList();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user