|
@@ -295,12 +295,11 @@ const add = async (data: AddProperty) => {
|
|
|
ElMessage.error(res.msg)
|
|
ElMessage.error(res.msg)
|
|
|
return false
|
|
return false
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
ElMessage.success(res.msg)
|
|
ElMessage.success(res.msg)
|
|
|
return true
|
|
return true
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-// 根据id获取数据
|
|
|
|
|
|
|
+// 根据id获取数据B650MP-EPROVER
|
|
|
const getById = async (id: string) => {
|
|
const getById = async (id: string) => {
|
|
|
const res = await clientGet<null, PropertyOneResponse>('/edepartmentEmployeeStats/getById/' + id)
|
|
const res = await clientGet<null, PropertyOneResponse>('/edepartmentEmployeeStats/getById/' + id)
|
|
|
if (res.code !== 200) {
|
|
if (res.code !== 200) {
|