|
@@ -242,18 +242,40 @@ export default {
|
|
for(let i=0;i<response.data.length;i++){
|
|
for(let i=0;i<response.data.length;i++){
|
|
if(response.data[i].noticeType == 1){
|
|
if(response.data[i].noticeType == 1){
|
|
let data1 = response.data[i].noticeWay.split(',');
|
|
let data1 = response.data[i].noticeWay.split(',');
|
|
- this.$set(this.examineForm,'data1',data1);
|
|
|
|
- this.$set(this,'examineType',data1[2]?true:false);
|
|
|
|
|
|
+ if(this.versionField() == 'xiBeiNongLinDaXue'){
|
|
|
|
+ let list1 = []
|
|
|
|
+ for(let i=0;i<data1.length;i++){
|
|
|
|
+ if(data1[i] != 3){
|
|
|
|
+ list1.push(data1[i])
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ this.$set(this.examineForm,'data1',list1);
|
|
|
|
+ this.$set(this,'examineType',data1[1]?true:false);
|
|
|
|
+ }else{
|
|
|
|
+ this.$set(this.examineForm,'data1',data1);
|
|
|
|
+ this.$set(this,'examineType',data1[2]?true:false);
|
|
|
|
+ }
|
|
this.$set(this,'data1Id',response.data[i].id);
|
|
this.$set(this,'data1Id',response.data[i].id);
|
|
}else if(response.data[i].noticeType == 2){
|
|
}else if(response.data[i].noticeType == 2){
|
|
let data2 = response.data[i].noticeWay.split(',');
|
|
let data2 = response.data[i].noticeWay.split(',');
|
|
- this.$set(this.examineForm,'data2',data2);
|
|
|
|
- this.$set(this,'rectificationType',data2[2]?true:false);
|
|
|
|
|
|
+ if(this.versionField() == 'xiBeiNongLinDaXue'){
|
|
|
|
+ let list2 = []
|
|
|
|
+ for(let i=0;i<data2.length;i++){
|
|
|
|
+ if(data2[i] != 3){
|
|
|
|
+ list2.push(data2[i])
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ this.$set(this.examineForm,'data2',list2);
|
|
|
|
+ this.$set(this,'rectificationType',data2[1]?true:false);
|
|
|
|
+ }else{
|
|
|
|
+ this.$set(this.examineForm,'data2',data2);
|
|
|
|
+ this.$set(this,'rectificationType',data2[2]?true:false);
|
|
|
|
+ }
|
|
this.$set(this,'data2Id',response.data[i].id);
|
|
this.$set(this,'data2Id',response.data[i].id);
|
|
}else if(response.data[i].noticeType == 3){
|
|
}else if(response.data[i].noticeType == 3){
|
|
let data3 = response.data[i].noticeWay.split(',');
|
|
let data3 = response.data[i].noticeWay.split(',');
|
|
this.$set(this.examineForm,'data3',data3);
|
|
this.$set(this.examineForm,'data3',data3);
|
|
- this.$set(this,'reviewType',data3[2]?true:false);
|
|
|
|
|
|
+ this.$set(this,'reviewType',data3[1]?true:false);
|
|
this.$set(this,'data3Id',response.data[i].id);
|
|
this.$set(this,'data3Id',response.data[i].id);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -299,10 +321,18 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
examineChange(item){
|
|
examineChange(item){
|
|
- if(item[2]){
|
|
|
|
- this.$set(this,'examineType',true);
|
|
|
|
|
|
+ if(this.versionField() == 'xiBeiNongLinDaXue'){
|
|
|
|
+ if(item[1]){
|
|
|
|
+ this.$set(this,'examineType',true);
|
|
|
|
+ }else{
|
|
|
|
+ this.$set(this,'examineType',false);
|
|
|
|
+ }
|
|
}else{
|
|
}else{
|
|
- this.$set(this,'examineType',false);
|
|
|
|
|
|
+ if(item[2]){
|
|
|
|
+ this.$set(this,'examineType',true);
|
|
|
|
+ }else{
|
|
|
|
+ this.$set(this,'examineType',false);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
rectificationAll(item){
|
|
rectificationAll(item){
|
|
@@ -318,10 +348,18 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
rectificationChange(item){
|
|
rectificationChange(item){
|
|
- if(item[2]){
|
|
|
|
- this.$set(this,'rectificationType',true);
|
|
|
|
|
|
+ if(this.versionField() == 'xiBeiNongLinDaXue'){
|
|
|
|
+ if(item[1]){
|
|
|
|
+ this.$set(this,'rectificationType',true);
|
|
|
|
+ }else{
|
|
|
|
+ this.$set(this,'rectificationType',false);
|
|
|
|
+ }
|
|
}else{
|
|
}else{
|
|
- this.$set(this,'rectificationType',false);
|
|
|
|
|
|
+ if(item[2]){
|
|
|
|
+ this.$set(this,'rectificationType',true);
|
|
|
|
+ }else{
|
|
|
|
+ this.$set(this,'rectificationType',false);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
reviewAll(item){
|
|
reviewAll(item){
|