|
@@ -541,15 +541,8 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
download(name){
|
|
|
- // console.log(this.dictArr)
|
|
|
- // console.log(this.dictArr)
|
|
|
- // let str = '';
|
|
|
- // if (this.form.type=='2'){
|
|
|
- // str = this.dictArr.find(o=>o.dictValue==this.$refs.ConstructionDetails.activeNames).dictLabel;
|
|
|
- // }else if (this.form.type=='1'){
|
|
|
- // str = '工业数据';
|
|
|
- // }
|
|
|
- downloadZipForSZ(this.form.type=='1'?'工业工程':'市政工程',name)
|
|
|
+ // downloadZipForSZ(this.form.type=='1'?'工业工程':'市政工程',name)
|
|
|
+ this.$download.zip(`/zdsz/engineeringIndustry/downloadZip/${this.form.type=='1'?'工业工程':'市政工程'}/${name}`, name);
|
|
|
},
|
|
|
changName(val) {
|
|
|
if (this.form.type == '1')
|