Compare commits

..

2 Commits

Author SHA1 Message Date
LiJianZhao f5718af4bc Merge branch 'main' of ssh://git.jizhiweb.cn:2222/clinic-v2/web 2025-04-30 10:39:45 +08:00
LiJianZhao bfbffd6664 dev 2025-04-30 10:39:36 +08:00
2 changed files with 16 additions and 4 deletions

View File

@ -39,8 +39,7 @@ const visitType = ref<any>({
const roleList = ref<any>([])
const initDoctor=()=> {
let query={
name: null,
sectionId: null,
keyword: null,
role:1
}
post('organization/member/search',{query:query}).then((res: any) => {

View File

@ -5,12 +5,18 @@
<div class="title_date">
<Picker></Picker>
</div>
<div class="search">
<el-input v-model="keyword" placeholder="搜索医生"
@keydown.enter="initDoctor"></el-input>
</div>
<div class="content_list">
<div class="role_list">
<ul>
<li :class="isShowNum==index?'active':''" v-for="(item, index) in roleList" :key="index"
@click="isShowNum=index">
<span class="name" :class="isShowNum==index?'active_name':''">{{ item.name }}</span>
<span class="name" :class="isShowNum==index?'active_name':''">{{ item.sectionName }}</span>
<span class="btn" :class="isShowNum==index?'active_btn':''" @click="openDialog(item)">挂号</span>
</li>
</ul>
@ -68,10 +74,11 @@ onMounted(() => {
initDoctor()
getPatientList()
})
const keyword = ref<any>('');
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;
}
}