diff --git a/src/api/system/allowAdjustment.js b/src/api/system/allowAdjustment.js new file mode 100644 index 0000000..ae041d7 --- /dev/null +++ b/src/api/system/allowAdjustment.js @@ -0,0 +1,9 @@ +import request from '@/utils/request' + +// 查询是否允许更改 +export function getAllowAdjustment() { + return request({ + url: '/attendance/param/allow/adjustment', + method: 'get', + }) +} diff --git a/src/views/attendance/statistical/index.vue b/src/views/attendance/statistical/index.vue index 9fe7846..9a076d0 100644 --- a/src/views/attendance/statistical/index.vue +++ b/src/views/attendance/statistical/index.vue @@ -126,13 +126,16 @@ diff --git a/src/views/system/staff/index.vue b/src/views/system/staff/index.vue index 55e7d48..0433289 100644 --- a/src/views/system/staff/index.vue +++ b/src/views/system/staff/index.vue @@ -78,14 +78,17 @@ >新增 - 清除补助 + + 清除补助 + 导入信息 - 上传五险一金 + + 上传五险一金 + - 上传销售提成 + + 上传销售提成 + @@ -709,67 +718,74 @@ - - - - - + + + + + + + + - - - - - + + + + + + + - - - - - + + + + + + + 个税抵扣详情 - + - + - + - + - + - + @@ -915,6 +931,7 @@ import { listAllDepts } from '@/api/system/dept'; import { listAllOptions } from '@/api/personnelMatters/subsidyInformation'; import { getToken } from "@/utils/auth"; import Treeselect from "@riophae/vue-treeselect"; +import { getAllowAdjustment } from "@/api/system/allowAdjustment"; import "@riophae/vue-treeselect/dist/vue-treeselect.css"; export default { @@ -946,6 +963,8 @@ export default { openWorker: false, //全额,离职,转正显示标识 disPlayFlag: "0", + //是否允许调整 + allowAdjustment: true, // 员工信息导入 upload: { // 是否显示弹出层(员工导入) @@ -1076,6 +1095,7 @@ export default { }; }, created() { + this.getAllowAdjustment(); this.getList(); this.getDeptList(); this.getSubsidyList(); @@ -1113,6 +1133,12 @@ export default { this.deptOptions = response; }); }, + + getAllowAdjustment(){ + getAllowAdjustment().then(response => { + this.allowAdjustment = response.data; + }); + }, /** 查询员工管理列表 */ getList() { this.loading = true;