|
|
@ -5,10 +5,10 @@ |
|
|
<view class="item-inner" v-html="item.custom" v-if="item.custom" @click="edit" :data-item="item" :data-key="key"></view> |
|
|
<view class="item-inner" v-html="item.custom" v-if="item.custom" @click="edit" :data-item="item" :data-key="key"></view> |
|
|
</list-box> |
|
|
</list-box> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="bot-con"> |
|
|
<view class="bot-con"> |
|
|
<view class="title PfScMedium">治疗记录</view> |
|
|
<view class="title PfScMedium">治疗记录</view> |
|
|
<visitor-account :open="true" :disabled="true"></visitor-account> |
|
|
<visitor-account :open="true" :disabled="true" :depart_id="depart_id" :visitor_id="visitor_id"></visitor-account> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="bot-con"> |
|
|
<view class="bot-con"> |
|
|
@ -16,7 +16,7 @@ |
|
|
<view class="content" v-html="notice"></view> |
|
|
<view class="content" v-html="notice"></view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="btPadding pagebt"></view> |
|
|
<view class="btPadding pagebt"></view> |
|
|
|
|
|
|
|
|
<view class="fixedBot btPadding"> |
|
|
<view class="fixedBot btPadding"> |
|
|
<view class="submit"> |
|
|
<view class="submit"> |
|
|
<view :class="'btn cancel'+(showCancelBook?' btn1':' btn3')" hover-class="hover" @click="reback">返回</view> |
|
|
<view :class="'btn cancel'+(showCancelBook?' btn1':' btn3')" hover-class="hover" @click="reback">返回</view> |
|
|
@ -24,7 +24,7 @@ |
|
|
<!-- <view class="btn primary btn1" hover-class="hover" v-if="showReBook && !showCancelBook" @click="rebook">重新预约</view> --> |
|
|
<!-- <view class="btn primary btn1" hover-class="hover" v-if="showReBook && !showCancelBook" @click="rebook">重新预约</view> --> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view :class="'ccpop'+(popkey==0?' bed-edit-pop':'')"> |
|
|
<view :class="'ccpop'+(popkey==0?' bed-edit-pop':'')"> |
|
|
<uni-popup ref="popup" type="bottom" background-color="#fff"> |
|
|
<uni-popup ref="popup" type="bottom" background-color="#fff"> |
|
|
<view class="edit-pop-title PfScSemibold">{{poptitle}}</view> |
|
|
<view class="edit-pop-title PfScSemibold">{{poptitle}}</view> |
|
|
@ -38,7 +38,7 @@ |
|
|
|
|
|
|
|
|
</uni-popup> |
|
|
</uni-popup> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</template> |
|
|
</template> |
|
|
@ -47,7 +47,7 @@ |
|
|
import listBox from '@/components/listBox.vue'; |
|
|
import listBox from '@/components/listBox.vue'; |
|
|
import visitorAccount from '@/components/visitorAccount.vue' |
|
|
import visitorAccount from '@/components/visitorAccount.vue' |
|
|
import userCard from '@/components/userCard.vue'; |
|
|
import userCard from '@/components/userCard.vue'; |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
@ -71,6 +71,7 @@ |
|
|
showCancelBook:false, |
|
|
showCancelBook:false, |
|
|
redirect:'/pages/prebook_list/prebook_list', |
|
|
redirect:'/pages/prebook_list/prebook_list', |
|
|
bookId:false, |
|
|
bookId:false, |
|
|
|
|
|
visitor_id:0, |
|
|
depart_id:false, |
|
|
depart_id:false, |
|
|
bookInfo:false, |
|
|
bookInfo:false, |
|
|
showReBook:false, |
|
|
showReBook:false, |
|
|
@ -86,6 +87,7 @@ |
|
|
// if(option.index) this.redirect = '/pages/index/index' |
|
|
// if(option.index) this.redirect = '/pages/index/index' |
|
|
if(option.id) this.bookId = option.id |
|
|
if(option.id) this.bookId = option.id |
|
|
if(option.depart_id) this.depart_id = option.depart_id |
|
|
if(option.depart_id) this.depart_id = option.depart_id |
|
|
|
|
|
if(option.visitor_id) this.visitor_id = option.visitor_id |
|
|
}, |
|
|
}, |
|
|
onShow() { |
|
|
onShow() { |
|
|
if(!this.bookId || !this.depart_id){ |
|
|
if(!this.bookId || !this.depart_id){ |
|
|
@ -103,7 +105,7 @@ |
|
|
submitEdit(e){ |
|
|
submitEdit(e){ |
|
|
var obj = this.$refs.usercard_0[0].getData() |
|
|
var obj = this.$refs.usercard_0[0].getData() |
|
|
console.log(obj) |
|
|
console.log(obj) |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
closepop(){ |
|
|
closepop(){ |
|
|
this.$refs.popup.close() |
|
|
this.$refs.popup.close() |
|
|
@ -155,7 +157,7 @@ |
|
|
this.$func.toPage('/pages/index/index') |
|
|
this.$func.toPage('/pages/index/index') |
|
|
}, |
|
|
}, |
|
|
changeType() { |
|
|
changeType() { |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
getBookDetail(){ |
|
|
getBookDetail(){ |
|
|
this.$http.req('user/get_appoint_detail', {appoint_id:this.bookId,depart_id:this.depart_id}, 'POST').then(data=>{ |
|
|
this.$http.req('user/get_appoint_detail', {appoint_id:this.bookId,depart_id:this.depart_id}, 'POST').then(data=>{ |
|
|
@ -178,10 +180,10 @@ |
|
|
this.showCancelBook = false |
|
|
this.showCancelBook = false |
|
|
} |
|
|
} |
|
|
this.list[0].custom = "<view class='bi flex'><view class='"+this.status+" status'><view class='over status_text'>"+bookInfo.status_desc+"</view></view><img src="+this.cssUrl+"bi.svg></view>" |
|
|
this.list[0].custom = "<view class='bi flex'><view class='"+this.status+" status'><view class='over status_text'>"+bookInfo.status_desc+"</view></view><img src="+this.cssUrl+"bi.svg></view>" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.list[1].custom = "<view class='bi flex'><text>2诊室13床</text><img src="+this.cssUrl+"bi.svg></view>" |
|
|
this.list[1].custom = "<view class='bi flex'><text>2诊室13床</text><img src="+this.cssUrl+"bi.svg></view>" |
|
|
|
|
|
|
|
|
this.list[2].rightTitle = bookInfo.name |
|
|
this.list[2].rightTitle = bookInfo.name |
|
|
this.list[3].rightTitle = bookInfo.hospital_name |
|
|
this.list[3].rightTitle = bookInfo.hospital_name |
|
|
this.list[4].rightTitle = bookInfo.depart_name |
|
|
this.list[4].rightTitle = bookInfo.depart_name |
|
|
@ -225,7 +227,7 @@ |
|
|
border-radius: 40rpx; |
|
|
border-radius: 40rpx; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
.list-box,.bot-con{ |
|
|
.list-box,.bot-con{ |
|
|
width: calc(100% - 34rpx); |
|
|
width: calc(100% - 34rpx); |
|
|
height: auto; |
|
|
height: auto; |
|
|
@ -252,14 +254,14 @@ |
|
|
backdrop-filter: blur(54.4rpx); |
|
|
backdrop-filter: blur(54.4rpx); |
|
|
box-shadow: 0rpx -2rpx 6rpx 0rpx rgba(181, 181, 181, 0.1319); |
|
|
box-shadow: 0rpx -2rpx 6rpx 0rpx rgba(181, 181, 181, 0.1319); |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
|
|
|
|
|
|
.btn.btn1{ |
|
|
.btn.btn1{ |
|
|
border-radius: 12rpx; |
|
|
border-radius: 12rpx; |
|
|
width: 300rpx; |
|
|
width: 300rpx; |
|
|
height: 90rpx; |
|
|
height: 90rpx; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.list-box{ |
|
|
.list-box{ |
|
|
.item-wrapper{ |
|
|
.item-wrapper{ |
|
|
.item-inner ::v-deep{ |
|
|
.item-inner ::v-deep{ |
|
|
@ -323,7 +325,7 @@ |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.queue-text{ |
|
|
.queue-text{ |
|
|
height: 40rpx; |
|
|
height: 40rpx; |
|
|
font-size: 28rpx; |
|
|
font-size: 28rpx; |
|
|
|