diff --git a/src/api/work/index.ts b/src/api/work/index.ts index cef80c6..b8d9b47 100644 --- a/src/api/work/index.ts +++ b/src/api/work/index.ts @@ -1,33 +1,37 @@ import request from '@/utils/request' // 我的待办 -export function getTodos(query) { +export function getTodos(query: any) { return request.get({ url: '/work/todo', query }) } // 我的已办 -export function getDones(query) { +export function getDones(query: any) { return request.get({ url: '/work/done', query }) } // 信件查询 -export function getMails(query) { +export function getMails(query: any) { return request.get({ url: '/work/query', query }) } -export function getDissatisfied(query) { +export function getDissatisfied(query: any) { return request.get({ url: '/work/dissatisfied', query }) } // 获取信件详情 -export function getMailDetail(query) { +export function getMailDetail(query: any) { return request.get({ url: '/work/mail/detail', query }) } -export function getSendMsg(query){ - return request.get({url:'/work/send',query}) +export function getSendMsg(query: any) { + return request.get({ url: '/work/send', query }) } -export function mailChange(query){ - return request.get({url:'/work/change',query}) +export function mailChange(query: any) { + return request.get({ url: '/work/change', query }) +} + +export function exportLedger(query: any) { + return request.get({ url: '/work/exportLedger', query }) } \ No newline at end of file diff --git a/src/stores/modules/routerParams.ts b/src/stores/modules/routerParams.ts index f4b66e6..28b6574 100644 --- a/src/stores/modules/routerParams.ts +++ b/src/stores/modules/routerParams.ts @@ -6,18 +6,24 @@ export const useRouterParamsStore = defineStore('routerParams', { flowKey: '', mailState: '', signRoleId: '', - signDeptId: '' + signDeptId: '', + mailCategory: '' }, + }), actions: { setParams(params: any) { this.params = params; }, + setMailCategory(mailCategory: string) { + this.params.mailCategory = mailCategory; + }, removeParams() { this.params.flowKey = ''; this.params.mailState = ''; this.params.signRoleId = ''; - this.params.signDeptId = '' + this.params.signDeptId = ''; + this.params.mailCategory = ''; } }, }); diff --git a/src/views/datascreen/index.vue b/src/views/datascreen/index.vue index dcee8f9..787dd69 100644 --- a/src/views/datascreen/index.vue +++ b/src/views/datascreen/index.vue @@ -61,8 +61,8 @@
{{ item.rate }}{{ item.completed }} / {{ item.sum }} -
-{{ item.rate }}{{ item.resolved }} / {{ item.sum }} -
-{{ item.rate }}{{ item.satisfied }} / {{ item.sum }} -
-{{ item.rate }}{{ item.completed }} / {{ item.sum + }} +
+{{ item.rate }}{{ item.resolved }} / {{ item.sum + }} +
+{{ item.rate }}{{ item.satisfied }} / {{ item.sum + }} +
+