diff --git a/src/api/system/notify/message/index.ts b/src/api/system/notify/message/index.ts index a42d75c2..e24c3f8c 100644 --- a/src/api/system/notify/message/index.ts +++ b/src/api/system/notify/message/index.ts @@ -15,31 +15,13 @@ export interface NotifyMessageVO { readTime: Date } -export interface NotifyMessagePageReqVO extends PageParam { - userId?: number - userType?: number - templateCode?: string - templateType?: number - createTime?: Date[] -} - -export interface NotifyMessageMyPageReqVO extends PageParam { - readStatus?: boolean - createTime?: Date[] -} - // 查询站内信消息列表 -export const getNotifyMessagePageApi = async (params: NotifyMessagePageReqVO) => { +export const getNotifyMessagePage = async (params: PageParam) => { return await request.get({ url: '/system/notify-message/page', params }) } -// 查询站内信消息详情 -export const getNotifyMessageApi = async (id: number) => { - return await request.get({ url: '/system/notify-message/get?id=' + id }) -} - // 获得我的站内信分页 -export const getMyNotifyMessagePage = async (params: NotifyMessageMyPageReqVO) => { +export const getMyNotifyMessagePage = async (params: PageParam) => { return await request.get({ url: '/system/notify-message/my-page', params }) } diff --git a/src/views/bpm/definition/index.vue b/src/views/bpm/definition/index.vue index ce643ff6..66a6a23b 100644 --- a/src/views/bpm/definition/index.vue +++ b/src/views/bpm/definition/index.vue @@ -110,7 +110,7 @@ const queryParams = reactive({ key: query.key }) -/** 查询参数列表 */ +/** 查询列表 */ const getList = async () => { loading.value = true try { diff --git a/src/views/bpm/form/index.vue b/src/views/bpm/form/index.vue index 7e14b3e3..616e60be 100644 --- a/src/views/bpm/form/index.vue +++ b/src/views/bpm/form/index.vue @@ -103,7 +103,7 @@ const queryParams = reactive({ }) const queryFormRef = ref() // 搜索的表单 -/** 查询参数列表 */ +/** 查询列表 */ const getList = async () => { loading.value = true try { diff --git a/src/views/bpm/group/index.vue b/src/views/bpm/group/index.vue index 5829ebad..0b52e9a2 100644 --- a/src/views/bpm/group/index.vue +++ b/src/views/bpm/group/index.vue @@ -132,7 +132,7 @@ const queryParams = reactive({ const queryFormRef = ref() // 搜索的表单 const userList = ref([]) // 用户列表 -/** 查询参数列表 */ +/** 查询列表 */ const getList = async () => { loading.value = true try { diff --git a/src/views/bpm/model/index.vue b/src/views/bpm/model/index.vue index b19ed956..9a0d725f 100644 --- a/src/views/bpm/model/index.vue +++ b/src/views/bpm/model/index.vue @@ -248,7 +248,7 @@ const queryParams = reactive({ }) const queryFormRef = ref() // 搜索的表单 -/** 查询参数列表 */ +/** 查询列表 */ const getList = async () => { loading.value = true try { diff --git a/src/views/bpm/taskAssignRule/index.vue b/src/views/bpm/taskAssignRule/index.vue index feea80a2..4a4e76f8 100644 --- a/src/views/bpm/taskAssignRule/index.vue +++ b/src/views/bpm/taskAssignRule/index.vue @@ -56,7 +56,7 @@ const userOptions = ref([]) // 用户列表 const userGroupOptions = ref([]) // 用户组列表 const taskAssignScriptDictDatas = getIntDictOptions(DICT_TYPE.BPM_TASK_ASSIGN_SCRIPT) -/** 查询参数列表 */ +/** 查询列表 */ const getList = async () => { loading.value = true try { diff --git a/src/views/infra/apiErrorLog/index.vue b/src/views/infra/apiErrorLog/index.vue index cfe4adb1..800b5043 100644 --- a/src/views/infra/apiErrorLog/index.vue +++ b/src/views/infra/apiErrorLog/index.vue @@ -182,7 +182,7 @@ const queryParams = reactive({ const queryFormRef = ref() // 搜索的表单 const exportLoading = ref(false) // 导出的加载中 -/** 查询参数列表 */ +/** 查询列表 */ const getList = async () => { loading.value = true try { diff --git a/src/views/infra/config/index.vue b/src/views/infra/config/index.vue index fcc3c12c..5fcafc07 100644 --- a/src/views/infra/config/index.vue +++ b/src/views/infra/config/index.vue @@ -153,7 +153,7 @@ const queryParams = reactive({ const queryFormRef = ref() // 搜索的表单 const exportLoading = ref(false) // 导出的加载中 -/** 查询参数列表 */ +/** 查询列表 */ const getList = async () => { loading.value = true try { diff --git a/src/views/infra/dataSourceConfig/index.vue b/src/views/infra/dataSourceConfig/index.vue index ff44cdd5..ab3523e7 100644 --- a/src/views/infra/dataSourceConfig/index.vue +++ b/src/views/infra/dataSourceConfig/index.vue @@ -66,7 +66,7 @@ const { t } = useI18n() // 国际化 const loading = ref(true) // 列表的加载中 const list = ref([]) // 列表的数据 -/** 查询参数列表 */ +/** 查询列表 */ const getList = async () => { loading.value = true try { diff --git a/src/views/infra/file/index.vue b/src/views/infra/file/index.vue index adf9d3a4..32b35562 100644 --- a/src/views/infra/file/index.vue +++ b/src/views/infra/file/index.vue @@ -104,7 +104,7 @@ const queryParams = reactive({ }) const queryFormRef = ref() // 搜索的表单 -/** 查询参数列表 */ +/** 查询列表 */ const getList = async () => { loading.value = true try { diff --git a/src/views/infra/fileConfig/index.vue b/src/views/infra/fileConfig/index.vue index ed0cfed7..ca0fac15 100644 --- a/src/views/infra/fileConfig/index.vue +++ b/src/views/infra/fileConfig/index.vue @@ -130,7 +130,7 @@ const queryParams = reactive({ }) const queryFormRef = ref() // 搜索的表单 -/** 查询参数列表 */ +/** 查询列表 */ const getList = async () => { loading.value = true try { diff --git a/src/views/mp/message/index.vue b/src/views/mp/message/index.vue index 10145221..d9ddce0d 100644 --- a/src/views/mp/message/index.vue +++ b/src/views/mp/message/index.vue @@ -210,7 +210,7 @@ const open = ref(false) // 是否显示弹出层 const userId = ref(0) // 操作的用户编号 const accountList = ref([]) // 公众号账号列表 -/** 查询参数列表 */ +/** 查询列表 */ const getList = async () => { // 如果没有选中公众号账号,则进行提示。 if (!queryParams.accountId) { diff --git a/src/views/mp/tag/index.vue b/src/views/mp/tag/index.vue index 84e6fc17..ec083114 100644 --- a/src/views/mp/tag/index.vue +++ b/src/views/mp/tag/index.vue @@ -106,7 +106,7 @@ const queryParams = reactive({ const queryFormRef = ref() // 搜索的表单 const accountList = ref([]) // 公众号账号列表 -/** 查询参数列表 */ +/** 查询列表 */ const getList = async () => { // 如果没有选中公众号账号,则进行提示。 if (!queryParams.accountId) { diff --git a/src/views/system/dict/data.vue b/src/views/system/dict/data.vue index 7b159481..8492262a 100644 --- a/src/views/system/dict/data.vue +++ b/src/views/system/dict/data.vue @@ -130,7 +130,7 @@ const queryFormRef = ref() // 搜索的表单 const exportLoading = ref(false) // 导出的加载中 const dicts = ref() // 字典类型的列表 -/** 查询参数列表 */ +/** 查询列表 */ const getList = async () => { loading.value = true try { diff --git a/src/views/system/loginlog/index.vue b/src/views/system/loginlog/index.vue index 7b1aca5f..c48957a7 100644 --- a/src/views/system/loginlog/index.vue +++ b/src/views/system/loginlog/index.vue @@ -123,7 +123,7 @@ const queryParams = reactive({ const queryFormRef = ref() // 搜索的表单 const exportLoading = ref(false) // 导出的加载中 -/** 查询参数列表 */ +/** 查询列表 */ const getList = async () => { loading.value = true try { diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue index 3baf3148..8feb066b 100644 --- a/src/views/system/menu/index.vue +++ b/src/views/system/menu/index.vue @@ -126,7 +126,7 @@ const queryFormRef = ref() // 搜索的表单 const isExpandAll = ref(false) // 是否展开,默认全部折叠 const refreshTable = ref(true) // 重新渲染表格状态 -/** 查询参数列表 */ +/** 查询列表 */ const getList = async () => { loading.value = true try { diff --git a/src/views/system/notify/message/detail.vue b/src/views/system/notify/message/NotifyMessageDetail.vue similarity index 87% rename from src/views/system/notify/message/detail.vue rename to src/views/system/notify/message/NotifyMessageDetail.vue index 0b146113..283575bb 100644 --- a/src/views/system/notify/message/detail.vue +++ b/src/views/system/notify/message/NotifyMessageDetail.vue @@ -1,5 +1,5 @@ diff --git a/src/views/system/oauth2/token/index.vue b/src/views/system/oauth2/token/index.vue index 7e8aca22..a809e452 100644 --- a/src/views/system/oauth2/token/index.vue +++ b/src/views/system/oauth2/token/index.vue @@ -115,7 +115,7 @@ const queryParams = reactive({ }) const queryFormRef = ref() // 搜索的表单 -/** 查询参数列表 */ +/** 查询列表 */ const getList = async () => { loading.value = true try { diff --git a/src/views/system/operatelog/index.vue b/src/views/system/operatelog/index.vue index d7490ba8..c5713be1 100644 --- a/src/views/system/operatelog/index.vue +++ b/src/views/system/operatelog/index.vue @@ -156,7 +156,7 @@ const queryParams = reactive({ const queryFormRef = ref() // 搜索的表单 const exportLoading = ref(false) // 导出的加载中 -/** 查询参数列表 */ +/** 查询列表 */ const getList = async () => { loading.value = true try { diff --git a/src/views/system/sensitiveWord/index.vue b/src/views/system/sensitiveWord/index.vue index cf1fdb82..5b73132b 100644 --- a/src/views/system/sensitiveWord/index.vue +++ b/src/views/system/sensitiveWord/index.vue @@ -168,7 +168,7 @@ const queryFormRef = ref() // 搜索的表单 const exportLoading = ref(false) // 导出的加载中 const tagList = ref([]) // 标签数组 -/** 查询参数列表 */ +/** 查询列表 */ const getList = async () => { loading.value = true try { diff --git a/src/views/system/sms/channel/index.vue b/src/views/system/sms/channel/index.vue index 65d18029..62cd7cc2 100644 --- a/src/views/system/sms/channel/index.vue +++ b/src/views/system/sms/channel/index.vue @@ -146,7 +146,7 @@ const queryParams = reactive({ createTime: [] }) -/** 查询参数列表 */ +/** 查询列表 */ const getList = async () => { loading.value = true try { diff --git a/src/views/system/tenant/index.vue b/src/views/system/tenant/index.vue index e316992d..1991fbea 100644 --- a/src/views/system/tenant/index.vue +++ b/src/views/system/tenant/index.vue @@ -191,7 +191,7 @@ const queryFormRef = ref() // 搜索的表单 const exportLoading = ref(false) // 导出的加载中 const packageList = ref([]) //租户套餐列表 -/** 查询参数列表 */ +/** 查询列表 */ const getList = async () => { loading.value = true try {