瀏覽代碼

接口分装拼写错误修改

wyn 3 月之前
父節點
當前提交
8fb89c4674
共有 1 個文件被更改,包括 4 次插入4 次删除
  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 })
 }
 
 //创建或修改通知规则角色和模板设置关联