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/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/project/ConfirmLecturer.vue b/src/components/project/ConfirmLecturer.vue
index 7965643d..1bfaf3cd 100644
--- a/src/components/project/ConfirmLecturer.vue
+++ b/src/components/project/ConfirmLecturer.vue
@@ -195,7 +195,11 @@ watch(()=>props.visible,(val)=>{
}
).then(res=>{
if(res.data.code === 200){
- forData.value = res.data.data
+ forData.value = res.data.data;
+ //todo1 , 只有一个处理 初始化 处理数据 ,进行 激活处理
+ if(forData.value.length == 1){
+ activeList.value.push(0);
+ }
forData.value.forEach((item,i) => {
searchConditions.value.push({ nameUserNo: '', dateValue: [] });
expenseList.value.push(forData.value[i]?.expenseList || [])
diff --git a/src/components/project/LookInsideLecturer.vue b/src/components/project/LookInsideLecturer.vue
index ae15e8de..f5dd19b9 100644
--- a/src/components/project/LookInsideLecturer.vue
+++ b/src/components/project/LookInsideLecturer.vue
@@ -1,247 +1,240 @@
-
+
+
- 讲师名称
+
+ 讲师名称todo
-
+ 供应商
+
+
+
+
内容分类
+
课程名称
-
+
授课/课程日期 :
-
+
授课时长
+
评分
-
+
-
+
+
- 讲师名称
-
-
+ 讲师名称
+
+
- 讲师工号
-
-
+ 讲师工号
+
+
- 讲师组织
-
-
@@ -223,26 +216,23 @@
- 讲师体系
-
-
-
- 讲师级别
-
-
+ 讲师级别
+
+
- 讲师发薪地
-
-
+ 讲师发薪地
+
+
- 费用类型
-
-
+ 费用类型
+
+
- 课程名称
-
+
+ 课程名称
+
-
- 培训发生组织
-
+
+ 培训发生组织
+
-
- {{formParam.courseType==2?'课程':'授课'}}日期 :
-
-
+ {{ formParam.courseType == 2 ? '课程' : '授课' }}日期 :
+
+
- {{formParam.courseType==2?'课程时长':'授课时长'}}
-
-
- 参训人数
-
-
+ 参训人数
+
+
- 评分
-
-
+ 评分
+
+
- 课酬基准
-
-
+ 课酬基准
+
+
- 计划费用
-
-
+ 计划费用
+
+
+
+
-
+
-
- 培训发生组织编号:
-
-
- 培训发生组织名称:
-
-
- 是否为根节点:
-
-
- 组织担当:
-
-
-
-
- 一级审批人
-
-
-
-
- 审批流程是否加该担当
-
-
- 选择管理组织
-
-
+
+ 培训发生组织编号:
+
+
+ 培训发生组织名称:
+
+
+ 是否为根节点:
+
+
+ 组织担当:
+
+
+
+
+ 一级审批人
+
+
+
+
+ 审批流程是否加该担当
+
+
+ 选择管理组织
+
+
+
+ 培训发生组织编号:
+
+
+ 培训发生组织名称:
+
+
+ 是否为根节点:
+
+
+ 组织担当:
+
+
+
+
+ 一级审批人
+
+
+
+
+ 审批流程是否加该担当
+
+
+ 选择管理组织
+
+