筛查结果
This commit is contained in:
parent
9da8c95d2e
commit
ca5d324636
@ -9,7 +9,14 @@
|
|||||||
<view style="color: #2968F1;" @click="goToScreeningRecord" v-show="type != '1'">筛查记录</view>
|
<view style="color: #2968F1;" @click="goToScreeningRecord" v-show="type != '1'">筛查记录</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="tabbarCon">
|
<view class="tabbarCon">
|
||||||
<view style="text-align: center;color: #26A888;" v-if="screeningResultData.projectName">
|
<view style="text-align: center;
|
||||||
|
color: #26A888;
|
||||||
|
border-bottom: 1rpx solid #26A888;
|
||||||
|
padding-top: 17rpx;
|
||||||
|
position: relative;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%);
|
||||||
|
display: inline-block;" v-if="screeningResultData.projectName">
|
||||||
{{screeningResultData.projectName}}
|
{{screeningResultData.projectName}}
|
||||||
</view>
|
</view>
|
||||||
<uni-segmented-control :current="Inv" :values="items" @clickItem="onClickItem" styleType="text"
|
<uni-segmented-control :current="Inv" :values="items" @clickItem="onClickItem" styleType="text"
|
||||||
@ -175,29 +182,6 @@ import baseurl from '@/api/baseurl.js'
|
|||||||
baseurl: '',
|
baseurl: '',
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
// onLoad(e) {
|
|
||||||
// console.log(e);
|
|
||||||
// // this.type = e.type
|
|
||||||
// if(e) {
|
|
||||||
// this.registerId=e.projectId
|
|
||||||
// // this.patientld=uni.getStorageSync('patientId);
|
|
||||||
|
|
||||||
// this.patientld=52;
|
|
||||||
// this.getLastScreeningResult()
|
|
||||||
// // this.registerId= e.registerId
|
|
||||||
// }
|
|
||||||
// if (e.screeningId) {
|
|
||||||
// screeningResultDetail(e.screeningId).then(res => {
|
|
||||||
// this.items.push(res.data.data.projectName)
|
|
||||||
// this.screeningResultData = res.data.data
|
|
||||||
// })
|
|
||||||
// } else {
|
|
||||||
|
|
||||||
// // this.patientld= uni.getStorageSync('patientld');
|
|
||||||
// this.patientld=52;
|
|
||||||
// this.getLastScreeningResult()
|
|
||||||
// }
|
|
||||||
// },
|
|
||||||
onShow() {
|
onShow() {
|
||||||
this.baseurl = baseurl
|
this.baseurl = baseurl
|
||||||
console.log(baseurl)
|
console.log(baseurl)
|
||||||
@ -227,8 +211,7 @@ import baseurl from '@/api/baseurl.js'
|
|||||||
methods: {
|
methods: {
|
||||||
lookpath() {
|
lookpath() {
|
||||||
var that = this
|
var that = this
|
||||||
|
var url = that.baseurl + `/nurseApplet/screening/record/fileview?filePath=${that.screeningResultData.attachment}`
|
||||||
var url = that.baseurl + `/nurseApplet/screening/record/fileview/${that.screeningResultData.attachment}`
|
|
||||||
console.log(url, '1')
|
console.log(url, '1')
|
||||||
uni.downloadFile({
|
uni.downloadFile({
|
||||||
url: url,
|
url: url,
|
||||||
@ -299,7 +282,10 @@ import baseurl from '@/api/baseurl.js'
|
|||||||
lastScreeningResult(this.patientld, this.projectId).then(res => {
|
lastScreeningResult(this.patientld, this.projectId).then(res => {
|
||||||
|
|
||||||
// console.log(res);
|
// console.log(res);
|
||||||
|
if (res.data.projectName) {
|
||||||
this.items.push(res.data.projectName)
|
this.items.push(res.data.projectName)
|
||||||
|
|
||||||
|
}
|
||||||
this.screeningResultData = res.data
|
this.screeningResultData = res.data
|
||||||
this.isResult(this.Inv)
|
this.isResult(this.Inv)
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user