|
@@ -559,6 +559,7 @@ module.exports = app => {
|
|
|
const tenderALLInfo = await ctx.service.tender.getDataById(tender.id);
|
|
|
const hadMap = tenderALLInfo.had_map === 0 ? 3 : tenderALLInfo.had_map;// 0为初始值,因为默认可能会变化,所以暂时把0都默认为1。共三种模式坐标模式1,图片模式2,无图模式3。
|
|
|
// const tenderMapList = await ctx.service.tenderMap.getAllDataByCondition({ where: { tid: tender.id } });
|
|
|
+ const tenderMapList = [];
|
|
|
// 默认坐标,否则则取办事处坐标
|
|
|
// const projectData = await ctx.service.project.getDataById(ctx.session.sessionProject.id);
|
|
|
// let map_json = {
|
|
@@ -605,8 +606,8 @@ module.exports = app => {
|
|
|
map_pic: tenderALLInfo.map_pic,
|
|
|
jsFiles: this.app.jsFiles.common.concat(this.app.jsFiles.tender.tenderInfo),
|
|
|
gclChapter,
|
|
|
- // tenderMapList,
|
|
|
- // map_json,
|
|
|
+ tenderMapList,
|
|
|
+ map_json,
|
|
|
fujianOssPath: ctx.app.config.fujianOssPath,
|
|
|
canFinish,
|
|
|
buildStatus: tenderConst.buildStatus,
|