htc 1 dzień temu
rodzic
commit
9f92d12178

+ 3 - 3
pagesHome/components/receiveList.vue

@@ -136,7 +136,7 @@
 						this.teamUserList.forEach(l=>{
 							l.emailTM = this.$reg.desensitizeContent(l.email);
 							l.mobileTM = this.$reg.desensitizeContent(l.mobile,2);
-							l.categoryName = this.categoryData.find(c=>c.id==l.category)?.name;
+							l.categoryName = this.categoryData.find(c=>c.id==l.category)?this.categoryData.find(c=>c.id==l.category).name:'';
 						})
 						this.teamUserShow = true
 					})
@@ -186,8 +186,8 @@
 					this.teamInfo.functionsName = res.data.functions.map(f=>f.functionName).join('、');
 					this.teamInfo.organizationsName = res.data.organizations.map(f=>f.orgName).join('、');
 					this.teamInfo.address = res.data.provinceName+res.data.cityName;
-					this.teamInfo.scaleName = this.teamScaleData.find(d=>d.id==res.data.scale).name;
-					this.teamInfo.hierarchyName = this.teamLevelData.find(d=>d.id==res.data.hierarchy).name;
+					this.teamInfo.scaleName = this.teamScaleData.find(d=>d.id==res.data.scale)?this.teamScaleData.find(d=>d.id==res.data.scale).name:'';
+					this.teamInfo.hierarchyName = this.teamLevelData.find(d=>d.id==res.data.hierarchy)?this.teamLevelData.find(d=>d.id==res.data.hierarchy).name:'';
 					this.teamInfoShow = true;
 				})
 			}

+ 1 - 1
pagesHome/components/report/generateList.vue

@@ -23,7 +23,7 @@
 					<view class="gbox-item-bottom adfacjb">
 						<view class="gbox-item-bottom-left adfac"></view>
 						<div class="gbox-item-bottom-rightbox adfac" v-if="item.type==1">
-							<view class="gbox-item-bottom-right" @click="forwardReport(item)" v-if="item.state==1&&item.fileUrl">发送邮件</view>
+							<!-- <view class="gbox-item-bottom-right" @click="forwardReport(item)" v-if="item.state==1&&item.fileUrl">发送邮件</view> -->
 							<view class="gbox-item-bottom-right" style="margin-left: 27rpx;" @click="reviewPdf(item)" v-if="item.state==1">预览报告</view>
 							<view class="gbox-item-bottom-right" style="margin-left: 27rpx;" @click="reviewReport(item)" v-if="item.state==1&&item.fileUrl">查看报告</view>
 							<view class="gbox-item-bottom-right" style="margin-left: 27rpx;" @click="reSendReport(item)" v-if="item.state==-1">重新生成</view>