diff --git a/src/api/schedule/index.js b/src/api/schedule/index.js index 87ac714..67f2161 100644 --- a/src/api/schedule/index.js +++ b/src/api/schedule/index.js @@ -73,3 +73,11 @@ export function nurseSchedule(params){ } ) } + +export function scheduleList(params){ + return request({ + method:'get', + url:'/api/admin/chart/schedule-list-log', + params + }) +} diff --git a/src/components/XySelectors/index.vue b/src/components/XySelectors/index.vue index 54e4bdf..46eb1d9 100644 --- a/src/components/XySelectors/index.vue +++ b/src/components/XySelectors/index.vue @@ -152,10 +152,10 @@ export default { } &-content{ min-height: 50px; - max-height: 400px; + max-height: 260px; overflow: scroll; - padding: 36px 0 44px 8px; + margin: 36px 0 44px 8px; &::-webkit-scrollbar-thumb{ background: $primaryColor; } @@ -164,6 +164,7 @@ export default { width: 100%; display: flex; justify-content: space-evenly; + background: #f0f3fa; position: absolute; bottom: 0; diff --git a/src/utils/index.js b/src/utils/index.js index b906823..812d0f3 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -214,3 +214,12 @@ export function deepCopy(data) { return data; } } +export function debounce(fn,delay=500){ + let timer = null + return function _debounce() { + if (timer) clearTimeout(timer) + timer = setTimeout(() => { + fn() + }, delay) + } +} diff --git a/src/views/finance/scheduleList.vue b/src/views/finance/scheduleList.vue new file mode 100644 index 0000000..d40f6ca --- /dev/null +++ b/src/views/finance/scheduleList.vue @@ -0,0 +1,291 @@ + + + + +