Browse Source

20250307

master
领悟 4 months ago
parent
commit
e604eafc52
  1. 8
      src/views/Patient/index.vue

8
src/views/Patient/index.vue

@ -11,7 +11,7 @@
<div class="patient-list-item">
<div class="search-box">
<a-input placeholder="姓名 (支持拼音、首拼、关键字)" style="width: 100%" size="large" v-model="searchVal"
@pressEnter="onSearch" allowClear @change="handleSearchChange">
@pressEnter="onSearch" allowClear>
<a-icon slot="prefix" type="search" @click="onSearch" />
</a-input>
</div>
@ -19,7 +19,7 @@
</div>
<div class="patient-detail">
<patient-detail ref="patientDetail" :firstAidData="firstAidData" :carList="carList" :carNo="carNo"
@change="changeComponent"></patient-detail>
@change="changeComponent" @on-success="onSearch"></patient-detail>
</div>
@ -228,10 +228,6 @@
'setVideo',
'setBook',
]),
handleSearchChange(e){
console.log(e.data)
if(!e.data) this.onSearch()
},
//
onSearch(data) {
this.$refs.patientList.getData(1, this.searchVal, 'search')

Loading…
Cancel
Save