Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
frontend-h5
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
songrui
frontend-h5
Commits
4d79fbe1
Commit
4d79fbe1
authored
Dec 10, 2024
by
songrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
个人详情修改
parent
ea6cd8be
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
16 deletions
+27
-16
DocImageUpload.vue
src/doctor/components/docImageUpload/DocImageUpload.vue
+1
-2
PatientDetail.vue
src/doctor/patientDetail/PatientDetail.vue
+15
-10
register.js
src/register.js
+7
-0
vue.config.js
vue.config.js
+4
-4
No files found.
src/doctor/components/docImageUpload/DocImageUpload.vue
View file @
4d79fbe1
...
...
@@ -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
:
{
...
...
src/doctor/patientDetail/PatientDetail.vue
View file @
4d79fbe1
...
...
@@ -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:
9
0px;
height:
10
0px;
}
.fold-btn {
color: #BFBFBF;
...
...
src/register.js
View file @
4d79fbe1
...
...
@@ -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 脱敏
...
...
vue.config.js
View file @
4d79fbe1
...
...
@@ -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'
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment