12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <template>
- <view class="main pdt0">
- <view class="bgm">
- <view class="form_group">
- <view class="lable">姓名</view>
- <view class="desc">{{ item.name }}</view>
- </view>
- <view class="form_group">
- <view class="lable">性别</view>
- <view class="desc">{{ item.sex == 'F' ? '女' : '男' }}</view>
- </view>
- <view class="form_group">
- <view class="lable">生日</view>
- <view class="desc" v-if="item.birthDate">{{ item.birthDate.substring(0, 11) }}</view>
- </view>
- <view class="form_group">
- <view class="lable">国籍</view>
- <view class="desc">{{ item.nationality }}</view>
- </view>
- <view class="form_group">
- <view class="lable">民族</view>
- <view class="desc">{{ item.nation }}</view>
- </view>
- <view class="form_group">
- <view class="lable">电话</view>
- <view class="desc">{{ item.phone }}</view>
- </view>
- <view class="form_group">
- <view class="lable">身份证</view>
- <view class="desc">{{ item.sfzh }}</view>
- </view>
- <view class="form_group">
- <view class="lable">婚姻状况</view>
- <view class="desc">
- <text v-if="item.marital == 'S'">未婚</text>
- <text v-if="item.marital == 'M'">已婚</text>
- <text v-if="item.marital == 'D'">离异</text>
- <text v-if="item.marital == 'W'">丧偶</text>
- <text v-if="item.marital == 'U'">未知</text>
- </view>
- </view>
- <view class="form_group">
- <view class="lable">职业</view>
- <view class="desc">{{ item.career }}</view>
- </view>
- <view class="form_group">
- <view class="lable">地址</view>
- <view class="desc">{{ item.address }}</view>
- </view>
- </view>
- <view class="bz">
- <text class="icon"></text>
- <text>预留在医院的信息</text>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- item: {}
- };
- },
- onLoad(e) {
- this.http.request({
- url: '/app/user/bind/detail/' + e.id,
- success: (res) => {
- this.item = res.data.data;
- }
- });
- },
- methods: {}
- };
- </script>
- <style lang="scss">
- .bgm {
- border-radius: 5px;
- overflow: hidden;
- }
- </style>
|