diff --git a/src/api/hr/paiban/index.ts b/src/api/hr/paiban/index.ts new file mode 100644 index 0000000..bb43d3e --- /dev/null +++ b/src/api/hr/paiban/index.ts @@ -0,0 +1,65 @@ +import request from '@/utils/request'; +import { AxiosPromise } from 'axios'; + + +/** + * 新增职务分类 + */ + export function companyDutyInit(data?: any){ + return request({ + url: '/systemapi/app/companyDutyInit', + method: 'post', + data: data + }); +} +/** + * 新增职务分类 + */ + export function getYearMonthWorkMan(data?: any){ + return request({ + url: '/systemapi/app/getYearMonthWorkMan', + method: 'post', + data: data + }); +} +/** + * 新增职务分类 + */ + export function geiOrgAllPeople(data?: any){ + return request({ + url: '/systemapi/app/geiOrgAllPeople', + method: 'post', + data: data + }); +} +/** + * 编辑值班信息 + */ + export function saveEditDutyInfo(data?: any){ + return request({ + url: '/systemapi/app/saveEditDutyInfo', + method: 'post', + data: data + }); +} + +/** + * 删除排班信息 + */ + export function delOneDayDuty(data?: any){ + return request({ + url: '/systemapi/app/delOneDayDuty', + method: 'post', + data: data + }); +} +/** + * 获取潘板信息 + */ + export function getDutyCont(data?: any){ + return request({ + url: '/systemapi/app/getDutyCont', + method: 'post', + data: data + }); +} diff --git a/src/components/DesignForm/tableListPage/index.vue b/src/components/DesignForm/tableListPage/index.vue index 0df0289..7a91c76 100644 --- a/src/components/DesignForm/tableListPage/index.vue +++ b/src/components/DesignForm/tableListPage/index.vue @@ -1644,10 +1644,10 @@ const readerColumnSun = (column: any) => { countLenght = countLenght + item.label.length * 15; } }); - // console.log("表头label长度-->", countLenght); + console.log("表头label长度-->", countLenght); return countLenght; } else { - return 100; + return 80; } }; @@ -1882,6 +1882,7 @@ const readerColumnSun = (column: any) => { :data="tableDataList" @selection-change="selectionChange" table-layout="fixed" + border >