| 
					
				 | 
			
			
				@@ -14,6 +14,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						<th>电话</th> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						<th>ilab账户</th> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						<th>注册时间</th> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						<th>身份</th> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						<th>分数</th> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						<th>修改信息</th> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						<th>删除</th> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -28,6 +29,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						<th>{{dataUser.PhoneNum}}</th> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						<th>{{dataUser.IlabAccount}}</th> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						<th>{{dataUser.SignTime}}</th> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						<th>{{dataUser.Type}}</th> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						<th>{{dataUser.TotalScore}}</th> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						<th class="btn_bg"><button type="default" size="mini" class="m_edit" @click="modify(dataUser)">修改</button></th> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						<th class="btn_bg"><button type="default" size="mini" class="m_delete" @click="deleteUser(dataUser)">删除</button></th> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -133,7 +135,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						for (let j = 0; j < UserScore.length; j++) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							let ascore = Number(UserScore[j].Score); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-							console.log('ascore=',ascore) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							// console.log('ascore=',ascore) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							if (ascore!=-1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 								totalScore += ascore; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							} 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -207,7 +209,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						]					 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					console.log('添加用户data===',data) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					// console.log('添加用户data===',data) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					uni.showLoading({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					    title: '上传中'   
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -225,7 +227,36 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							//100成功 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							if (res.data.Code == 100) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 								console.log("添加用户成功", res); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-								_self.paging(_self.currentPage); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								data = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									"UserID":dataUser.Id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									"Type":content_arr[15].input,					 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								uni.request({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									header: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										'Content-Type': 'application/json;charset=UTF-8' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									url: mydata_api + '/user/setusertype', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									method: 'POST', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									data: data, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									dataType: 'json', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									success: (res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										//100成功 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										if (res.data.Code == 100) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+											console.log("设置用户Type成功", res); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+											_self.paging(_self.currentPage); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										//200失败 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+											console.log('设置用户Type失败200', res);	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										uni.hideLoading(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									fail: (res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										console.log("设置用户Type失败"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										uni.hideLoading(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+								}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							//200失败 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							else { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -314,100 +345,13 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						'name':'证件号码', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						'input':'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						'type' :'text' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						'name':'身份', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						'input':'学生', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						'type' :'text' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				],callback); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// this.$refs.popForm.setContent([ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'name':'Ilab账号', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'input':'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'type' :'text' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'name':'设置用户', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'input':mydata_userInfo.userID, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'type' :'text' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'name':'被设置用户ID', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'input':'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'type' :'text' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'name':'姓名', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'input':'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'type' :'text' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'name':'学校', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'input':'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'type' :'text' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'name':'院系', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'input':'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'type' :'text' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'name':'专业', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'input':'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'type' :'text' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'name':'班级', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'input':'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'type' :'text' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'name':'学号', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'input':'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'type' :'text' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'name':'Post', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'input':'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'type' :'text' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'name':'职务', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'input':'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'type' :'text' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'name':'电话', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'input':'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'type' :'text' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'name':'邮箱', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'input':'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'type' :'text' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'name':'民族', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'input':'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'type' :'text' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'name':'政治面貌', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'input':'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'type' :'text' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'name':'籍贯', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'input':'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'type' :'text' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'name':'证件类型', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'input':'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'type' :'text' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'name':'证件号码', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'input':'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 		'type' :'text' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// 	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				// ],callback);	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			modify(dataUser) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			{ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -453,7 +397,36 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 								//100成功 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 								if (res.data.Code == 100) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 									console.log("修改用户信息成功", res); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-									_self.paging(_self.currentPage); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									data = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										"UserID":dataUser.Id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										"Type":content_arr[4].input,					 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									uni.request({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										header: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+											'Content-Type': 'application/json;charset=UTF-8' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										url: mydata_api + '/user/setusertype', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										method: 'POST', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										data: data, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										dataType: 'json', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										success: (res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+											//100成功 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+											if (res.data.Code == 100) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+												console.log("设置用户Type成功", res); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+												_self.paging(_self.currentPage); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+											} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+											//200失败 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+											else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+												console.log('设置用户Type失败200', res);	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+											} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+											uni.hideLoading(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										fail: (res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+											console.log("设置用户Type失败"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+											uni.hideLoading(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+										} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 								} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 								//200失败 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 								else { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -466,8 +439,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 								console.log("修改用户信息失败"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 								uni.hideLoading(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						});			 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				this.$refs.popForm.setContent([ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -490,6 +462,11 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						'name':'电话', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						'input':dataUser.PhoneNum, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						'type' :'text' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						'name':'身份', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						'input':dataUser.Type, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						'type' :'text' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				],callback); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			}, 
			 |