Compare commits
2 Commits
44b7ee2c33
...
f5718af4bc
| Author | SHA1 | Date |
|---|---|---|
|
|
f5718af4bc | |
|
|
bfbffd6664 |
|
|
@ -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) => {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue