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
7aaeae87
Commit
7aaeae87
authored
Feb 09, 2023
by
miaojiale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.筛查查询保存默认非草稿
parent
8b10791c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
ConfigForms.vue
src/views/screening/components/ConfigForms.vue
+2
-0
FormTab.vue
src/views/screening/components/FormTab.vue
+7
-0
index.vue
src/views/screening/index.vue
+2
-0
No files found.
src/views/screening/components/ConfigForms.vue
View file @
7aaeae87
...
...
@@ -42,6 +42,7 @@
:form=
"form"
:disabled=
"disabled"
:operation=
"operation"
:isDraft=
"isDraft"
:active-name=
"activeName"
contrast
:form-initial=
"formInitial"
...
...
@@ -117,6 +118,7 @@ export default {
patientId
:
String
,
formClass
:
String
,
operation
:
String
,
isDraft
:
String
,
},
data
()
{
return
{
...
...
src/views/screening/components/FormTab.vue
View file @
7aaeae87
...
...
@@ -103,6 +103,10 @@ export default {
formEdit
:
{},
formInitial
:
{},
operation
:
String
,
// !默认新增,传入为edit为编辑需要传formRecordId
isDraft
:
{
type
:
String
,
default
:
""
,
},
},
provide
()
{
return
{
...
...
@@ -219,6 +223,9 @@ export default {
if
(
this
.
operation
&&
this
.
operation
==
"
edit
"
)
{
params
.
formRecordId
=
this
.
formData
.
formRecordId
||
this
.
newformRecordId
// 是否为编辑的表单id
}
if
(
this
.
isDraft
)
{
params
.
statusMap
.
is_draft
=
this
.
isDraft
}
this
.
$emit
(
"
handleConfirm
"
,
params
,
done
,
(
res
)
=>
{
// 多次填写的表单新增时,获取最新数据
if
(
this
.
form
.
fillType
===
1
&&
!
this
.
formData
.
formRecordId
)
{
...
...
src/views/screening/index.vue
View file @
7aaeae87
...
...
@@ -34,6 +34,8 @@
:patient-id=
"patientId"
:disabled=
"disabled"
:tabDisabled=
"tabDisabled"
:isDraft=
"'0'"
:operation=
"'edit'"
></ConfigForms>
</div>
</div>
...
...
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