|
|
@@ -96,7 +96,7 @@ import { listMixin } from '@/mixin/listMixin'
|
|
|
import columns from './indexColumns'
|
|
|
import CheckAndEditModel from './CheckAndEditModel'
|
|
|
import rightModel from '@/components/RightModel'
|
|
|
-import { httpAction } from '@/api/request'
|
|
|
+import {httpAction, putAction} from '@/api/request'
|
|
|
import JSPermission from '@/utils/JSPermission'
|
|
|
|
|
|
export default {
|
|
|
@@ -144,7 +144,7 @@ export default {
|
|
|
},
|
|
|
updateQueryParam(checkedKeys, roleData) {
|
|
|
roleData.menuIds = checkedKeys
|
|
|
- httpAction('/system/role', roleData, 'put').then((res) => {
|
|
|
+ putAction('/system/role', roleData, 'put').then((res) => {
|
|
|
if (res.code === 200) {
|
|
|
this.$message.success(res.msg)
|
|
|
} else {
|