Procházet zdrojové kódy

接口分装拼写错误修改

wyn před 3 měsíci
rodič
revize
8fb89c4674
1 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. 4 4
      src/api/sop/notificationRules.ts

+ 4 - 4
src/api/sop/notificationRules.ts

@@ -46,8 +46,8 @@ export const updateNotifyConfig = async (data: notifyConfigSaveReqVO) => {
 }
 
 //获得通知规则分页
-export const getNotifyConfigPage = async (parmas: PageParam) => {
-  return await request.get({ url: '/iscs/notify-config/getNotifyConfigPage', parmas })
+export const getNotifyConfigPage = async (params: PageParam) => {
+  return await request.get({ url: '/iscs/notify-config/getNotifyConfigPage', params })
 }
 
 //批量删除通知规则
@@ -66,8 +66,8 @@ export const getSopWorkflowStepList = async (sopId: number) => {
 }
 
 //获得通知规则角色和模板设置关联分页
-export const getNotifyConfigDetailPage = async (parmas: PageParam) => {
-  return await request.get({ url: '/iscs/notify-config-detail/getNotifyConfigDetailPage', parmas })
+export const getNotifyConfigDetailPage = async (params: PageParam) => {
+  return await request.get({ url: '/iscs/notify-config-detail/getNotifyConfigDetailPage', params })
 }
 
 //创建或修改通知规则角色和模板设置关联