Commit 4d79fbe1 authored by songrui's avatar songrui

个人详情修改

parent ea6cd8be
......@@ -19,6 +19,7 @@
accept='.jpg,.jpeg,.png,.pdf'
ref='fileElem'
style='display: none;'
capture='environment'
@change='handleFiles'
:key='inputKey'>
......@@ -39,8 +40,6 @@ import DocImage from './DocImage.vue'
import { showToast } from 'vant'
import { fileUpload } from '@/api/base'
const testUrl = 'https://beta-tumour.zmnyjk.com/chronic-admin/file-proxy/chronic/20241125/1732502450600434289.png?e=1732610606&token=yrkyCAltqk1WVrw1ZNWUl5F5gLxE0O8LJ0Vq4hzi:RYbssXLQIEX6KTcVk5u4tWaxb9o='
export default {
name: 'DocImageUpload',
components: {
......
......@@ -14,16 +14,20 @@
<span class="tag mr-2">{{ residentInfo.genderName || '-' }}</span>
<doc-icon type="doc-edit" class="text-primary" @click="toArchivesEdit"/>
</div>
<div class="flex flex-col gap-y-2.5">
<div class="flex flex-col" style="row-gap: .04rem;line-height: 1.5;">
<div>
<span class="label">身份证号</span>
<span>{{ $idCardHide(residentInfo.idCard) || '-' }}</span>
</div>
<div class="flex">
<span class="label shrink-0">人群标签</span>
<span class="grow">{{ residentInfo.groupsArraysName || '-' }}</span>
</div>
<div>
<span class="label">联系电话</span>
<span>{{ $phoneHide(residentInfo.telephone) || '-' }}</span>
</div>
<div>
<!-- <div>
<span class="label">人群分类</span>
<span>{{ residentInfo.chronicCrowdName || '-' }}</span>
</div>
......@@ -32,7 +36,7 @@
<span>
<ChronicTag :list='residentInfo.chronicTagsArray' />
</span>
</div>
</div> -->
<div>
<span class="label">建档状态</span>
<span v-if="residentInfo.id">
......@@ -43,8 +47,8 @@
<div>
<span class="label">签约状态</span>
<span v-if="residentInfo.id">
<span v-if="!!residentInfo.signedInfoDTO">建档</span>
<span v-else style="color: #8C8C8C">建档</span>
<span v-if="!!residentInfo.signedInfoDTO">签约</span>
<span v-else style="color: #8C8C8C">签约</span>
</span>
</div>
</div>
......@@ -152,8 +156,8 @@ export default {
{ name: '血脂异常', value: 7, code: '64', id: 'DYSLIPEMIA' }
]
const result = [
{ name: '筛查管理', id: 'SCREENING' },
...diseaseList.filter(e => this.chronicTagsArray.includes(e.code)),
// { name: '筛查管理', id: 'SCREENING' },
// ...diseaseList.filter(e => this.chronicTagsArray.includes(e.code)),
{ name: '通用随访', id: 'CURRENCY' },
// { name: '转诊记录', id: 'REFERRAL' },
// { name: '会诊记录', id: 'CONSULTATION' }
......@@ -204,11 +208,12 @@ export default {
position: relative;
overflow: hidden;
border-radius: 0;
height: 230px;
transition: height .2s;
height: auto;
// transition: height .2s;
padding-bottom: 28px;
}
.resident-info-collapsed {
height: 90px;
height: 100px;
}
.fold-btn {
color: #BFBFBF;
......
......@@ -3,6 +3,7 @@ import 'vant/es/toast/style/index'
import 'vant/es/notify/style/index'
import 'vant/es/dialog/style/index'
import 'vant/es/image-preview/style/index'
import { DatePicker } from 'vant'
// 自定义svg 图标组件
import DocIcon from '@/components/docIcon/index'
......@@ -20,6 +21,12 @@ export function registe(app) {
app.config.globalProperties.$idCardHide = idCardHide
app.config.globalProperties.$phoneHide = phoneHide
app.config.globalProperties.$addrJoin = addrJoin
// 日期选择框默认选中当前日期
DatePicker.props.modelValue.default = () => {
const now = dayjs()
return [now.year(), now.month() + 1, now.date()]
}
}
// idCard 脱敏
......
......@@ -30,12 +30,12 @@ module.exports = defineConfig({
}
},
'/chronic-admin': {
target: 'https://beta-tumour.zmnyjk.com',
// target: 'http://192.168.1.125:8900',
// target: 'https://beta-tumour.zmnyjk.com',
target: 'http://192.168.1.163:8900',
changOrigin: true,
pathRewrite: {
// '^/chronic-admin': '/'
'^/chronic-admin': '/chronic-admin'
'^/chronic-admin': '/'
// '^/chronic-admin': '/chronic-admin'
}
},
'/chronic-resident': {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment