宣传资讯
This commit is contained in:
@@ -66,7 +66,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<ai-table :tableData="newTypeList" :total="newPage.total" :current.sync="newPage.current" :size.sync="newPage.size"
|
<ai-table :tableData="newTypeList" :total="newPage.total" :current.sync="newPage.current" :size.sync="newPage.size"
|
||||||
@getList="getTableData" :col-configs="colConfigsNew" v-if="type == 2">
|
:col-configs="colConfigsNew" v-if="type == 2">
|
||||||
<el-table-column slot="options" label="操作" fixed="right" align="center">
|
<el-table-column slot="options" label="操作" fixed="right" align="center">
|
||||||
<template slot-scope="{row}">
|
<template slot-scope="{row}">
|
||||||
<el-button type="text" @click="editNew(row)">编辑</el-button>
|
<el-button type="text" @click="editNew(row)">编辑</el-button>
|
||||||
@@ -232,6 +232,8 @@ export default {
|
|||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.instance.post(`/app/apppublicitycategory/delete?ids=${id}`).then(res => {
|
this.instance.post(`/app/apppublicitycategory/delete?ids=${id}`).then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
|
this.getNewTypeList(this.miniTypeList[this.miniTypeIndex].id)
|
||||||
|
this.getMiniTypeList(this.typeList[this.typeIndex].id)
|
||||||
this.$message.success('删除成功');
|
this.$message.success('删除成功');
|
||||||
}
|
}
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user