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
035686e0
Commit
035686e0
authored
Feb 06, 2023
by
刘予佳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
随访调查查询增加字段
parent
0605e72c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
3 deletions
+19
-3
index.js
src/utils/index.js
+0
-1
index.vue
src/views/followupresearch/index.vue
+19
-2
No files found.
src/utils/index.js
View file @
035686e0
...
...
@@ -489,7 +489,6 @@ export function formatDicList(list, value, connector = ",") {
}
})
}
console
.
log
(
'
字典
'
,
list
,
value
,
result
)
return
result
}
/**
...
...
src/views/followupresearch/index.vue
View file @
035686e0
...
...
@@ -25,6 +25,7 @@
import
FormComponents
from
"
@/components/FormComponents
"
import
CustomsTable
from
"
@/components/CustomsTable
"
import
paginationMixin
from
"
@/components/TabComponents/mixin
"
import
{
getCurrentFormByType
}
from
"
@/api/coop-group.js
"
import
{
getFollowSurvey
}
from
"
@/api/followup
"
import
{
getDictDetail
}
from
"
@/api/dict.js
"
export
default
{
...
...
@@ -35,6 +36,7 @@ export default {
mixins
:
[
paginationMixin
],
data
()
{
return
{
formId
:
""
,
//随访表单类型
listLoading
:
false
,
keyword
:
""
,
modifiedFlag
:
false
,
...
...
@@ -308,6 +310,7 @@ export default {
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
.
getCurrentFormByType
(
2
)
// this.handleSearch() //调试注释
},
methods
:
{
...
...
@@ -337,7 +340,9 @@ export default {
this
.
listLoading
=
true
let
params
=
{
pageSize
:
this
.
pageSize
,
pageNum
:
this
.
pageIndex
pageNum
:
this
.
pageIndex
,
formId
:
this
.
formId
,
patientFrom
:
sessionStorage
.
getItem
(
'
selectedIndex
'
)
//筛查场景
}
if
(
this
.
formEdit
){
params
=
Object
.
assign
(
this
.
formEdit
,
params
)
...
...
@@ -385,7 +390,19 @@ export default {
// }
// }
// })
// }
// },
//获取随访表单类型
getCurrentFormByType
(
type
)
{
getCurrentFormByType
({
type
,
groupId
:
this
.
$store
.
state
.
user
.
group
.
groupId
||
''
,
})
.
then
((
res
)
=>
{
if
(
res
.
code
===
1
)
{
this
.
formId
=
res
.
data
[
0
].
id
}
})
},
},
}
</
script
>
...
...
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