|
@@ -74,6 +74,16 @@
|
|
>删除
|
|
>删除
|
|
</el-button>
|
|
</el-button>
|
|
</el-col>
|
|
</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;">
|
|
<el-col :span="2.5" style="float: right;">
|
|
<span
|
|
<span
|
|
style="height: 20px;margin-right: 5px;width: 20px; border-radius: 50%; display: inline-block; background-color: #807e7a;"></span>无数据
|
|
style="height: 20px;margin-right: 5px;width: 20px; border-radius: 50%; display: inline-block; background-color: #807e7a;"></span>无数据
|
|
@@ -179,7 +189,7 @@
|
|
type="text"
|
|
type="text"
|
|
icon="el-icon-download"
|
|
icon="el-icon-download"
|
|
size="mini"
|
|
size="mini"
|
|
- @click="download(scope.row.enginName)"
|
|
|
|
|
|
+ @click="downloadZip(scope.row.enginName)"
|
|
>下载图片
|
|
>下载图片
|
|
</el-button>
|
|
</el-button>
|
|
<el-button
|
|
<el-button
|
|
@@ -870,7 +880,7 @@ export default {
|
|
this.form.supervisionHead = "";
|
|
this.form.supervisionHead = "";
|
|
this.supervisionHead = param.split(',')[1].split('、');
|
|
this.supervisionHead = param.split(',')[1].split('、');
|
|
},
|
|
},
|
|
- download(name) {
|
|
|
|
|
|
+ downloadZip(name) {
|
|
this.$download.zip(`/zdsz/engineeringPipeJacking/downloadZip/${'工业工程'}/${name}`, name);
|
|
this.$download.zip(`/zdsz/engineeringPipeJacking/downloadZip/${'工业工程'}/${name}`, name);
|
|
},
|
|
},
|
|
// 节点审核
|
|
// 节点审核
|
|
@@ -1354,9 +1364,9 @@ export default {
|
|
},
|
|
},
|
|
/** 导出按钮操作 */
|
|
/** 导出按钮操作 */
|
|
handleExport() {
|
|
handleExport() {
|
|
- this.download('zdsz/engineeringIndustry/export', {
|
|
|
|
|
|
+ this.download('zdsz/engineeringGY/export', {
|
|
...this.queryParams
|
|
...this.queryParams
|
|
- }, `comprehensive_${new Date().getTime()}.xlsx`)
|
|
|
|
|
|
+ }, `工业工程数据_${new Date().getTime()}.xlsx`)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
};
|
|
};
|