This commit is contained in:
2024-03-18 18:49:39 +08:00
parent 19d61ee266
commit c615a96e2f

View File

@ -9,7 +9,7 @@
<view class="inputs">
<view class="inputitem">
<i class="icon"></i>
<input type="text" name="" id="" class="input" placeholder="搜索" v-model="formdata.name">
<input type="text" name="" id="" class="input" placeholder="搜索" v-model="formdata.patientName">
</view>
</view>
</view>
@ -80,6 +80,7 @@
optionindex: 0,
optionname: '全部',
formdata: {
patientName: '',
pageNum: 1,
pageSize: 1000,
doctorId: uni.getStorageSync("id"),
@ -93,7 +94,7 @@
}
},
watch: {
"formdata.name": {
"formdata.patientName": {
handler(newvalue, oldvalue) {
if (this.status == 1) {
this.info()