Commit a315a7fd by 孙香冬

no message

parent 311525d0
......@@ -96,12 +96,19 @@ export async function fuHuaQiBaseList(lv:number, institutionalNature:number, ind
let enterpriseMap = await groupFindEnterprise();//企业总数
let dataBaseList = await findFuHuaQiList(selectParam, (page-1)*10 );
let count = await findFuHuaQiCount(selectParam);
let dataList = [];
dataBaseList.forEach( info => {
let changeData:any = tools.extractData(FuHuaQiBaseListConfig, info);
// let hatchingGround = info.hatchingGround;
// hatchingGround.forEach (info => {
// let {personInChargeAdd, siteAcreage, leasePrice} = info;
// changeData.personInChargeAdd = personInChargeAdd;
// changeData.siteAcreage = siteAcreage;
// changeData.leasePrice = leasePrice;
// })
let enterpriseTotal = enterpriseMap[info.uscc] || 0;
let numOfEntities = enterpriseTotal - (info.virtualEnterpriseNum || 0 );
numOfEntities = numOfEntities < 0 ? 0 : numOfEntities;
......
......@@ -19,9 +19,7 @@ export const FuHuaQiBaseListConfig = {
liaisonPhone:{key:"联系电话"},
personInCharge:{key:"负责人"},
personInChargePhone:{key:"负责人联系电话"},
personInChargeAdd:{key:"孵化场地地址"},
siteAcreage:{key:"孵化场地面积(㎡)"},
leasePrice:{key:"孵化场地出租单价"},
hatchingGround:{key:"经备案孵化场地"},
};
/**
......
......@@ -125,7 +125,11 @@ async function getMonthList(req, res) {
res.success(result);
}
/**
* 后台管理 新增孵化器账号
* @param req
* @param res
*/
async function addUser(req, res) {
let reqConf = {form: 'Object' };
let { form } = checkReqParam(reqConf, req.body);
......@@ -135,6 +139,11 @@ async function addUser(req, res) {
}
/**
* 所属孵化器
* @param req
* @param res
*/
async function affiliationFuHuaQi(req, res) {
let result = await enterpriseBiz.getAffiliationFuHuaQi();
res.success(result);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment