Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
agcs2.0-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
liang
agcs2.0-web
Commits
222729bf
Commit
222729bf
authored
Jan 06, 2023
by
刘予佳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
填报回显
parent
d099e051
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
112 additions
and
12 deletions
+112
-12
followup.js
src/api/followup.js
+1
-1
index.vue
src/components/FormComponents/index.vue
+6
-0
index.vue
src/views/followupentry/index.vue
+12
-1
index.vue
src/views/followupresearch/index.vue
+83
-10
ConfigForms.vue
src/views/screening/components/ConfigForms.vue
+1
-0
FormTab.vue
src/views/screening/components/FormTab.vue
+9
-0
No files found.
src/api/followup.js
View file @
222729bf
...
@@ -15,7 +15,7 @@ export function getFollowSurvey(params = {}) {
...
@@ -15,7 +15,7 @@ export function getFollowSurvey(params = {}) {
//审核质控 随访
//审核质控 随访
export
function
getFollowCheck
(
params
=
{})
{
export
function
getFollowCheck
(
params
=
{})
{
return
request
({
return
request
({
url
:
"
/
follow/check/:
patientFrom
"
,
url
:
"
/
disease-data/follow/check/
patientFrom
"
,
method
:
"
get
"
,
method
:
"
get
"
,
params
,
params
,
});
});
...
...
src/components/FormComponents/index.vue
View file @
222729bf
...
@@ -230,6 +230,7 @@ export default {
...
@@ -230,6 +230,7 @@ export default {
inlineFlag
:
{
type
:
Boolean
,
default
:
false
},
inlineFlag
:
{
type
:
Boolean
,
default
:
false
},
forms
:
{
type
:
Array
},
// 表单组,
forms
:
{
type
:
Array
},
// 表单组,
lists
:
{
type
:
Array
},
// 按钮组
lists
:
{
type
:
Array
},
// 按钮组
formEdit
:{
type
:
Object
}
},
},
data
()
{
data
()
{
const
form
=
{}
const
form
=
{}
...
@@ -322,6 +323,11 @@ export default {
...
@@ -322,6 +323,11 @@ export default {
this
.
modifiedFlag
=
!
this
.
modifiedFlag
this
.
modifiedFlag
=
!
this
.
modifiedFlag
},
},
},
},
watch
:
{
formEdit
(
val
){
this
.
initforms
(
val
)
}
}
}
}
</
script
>
</
script
>
...
...
src/views/followupentry/index.vue
View file @
222729bf
...
@@ -16,8 +16,19 @@ export default {
...
@@ -16,8 +16,19 @@ export default {
return
{
return
{
}
}
},
},
created
()
{},
created
()
{
},
computed
:{
formEdit
(){
return
this
.
$route
.
query
}
},
methods
:
{},
methods
:
{},
provide
()
{
return
{
formEdit
:
this
.
$route
.
query
.
formEdit
}
},
}
}
</
script
>
</
script
>
...
...
src/views/followupresearch/index.vue
View file @
222729bf
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!-- 随访调查 -->
<!-- 随访调查 -->
<div
class=
"screeningSearch"
>
<div
class=
"screeningSearch"
>
<div
class=
"top"
>
<div
class=
"top"
>
<form-components
:forms=
"formList"
@
handleSearch=
"onSearch"
></form-components>
<form-components
:forms=
"formList"
:formEdit=
"formEdit"
@
handleSearch=
"onSearch"
></form-components>
</div>
</div>
<div
class=
"bot"
>
<div
class=
"bot"
>
<customs-table
<customs-table
...
@@ -119,7 +119,65 @@ export default {
...
@@ -119,7 +119,65 @@ export default {
],
],
},
},
],
],
tableData
:
[],
tableData
:
[
{
"
patientId
"
:
"
1598222607734341634
"
,
"
name
"
:
"
小飞
"
,
//姓名
"
idCard
"
:
"
340822199510260215
"
,
//身份证
"
phone
"
:
"
18311112222
"
,
//手机号
"
sex
"
:
1
,
//性别
"
birthday
"
:
"
2022-12-31 00:00:00
"
,
//生日
"
age
"
:
18
,
//年龄
"
id
"
:
""
,
//id
"
unionName
"
:
"
合肥高新附院
"
,
//医联体名称
"
screeningTime
"
:
"
2022-12-01 00:00:00
"
,
//筛查时间
"
riskRank
"
:
""
,
//风险等级
"
followTime
"
:
""
,
//随访时间
"
followContents
"
:
""
,
//随访内容
"
nextFollowTime
"
:
""
,
//计划随访时间
"
followBatch
"
:
0
,
//随访进度
"
unionId
"
:
"
2
"
,
//联盟id
"
riskScore
"
:
""
,
//风险分数
"
screeningAdvise
"
:
""
,
//筛查建议
"
formRecordId
"
:
""
,
//表单记录id
"
linkPhone
"
:
"
0556-5556666
"
,
//联系方式
"
isContinueFollow
"
:
1
,
//是否继续随访
"
checkStatus
"
:
""
//审核状态
},
{
name
:
'
11
'
,
},
{
name
:
'
11
'
,
},
{
name
:
'
11
'
,
},
{
name
:
'
11
'
,
},
{
name
:
'
11
'
,
},
{
name
:
'
11
'
,
},
{
name
:
'
11
'
,
},
{
name
:
'
11
'
,
},
{
name
:
'
11
'
,
},
{
name
:
'
11
'
,
},
{
name
:
'
11
'
,
},
],
//调试
formList
:
[
formList
:
[
{
{
xs
:
24
,
xs
:
24
,
...
@@ -213,17 +271,25 @@ export default {
...
@@ -213,17 +271,25 @@ export default {
],
],
},
},
],
],
// pageSize:1,
formEdit
:{}
// pageNum:10,
}
// totalCount:20
},
watch
:
{
pageSize
(
val
){
sessionStorage
.
setItem
(
'
followResearch-pageSize
'
,
val
)
},
pageIndex
(
val
){
sessionStorage
.
setItem
(
'
followResearch-pageIndex
'
,
val
)
}
}
},
},
watch
:
{},
created
(){
created
(){
this
.
initColumn
()
this
.
initColumn
()
},
},
mounted
()
{
mounted
()
{
this
.
handleSearch
()
this
.
formEdit
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'
followResearch-form
'
))
||
{}
this
.
pageSize
=
Number
(
sessionStorage
.
getItem
(
'
followResearch-pageSize
'
))
||
1
this
.
pageIndex
=
Number
(
sessionStorage
.
getItem
(
'
followResearch-pageIndex
'
))
||
10
// this.handleSearch() //调试注释
},
},
methods
:
{
methods
:
{
changeModified
()
{
changeModified
()
{
...
@@ -240,17 +306,23 @@ export default {
...
@@ -240,17 +306,23 @@ export default {
this
.
$refs
.
customTable
.
loading
=
false
this
.
$refs
.
customTable
.
loading
=
false
},
},
onSearch
(
form
)
{
onSearch
(
form
)
{
console
.
log
(
form
)
sessionStorage
.
setItem
(
'
followResearch-form
'
,
JSON
.
stringify
(
form
))
this
.
formEdit
=
form
this
.
handleSearch
()
},
},
rowOpration
(
data
,
i
)
{
rowOpration
(
data
,
i
)
{
console
.
log
(
data
,
i
)
console
.
log
(
'
跳转
'
,
data
,
i
)
this
.
$router
.
push
(
"
/followupentry
"
)
this
.
$router
.
push
(
{
path
:
"
/followupentry
"
,
query
:{
formEdit
:
JSON
.
stringify
(
data
)}}
)
},
},
async
handleSearch
(){
async
handleSearch
(){
this
.
listLoading
=
true
let
params
=
{
let
params
=
{
pageSize
:
this
.
pageSize
,
pageSize
:
this
.
pageSize
,
pageNum
:
this
.
pageIndex
pageNum
:
this
.
pageIndex
}
}
if
(
this
.
formEdit
){
params
=
Object
.
assign
(
this
.
formEdit
,
params
)
}
let
res
=
await
getFollowSurvey
(
params
)
let
res
=
await
getFollowSurvey
(
params
)
if
(
res
.
code
==
1
){
if
(
res
.
code
==
1
){
//分页内容
//分页内容
...
@@ -258,6 +330,7 @@ export default {
...
@@ -258,6 +330,7 @@ export default {
this
.
total
=
d
.
total
this
.
total
=
d
.
total
this
.
tableData
=
d
[
'
records
'
]
this
.
tableData
=
d
[
'
records
'
]
}
}
this
.
listLoading
=
false
},
},
initColumn
(){
initColumn
(){
this
.
columns
.
forEach
((
item
,
index
)
=>
{
this
.
columns
.
forEach
((
item
,
index
)
=>
{
...
...
src/views/screening/components/ConfigForms.vue
View file @
222729bf
...
@@ -123,6 +123,7 @@ export default {
...
@@ -123,6 +123,7 @@ export default {
},
},
created
()
{
created
()
{
// 字典formType 1 筛查表单
// 字典formType 1 筛查表单
// console.log('回显2',this.formEdit)
this
.
getCurrentFormByType
(
this
.
formType
)
this
.
getCurrentFormByType
(
this
.
formType
)
},
},
watch
:
{
watch
:
{
...
...
src/views/screening/components/FormTab.vue
View file @
222729bf
...
@@ -86,6 +86,7 @@ export default {
...
@@ -86,6 +86,7 @@ export default {
patientStandbyId
:
String
,
patientStandbyId
:
String
,
getAll
:
Boolean
,
// 获取页面所有数据
getAll
:
Boolean
,
// 获取页面所有数据
survivalFlag
:
Boolean
,
//存活的显示
survivalFlag
:
Boolean
,
//存活的显示
formEdit
:
Object
},
},
components
:
{
CustomForm
,
TagsScrollBar
,
ReadForm
},
components
:
{
CustomForm
,
TagsScrollBar
,
ReadForm
},
provide
()
{
provide
()
{
...
@@ -517,7 +518,15 @@ export default {
...
@@ -517,7 +518,15 @@ export default {
})
})
},
},
},
},
watch
:{
formEdit
(
val
){
console
.
log
(
'
回显3
'
,
val
)
}
},
created
()
{
created
()
{
if
(
this
.
$route
.
query
.
formEdit
){
this
.
formData
.
formEdit
=
this
.
$route
.
query
.
formEdit
}
this
.
initForm
()
this
.
initForm
()
if
(
this
.
getAll
)
{
if
(
this
.
getAll
)
{
// 监听patientId 获取页面所有数据
// 监听patientId 获取页面所有数据
...
...
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