|
@@ -154,7 +154,7 @@
|
|
|
|
|
|
<script>
|
|
|
import CreateDialog from './CreateDialog.vue'
|
|
|
-import { del_word_map } from '@/api/dict'
|
|
|
+import { del_rule } from '@/api/rule/config'
|
|
|
|
|
|
export default {
|
|
|
components: {
|
|
@@ -230,7 +230,7 @@ export default {
|
|
|
cancelButtonText: '取消',
|
|
|
type: 'warning'
|
|
|
}).then(() => {
|
|
|
- del_word_map({ id: row.id }).then((res) => {
|
|
|
+ del_rule({ id: row.id }).then((res) => {
|
|
|
this.$message.success(res.m || '操作成功')
|
|
|
this.$emit('refresh')
|
|
|
})
|