|
@@ -3,8 +3,8 @@ var data = {
|
|
|
datalist: [{
|
|
|
xmmc: '东岸卓越城项目合规性分析', xzmj: 0.16, xmlx: '合规性分析', jsdw: "建设单位", rwzt: 2,
|
|
|
bsm: '767d0754a41f43fb86982678134ff768',
|
|
|
- geojson: '/static/data/ghss/导入.geojson',
|
|
|
- fxbg: "@/../static/data/ghss/合规性分析报告.docx",
|
|
|
+ geojson: '/static/data/ghss/hgxfx1/导入.geojson',
|
|
|
+ fxbg: "@/../static/data/ghss/hgxfx1/合规性分析报告.docx",
|
|
|
}],
|
|
|
treeData: [
|
|
|
{ id: "XZFX", label: "现状分析" },
|
|
@@ -92,9 +92,10 @@ var data = {
|
|
|
]
|
|
|
};
|
|
|
data.addList = function (adata) {
|
|
|
+ let fid = adata.xmmc.indexOf("东岸卓越城项目") >= 0 ? 1 : 2;
|
|
|
if (!adata.bsm) adata.bsm = '767d0754a41f43fb86982678134ff768'
|
|
|
- if (!adata.geojson) adata.geojson = '/static/data/ghss/导入.geojson'
|
|
|
- if (!adata.fxbg) adata.fxbg = '@/../static/data/ghss/合规性分析报告.docx'
|
|
|
+ if (!adata.geojson)adata.geojson = `/static/data/ghss/hgxfx${fid}/导入.geojson`
|
|
|
+ if (!adata.fxbg) adata.fxbg = `@/../static/data/ghss/hgxfx${fid}/合规性分析报告.docx`
|
|
|
if (!adata.rwzt) adata.rwzt = 2
|
|
|
data.datalist.unshift(adata)
|
|
|
}
|