소스 검색

团队成员邮箱非必填;成员展示邮箱的地方改为展示手机号(脱敏)

htc 14 시간 전
부모
커밋
394e8da898

+ 2 - 1
components/CusTeamUser/index.vue

@@ -11,7 +11,8 @@
 						<text>{{item.realName||''}}</text>
 						<text>{{item.realName||''}}</text>
 						<view class="type">{{item.categoryName||''}}</view>
 						<view class="type">{{item.categoryName||''}}</view>
 					</view>
 					</view>
-					<view class="dialog-box-list-item-email">{{item.emailTM||''}}</view>
+					<!-- <view class="dialog-box-list-item-email">{{item.emailTM||''}}</view> -->
+					<view class="dialog-box-list-item-email">{{item.mobileTM||''}}</view>
 					<image class="dialog-box-list-item-delete" :src="imgBase+'icon_delete.png'" @click="deleteUser(item,index)" v-if="deluser"></image>
 					<image class="dialog-box-list-item-delete" :src="imgBase+'icon_delete.png'" @click="deleteUser(item,index)" v-if="deluser"></image>
 				</view>
 				</view>
 			</view>
 			</view>

+ 1 - 0
pagesHome/components/createList.vue

@@ -256,6 +256,7 @@ export default {
 				this.originTeamUserList = res.data;
 				this.originTeamUserList = res.data;
 				this.teamUserList.forEach(l=>{
 				this.teamUserList.forEach(l=>{
 					l.emailTM = this.$reg.desensitizeContent(l.email);
 					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)?.name;
 				})
 				})
 				this.teamUserShow = true
 				this.teamUserShow = true

+ 1 - 0
pagesHome/components/receiveList.vue

@@ -135,6 +135,7 @@
 						this.originTeamUserList = res.data;
 						this.originTeamUserList = res.data;
 						this.teamUserList.forEach(l=>{
 						this.teamUserList.forEach(l=>{
 							l.emailTM = this.$reg.desensitizeContent(l.email);
 							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)?.name;
 						})
 						})
 						this.teamUserShow = true
 						this.teamUserShow = true

+ 3 - 1
pagesMy/teamUser.vue

@@ -25,7 +25,8 @@
 											</view>
 											</view>
 										</template>
 										</template>
 									</view>
 									</view>
-									<view class="lbox-info-email">{{item.emailTM}}</view>
+									<!-- <view class="lbox-info-email">{{item.emailTM}}</view> -->
+									<view class="lbox-info-email">{{item.mobileTM}}</view>
 								</view>
 								</view>
 								<view class="lbox-edit" @click.stop="handleEdit(item)">
 								<view class="lbox-edit" @click.stop="handleEdit(item)">
 									<u-icon name="edit-pen" size="42rpx" color="#B9B9B9"></u-icon>
 									<u-icon name="edit-pen" size="42rpx" color="#B9B9B9"></u-icon>
@@ -109,6 +110,7 @@
 					this.list = [...this.list,...res.data.list]
 					this.list = [...this.list,...res.data.list]
 					this.list.forEach((l,i)=>{
 					this.list.forEach((l,i)=>{
 						l.emailTM = this.$reg.desensitizeContent(l.email);
 						l.emailTM = this.$reg.desensitizeContent(l.email);
+						l.mobileTM = this.$reg.desensitizeContent(l.mobile,2);
 						this.$set(this.list[i],'category','');
 						this.$set(this.list[i],'category','');
 						this.$set(this.list[i],'categoryName','');
 						this.$set(this.list[i],'categoryName','');
 						this.$set(this.list[i],'select',false);
 						this.$set(this.list[i],'select',false);

+ 1 - 1
pagesMy/teamUserDetail.vue

@@ -77,7 +77,7 @@
 			handleConfirm(){
 			handleConfirm(){
 				if(!this.userInfo.realName) return this.$showToast('请输入姓名')
 				if(!this.userInfo.realName) return this.$showToast('请输入姓名')
 				if(!this.$reg.mobile(this.userInfo.mobile)) return this.$showToast('请输入正确的手机号')
 				if(!this.$reg.mobile(this.userInfo.mobile)) return this.$showToast('请输入正确的手机号')
-				if(!this.$reg.email(this.userInfo.email)) return this.$showToast('请输入正确的邮箱')
+				// if(!this.$reg.email(this.userInfo.email)) return this.$showToast('请输入正确的邮箱')
 				
 				
 				this.$api[this.userInfo.id?'put':'post']('/core/member',this.userInfo).then(({data:res})=>{
 				this.$api[this.userInfo.id?'put':'post']('/core/member',this.userInfo).then(({data:res})=>{
 					if(res.code!==0) return this.$showToast(res.msg)
 					if(res.code!==0) return this.$showToast(res.msg)

+ 1 - 0
pagesPublish/questionnaireFill.vue

@@ -235,6 +235,7 @@
 					this.teamUserList = res.data;
 					this.teamUserList = res.data;
 					this.teamUserList.forEach(l=>{
 					this.teamUserList.forEach(l=>{
 						l.emailTM = this.$reg.desensitizeContent(l.email);
 						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)?.name;
 					})
 					})
 					this.userShow = true
 					this.userShow = true