|
@@ -2,12 +2,12 @@
|
|
|
<div class="scjg">
|
|
|
<div>
|
|
|
<div class="downloadDiv">
|
|
|
- <span>项目名称:{{ ruleForm.name }}</span>
|
|
|
+ <span>项目名称:{{ scjgObj.xmmc }}</span>
|
|
|
<el-button type="primary" size="mini" @click="download">
|
|
|
导出报告
|
|
|
</el-button>
|
|
|
</div>
|
|
|
- <div>分析面积:{{ ruleForm.xzmj }}平方千米</div>
|
|
|
+ <div>分析面积:{{ scjgObj.xzmj }}平方千米</div>
|
|
|
</div>
|
|
|
|
|
|
<div v-for="(eitem, i) in echarts" :key="i" class="echars">
|
|
@@ -63,8 +63,6 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
|
- this.ruleForm.name = hgxfx.name;
|
|
|
- this.ruleForm.xzmj = hgxfx.xzmj;
|
|
|
hgxfx.treeData.forEach((e) => {
|
|
|
if (e.label == "控制性详细规划") e.label = "详细规划分析";
|
|
|
this.echarts.push({ ...e, iseyes: false, isshow: true });
|
|
@@ -159,13 +157,10 @@ export default {
|
|
|
},
|
|
|
|
|
|
download() {
|
|
|
- window.open(this.$props.scjgObj.task.fxbg);
|
|
|
+ window.open(this.$props.scjgObj.fxbg); //this.$props.scjgObj.task.fxbg
|
|
|
},
|
|
|
viewReport() {
|
|
|
- window.open(
|
|
|
- this.$props.scjgObj.task.fxbg.replace(".docx", ".pdf"),
|
|
|
- "_blank"
|
|
|
- );
|
|
|
+ window.open(this.$props.scjgObj.fxbg.replace(".docx", ".pdf"), "_blank");
|
|
|
},
|
|
|
reset() {
|
|
|
this.dataSources = {};
|