diff --git a/.env.development b/.env.development index 1441fe7..3b872c5 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 计量管理系统 +VITE_APP_TITLE = 华东计量综合系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 # VITE_APP_API_BASEURL = http://111.198.10.15:11309 # VITE_APP_API_BASEURL = http://111.198.10.15:21409 diff --git a/.env.development b/.env.development index 1441fe7..3b872c5 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 计量管理系统 +VITE_APP_TITLE = 华东计量综合系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 # VITE_APP_API_BASEURL = http://111.198.10.15:11309 # VITE_APP_API_BASEURL = http://111.198.10.15:21409 diff --git a/src/api/workbench/workbench.ts b/src/api/workbench/workbench.ts new file mode 100644 index 0000000..94fae4a --- /dev/null +++ b/src/api/workbench/workbench.ts @@ -0,0 +1,55 @@ +// 总工作台 +import request from '../index' + +// 审批提醒列表 +export function getApprovalMessageList(data: { offset: number; limit: number }) { + return request({ + url: `/workbench/approvalMessage/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 工作提醒列表 +export function getWorkMessageList(data: { offset: number; limit: number }) { + return request({ + url: `/workbench/remindMessage/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// -----------------------------------------日历------------------------------------------ +// 新增日程 +export function addSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/add', + method: 'post', + data, + }) +} +// 编辑日程 +export function editSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/update', + method: 'post', + data, + }) +} +// 日历列表 +export function getCalendarList(data: { calendarMonth: string; userId: string }) { + return request({ + url: '/workbench/calendarSchedule/list', + method: 'post', + data, + }) +} + +// 删除日程 +export function delSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/delete', + method: 'post', + data, + }) +} + diff --git a/.env.development b/.env.development index 1441fe7..3b872c5 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 计量管理系统 +VITE_APP_TITLE = 华东计量综合系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 # VITE_APP_API_BASEURL = http://111.198.10.15:11309 # VITE_APP_API_BASEURL = http://111.198.10.15:21409 diff --git a/src/api/workbench/workbench.ts b/src/api/workbench/workbench.ts new file mode 100644 index 0000000..94fae4a --- /dev/null +++ b/src/api/workbench/workbench.ts @@ -0,0 +1,55 @@ +// 总工作台 +import request from '../index' + +// 审批提醒列表 +export function getApprovalMessageList(data: { offset: number; limit: number }) { + return request({ + url: `/workbench/approvalMessage/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 工作提醒列表 +export function getWorkMessageList(data: { offset: number; limit: number }) { + return request({ + url: `/workbench/remindMessage/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// -----------------------------------------日历------------------------------------------ +// 新增日程 +export function addSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/add', + method: 'post', + data, + }) +} +// 编辑日程 +export function editSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/update', + method: 'post', + data, + }) +} +// 日历列表 +export function getCalendarList(data: { calendarMonth: string; userId: string }) { + return request({ + url: '/workbench/calendarSchedule/list', + method: 'post', + data, + }) +} + +// 删除日程 +export function delSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/delete', + method: 'post', + data, + }) +} + diff --git a/src/assets/icons/icon-add-circle.svg b/src/assets/icons/icon-add-circle.svg new file mode 100644 index 0000000..13f4b3b --- /dev/null +++ b/src/assets/icons/icon-add-circle.svg @@ -0,0 +1 @@ + diff --git a/.env.development b/.env.development index 1441fe7..3b872c5 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 计量管理系统 +VITE_APP_TITLE = 华东计量综合系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 # VITE_APP_API_BASEURL = http://111.198.10.15:11309 # VITE_APP_API_BASEURL = http://111.198.10.15:21409 diff --git a/src/api/workbench/workbench.ts b/src/api/workbench/workbench.ts new file mode 100644 index 0000000..94fae4a --- /dev/null +++ b/src/api/workbench/workbench.ts @@ -0,0 +1,55 @@ +// 总工作台 +import request from '../index' + +// 审批提醒列表 +export function getApprovalMessageList(data: { offset: number; limit: number }) { + return request({ + url: `/workbench/approvalMessage/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 工作提醒列表 +export function getWorkMessageList(data: { offset: number; limit: number }) { + return request({ + url: `/workbench/remindMessage/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// -----------------------------------------日历------------------------------------------ +// 新增日程 +export function addSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/add', + method: 'post', + data, + }) +} +// 编辑日程 +export function editSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/update', + method: 'post', + data, + }) +} +// 日历列表 +export function getCalendarList(data: { calendarMonth: string; userId: string }) { + return request({ + url: '/workbench/calendarSchedule/list', + method: 'post', + data, + }) +} + +// 删除日程 +export function delSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/delete', + method: 'post', + data, + }) +} + diff --git a/src/assets/icons/icon-add-circle.svg b/src/assets/icons/icon-add-circle.svg new file mode 100644 index 0000000..13f4b3b --- /dev/null +++ b/src/assets/icons/icon-add-circle.svg @@ -0,0 +1 @@ + diff --git a/src/assets/icons/icon-applyRemind.svg b/src/assets/icons/icon-applyRemind.svg new file mode 100644 index 0000000..ade887e --- /dev/null +++ b/src/assets/icons/icon-applyRemind.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.env.development b/.env.development index 1441fe7..3b872c5 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 计量管理系统 +VITE_APP_TITLE = 华东计量综合系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 # VITE_APP_API_BASEURL = http://111.198.10.15:11309 # VITE_APP_API_BASEURL = http://111.198.10.15:21409 diff --git a/src/api/workbench/workbench.ts b/src/api/workbench/workbench.ts new file mode 100644 index 0000000..94fae4a --- /dev/null +++ b/src/api/workbench/workbench.ts @@ -0,0 +1,55 @@ +// 总工作台 +import request from '../index' + +// 审批提醒列表 +export function getApprovalMessageList(data: { offset: number; limit: number }) { + return request({ + url: `/workbench/approvalMessage/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 工作提醒列表 +export function getWorkMessageList(data: { offset: number; limit: number }) { + return request({ + url: `/workbench/remindMessage/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// -----------------------------------------日历------------------------------------------ +// 新增日程 +export function addSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/add', + method: 'post', + data, + }) +} +// 编辑日程 +export function editSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/update', + method: 'post', + data, + }) +} +// 日历列表 +export function getCalendarList(data: { calendarMonth: string; userId: string }) { + return request({ + url: '/workbench/calendarSchedule/list', + method: 'post', + data, + }) +} + +// 删除日程 +export function delSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/delete', + method: 'post', + data, + }) +} + diff --git a/src/assets/icons/icon-add-circle.svg b/src/assets/icons/icon-add-circle.svg new file mode 100644 index 0000000..13f4b3b --- /dev/null +++ b/src/assets/icons/icon-add-circle.svg @@ -0,0 +1 @@ + diff --git a/src/assets/icons/icon-applyRemind.svg b/src/assets/icons/icon-applyRemind.svg new file mode 100644 index 0000000..ade887e --- /dev/null +++ b/src/assets/icons/icon-applyRemind.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/icon-backlog.svg b/src/assets/icons/icon-backlog.svg new file mode 100644 index 0000000..2f1b34f --- /dev/null +++ b/src/assets/icons/icon-backlog.svg @@ -0,0 +1 @@ + diff --git a/.env.development b/.env.development index 1441fe7..3b872c5 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 计量管理系统 +VITE_APP_TITLE = 华东计量综合系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 # VITE_APP_API_BASEURL = http://111.198.10.15:11309 # VITE_APP_API_BASEURL = http://111.198.10.15:21409 diff --git a/src/api/workbench/workbench.ts b/src/api/workbench/workbench.ts new file mode 100644 index 0000000..94fae4a --- /dev/null +++ b/src/api/workbench/workbench.ts @@ -0,0 +1,55 @@ +// 总工作台 +import request from '../index' + +// 审批提醒列表 +export function getApprovalMessageList(data: { offset: number; limit: number }) { + return request({ + url: `/workbench/approvalMessage/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 工作提醒列表 +export function getWorkMessageList(data: { offset: number; limit: number }) { + return request({ + url: `/workbench/remindMessage/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// -----------------------------------------日历------------------------------------------ +// 新增日程 +export function addSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/add', + method: 'post', + data, + }) +} +// 编辑日程 +export function editSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/update', + method: 'post', + data, + }) +} +// 日历列表 +export function getCalendarList(data: { calendarMonth: string; userId: string }) { + return request({ + url: '/workbench/calendarSchedule/list', + method: 'post', + data, + }) +} + +// 删除日程 +export function delSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/delete', + method: 'post', + data, + }) +} + diff --git a/src/assets/icons/icon-add-circle.svg b/src/assets/icons/icon-add-circle.svg new file mode 100644 index 0000000..13f4b3b --- /dev/null +++ b/src/assets/icons/icon-add-circle.svg @@ -0,0 +1 @@ + diff --git a/src/assets/icons/icon-applyRemind.svg b/src/assets/icons/icon-applyRemind.svg new file mode 100644 index 0000000..ade887e --- /dev/null +++ b/src/assets/icons/icon-applyRemind.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/icon-backlog.svg b/src/assets/icons/icon-backlog.svg new file mode 100644 index 0000000..2f1b34f --- /dev/null +++ b/src/assets/icons/icon-backlog.svg @@ -0,0 +1 @@ + diff --git a/src/assets/icons/icon-business-system.svg b/src/assets/icons/icon-business-system.svg new file mode 100644 index 0000000..1224b34 --- /dev/null +++ b/src/assets/icons/icon-business-system.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.env.development b/.env.development index 1441fe7..3b872c5 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 计量管理系统 +VITE_APP_TITLE = 华东计量综合系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 # VITE_APP_API_BASEURL = http://111.198.10.15:11309 # VITE_APP_API_BASEURL = http://111.198.10.15:21409 diff --git a/src/api/workbench/workbench.ts b/src/api/workbench/workbench.ts new file mode 100644 index 0000000..94fae4a --- /dev/null +++ b/src/api/workbench/workbench.ts @@ -0,0 +1,55 @@ +// 总工作台 +import request from '../index' + +// 审批提醒列表 +export function getApprovalMessageList(data: { offset: number; limit: number }) { + return request({ + url: `/workbench/approvalMessage/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 工作提醒列表 +export function getWorkMessageList(data: { offset: number; limit: number }) { + return request({ + url: `/workbench/remindMessage/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// -----------------------------------------日历------------------------------------------ +// 新增日程 +export function addSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/add', + method: 'post', + data, + }) +} +// 编辑日程 +export function editSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/update', + method: 'post', + data, + }) +} +// 日历列表 +export function getCalendarList(data: { calendarMonth: string; userId: string }) { + return request({ + url: '/workbench/calendarSchedule/list', + method: 'post', + data, + }) +} + +// 删除日程 +export function delSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/delete', + method: 'post', + data, + }) +} + diff --git a/src/assets/icons/icon-add-circle.svg b/src/assets/icons/icon-add-circle.svg new file mode 100644 index 0000000..13f4b3b --- /dev/null +++ b/src/assets/icons/icon-add-circle.svg @@ -0,0 +1 @@ + diff --git a/src/assets/icons/icon-applyRemind.svg b/src/assets/icons/icon-applyRemind.svg new file mode 100644 index 0000000..ade887e --- /dev/null +++ b/src/assets/icons/icon-applyRemind.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/icon-backlog.svg b/src/assets/icons/icon-backlog.svg new file mode 100644 index 0000000..2f1b34f --- /dev/null +++ b/src/assets/icons/icon-backlog.svg @@ -0,0 +1 @@ + diff --git a/src/assets/icons/icon-business-system.svg b/src/assets/icons/icon-business-system.svg new file mode 100644 index 0000000..1224b34 --- /dev/null +++ b/src/assets/icons/icon-business-system.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/icon-calendar.svg b/src/assets/icons/icon-calendar.svg new file mode 100644 index 0000000..2fe1f13 --- /dev/null +++ b/src/assets/icons/icon-calendar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.env.development b/.env.development index 1441fe7..3b872c5 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 计量管理系统 +VITE_APP_TITLE = 华东计量综合系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 # VITE_APP_API_BASEURL = http://111.198.10.15:11309 # VITE_APP_API_BASEURL = http://111.198.10.15:21409 diff --git a/src/api/workbench/workbench.ts b/src/api/workbench/workbench.ts new file mode 100644 index 0000000..94fae4a --- /dev/null +++ b/src/api/workbench/workbench.ts @@ -0,0 +1,55 @@ +// 总工作台 +import request from '../index' + +// 审批提醒列表 +export function getApprovalMessageList(data: { offset: number; limit: number }) { + return request({ + url: `/workbench/approvalMessage/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 工作提醒列表 +export function getWorkMessageList(data: { offset: number; limit: number }) { + return request({ + url: `/workbench/remindMessage/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// -----------------------------------------日历------------------------------------------ +// 新增日程 +export function addSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/add', + method: 'post', + data, + }) +} +// 编辑日程 +export function editSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/update', + method: 'post', + data, + }) +} +// 日历列表 +export function getCalendarList(data: { calendarMonth: string; userId: string }) { + return request({ + url: '/workbench/calendarSchedule/list', + method: 'post', + data, + }) +} + +// 删除日程 +export function delSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/delete', + method: 'post', + data, + }) +} + diff --git a/src/assets/icons/icon-add-circle.svg b/src/assets/icons/icon-add-circle.svg new file mode 100644 index 0000000..13f4b3b --- /dev/null +++ b/src/assets/icons/icon-add-circle.svg @@ -0,0 +1 @@ + diff --git a/src/assets/icons/icon-applyRemind.svg b/src/assets/icons/icon-applyRemind.svg new file mode 100644 index 0000000..ade887e --- /dev/null +++ b/src/assets/icons/icon-applyRemind.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/icon-backlog.svg b/src/assets/icons/icon-backlog.svg new file mode 100644 index 0000000..2f1b34f --- /dev/null +++ b/src/assets/icons/icon-backlog.svg @@ -0,0 +1 @@ + diff --git a/src/assets/icons/icon-business-system.svg b/src/assets/icons/icon-business-system.svg new file mode 100644 index 0000000..1224b34 --- /dev/null +++ b/src/assets/icons/icon-business-system.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/icon-calendar.svg b/src/assets/icons/icon-calendar.svg new file mode 100644 index 0000000..2fe1f13 --- /dev/null +++ b/src/assets/icons/icon-calendar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/icon-edit.svg b/src/assets/icons/icon-edit.svg new file mode 100644 index 0000000..6bb525d --- /dev/null +++ b/src/assets/icons/icon-edit.svg @@ -0,0 +1 @@ + diff --git a/.env.development b/.env.development index 1441fe7..3b872c5 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 计量管理系统 +VITE_APP_TITLE = 华东计量综合系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 # VITE_APP_API_BASEURL = http://111.198.10.15:11309 # VITE_APP_API_BASEURL = http://111.198.10.15:21409 diff --git a/src/api/workbench/workbench.ts b/src/api/workbench/workbench.ts new file mode 100644 index 0000000..94fae4a --- /dev/null +++ b/src/api/workbench/workbench.ts @@ -0,0 +1,55 @@ +// 总工作台 +import request from '../index' + +// 审批提醒列表 +export function getApprovalMessageList(data: { offset: number; limit: number }) { + return request({ + url: `/workbench/approvalMessage/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 工作提醒列表 +export function getWorkMessageList(data: { offset: number; limit: number }) { + return request({ + url: `/workbench/remindMessage/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// -----------------------------------------日历------------------------------------------ +// 新增日程 +export function addSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/add', + method: 'post', + data, + }) +} +// 编辑日程 +export function editSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/update', + method: 'post', + data, + }) +} +// 日历列表 +export function getCalendarList(data: { calendarMonth: string; userId: string }) { + return request({ + url: '/workbench/calendarSchedule/list', + method: 'post', + data, + }) +} + +// 删除日程 +export function delSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/delete', + method: 'post', + data, + }) +} + diff --git a/src/assets/icons/icon-add-circle.svg b/src/assets/icons/icon-add-circle.svg new file mode 100644 index 0000000..13f4b3b --- /dev/null +++ b/src/assets/icons/icon-add-circle.svg @@ -0,0 +1 @@ + diff --git a/src/assets/icons/icon-applyRemind.svg b/src/assets/icons/icon-applyRemind.svg new file mode 100644 index 0000000..ade887e --- /dev/null +++ b/src/assets/icons/icon-applyRemind.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/icon-backlog.svg b/src/assets/icons/icon-backlog.svg new file mode 100644 index 0000000..2f1b34f --- /dev/null +++ b/src/assets/icons/icon-backlog.svg @@ -0,0 +1 @@ + diff --git a/src/assets/icons/icon-business-system.svg b/src/assets/icons/icon-business-system.svg new file mode 100644 index 0000000..1224b34 --- /dev/null +++ b/src/assets/icons/icon-business-system.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/icon-calendar.svg b/src/assets/icons/icon-calendar.svg new file mode 100644 index 0000000..2fe1f13 --- /dev/null +++ b/src/assets/icons/icon-calendar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/icon-edit.svg b/src/assets/icons/icon-edit.svg new file mode 100644 index 0000000..6bb525d --- /dev/null +++ b/src/assets/icons/icon-edit.svg @@ -0,0 +1 @@ + diff --git a/src/assets/icons/icon-reduce-circle.svg b/src/assets/icons/icon-reduce-circle.svg new file mode 100644 index 0000000..eed0947 --- /dev/null +++ b/src/assets/icons/icon-reduce-circle.svg @@ -0,0 +1 @@ + diff --git a/.env.development b/.env.development index 1441fe7..3b872c5 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 计量管理系统 +VITE_APP_TITLE = 华东计量综合系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 # VITE_APP_API_BASEURL = http://111.198.10.15:11309 # VITE_APP_API_BASEURL = http://111.198.10.15:21409 diff --git a/src/api/workbench/workbench.ts b/src/api/workbench/workbench.ts new file mode 100644 index 0000000..94fae4a --- /dev/null +++ b/src/api/workbench/workbench.ts @@ -0,0 +1,55 @@ +// 总工作台 +import request from '../index' + +// 审批提醒列表 +export function getApprovalMessageList(data: { offset: number; limit: number }) { + return request({ + url: `/workbench/approvalMessage/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 工作提醒列表 +export function getWorkMessageList(data: { offset: number; limit: number }) { + return request({ + url: `/workbench/remindMessage/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// -----------------------------------------日历------------------------------------------ +// 新增日程 +export function addSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/add', + method: 'post', + data, + }) +} +// 编辑日程 +export function editSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/update', + method: 'post', + data, + }) +} +// 日历列表 +export function getCalendarList(data: { calendarMonth: string; userId: string }) { + return request({ + url: '/workbench/calendarSchedule/list', + method: 'post', + data, + }) +} + +// 删除日程 +export function delSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/delete', + method: 'post', + data, + }) +} + diff --git a/src/assets/icons/icon-add-circle.svg b/src/assets/icons/icon-add-circle.svg new file mode 100644 index 0000000..13f4b3b --- /dev/null +++ b/src/assets/icons/icon-add-circle.svg @@ -0,0 +1 @@ + diff --git a/src/assets/icons/icon-applyRemind.svg b/src/assets/icons/icon-applyRemind.svg new file mode 100644 index 0000000..ade887e --- /dev/null +++ b/src/assets/icons/icon-applyRemind.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/icon-backlog.svg b/src/assets/icons/icon-backlog.svg new file mode 100644 index 0000000..2f1b34f --- /dev/null +++ b/src/assets/icons/icon-backlog.svg @@ -0,0 +1 @@ + diff --git a/src/assets/icons/icon-business-system.svg b/src/assets/icons/icon-business-system.svg new file mode 100644 index 0000000..1224b34 --- /dev/null +++ b/src/assets/icons/icon-business-system.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/icon-calendar.svg b/src/assets/icons/icon-calendar.svg new file mode 100644 index 0000000..2fe1f13 --- /dev/null +++ b/src/assets/icons/icon-calendar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/icon-edit.svg b/src/assets/icons/icon-edit.svg new file mode 100644 index 0000000..6bb525d --- /dev/null +++ b/src/assets/icons/icon-edit.svg @@ -0,0 +1 @@ + diff --git a/src/assets/icons/icon-reduce-circle.svg b/src/assets/icons/icon-reduce-circle.svg new file mode 100644 index 0000000..eed0947 --- /dev/null +++ b/src/assets/icons/icon-reduce-circle.svg @@ -0,0 +1 @@ + diff --git a/src/assets/icons/icon-workbench.svg b/src/assets/icons/icon-workbench.svg new file mode 100644 index 0000000..904c222 --- /dev/null +++ b/src/assets/icons/icon-workbench.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/.env.development b/.env.development index 1441fe7..3b872c5 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 计量管理系统 +VITE_APP_TITLE = 华东计量综合系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 # VITE_APP_API_BASEURL = http://111.198.10.15:11309 # VITE_APP_API_BASEURL = http://111.198.10.15:21409 diff --git a/src/api/workbench/workbench.ts b/src/api/workbench/workbench.ts new file mode 100644 index 0000000..94fae4a --- /dev/null +++ b/src/api/workbench/workbench.ts @@ -0,0 +1,55 @@ +// 总工作台 +import request from '../index' + +// 审批提醒列表 +export function getApprovalMessageList(data: { offset: number; limit: number }) { + return request({ + url: `/workbench/approvalMessage/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 工作提醒列表 +export function getWorkMessageList(data: { offset: number; limit: number }) { + return request({ + url: `/workbench/remindMessage/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// -----------------------------------------日历------------------------------------------ +// 新增日程 +export function addSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/add', + method: 'post', + data, + }) +} +// 编辑日程 +export function editSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/update', + method: 'post', + data, + }) +} +// 日历列表 +export function getCalendarList(data: { calendarMonth: string; userId: string }) { + return request({ + url: '/workbench/calendarSchedule/list', + method: 'post', + data, + }) +} + +// 删除日程 +export function delSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/delete', + method: 'post', + data, + }) +} + diff --git a/src/assets/icons/icon-add-circle.svg b/src/assets/icons/icon-add-circle.svg new file mode 100644 index 0000000..13f4b3b --- /dev/null +++ b/src/assets/icons/icon-add-circle.svg @@ -0,0 +1 @@ + diff --git a/src/assets/icons/icon-applyRemind.svg b/src/assets/icons/icon-applyRemind.svg new file mode 100644 index 0000000..ade887e --- /dev/null +++ b/src/assets/icons/icon-applyRemind.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/icon-backlog.svg b/src/assets/icons/icon-backlog.svg new file mode 100644 index 0000000..2f1b34f --- /dev/null +++ b/src/assets/icons/icon-backlog.svg @@ -0,0 +1 @@ + diff --git a/src/assets/icons/icon-business-system.svg b/src/assets/icons/icon-business-system.svg new file mode 100644 index 0000000..1224b34 --- /dev/null +++ b/src/assets/icons/icon-business-system.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/icon-calendar.svg b/src/assets/icons/icon-calendar.svg new file mode 100644 index 0000000..2fe1f13 --- /dev/null +++ b/src/assets/icons/icon-calendar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/icon-edit.svg b/src/assets/icons/icon-edit.svg new file mode 100644 index 0000000..6bb525d --- /dev/null +++ b/src/assets/icons/icon-edit.svg @@ -0,0 +1 @@ + diff --git a/src/assets/icons/icon-reduce-circle.svg b/src/assets/icons/icon-reduce-circle.svg new file mode 100644 index 0000000..eed0947 --- /dev/null +++ b/src/assets/icons/icon-reduce-circle.svg @@ -0,0 +1 @@ + diff --git a/src/assets/icons/icon-workbench.svg b/src/assets/icons/icon-workbench.svg new file mode 100644 index 0000000..904c222 --- /dev/null +++ b/src/assets/icons/icon-workbench.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/icon-zh.svg b/src/assets/icons/icon-zh.svg new file mode 100644 index 0000000..57f2c1e --- /dev/null +++ b/src/assets/icons/icon-zh.svg @@ -0,0 +1 @@ + diff --git a/.env.development b/.env.development index 1441fe7..3b872c5 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VITE_APP_TITLE = 计量管理系统 +VITE_APP_TITLE = 华东计量综合系统 # 接口请求地址,会设置到 axios 的 baseURL 参数上 # VITE_APP_API_BASEURL = http://111.198.10.15:11309 # VITE_APP_API_BASEURL = http://111.198.10.15:21409 diff --git a/src/api/workbench/workbench.ts b/src/api/workbench/workbench.ts new file mode 100644 index 0000000..94fae4a --- /dev/null +++ b/src/api/workbench/workbench.ts @@ -0,0 +1,55 @@ +// 总工作台 +import request from '../index' + +// 审批提醒列表 +export function getApprovalMessageList(data: { offset: number; limit: number }) { + return request({ + url: `/workbench/approvalMessage/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} +// 工作提醒列表 +export function getWorkMessageList(data: { offset: number; limit: number }) { + return request({ + url: `/workbench/remindMessage/listPage?offset=${data.offset}&limit=${data.limit}`, + method: 'post', + data, + }) +} + +// -----------------------------------------日历------------------------------------------ +// 新增日程 +export function addSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/add', + method: 'post', + data, + }) +} +// 编辑日程 +export function editSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/update', + method: 'post', + data, + }) +} +// 日历列表 +export function getCalendarList(data: { calendarMonth: string; userId: string }) { + return request({ + url: '/workbench/calendarSchedule/list', + method: 'post', + data, + }) +} + +// 删除日程 +export function delSchedule(data: object) { + return request({ + url: '/workbench/calendarSchedule/delete', + method: 'post', + data, + }) +} + diff --git a/src/assets/icons/icon-add-circle.svg b/src/assets/icons/icon-add-circle.svg new file mode 100644 index 0000000..13f4b3b --- /dev/null +++ b/src/assets/icons/icon-add-circle.svg @@ -0,0 +1 @@ + diff --git a/src/assets/icons/icon-applyRemind.svg b/src/assets/icons/icon-applyRemind.svg new file mode 100644 index 0000000..ade887e --- /dev/null +++ b/src/assets/icons/icon-applyRemind.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/icon-backlog.svg b/src/assets/icons/icon-backlog.svg new file mode 100644 index 0000000..2f1b34f --- /dev/null +++ b/src/assets/icons/icon-backlog.svg @@ -0,0 +1 @@ + diff --git a/src/assets/icons/icon-business-system.svg b/src/assets/icons/icon-business-system.svg new file mode 100644 index 0000000..1224b34 --- /dev/null +++ b/src/assets/icons/icon-business-system.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/icon-calendar.svg b/src/assets/icons/icon-calendar.svg new file mode 100644 index 0000000..2fe1f13 --- /dev/null +++ b/src/assets/icons/icon-calendar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/icon-edit.svg b/src/assets/icons/icon-edit.svg new file mode 100644 index 0000000..6bb525d --- /dev/null +++ b/src/assets/icons/icon-edit.svg @@ -0,0 +1 @@ + diff --git a/src/assets/icons/icon-reduce-circle.svg b/src/assets/icons/icon-reduce-circle.svg new file mode 100644 index 0000000..eed0947 --- /dev/null +++ b/src/assets/icons/icon-reduce-circle.svg @@ -0,0 +1 @@ + diff --git a/src/assets/icons/icon-workbench.svg b/src/assets/icons/icon-workbench.svg new file mode 100644 index 0000000..904c222 --- /dev/null +++ b/src/assets/icons/icon-workbench.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/icon-zh.svg b/src/assets/icons/icon-zh.svg new file mode 100644 index 0000000..57f2c1e --- /dev/null +++ b/src/assets/icons/icon-zh.svg @@ -0,0 +1 @@ + diff --git a/src/components/benchCol/index.vue b/src/components/benchCol/index.vue index e406d0a..41b9f64 100644 --- a/src/components/benchCol/index.vue +++ b/src/components/benchCol/index.vue @@ -50,8 +50,13 @@ type: Number, default: 0, }, + // 可编辑 + isEdit: { + type: Boolean, + default: false, + }, }) -const emit = defineEmits(['change']) +const emit = defineEmits(['change', 'editData', 'deleteData']) // 改变页容量 function handleSizeChange(val: number) { @@ -61,6 +66,15 @@ function handleCurrentChange(val: number) { emit('change', { page: val }) } + +// 点击编辑icon +function clickEdit() { + emit('editData') +} +// 点击删除icon +function clickDelete() { + emit('deleteData') +}