穴位检索
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user