穴位检索

This commit is contained in:
徐哼唧L
2024-01-17 17:15:05 +08:00
parent c86ccf46c4
commit 31ff846431
10 changed files with 588 additions and 420 deletions

View File

@@ -2,7 +2,7 @@
<view class="container">
<!-- 公共组件-每个页面必须引入 -->
<public-module></public-module>
<z-nav-bar title="方检索"></z-nav-bar>
<z-nav-bar title="方检索"></z-nav-bar>
<!-- <uni-search-bar @confirm="search" :focus="true" v-model="searchValue" @blur="blur" @focus="focus" @input="input"
@cancel="cancel" @clear="clear">
</uni-search-bar> -->
@@ -181,8 +181,6 @@
uni.navigateTo({
url: "./prescriptDetail?id=" + item.prescriptId
})
},
// 获取方剂名称
getTitles(id) {
@@ -242,11 +240,15 @@
this.searchValue = ''
this.searchList = []
this.showSearchList = false
if (index != 2) {
this.getTowCateList(id)
} else {
if (index == 2) {
this.getJFList(id)
} else if (index == 3) {
this.twoCateList = []
this.getTitles(id)
} else{
this.getTowCateList(id)
}
},
getTowCateList(id) {
$http.request({
@@ -315,6 +317,7 @@
console.log(e)
})
},
getCateList(id) {
id ? '' : id = 0
this.twoCateList = []