Compare commits
2 Commits
44b7ee2c33
...
f5718af4bc
| Author | SHA1 | Date |
|---|---|---|
|
|
f5718af4bc | |
|
|
bfbffd6664 |
|
|
@ -39,8 +39,7 @@ const visitType = ref<any>({
|
||||||
const roleList = ref<any>([])
|
const roleList = ref<any>([])
|
||||||
const initDoctor=()=> {
|
const initDoctor=()=> {
|
||||||
let query={
|
let query={
|
||||||
name: null,
|
keyword: null,
|
||||||
sectionId: null,
|
|
||||||
role:1
|
role:1
|
||||||
}
|
}
|
||||||
post('organization/member/search',{query:query}).then((res: any) => {
|
post('organization/member/search',{query:query}).then((res: any) => {
|
||||||
|
|
|
||||||
|
|
@ -5,12 +5,18 @@
|
||||||
<div class="title_date">
|
<div class="title_date">
|
||||||
<Picker></Picker>
|
<Picker></Picker>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="search">
|
||||||
|
<el-input v-model="keyword" placeholder="搜索医生"
|
||||||
|
@keydown.enter="initDoctor"></el-input>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="content_list">
|
<div class="content_list">
|
||||||
<div class="role_list">
|
<div class="role_list">
|
||||||
<ul>
|
<ul>
|
||||||
<li :class="isShowNum==index?'active':''" v-for="(item, index) in roleList" :key="index"
|
<li :class="isShowNum==index?'active':''" v-for="(item, index) in roleList" :key="index"
|
||||||
@click="isShowNum=index">
|
@click="isShowNum=index">
|
||||||
<span class="name" :class="isShowNum==index?'active_name':''">{{ item.name }}</span>
|
<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>
|
<span class="btn" :class="isShowNum==index?'active_btn':''" @click="openDialog(item)">挂号</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
@ -68,10 +74,11 @@ onMounted(() => {
|
||||||
initDoctor()
|
initDoctor()
|
||||||
getPatientList()
|
getPatientList()
|
||||||
})
|
})
|
||||||
|
const keyword = ref<any>('');
|
||||||
|
|
||||||
const initDoctor = () => {
|
const initDoctor = () => {
|
||||||
let query={
|
let query={
|
||||||
name: null,
|
keyword: keyword.value,
|
||||||
sectionId: null,
|
|
||||||
role:1
|
role:1
|
||||||
}
|
}
|
||||||
post('organization/member/search',{query:query}).then((res: any) => {
|
post('organization/member/search',{query:query}).then((res: any) => {
|
||||||
|
|
@ -174,6 +181,12 @@ const close=()=>{
|
||||||
.active {
|
.active {
|
||||||
background-color: #5078c8;
|
background-color: #5078c8;
|
||||||
}
|
}
|
||||||
|
.search{
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
.content_list{
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue