diff --git a/src/api/chart.js b/src/api/chart.js index 4cfdf7a..7b00d9e 100644 --- a/src/api/chart.js +++ b/src/api/chart.js @@ -9,6 +9,15 @@ export function leaveList(params, isLoading = true) { }) } +export function leaveDetail(params, isLoading = true) { + return request({ + method: 'get', + url: '/api/oa/chart/leave-detail', + params, + isLoading + }) +} + export function overtimeList(params,isLoading = true) { return request({ method: 'get', @@ -26,3 +35,5 @@ export function otherOvertimeList(params,isLoading = true) { isLoading }) } + + diff --git a/src/views/attendance/leavedetailchart.vue b/src/views/attendance/leavedetailchart.vue new file mode 100644 index 0000000..123d1ad --- /dev/null +++ b/src/views/attendance/leavedetailchart.vue @@ -0,0 +1,198 @@ + + + + + diff --git a/src/views/flow/DesktopForm.vue b/src/views/flow/DesktopForm.vue index aa833cb..2810ee8 100644 --- a/src/views/flow/DesktopForm.vue +++ b/src/views/flow/DesktopForm.vue @@ -235,6 +235,7 @@ export default { this.readable.indexOf(field.id) !== -1 || field.type === "label", _writeable: this.writeable.indexOf(field.id) !== -1, })); + console.log("authFields",authFields) if (this.needFlowTitle) { authFields.unshift({ name: "flow_title",