zs 1 year ago
parent
commit
9c1306ed8c
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/users/detail/index.vue

+ 3 - 3
src/views/users/detail/index.vue

@@ -81,12 +81,12 @@ const search = async () => {
       // 所属社区
       res = await officeAxios.query({ belong: info.street, type: '1', is_use: '0' });
       if (res.errcode == '0') communityList.value = res.data;
-      if (info.role == 'sqry') {
-        fields.value.push({ label: '所属社区', model: 'community', type: 'select' });
-      }
       if (info.role != 'cs') {
         fields.value.push({ label: '所属街道', model: 'street', type: 'select' });
       }
+      if (info.role == 'sqry') {
+        fields.value.push({ label: '所属社区', model: 'community', type: 'select' });
+      }
     }
   }
 };