Skip to content

Commit a4dea6c

Browse files
committed
Vue3 重构:REVIEW 站内信
1 parent 969c83a commit a4dea6c

File tree

25 files changed

+100
-164
lines changed

25 files changed

+100
-164
lines changed

src/api/system/notify/message/index.ts

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,31 +15,13 @@ export interface NotifyMessageVO {
1515
readTime: Date
1616
}
1717

18-
export interface NotifyMessagePageReqVO extends PageParam {
19-
userId?: number
20-
userType?: number
21-
templateCode?: string
22-
templateType?: number
23-
createTime?: Date[]
24-
}
25-
26-
export interface NotifyMessageMyPageReqVO extends PageParam {
27-
readStatus?: boolean
28-
createTime?: Date[]
29-
}
30-
3118
// 查询站内信消息列表
32-
export const getNotifyMessagePageApi = async (params: NotifyMessagePageReqVO) => {
19+
export const getNotifyMessagePage = async (params: PageParam) => {
3320
return await request.get({ url: '/system/notify-message/page', params })
3421
}
3522

36-
// 查询站内信消息详情
37-
export const getNotifyMessageApi = async (id: number) => {
38-
return await request.get({ url: '/system/notify-message/get?id=' + id })
39-
}
40-
4123
// 获得我的站内信分页
42-
export const getMyNotifyMessagePage = async (params: NotifyMessageMyPageReqVO) => {
24+
export const getMyNotifyMessagePage = async (params: PageParam) => {
4325
return await request.get({ url: '/system/notify-message/my-page', params })
4426
}
4527

src/views/bpm/definition/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ const queryParams = reactive({
110110
key: query.key
111111
})
112112
113-
/** 查询参数列表 */
113+
/** 查询列表 */
114114
const getList = async () => {
115115
loading.value = true
116116
try {

src/views/bpm/form/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ const queryParams = reactive({
103103
})
104104
const queryFormRef = ref() // 搜索的表单
105105
106-
/** 查询参数列表 */
106+
/** 查询列表 */
107107
const getList = async () => {
108108
loading.value = true
109109
try {

src/views/bpm/group/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ const queryParams = reactive({
132132
const queryFormRef = ref() // 搜索的表单
133133
const userList = ref([]) // 用户列表
134134
135-
/** 查询参数列表 */
135+
/** 查询列表 */
136136
const getList = async () => {
137137
loading.value = true
138138
try {

src/views/bpm/model/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ const queryParams = reactive({
248248
})
249249
const queryFormRef = ref() // 搜索的表单
250250
251-
/** 查询参数列表 */
251+
/** 查询列表 */
252252
const getList = async () => {
253253
loading.value = true
254254
try {

src/views/bpm/taskAssignRule/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const userOptions = ref<UserApi.UserVO[]>([]) // 用户列表
5656
const userGroupOptions = ref<UserGroupApi.UserGroupVO[]>([]) // 用户组列表
5757
const taskAssignScriptDictDatas = getIntDictOptions(DICT_TYPE.BPM_TASK_ASSIGN_SCRIPT)
5858
59-
/** 查询参数列表 */
59+
/** 查询列表 */
6060
const getList = async () => {
6161
loading.value = true
6262
try {

src/views/infra/apiErrorLog/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ const queryParams = reactive({
182182
const queryFormRef = ref() // 搜索的表单
183183
const exportLoading = ref(false) // 导出的加载中
184184
185-
/** 查询参数列表 */
185+
/** 查询列表 */
186186
const getList = async () => {
187187
loading.value = true
188188
try {

src/views/infra/config/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ const queryParams = reactive({
153153
const queryFormRef = ref() // 搜索的表单
154154
const exportLoading = ref(false) // 导出的加载中
155155
156-
/** 查询参数列表 */
156+
/** 查询列表 */
157157
const getList = async () => {
158158
loading.value = true
159159
try {

src/views/infra/dataSourceConfig/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const { t } = useI18n() // 国际化
6666
const loading = ref(true) // 列表的加载中
6767
const list = ref([]) // 列表的数据
6868
69-
/** 查询参数列表 */
69+
/** 查询列表 */
7070
const getList = async () => {
7171
loading.value = true
7272
try {

src/views/infra/file/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ const queryParams = reactive({
104104
})
105105
const queryFormRef = ref() // 搜索的表单
106106
107-
/** 查询参数列表 */
107+
/** 查询列表 */
108108
const getList = async () => {
109109
loading.value = true
110110
try {

0 commit comments

Comments
 (0)