点击或将文件拖拽到此处上传
++ 点击或将文件拖拽到此处上传 +
支持扩展名:.xls/.xlsx
diff --git a/.env.test b/.env.test index 8772bab7..610f30a7 100644 --- a/.env.test +++ b/.env.test @@ -1,2 +1,3 @@ NODE_ENV=test -VUE_APP_BOE_API_URL=//u-pre.boe.com \ No newline at end of file +VUE_APP_BOE_API_URL=//u-pre.boe.com +VUE_APP_BASE_API=/manageApi \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index e500dfe5..b73ffc61 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3727,8 +3727,6 @@ "resolved": "https://registry.npmmirror.com/ajv/-/ajv-8.12.0.tgz", "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", "dev": true, - "optional": true, - "peer": true, "dependencies": { "fast-deep-equal": "^3.1.1", "json-schema-traverse": "^1.0.0", @@ -3740,9 +3738,7 @@ "version": "1.0.0", "resolved": "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true, - "optional": true, - "peer": true + "dev": true }, "node_modules/ajv-keywords": { "version": "3.5.2", @@ -14457,6 +14453,7 @@ "integrity": "sha512-yl+5qhpjd8e1G4cMXfORkkBlvtPCIgmRf3IYCWYDKIQ7m+PPa5iTm4feiNmCMD6yGqQWMhhK/7M3oWGL9boKwg==", "dev": true, "requires": { + "@babel/core": "^7.12.16", "@babel/helper-compilation-targets": "^7.12.16", "@babel/helper-module-imports": "^7.12.13", "@babel/plugin-proposal-class-properties": "^7.12.13", @@ -14469,6 +14466,7 @@ "@vue/babel-plugin-jsx": "^1.0.3", "@vue/babel-preset-jsx": "^1.1.2", "babel-plugin-dynamic-import-node": "^2.3.3", + "core-js": "^3.8.3", "core-js-compat": "^3.8.3", "semver": "^7.3.4" }, @@ -15334,14 +15332,15 @@ "resolved": "https://registry.npmmirror.com/ajv-formats/-/ajv-formats-2.1.1.tgz", "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", "dev": true, - "requires": {}, + "requires": { + "ajv": "^8.0.0" + }, "dependencies": { "ajv": { - "version": "https://registry.npmmirror.com/ajv/-/ajv-8.12.0.tgz", + "version": "8.12.0", + "resolved": "https://registry.npmmirror.com/ajv/-/ajv-8.12.0.tgz", "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", "dev": true, - "optional": true, - "peer": true, "requires": { "fast-deep-equal": "^3.1.1", "json-schema-traverse": "^1.0.0", @@ -15353,9 +15352,7 @@ "version": "1.0.0", "resolved": "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true, - "optional": true, - "peer": true + "dev": true } } }, diff --git a/src/api/Lecturer.js b/src/api/Lecturer.js index a2dc3415..cf92b45f 100644 --- a/src/api/Lecturer.js +++ b/src/api/Lecturer.js @@ -75,6 +75,13 @@ export const affiliationDelById = (id)=>http.post(`/admin/affiliation/delById?id export const isEnable = (obj) => http.post(`/admin/affiliation/isEnable`,obj) //撤回培训发生组织 export const affiliatIsConfirm = (id) => http.post(`/admin/affiliation/isConfirm?id=${id}`) +//删除 待提交 ,拒绝 的培训发生组织 +export const affiliatRemoveById = (id) => http.post(`/admin/affiliation/removeById?id=${id}`) + + + + + //讲师费统计详情 export const expenseSummaryById = (obj) => http.get( `/admin/expenseSummary/queryById?id=${obj.id}&name=${obj.name}&trainOrgId=${obj.trainOrgId||''}&pageNo=${obj.pageNo}&pageSize=${obj.pageSize}`) //撤回讲师费统计详情 diff --git a/src/api/Teaching.js b/src/api/Teaching.js index 497ef340..067466eb 100644 --- a/src/api/Teaching.js +++ b/src/api/Teaching.js @@ -23,8 +23,14 @@ export const importTeacherCourseRecord = (obj) => http.post('/importTeacherCours export const getAddress = (obj) => http.post('/admin/teacher/getAddress', obj) //讲师费发放情况 export const getCharges = (obj) => http.post('/teacher/fee/getCharges', obj) + +//讲师费发放情况 +export const exportTeacherExpense = (obj) => http.get('/admin/export/exportExpenseTemplate', {params: obj}) + + //上传组件 export const teacherUpload = (data) => http.post("/admin/teacher/teacherUpload", data, { headers: { "Content-Type": "multipart/form-data",token:getCookieForName("token") }, }); + diff --git a/src/api/lecturerFeeManagement.js b/src/api/lecturerFeeManagement.js index f5986576..cb0f5c2a 100644 --- a/src/api/lecturerFeeManagement.js +++ b/src/api/lecturerFeeManagement.js @@ -13,7 +13,7 @@ export const addTeacherFee= (obj) => http.post('/admin/teacherExpense/addTeacher export const deleteInTeacher= (obj) => http.post(`/admin/teacher/delByIdr?id=${obj}`) //修改讲师费信息 export const updateTeacherFee= (obj) => http.post('/admin/teacherExpense/editTeacherExpense',obj) -//修改讲师费状态提交 +//修改讲师费状态提交/admin/expenseBill export const updateStatusSubmit= (obj) => http.post('/admin/teacherExpense/confirm',obj) //修改讲师费状态撤回 export const approveTeacherFee= (obj) => http.post('/admin/teacherExpense/withdraw',obj) @@ -57,5 +57,7 @@ export const CreateSummary= () => http.post('/admin/expenseBill/CreateSummary') export const queryExpnseByBillId= (obj) => http.get('/admin/expenseBill/queryExpnseByBillId',{params:obj}) // export const CreateSummaryAgain= (id) => http.post(`/admin/expenseBill/createSummaryAgain?billId=${id}`) +//删除 费用审批删除 +export const expenseBillDelById = (id)=>http.post(`/admin/expenseBill/delById?id=${id}`) // export const submitApproval= (obj) => http.post('/admin/expenseBill/submitApproval',obj) \ No newline at end of file diff --git a/src/components/lecturer/ImportWork.vue b/src/components/lecturer/ImportWork.vue index 3b3b1f4f..0bdf26f0 100644 --- a/src/components/lecturer/ImportWork.vue +++ b/src/components/lecturer/ImportWork.vue @@ -9,7 +9,7 @@ :zIndex="9" @cancel="qr_exit" > -
点击或将文件拖拽到此处上传
++ 点击或将文件拖拽到此处上传 +
支持扩展名:.xls/.xlsx
+
+ 供应商
+
+
+
+
- 讲师名称
-
-
+ 讲师名称
+
+
- 讲师工号
-
-
+ 讲师工号
+
+
- 讲师组织
-
-
@@ -223,26 +216,23 @@
- 讲师体系
-
-
-
- 讲师级别
-
-
+ 讲师级别
+
+
- 讲师发薪地
-
-
+ 讲师发薪地
+
+
- 费用类型
-
-
+ 费用类型
+
+
- 课程名称
-
+
+ 课程名称
+
-
- 培训发生组织
-
+
+ 培训发生组织
+
-
- {{formParam.courseType==2?'课程':'授课'}}日期 :
-
-
+ {{ formParam.courseType == 2 ? '课程' : '授课' }}日期 :
+
+
- {{formParam.courseType==2?'课程时长':'授课时长'}}
-
-
- 参训人数
-
-
+ 参训人数
+
+
- 评分
-
-
+ 评分
+
+
- 课酬基准
-
-
+ 课酬基准
+
+
- 计划费用
-
-
+ 计划费用
+
+
+
+
-
+
-
- 培训发生组织编号:
-
-
- 培训发生组织名称:
-
-
- 是否为根节点:
-
-
- 组织担当:
-
-
-
-
- 一级审批人
-
-
-
-
- 审批流程是否加该担当
-
-
- 选择管理组织
-
-
+
+ 培训发生组织编号:
+
+
+ 培训发生组织名称:
+
+
+ 是否为根节点:
+
+
+ 组织担当:
+
+
+
+
+ 一级审批人
+
+
+
+
+ 审批流程是否加该担当
+
+
+ 选择管理组织
+
+
+
+ 培训发生组织编号:
+
+
+ 培训发生组织名称:
+
+
+ 是否为根节点:
+
+
+ 组织担当:
+
+
+
+
+ 一级审批人
+
+
+
+
+ 审批流程是否加该担当
+
+
+ 选择管理组织
+
+