This commit is contained in:
2023-12-11 01:12:26 +08:00
parent e31e6d8fc5
commit 40bf8f8433
4 changed files with 10 additions and 5 deletions

View File

@@ -19,6 +19,10 @@
inputDialog.value.open()
},0)
}
let s = `$http({code:'1s'});if`
// // let arr = /\$http\((\S*)\)\;if/.exec(s);
let arr = s.match(/\$http\((.*)\)\;if/)
console.log(arr[1])
})
// 变量

View File

@@ -42,7 +42,8 @@
hospitals.value = res.data.list
}
}
function onClickH() {
function onInputH() {
console.log(hValue.value)
h_queryParams.value.key = hValue.value
getHospitalList()
@@ -215,8 +216,8 @@
手术医院</view>
<view class="rbc-content-row rbc-content-right">
<!-- {{h_info?.name}} -->
<uni-combox @input="onClickH" :candidates="hospitals" placeholder="请选择医院" @choosed="toChooseH" v-model="hValue"></uni-combox>
<uni-icons type="forward" color="gray" size="20"></uni-icons>
<uni-combox :border="false" @input="onInputH" :candidates="hospitals" placeholder="请选择医院" @choosed="toChooseH" v-model="userinfo.HospitalId"></uni-combox>
<!-- <uni-icons type="forward" color="gray" size="20"></uni-icons> -->
</view>
</view>
</view>