微调
This commit is contained in:
@@ -18,12 +18,12 @@ export const addPqDev = (params: Device.ResPqDev) => {
|
||||
|
||||
//编辑被检设备
|
||||
export const updatePqDev = (params: Device.ResPqDev) => {
|
||||
return http.post(`/pqDev/update`, params)
|
||||
return http.put(`/pqDev/update`, params)
|
||||
}
|
||||
|
||||
//删除被检设备
|
||||
export const deletePqDev = (params: string[]) => {
|
||||
return http.post(`/pqDev/delete`, params)
|
||||
return http.delete(`/pqDev/delete`, params)
|
||||
}
|
||||
|
||||
//导出被检设备
|
||||
|
||||
@@ -14,12 +14,12 @@ export const addDictData = (params: Dict.ResDictData) => {
|
||||
|
||||
//编辑字典数据
|
||||
export const updateDictData = (params: Dict.ResDictData) => {
|
||||
return http.post(`/dictData/update`, params)
|
||||
return http.put(`/dictData/update`, params)
|
||||
}
|
||||
|
||||
//删除字典数据
|
||||
export const deleteDictData = (params: string[]) => {
|
||||
return http.post(`/dictData/delete`, params)
|
||||
return http.delete(`/dictData/delete`, params)
|
||||
}
|
||||
|
||||
export const getDicDataById = (params: string) => {
|
||||
|
||||
@@ -13,11 +13,11 @@ export const addDictPq = (params: Dict.ResDictPq) => {
|
||||
|
||||
//编辑字典类型
|
||||
export const updateDictPq = (params: Dict.ResDictPq) => {
|
||||
return http.post(`/dictPq/update`, params)
|
||||
return http.put(`/dictPq/update`, params)
|
||||
}
|
||||
|
||||
//删除字典类型
|
||||
export const deleteDictPq = (params: string[]) => {
|
||||
return http.post(`/dictPq/delete`, params)
|
||||
return http.delete(`/dictPq/delete`, params)
|
||||
}
|
||||
|
||||
|
||||
@@ -13,12 +13,12 @@ export const addDictType = (params: Dict.ResDictType) => {
|
||||
|
||||
//编辑字典类型
|
||||
export const updateDictType = (params: Dict.ResDictType) => {
|
||||
return http.post(`/dictType/update`, params)
|
||||
return http.put(`/dictType/update`, params)
|
||||
}
|
||||
|
||||
//删除字典类型
|
||||
export const deleteDictType = (params: string[]) => {
|
||||
return http.post(`/dictType/delete`, params)
|
||||
return http.delete(`/dictType/delete`, params)
|
||||
}
|
||||
|
||||
//导出字典类型
|
||||
|
||||
@@ -18,13 +18,15 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import {ref} from 'vue'
|
||||
import {dialogBig} from '@/utils/elementBind'
|
||||
import {Role} from '@/api/role/interface'
|
||||
|
||||
const {dialogVisible, data} = defineProps<{
|
||||
dialogVisible: boolean;
|
||||
title: string;
|
||||
data: Role.ResRoleLimport { Role } from '@/api/role/interface'
|
||||
import { dialogBig } from '@/utils/elementBind'
|
||||
ist;
|
||||
}>()
|
||||
data: Role.ResRoleList;
|
||||
}>
|
||||
()
|
||||
|
||||
// const leftvalue = ref<Role.Permission[]>([])
|
||||
// const rightvalue = ref<Role.Permission[]>([])
|
||||
|
||||
Reference in New Issue
Block a user