123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <template>
- <view class="content">
- <image-search v-if="searchType==='image'" />
- <text-search v-if="searchType==='text'" />
- <voice-search v-if="searchType==='voice'" />
- </view>
- </template>
- <script>
- import textSearch from '@/views/patientItems/search/text/index'
- import imageSearch from '@/views/patientItems/search/image/index'
- import voiceSearch from '@/views/patientItems/search/voice/index'
- export default{
- components:{
- textSearch,imageSearch,voiceSearch
- },
- data(){
- return{
- searchType:"image"
-
- }
- },
- onLoad(options) {
- let type=options.type;
- this.searchType=type;
- let title="诊断";
- if(type==="image"){
- title="医学影像诊断";
- }else if(type==="text"){
- title="文本诊断";
- }else if(type==="voice"){
- title="语音诊断";
- }
- uni.setNavigationBarTitle({
- title
- })
- }
- }
- </script>
- <style>
- </style>
|