diff --git a/src/views/sunVillage_info/statistical_report_edit.vue b/src/views/sunVillage_info/statistical_report_edit.vue index 0528892d..f828544e 100644 --- a/src/views/sunVillage_info/statistical_report_edit.vue +++ b/src/views/sunVillage_info/statistical_report_edit.vue @@ -55,14 +55,14 @@
大豆种植
- +
大豆种植
- +
@@ -73,14 +73,14 @@
各类合作社总数各类合
- +
牧业
- +
@@ -100,14 +100,14 @@
大豆种植
- +
大豆种植
- +
@@ -118,14 +118,14 @@
各类合作社总数各类合
- +
牧业
- +
@@ -158,12 +158,12 @@
{{val.projectName}}
{{val.measuringUnit}}
-
- + @@ -179,11 +179,11 @@ - + - + @@ -246,8 +246,8 @@ export default { updateBy:null, updateTime:null, templateName:null, //模板名称 - declarationTypeId:null, //申报类型 1 - principalName:null, //单位负责人 1 + declarationTypeId:null, //申报类型 1 + principalName:null, //单位负责人 1 preparer:null, //填表人 1 preparerDeptName:'', //填报单位 1 time:this.format(new Date(),'yyyy-MM-dd'), //填报时间 @@ -276,9 +276,9 @@ export default { value: 'dictValue', children: 'children', } - - - + + + }; }, created() { @@ -291,7 +291,7 @@ export default { this.declarationTypeValue = content[0].dictLabel; } - + }); }, mounted(){ @@ -305,7 +305,7 @@ export default { //編輯 let oId = this.$route.query.id; entityStatisticsDetail(oId).then((res)=>{ - + if(res.code == 200){ let content = res.data; // let obj = { @@ -326,8 +326,8 @@ export default { // updateBy:content.updateBy, // updateTime:content.updateTime, // templateName:content.templateName, //模板名称 - // declarationTypeId:content.declarationTypeId, //申报类型 1 - // principalName:content.principalName, //单位负责人 1 + // declarationTypeId:content.declarationTypeId, //申报类型 1 + // principalName:content.principalName, //单位负责人 1 // preparer:content.preparer, //填表人 1 // preparerDeptName:content.preparerDeptName, //填报单位 1 // time:content.time, @@ -349,11 +349,11 @@ export default { this.from = res.data; } - + }) } - this.getDicts("newBusinessEntity_statistics_project").then(res => { + this.getDicts("statistics_template_type").then(res => { if(res.code == 200){ let content = res.data; content.forEach((v)=>{ @@ -362,7 +362,7 @@ export default { this.statisticsProject = content; } }); - + }, methods: { projectOnFinish(data){ @@ -380,7 +380,7 @@ export default { if(value.tabIndex == 0){ //查看 entityStatisticsTemplate({statisticsTypeId:value.selectedOptions[0].dictValue}).then((response)=>{ - if(response.code == 200){ + if(response.code == 200){ let content = response.data; this.statisticsProject[Number(value.value)-1].children = content.map(item => { @@ -396,9 +396,9 @@ export default { }) } recursionFileMap(item.tEntityStatisticsNumberList) - - return { - dictLabel:item.templateName, + + return { + dictLabel:item.templateName, dictValue: item.templateId, templateForm:item, // templateForm:{ @@ -423,7 +423,7 @@ export default { message:'请选择模板!', type: 'danger' }); - + return false; }else if(this.from.declarationTypeId == null){ this.$notify({ @@ -448,7 +448,7 @@ export default { this.$router.push('/sunVillage_info/statistical_report') },1500) } - + }) }, typeDeclarationClick(){ @@ -465,7 +465,7 @@ export default { templateClick(){ this.popObj.templateVisbile = true; } - + }, } @@ -499,7 +499,7 @@ export default { top: 36px; } - + } .template_main{ padding:30px 24px 0; @@ -535,7 +535,7 @@ export default { align-items: center; justify-content: space-between; - + .title{ width: 465px; height: 64px; @@ -553,7 +553,7 @@ export default { background-size: 100% 100%; } - + } } .choose_main{ @@ -605,7 +605,7 @@ export default { } } } - + } .table_main{ padding:0px 24px 0 24px; @@ -701,11 +701,11 @@ export default { .van-cell { padding:20px 16px; background: none; - + } - - - + + + } @@ -782,7 +782,7 @@ export default { } - + } } }