diff --git a/App.vue b/App.vue index 127baa3..c48d99b 100644 --- a/App.vue +++ b/App.vue @@ -47,22 +47,4 @@ line-height: 60rpx; color: #aaa; } - - .moreFormItem-enter-active, - .moreFormItem-leave-active { - transition: max-height 0.3s ease, opacity 0.3s ease; - overflow: hidden; - } - - .moreFormItem-enter-from, - .moreFormItem-leave-to { - max-height: 0; - opacity: 0; - } - - .moreFormItem-enter-to, - .moreFormItem-leave-from { - max-height: 500rpx; - opacity: 1; - } \ No newline at end of file diff --git a/api/contractInfo.js b/api/contractInfo.js new file mode 100644 index 0000000..21ce137 --- /dev/null +++ b/api/contractInfo.js @@ -0,0 +1,11 @@ +import { + request +} from '@/utils/request' + +export const listContractInfo = (query) => { + return request({ + url: '/oa/erp/contractInfo/list', + method: 'get', + data: query + }); +}; \ No newline at end of file diff --git a/api/user.js b/api/user.js new file mode 100644 index 0000000..ebc3a4d --- /dev/null +++ b/api/user.js @@ -0,0 +1,17 @@ +import { + request +} from '@/utils/request' + +export function getInfo() { + return request({ + url: '/system/user/getInfo', + method: 'get' + }); +} + +export function getRouters() { + return request({ + url: '/system/menu/getRouters', + method: 'get' + }); +} \ No newline at end of file diff --git a/api/workHourReporting.js b/api/workHourReporting.js new file mode 100644 index 0000000..1d7dbe8 --- /dev/null +++ b/api/workHourReporting.js @@ -0,0 +1,11 @@ +import { + request +} from '@/utils/request' + +export const listProjectInfo = (query) => { + return request({ + url: '/oa/erp/projectInfo/list', + method: 'get', + data: query + }); +}; \ No newline at end of file diff --git a/components/Card.vue b/components/Card.vue index fa99789..165d8c6 100644 --- a/components/Card.vue +++ b/components/Card.vue @@ -26,11 +26,10 @@ .title { color: #333; - font-size: 32rpx + font-size: 32rpx; + margin-bottom: 30rpx; } - .content { - margin-top: 30rpx; - } + .content {} } \ No newline at end of file diff --git a/components/DictTag.vue b/components/DictTag.vue index f754a4a..722f038 100644 --- a/components/DictTag.vue +++ b/components/DictTag.vue @@ -1,4 +1,4 @@ -