htc 1 день назад
Родитель
Сommit
481d4660f6
1 измененных файлов с 65 добавлено и 0 удалено
  1. 65 0
      pagesHome/components/createList.vue

+ 65 - 0
pagesHome/components/createList.vue

@@ -62,6 +62,14 @@
 				</view>
 			</view>
 		</view>
+		<div class="alert adffcacjc" v-if="alertShow">
+			<div class="alert-box">
+				<div class="alert-box-title">温馨提示</div>
+				<image :src="imgBase+'remind_close.png'" class="alert-box-close" @click="alertShow=false"></image>
+				<div class="alert-box-text">该问卷尚未生成报告<br>请确认团队人员是否全部作答<br>完成后点击生成报告</div>
+				<div class="zt_btn" @click="alertShow=false">我知道了</div>
+			</div>
+		</div>
 		<cus-team-user :deluser="true" :show="teamUserShow" :list="teamUserList" @close="teamUserShow=false"></cus-team-user>
 	</view>
 </template>
@@ -83,6 +91,7 @@
 				show:false,
 				teamInfoShow:false,
 				teamUserShow:false,
+				alertShow:false,
 				dto:null,
 				menuList:[
 					{
@@ -155,8 +164,19 @@
 					uni.navigateTo({
 						url:'/pagesHome/questionnaireEdit?id='+this.dto.id||''
 					})
+				}else if(type===1){
+					
 				}else if(type===2) this.teamInfoShow = true 
+				else if(type===3) {
+					this.$showToast('复制成功')
+				}
 				else if(type===4) this.teamUserShow = true
+				else if(type===5){
+					this.$showToast('问卷未完成,全部团队人员作答后才能生成报告')
+				}
+				else if(type===6){
+					this.alertShow = true;
+				}
 			},
 			handleConfirm(){
 				this.teamInfoShow = false;
@@ -421,5 +441,50 @@
 				}
 			}
 		}
+	
+		.alert{
+			position: fixed;
+			left: 0;
+			right: 0;
+			top: 0;
+			bottom: 0;
+			z-index: 1002;
+			background: rgba(0, 0, 0, .4);
+			&-box{
+				width: calc(100% - 100rpx);
+				padding: 54rpx 99rpx 48rpx;
+				box-sizing: border-box;
+				position: relative;
+				background: url('https://gitee.com/hw_0302/chuang-heng-wechat-images/raw/master/alert_bg.png') no-repeat;
+				background-size: 100% 100%;
+				&-title{
+					font-family: PingFang-SC, PingFang-SC;
+					font-weight: bold;
+					font-size: 36rpx;
+					color: #002846;
+					line-height: 56rpx;
+					text-align: center;
+				}
+				&-close{
+					width: 48rpx;
+					height: 48rpx;
+					position: absolute;
+					top: 40rpx;
+					right: 30rpx;
+				}
+				&-text{
+					font-family: PingFangSC, PingFang SC;
+					font-weight: 400;
+					font-size: 30rpx;
+					color: #002846;
+					line-height: 48rpx;
+					text-align: center;
+					margin-top: 32rpx;
+				}
+				.zt_btn{
+					margin-top: 66rpx;
+				}
+			}
+		}
 	}
 </style>