|
@@ -365,7 +365,13 @@ import {getDicts} from "@/api/system/dict/data";
|
|
|
import EngineePipe from '@/components/EngineePipe'
|
|
|
import {validPhoneMobile} from '@/api/rules'
|
|
|
import ConstructionDetails from '@/components/ConstructionDetails/index.vue'
|
|
|
-import {getEnginMaterialQualityList, insertReview, engineeringCivilReview, downloadZip} from '@/api/zdsz/enginee'
|
|
|
+import {
|
|
|
+ getEnginMaterialQualityList,
|
|
|
+ insertReview,
|
|
|
+ engineeringCivilReview,
|
|
|
+ downloadZip,
|
|
|
+ downloadZipForSZ
|
|
|
+} from '@/api/zdsz/enginee'
|
|
|
import {getEnginSpecificationsList} from '@/api/zdsz/enginSpecifications'
|
|
|
|
|
|
export default {
|
|
@@ -534,7 +540,15 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
download(name){
|
|
|
- downloadZip(this.form.type=='1'?'工业工程':'市政工程',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)
|
|
|
},
|
|
|
changName(val) {
|
|
|
if (this.form.type == '1')
|
|
@@ -578,6 +592,7 @@ export default {
|
|
|
listImg =forInImg(item.backfilling,listImg)
|
|
|
}
|
|
|
item.zEngiineeringPhotoBoList=listImg;
|
|
|
+ item.nodeName = this.dictArr.find(o=>o.dictValue==this.$refs.ConstructionDetails.activeNames).dictLabel;
|
|
|
});
|
|
|
}
|
|
|
let params = checkingInfo
|