|
@@ -43,6 +43,16 @@
|
|
|
>删除
|
|
|
</el-button>
|
|
|
</el-col>
|
|
|
+ <el-col :span="1.5">
|
|
|
+ <el-button
|
|
|
+ type="warning"
|
|
|
+ plain
|
|
|
+ icon="el-icon-download"
|
|
|
+ size="mini"
|
|
|
+ @click="handleExport"
|
|
|
+ v-hasPermi="['demo:demo:export']"
|
|
|
+ >导出</el-button>
|
|
|
+ </el-col>
|
|
|
<el-col :span="2.5" style="float: right;">
|
|
|
<span
|
|
|
style="height: 20px;margin-right: 5px;width: 20px; border-radius: 50%; display: inline-block; background-color: #807e7a;"></span>无数据
|
|
@@ -148,7 +158,7 @@
|
|
|
type="text"
|
|
|
icon="el-icon-download"
|
|
|
size="mini"
|
|
|
- @click="download(scope.row.enginName)"
|
|
|
+ @click="downloadZip(scope.row.enginName)"
|
|
|
>下载图片</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -413,7 +423,7 @@ export default {
|
|
|
remark: '', // 备注
|
|
|
zEngineeringNodeBo: {
|
|
|
type: null,
|
|
|
- zEngineeringInfoBo: {}, //节点信息
|
|
|
+ // zEngineeringInfoBo: {}, //节点信息
|
|
|
}
|
|
|
},
|
|
|
zEngineeringInfoBo: {
|
|
@@ -537,7 +547,7 @@ export default {
|
|
|
this.getList();
|
|
|
},
|
|
|
methods: {
|
|
|
- download(name){
|
|
|
+ downloadZip(name){
|
|
|
this.$download.zip(`/zdsz/engineeringPipeJacking/downloadZip/顶管工程/${name}`, name);
|
|
|
},
|
|
|
// 填写节点信息
|
|
@@ -781,7 +791,7 @@ export default {
|
|
|
handleExport() {
|
|
|
this.download('zdsz/engineeringPipeJacking/export', {
|
|
|
...this.queryParams
|
|
|
- }, `comprehensive_${new Date().getTime()}.xlsx`)
|
|
|
+ }, `顶管工程数据_${new Date().getTime()}.xlsx`)
|
|
|
}
|
|
|
}
|
|
|
};
|