|
@@ -6,7 +6,7 @@ export const departmentQueryList = (params) => {
|
|
url: `/department/queryList`,
|
|
url: `/department/queryList`,
|
|
data: params,
|
|
data: params,
|
|
method: 'post',
|
|
method: 'post',
|
|
- headers:{
|
|
|
|
|
|
+ headers: {
|
|
'module': encodeURIComponent('申请部门查询')
|
|
'module': encodeURIComponent('申请部门查询')
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -17,7 +17,7 @@ export const employeeQueryList = (params) => {
|
|
url: `/employee/queryList`,
|
|
url: `/employee/queryList`,
|
|
data: params,
|
|
data: params,
|
|
method: 'post',
|
|
method: 'post',
|
|
- headers:{
|
|
|
|
|
|
+ headers: {
|
|
'module': encodeURIComponent('申请人查询')
|
|
'module': encodeURIComponent('申请人查询')
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -27,7 +27,7 @@ export const otherOrgQuery = (params) => {
|
|
return axios({
|
|
return axios({
|
|
url: `/otherorg/queryAll`,
|
|
url: `/otherorg/queryAll`,
|
|
method: 'get',
|
|
method: 'get',
|
|
- headers:{
|
|
|
|
|
|
+ headers: {
|
|
'module': encodeURIComponent('其它往来人员')
|
|
'module': encodeURIComponent('其它往来人员')
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -42,7 +42,7 @@ export const expenseAccountList = (params) => {
|
|
url: url,
|
|
url: url,
|
|
data: params,
|
|
data: params,
|
|
method: 'post',
|
|
method: 'post',
|
|
- headers:{
|
|
|
|
|
|
+ headers: {
|
|
'module': encodeURIComponent('列表查询')
|
|
'module': encodeURIComponent('列表查询')
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -54,7 +54,7 @@ export const expenseAccountUpdateBatch = (params) => {
|
|
url: url,
|
|
url: url,
|
|
data: params,
|
|
data: params,
|
|
method: 'post',
|
|
method: 'post',
|
|
- headers:{
|
|
|
|
|
|
+ headers: {
|
|
'module': encodeURIComponent('批量更新打印状态')
|
|
'module': encodeURIComponent('批量更新打印状态')
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -66,7 +66,7 @@ export const expenseAccountAgainEdit = (params) => {
|
|
url: url,
|
|
url: url,
|
|
data: params,
|
|
data: params,
|
|
method: 'post',
|
|
method: 'post',
|
|
- headers:{
|
|
|
|
|
|
+ headers: {
|
|
'module': encodeURIComponent('再次编辑')
|
|
'module': encodeURIComponent('再次编辑')
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -85,7 +85,7 @@ export const expenseAccountSave = (params) => {
|
|
url: `/expenseAccount/save`,
|
|
url: `/expenseAccount/save`,
|
|
data: params,
|
|
data: params,
|
|
method: 'post',
|
|
method: 'post',
|
|
- headers:{
|
|
|
|
|
|
+ headers: {
|
|
'module': encodeURIComponent('新增')
|
|
'module': encodeURIComponent('新增')
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -96,7 +96,7 @@ export const expenseAccountDelete = (params) => {
|
|
url: `/expenseAccount/deleteBySn/${params.expenseAccountSn}`,
|
|
url: `/expenseAccount/deleteBySn/${params.expenseAccountSn}`,
|
|
data: params,
|
|
data: params,
|
|
method: 'post',
|
|
method: 'post',
|
|
- headers:{
|
|
|
|
|
|
+ headers: {
|
|
'module': encodeURIComponent('删除')
|
|
'module': encodeURIComponent('删除')
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -107,7 +107,7 @@ export const expenseAccountSubmit = (params) => {
|
|
url: `/expenseAccount/submit`,
|
|
url: `/expenseAccount/submit`,
|
|
data: params,
|
|
data: params,
|
|
method: 'post',
|
|
method: 'post',
|
|
- headers:{
|
|
|
|
|
|
+ headers: {
|
|
'module': encodeURIComponent('提交')
|
|
'module': encodeURIComponent('提交')
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -118,7 +118,7 @@ export const expenseAcctDetailDelete = (params) => {
|
|
return axios({
|
|
return axios({
|
|
url: `/expenseAcctDetail/deleteDetail/${params.detailSn}`,
|
|
url: `/expenseAcctDetail/deleteDetail/${params.detailSn}`,
|
|
method: 'get',
|
|
method: 'get',
|
|
- headers:{
|
|
|
|
|
|
+ headers: {
|
|
'module': encodeURIComponent('删除')
|
|
'module': encodeURIComponent('删除')
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -129,7 +129,7 @@ export const expenseAcctDetailFindBySn = (params) => {
|
|
return axios({
|
|
return axios({
|
|
url: `/expenseAcctDetail/findBySn/${params.detailSn}`,
|
|
url: `/expenseAcctDetail/findBySn/${params.detailSn}`,
|
|
method: 'get',
|
|
method: 'get',
|
|
- headers:{
|
|
|
|
|
|
+ headers: {
|
|
'module': encodeURIComponent('费用明细')
|
|
'module': encodeURIComponent('费用明细')
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -140,7 +140,7 @@ export const expenseAcctDetailFindProductsBySn = (params) => {
|
|
return axios({
|
|
return axios({
|
|
url: `/expenseAcctDetail/findDetailProductsBySn/${params.detailSn}`,
|
|
url: `/expenseAcctDetail/findDetailProductsBySn/${params.detailSn}`,
|
|
method: 'get',
|
|
method: 'get',
|
|
- headers:{
|
|
|
|
|
|
+ headers: {
|
|
'module': encodeURIComponent('费用明细产品')
|
|
'module': encodeURIComponent('费用明细产品')
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -152,7 +152,7 @@ export const expenseAcctDetailFindList = (params) => {
|
|
url: `/expenseAcctDetail/findList`,
|
|
url: `/expenseAcctDetail/findList`,
|
|
data: params,
|
|
data: params,
|
|
method: 'post',
|
|
method: 'post',
|
|
- headers:{
|
|
|
|
|
|
+ headers: {
|
|
'module': encodeURIComponent('费用明细列表')
|
|
'module': encodeURIComponent('费用明细列表')
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -164,7 +164,7 @@ export const expenseAcctDetailSave = (params) => {
|
|
url: `/expenseAcctDetail/saveDetail`,
|
|
url: `/expenseAcctDetail/saveDetail`,
|
|
data: params,
|
|
data: params,
|
|
method: 'post',
|
|
method: 'post',
|
|
- headers:{
|
|
|
|
|
|
+ headers: {
|
|
'module': encodeURIComponent('保存费用明细')
|
|
'module': encodeURIComponent('保存费用明细')
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -175,7 +175,7 @@ export const updateBatchExpenseAcctDetail = (params) => {
|
|
url: `/expenseAcctDetail/updateDetailByAccount`,
|
|
url: `/expenseAcctDetail/updateDetailByAccount`,
|
|
data: params,
|
|
data: params,
|
|
method: 'post',
|
|
method: 'post',
|
|
- headers:{
|
|
|
|
|
|
+ headers: {
|
|
'module': encodeURIComponent('批量修改记账名称')
|
|
'module': encodeURIComponent('批量修改记账名称')
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -194,7 +194,7 @@ export const expenseImportDetail = (params) => {
|
|
url: '/expenseAcctDetail/importDetail',
|
|
url: '/expenseAcctDetail/importDetail',
|
|
data: params,
|
|
data: params,
|
|
method: 'post',
|
|
method: 'post',
|
|
- headers:{
|
|
|
|
|
|
+ headers: {
|
|
'module': encodeURIComponent('导入费用报销明细')
|
|
'module': encodeURIComponent('导入费用报销明细')
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -205,7 +205,7 @@ export const expenseInsertImport = (params) => {
|
|
url: '/expenseAcctDetail/insertImport',
|
|
url: '/expenseAcctDetail/insertImport',
|
|
data: params,
|
|
data: params,
|
|
method: 'post',
|
|
method: 'post',
|
|
- headers:{
|
|
|
|
|
|
+ headers: {
|
|
'module': encodeURIComponent('导入明细')
|
|
'module': encodeURIComponent('导入明细')
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -217,7 +217,7 @@ export const expenseFailExcel = (params) => {
|
|
data: params,
|
|
data: params,
|
|
method: 'post',
|
|
method: 'post',
|
|
responseType: 'blob',
|
|
responseType: 'blob',
|
|
- headers:{
|
|
|
|
|
|
+ headers: {
|
|
'module': encodeURIComponent('导出报销明细错误项')
|
|
'module': encodeURIComponent('导出报销明细错误项')
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -229,7 +229,7 @@ export const expenseAcctDetailSaveProducts = (params) => {
|
|
url: `/expenseAcctDetail/saveDetailProducts`,
|
|
url: `/expenseAcctDetail/saveDetailProducts`,
|
|
data: params,
|
|
data: params,
|
|
method: 'post',
|
|
method: 'post',
|
|
- headers:{
|
|
|
|
|
|
+ headers: {
|
|
'module': encodeURIComponent('保存费用明细产品')
|
|
'module': encodeURIComponent('保存费用明细产品')
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -244,7 +244,7 @@ export const expenseAccountDetailList = (params) => {
|
|
url: url,
|
|
url: url,
|
|
data: params,
|
|
data: params,
|
|
method: 'post',
|
|
method: 'post',
|
|
- headers:{
|
|
|
|
|
|
+ headers: {
|
|
'module': encodeURIComponent('费用报销明细列表查询')
|
|
'module': encodeURIComponent('费用报销明细列表查询')
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -266,19 +266,29 @@ export const expenseAcctDetailReport = (params) => {
|
|
data: params,
|
|
data: params,
|
|
method: 'post',
|
|
method: 'post',
|
|
responseType: 'blob',
|
|
responseType: 'blob',
|
|
- headers:{
|
|
|
|
|
|
+ headers: {
|
|
'module': encodeURIComponent('费用报销明细导出')
|
|
'module': encodeURIComponent('费用报销明细导出')
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
|
|
// 费用报销单审批进度
|
|
// 费用报销单审批进度
|
|
|
|
+// export const getProcessInstance = (params) => {
|
|
|
|
+// return axios({
|
|
|
|
+// url: `/dingTalk/getProcessInstance/${params.businessType}/${params.businessSn}`,
|
|
|
|
+// data: params,
|
|
|
|
+// method: 'post',
|
|
|
|
+// headers:{
|
|
|
|
+// 'module': encodeURIComponent('审核进度')
|
|
|
|
+// }
|
|
|
|
+// })
|
|
|
|
+// }
|
|
export const getProcessInstance = (params) => {
|
|
export const getProcessInstance = (params) => {
|
|
return axios({
|
|
return axios({
|
|
- url: `/dingTalk/getProcessInstance/${params.businessType}/${params.businessSn}`,
|
|
|
|
|
|
+ url: `/dingTalk/queryList`,
|
|
data: params,
|
|
data: params,
|
|
method: 'post',
|
|
method: 'post',
|
|
- headers:{
|
|
|
|
|
|
+ headers: {
|
|
'module': encodeURIComponent('审核进度')
|
|
'module': encodeURIComponent('审核进度')
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -288,7 +298,7 @@ export const getProcessInstanceList = (params) => {
|
|
return axios({
|
|
return axios({
|
|
url: `/dingTalk/getProcessInstanceList/${params.businessType}/${params.businessSn}`,
|
|
url: `/dingTalk/getProcessInstanceList/${params.businessType}/${params.businessSn}`,
|
|
method: 'get',
|
|
method: 'get',
|
|
- headers:{
|
|
|
|
|
|
+ headers: {
|
|
'module': encodeURIComponent('审核进度列表')
|
|
'module': encodeURIComponent('审核进度列表')
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -299,7 +309,7 @@ export const getDingTalkDepartmentList = (params) => {
|
|
url: `/dingTalk/getDingTalkDepartmentList/${params.deptId}`,
|
|
url: `/dingTalk/getDingTalkDepartmentList/${params.deptId}`,
|
|
data: params,
|
|
data: params,
|
|
method: 'post',
|
|
method: 'post',
|
|
- headers:{
|
|
|
|
|
|
+ headers: {
|
|
'module': encodeURIComponent('钉钉部门列表')
|
|
'module': encodeURIComponent('钉钉部门列表')
|
|
}
|
|
}
|
|
})
|
|
})
|
|
@@ -310,32 +320,32 @@ export const queryDingTalkDeptUser = (params) => {
|
|
url: `/dingTalk/queryDingTalkDeptUser/${params.deptId}/${params.pageNo}/${params.pageSize}`,
|
|
url: `/dingTalk/queryDingTalkDeptUser/${params.deptId}/${params.pageNo}/${params.pageSize}`,
|
|
data: params,
|
|
data: params,
|
|
method: 'post',
|
|
method: 'post',
|
|
- headers:{
|
|
|
|
|
|
+ headers: {
|
|
'module': encodeURIComponent('钉钉人员列表')
|
|
'module': encodeURIComponent('钉钉人员列表')
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
|
|
- // 同步钉钉部门人员
|
|
|
|
- export const refashDingTalkAllDeptUser = (params) => {
|
|
|
|
- return axios({
|
|
|
|
- url: `/dingTalk/syncAllDeptUser `,
|
|
|
|
- data: params,
|
|
|
|
- method: 'post',
|
|
|
|
- headers:{
|
|
|
|
- 'module': encodeURIComponent('刷新部门人员数据')
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
|
|
+// 同步钉钉部门人员
|
|
|
|
+export const refashDingTalkAllDeptUser = (params) => {
|
|
|
|
+ return axios({
|
|
|
|
+ url: `/dingTalk/syncAllDeptUser `,
|
|
|
|
+ data: params,
|
|
|
|
+ method: 'post',
|
|
|
|
+ headers: {
|
|
|
|
+ 'module': encodeURIComponent('刷新部门人员数据')
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+}
|
|
|
|
+
|
|
// 获取所以部门人员
|
|
// 获取所以部门人员
|
|
- export const getDingTalkAllDeptUser = (params) => {
|
|
|
|
- return axios({
|
|
|
|
- url: `/dingTalk/getAllDeptUser`,
|
|
|
|
- data: params,
|
|
|
|
- method: 'post',
|
|
|
|
- headers:{
|
|
|
|
- 'module': encodeURIComponent('部门人员数据')
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
- }
|
|
|
|
|
|
+export const getDingTalkAllDeptUser = (params) => {
|
|
|
|
+ return axios({
|
|
|
|
+ url: `/dingTalk/getAllDeptUser`,
|
|
|
|
+ data: params,
|
|
|
|
+ method: 'post',
|
|
|
|
+ headers: {
|
|
|
|
+ 'module': encodeURIComponent('部门人员数据')
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+}
|