diff --git a/src/components/registration/List.vue b/src/components/registration/List.vue index 28bc5e2..bfcb1f1 100644 --- a/src/components/registration/List.vue +++ b/src/components/registration/List.vue @@ -39,8 +39,7 @@ const visitType = ref({ const roleList = ref([]) const initDoctor=()=> { let query={ - name: null, - sectionId: null, + keyword: null, role:1 } post('organization/member/search',{query:query}).then((res: any) => { diff --git a/src/views/registration/index.vue b/src/views/registration/index.vue index df574f2..1f33734 100644 --- a/src/views/registration/index.vue +++ b/src/views/registration/index.vue @@ -5,12 +5,18 @@
+ +
  • {{ item.name }} + {{ item.sectionName }} 挂号
@@ -68,10 +74,11 @@ onMounted(() => { initDoctor() getPatientList() }) +const keyword = ref(''); + const initDoctor = () => { let query={ - name: null, - sectionId: null, + keyword: keyword.value, role:1 } post('organization/member/search',{query:query}).then((res: any) => { @@ -174,6 +181,12 @@ const close=()=>{ .active { background-color: #5078c8; } + .search{ + margin-top: 10px; + } + .content_list{ + margin-top: 10px; + } }