浏览代码

修改一些无用的

yichael 4 年之前
父节点
当前提交
c11558fb1d
共有 4 个文件被更改,包括 12 次插入8 次删除
  1. 5 5
      components/login/loginByPWD.vue
  2. 2 1
      components/manager/assets.vue
  3. 3 1
      components/manager/project.vue
  4. 2 1
      components/manager/user.vue

+ 5 - 5
components/login/loginByPWD.vue

@@ -68,11 +68,11 @@
 						//登录成功
 						if (data.Code == 100) {
 							console.log("登陆成功",this.account,data);
-							if(data.Type!='老师')
-							{
-								alert('只有教师才有登录权限');
-								return;
-							}
+							// if(data.Type!='老师')
+							// {
+							// 	alert('只有教师才有登录权限');
+							// 	return;
+							// }
 							
 							mydata_userInfo.account = this.account;
 							mydata_userInfo.userID=data.UserID;

+ 2 - 1
components/manager/assets.vue

@@ -55,7 +55,7 @@
 			return {
 				pageTotalNum:1,
 				currentPage:1,
-				totalItem:8,
+				totalItem:7,
 				dataUsers_all: [],
 				bShowLastPageBtn:false,
 				bShowNextPageBtn:false,
@@ -343,6 +343,7 @@
 
 	.m_right_footer {
 		margin-top: 80rpx;
+		margin-bottom: 80rpx;
 	}
 
 	.m_logoimg {

+ 3 - 1
components/manager/project.vue

@@ -63,7 +63,7 @@
 			return {
 				pageTotalNum:1,
 				currentPage:1,
-				totalItem:8,
+				totalItem:7,
 				dataUsers_all: [],
 				checke: false,
 				bShowLastPageBtn:false,
@@ -425,7 +425,9 @@
 
 	.m_right_footer {
 		margin-top: 80rpx;
+		margin-bottom: 80rpx;
 	}
+	
 
 	.m_paging {
 		text-align: right;

+ 2 - 1
components/manager/user.vue

@@ -66,7 +66,7 @@
 			return {
 				pageTotalNum:1,
 				currentPage:1,
-				totalItem:8,
+				totalItem:7,
 				dataUsers_all: [],
 				bShowLastPageBtn:false,
 				bShowNextPageBtn:false,
@@ -617,6 +617,7 @@
 
 	.m_right_footer {
 		margin-top: 80rpx;
+		margin-bottom: 80rpx;
 	}
 
 	.m_paging {