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
36543182
Commit
36543182
authored
Sep 14, 2024
by
songrui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
下次随访日期修改;保存筛查修改
parent
578571ed
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
40 additions
and
12 deletions
+40
-12
Doctor.vue
src/doctor/Doctor.vue
+1
-1
GeneralFUForm.vue
src/doctor/followUp/generalFU/form/GeneralFUForm.vue
+27
-5
BaseInfo.vue
src/resident/screening/first/form/BaseInfo.vue
+7
-0
IdCheck.vue
src/resident/screening/first/form/IdCheck.vue
+0
-1
ScreenInfo.vue
src/resident/screening/first/form/ScreenInfo.vue
+1
-1
vue.config.js
vue.config.js
+4
-4
No files found.
src/doctor/Doctor.vue
View file @
36543182
...
...
@@ -52,7 +52,7 @@ export default {
if
(
!
token
)
{
token
=
sessionStorage
.
getItem
(
'token'
)
if
(
process
.
env
.
NODE_ENV
!==
'production'
)
{
token
=
'
599c5ba1-d338-4569-a245-681566a79098
'
token
=
'
0e5b7b8b-f6b0-4232-90ff-a674159c4fff
'
}
}
if
(
token
)
{
...
...
src/doctor/followUp/generalFU/form/GeneralFUForm.vue
View file @
36543182
...
...
@@ -16,7 +16,7 @@
<div
v-if=
'showOne && firstForm.visitSituation == 1'
>
<div
class=
'no-req-label mt-5'
>
处置意见
</div>
<van-field
v-model=
'form.
idCard
'
v-model=
'form.
disposalOpinion
'
rows=
'2'
autosize
type=
'textarea'
...
...
@@ -97,7 +97,7 @@
</div>
<div
class=
'img-btn mt-2'
@
click=
"toUpload('imgId2')"
>
<input
type=
'file'
id=
'imgId2'
multiple
@
change=
'choiceImg2'
style=
'display: none'
:key=
'new Date().getTime()-10000'
>
:key=
'new Date().getTime()-10000'
accept=
"image/*"
>
<div
class=
'flex items-center justify-center'
>
<div>
<doc-icon
type=
'doc-upload'
class=
'doc-up'
/>
...
...
@@ -162,7 +162,10 @@
:rules=
'rules.nextVisitDate'
@
click=
'showDate = true'
/>
<van-popup
v-model:show=
'showDate'
position=
'bottom'
>
<van-date-picker
@
confirm=
'dataConfirm'
@
cancel=
'showDate = false'
/>
<van-date-picker
v-model=
"form._nextVisitDate"
:min-date=
"nextVisitDateRange.min"
:max-date=
"nextVisitDateRange.max"
@
confirm=
'dataConfirm'
@
cancel=
'showDate = false'
/>
</van-popup>
</div>
</van-form>
...
...
@@ -173,7 +176,7 @@
import
{
useStore
}
from
'@/resident/store'
import
dayjs
from
'dayjs'
import
DocIcon
from
'@/components/docIcon/DocIcon'
import
{
show
ImagePreview
}
from
'vant'
import
{
show
Toast
}
from
'vant'
import
{
fetchDataHandle
}
from
'@/utils/common'
export
default
{
...
...
@@ -207,7 +210,12 @@ export default {
initSwipe
:
0
,
rules
:
{
nextVisitDate
:
[{
required
:
true
,
message
:
'请选择'
}]
}
},
// 筛查日期可选范围
nextVisitDateRange
:
{
min
:
undefined
,
max
:
undefined
},
}
},
watch
:
{
...
...
@@ -279,6 +287,12 @@ export default {
return
sceneVisitImageList
}
},
created
()
{
const
date
=
dayjs
()
this
.
nextVisitDateRange
.
max
=
new
Date
(
date
.
year
()
+
10
,
date
.
month
(),
date
.
date
())
this
.
nextVisitDateRange
.
min
=
new
Date
(
date
.
year
(),
date
.
month
(),
date
.
date
()
+
1
)
this
.
form
.
_nextVisitDate
=
[
date
.
year
(),
date
.
month
(),
date
.
date
()
+
1
]
},
methods
:
{
setForm
(
info
=
{})
{
const
modeArray
=
this
.
store
.
getDict
(
'DC00084'
)
...
...
@@ -328,6 +342,14 @@ export default {
return
form
.
visitHealthGuideList
},
toUpload
(
id
)
{
if
(
id
===
'imgId'
&&
this
.
imgList
.
length
>=
6
)
{
showToast
(
'最多允许上传6张'
)
return
}
if
(
id
===
'imgId2'
&&
this
.
imgList2
.
length
>=
8
)
{
showToast
(
'最多允许上传8张'
)
return
}
let
input
=
document
.
getElementById
(
id
)
input
.
click
()
},
...
...
src/resident/screening/first/form/BaseInfo.vue
View file @
36543182
...
...
@@ -228,6 +228,13 @@ const defaultForm = (info = {}) => {
relationOther
:
undefined
,
// 人群
chronicTagsArray
:
undefined
,
chronicCrowd
:
undefined
,
firstScreenDate
:
undefined
,
firstScreenResult
:
undefined
,
highTagsArray
:
undefined
,
highTags
:
undefined
,
latelyDiagnoseDate
:
undefined
,
latelyScreenDate
:
undefined
,
}
Reflect
.
ownKeys
(
form
).
forEach
(
key
=>
{
if
(
info
[
key
]
!=
undefined
)
{
...
...
src/resident/screening/first/form/IdCheck.vue
View file @
36543182
...
...
@@ -10,7 +10,6 @@
class=
"screen-form"
>
<van-field
required
v-model=
"form.certificateTypeTrans"
is-link
readonly
name=
"certificateType"
label=
"证件类型"
...
...
src/resident/screening/first/form/ScreenInfo.vue
View file @
36543182
...
...
@@ -415,7 +415,7 @@ export default {
showScreenDate
:
false
,
// 筛查日期可选范围
screenDateRange
:
{
min
:
new
Date
(
2024
,
9
,
2
)
,
min
:
undefined
,
max
:
undefined
},
store
:
useStore
()
...
...
vue.config.js
View file @
36543182
...
...
@@ -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.125: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