Merge branch 'xiaozy_产品列表' of http://121.196.213.68:3000/xiaozhiyong/refinery-admin into lixuan

This commit is contained in:
lixuan
2023-02-27 16:53:54 +08:00
21 changed files with 1387 additions and 564 deletions

View File

@@ -8,13 +8,14 @@ const getRefineryCompanyList = (params) => {
};
// 远程搜索用户
const liekQuery = (query) => {
return request.get(
`oil-user/sysCustomerInfo/liekQuery/${query.queryTypeGet}`
);
return request.get(`oil-user/sysCustomerInfo/liekQuery/${query}`);
};
// 用户详情
const getInfo = (id) => {
return request.get(`/oil-user/oilCompanyInfo/get/${id}`);
};
//公司账户信息
const getByCompanyId = (query) => {
const getByCompanyIdAccount = (query) => {
return request.get(`/oil-finance/oilCompanyAccount/getByCompanyId/${query}`);
};
//公司财务信息
@@ -29,7 +30,8 @@ const getByCompanyIdAuth = (id) => {
export default {
getRefineryCompanyList,
liekQuery,
getByCompanyId,
getInfo,
getByCompanyIdAccount,
getByCompanyIdFinance,
getByCompanyIdAuth,
};

View File

@@ -0,0 +1,58 @@
import request from "utils/axios.js";
// table
const getByPage = (params) => {
return request.postJson("/oil-user/oilCompanyInfo/getByPage", params);
};
//详情
const getCompanyAccountRecord = (params) => {
return request.postJson(
"oil-finance/oilCompanyAccountRecord/getCompanyAccountRecord",
params
);
};
//保存
const save = (params) => {
return request.postJson("/oil-user/oilCompanyInfo/save", params);
};
//修改
const update = (params) => {
return request.postPut("oil-user/oilCompanyInfo/update", params);
};
//认证信息保存
const saveAttestation = (params) => {
return request.postJson("/oil-user/oilCompanyAuth/save", params);
};
//认证信息修改
const updateAttestation = (params) => {
return request.postPut("oil-user/oilCompanyAuth/update", params);
};
//财务信息保存
const saveFinance = (params) => {
return request.postJson("/oil-user/oilCompanyFinance/save", params);
};
//财务信息修改
const updateFinance = (params) => {
return request.postPut("oil-user/oilCompanyFinance/update", params);
};
//企业负责人 远程搜索
const liekQuery = (query) => {
return request.get(`/oil-user/sysCustomerInfo/liekQuery/${query}`);
};
// 级联
const getTree = () => {
return request.get("/oil-dict/areaCode/getTree");
};
export default {
getByPage,
getCompanyAccountRecord,
update,
liekQuery,
save,
getTree,
saveAttestation,
updateAttestation,
saveFinance,
updateFinance,
// getInfo,
};

View File

@@ -20,9 +20,9 @@ const save = (params) => {
return request.postJson("/oil-finance/oilCompanyAccountReverse/save", params);
};
const getInfo = (id) => {
return request.get(`/oil-user/oilCompanyInfo/get/${id}`);
};
// const getInfo = (id) => {
// return request.get(`/oil-user/oilCompanyInfo/get/${id}`);
// };
// //详情
// const getCompanyAccountRecord = (params) => {
@@ -37,5 +37,5 @@ export default {
get,
save,
// getByCompanyIdAuth,
getInfo,
// getInfo,
};

View File

@@ -26,7 +26,7 @@ const update = (params) => {
params
);
};
// 企业收款账户
// 级联
const getCascaderList = () => {
return request.get("/oil-finance/internalCompany/getCascaderList");
};