diff --git a/.env.base b/.env.base index 4bc8726..978fb4c 100644 --- a/.env.base +++ b/.env.base @@ -6,9 +6,9 @@ VITE_DEV=true # 请求路径 # VITE_BASE_URL='http://localhost:48080' -# VITE_BASE_URL='http://47.98.161.246:48080' +VITE_BASE_URL='http://47.98.161.246:48080' # VITE_BASE_URL='http://114.55.169.15:48080' -VITE_BASE_URL='http://114.215.207.150:48080' +# VITE_BASE_URL='http://114.215.207.150:48080' # 上传路径 VITE_UPLOAD_URL='http://47.98.161.246:48080/admin-api/system/file/upload' diff --git a/src/api/okr/meeting.js b/src/api/okr/meeting.js new file mode 100644 index 0000000..6cdaad4 --- /dev/null +++ b/src/api/okr/meeting.js @@ -0,0 +1,45 @@ +import request from '@/config/axios' + +export const createMeeting = (data) => { + return request.post({ + url: '/admin-api/okr/meeting/add', + data, + isSubmitForm: true + // headers: { 'instance-id': 1016 } + }) +} + +// 修改 +export const updateMeeting = (data) => { + return request.put({ + url: '/admin-api/okr/meeting/update', + data + // headers: { 'instance-id': 1016 } + }) +} +// 查询详情 +export const getMeetingDetail = (params) => { + return request.get({ + url: '/admin-api/okr/meeting/get', + params + // headers: { 'instance-id': 1016 } + }) +} + +// 取消会议 +export const cancelMeeting = (data) => { + return request.put({ + url: '/admin-api/okr/meeting/cancel', + data + // headers: { 'instance-id': 1016 } + }) +} + +// 分页查询 +export const getMeetingPage = (params) => { + return request.get({ + url: '/admin-api/okr/meeting/page', + params + // headers: { 'instance-id': 1016 } + }) +} diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index b563980..337d2f9 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -50,16 +50,16 @@ const remainingRouter: AppRouteRecordRaw[] = [ noTagsView: true } }, - { - path: '', - component: Layout, - redirect: '/Home/index', - name: '', - meta: { - title: '首页', - hidden: true - } - }, + // { + // path: '', + // component: Layout, + // redirect: '/Home/index', + // name: '', + // meta: { + // title: '首页', + // hidden: true + // } + // }, { path: '/swagger', component: () => import('@/views/Basic/Swagger/index.vue'), diff --git a/src/views/OKR/Meeting/MeetingInfo.vue b/src/views/OKR/Meeting/MeetingInfo.vue index 78083ba..30c441f 100644 --- a/src/views/OKR/Meeting/MeetingInfo.vue +++ b/src/views/OKR/Meeting/MeetingInfo.vue @@ -1,16 +1,23 @@