diff --git a/src/api/school/salary/commissionPlans.js b/src/api/school/salary/commissionPlans.js new file mode 100644 index 0000000..313a684 --- /dev/null +++ b/src/api/school/salary/commissionPlans.js @@ -0,0 +1,25 @@ +import request from '@/utils/request' + +export function list(data) { + return request({ + url: '/commissionPlans/list', + method: 'post', + data: data + }) +} + +export function saveOrEdit(data) { + return request({ + url: '/commissionPlans/saveOrEdit', + method: 'post', + data: data + }) +} + +export function remove(data) { + return request({ + url: '/commissionPlans/remove', + method: 'get', + params: data + }) +} diff --git a/src/components/sc/course/cla/changeCla.vue b/src/components/sc/course/cla/changeCla.vue index 03d0668..f9e6000 100644 --- a/src/components/sc/course/cla/changeCla.vue +++ b/src/components/sc/course/cla/changeCla.vue @@ -7,7 +7,7 @@ 选择课程 - 重选 + 重选 diff --git a/src/main.js b/src/main.js index 3a0c894..02e37e1 100644 --- a/src/main.js +++ b/src/main.js @@ -46,6 +46,8 @@ import DictRadio from '@/components/DictRadio' import DictSelect from '@/components/DictSelect' import InBody from '@/components/InBody/InBody.vue' +import {dictTypeDataListByParentValue, getDictListByDictType} from "@/api/school/system/dict/data"; +import {downExportFile} from "@/utils/commonUtils"; // 全局方法挂载 Vue.prototype.getDicts = getDicts Vue.prototype.getConfigKey = getConfigKey @@ -61,6 +63,12 @@ Vue.prototype.addDateRange3 = addDateRange3 Vue.prototype.getHiddenName = getHiddenName Vue.prototype.getHiddenDetailAddress = getHiddenDetailAddress +Vue.prototype.getDictListByDictType = getDictListByDictType +Vue.prototype.dictTypeDataListByParentValue = dictTypeDataListByParentValue + +Vue.prototype.downExportFile = downExportFile + + Vue.prototype.msgSuccess = function(msg) { this.$message({ showClose: true, message: msg, type: 'success' }) } diff --git a/src/views/school/salary/commission_plans/index.vue b/src/views/school/salary/commission_plans/index.vue new file mode 100644 index 0000000..85733d1 --- /dev/null +++ b/src/views/school/salary/commission_plans/index.vue @@ -0,0 +1,266 @@ + + + diff --git a/src/views/school/salary/comps/CalTime.vue b/src/views/school/salary/comps/CalTime.vue index eee16f5..9be4133 100644 --- a/src/views/school/salary/comps/CalTime.vue +++ b/src/views/school/salary/comps/CalTime.vue @@ -10,14 +10,17 @@ 搜索 重置 - 新增 + 设置课时提成 - - + + + + +