Browse Source

测试并未微调

ming 4 years ago
parent
commit
3ac835279f
3 changed files with 7 additions and 10 deletions
  1. 6 6
      pages/authAdd/authAdd.vue
  2. 1 2
      pages/authManage/authManage.vue
  3. 0 2
      pages/index/index.vue

+ 6 - 6
pages/authAdd/authAdd.vue

@@ -43,14 +43,14 @@
 			<view class="form-item margin-top">
 				<view class="title">
 					<text class="necessary">*</text>
-					告警类型
+					角色权限
 				</view>
 				<radio-group name="gender" @change="radioChange">
 					<label class="margin-right">
-						<radio value="3" checked /><text>全部告警</text>
+						<radio value="2" checked /><text>维护人员</text>
 					</label>
 					<label>
-						<radio value="2" /><text>维保告警</text>
+						<radio value="3" /><text>供电人员</text>
 					</label>
 				</radio-group>
 			</view>
@@ -106,14 +106,14 @@
 			<view class="form-item margin-top">
 				<view class="title">
 					<text class="necessary">*</text>
-					告警类型
+					角色权限
 				</view>
 				<radio-group name="gender" @change="radioChange">
 					<label class="margin-right">
-						<radio value="3" :checked='authorityData.permissionLabel == 3' /><text>全部告警</text>
+						<radio value="2" :checked='authorityData.permissionLabel == 2' /><text>维护人员</text>
 					</label>
 					<label>
-						<radio value="2" :checked='authorityData.permissionLabel == 2' /><text>维保告警</text>
+						<radio value="3" :checked='authorityData.permissionLabel == 3' /><text>供电人员</text>
 					</label>
 				</radio-group>
 			</view>

+ 1 - 2
pages/authManage/authManage.vue

@@ -73,8 +73,7 @@
 		},
 
 		onLoad: function(option) {
-			this.getAuthData()
-			
+			this.getAuthData()
 		},
 		methods: {
 			

+ 0 - 2
pages/index/index.vue

@@ -182,8 +182,6 @@
 				// 		url: '/pages/login/login',
 				// 	});
 				// }, 2000);
-				
-
 			}