Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
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
856fbd7e
Commit
856fbd7e
authored
Mar 06, 2023
by
miaojiale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.处理数据为数字类型转为字符串类型
2.处理按钮逻辑
parent
567bc658
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
13 deletions
+22
-13
index.vue
src/views/followupentry/index.vue
+8
-7
index.vue
src/views/followupresearch/index.vue
+1
-1
ConfigForms.vue
src/views/screening/components/ConfigForms.vue
+4
-2
FormTab.vue
src/views/screening/components/FormTab.vue
+8
-2
mixin.js
src/views/screening/components/mixin.js
+1
-1
No files found.
src/views/followupentry/index.vue
View file @
856fbd7e
<
template
>
<!-- 随访调查录入 -->
<div>
<ConfigForms
form-type=
"2"
formClass=
"follow-form"
></ConfigForms>
<ConfigForms
form-type=
"2"
formClass=
"follow-form"
:disabled=
"false"
></ConfigForms>
</div>
</
template
>
...
...
@@ -13,14 +17,11 @@ export default {
ConfigForms
,
},
data
()
{
return
{
}
},
created
()
{
return
{}
},
created
()
{},
methods
:
{},
}
</
script
>
<
style
lang=
"scss"
>
</
style
>
<
style
lang=
"scss"
></
style
>
src/views/followupresearch/index.vue
View file @
856fbd7e
...
...
@@ -280,9 +280,9 @@ export default {
},
rowOpration
(
data
,
i
)
{
console
.
log
(
"
跳转
"
,
data
,
i
)
sessionStorage
.
setItem
(
"
formEdit
"
,
JSON
.
stringify
(
data
))
this
.
$router
.
push
({
path
:
"
/followupentry
"
,
query
:
{
formEdit
:
JSON
.
stringify
(
data
)
},
})
},
async
handleSearch
()
{
...
...
src/views/screening/components/ConfigForms.vue
View file @
856fbd7e
...
...
@@ -210,9 +210,11 @@ export default {
},
},
created
()
{
// 字典formType 1 筛查表单
// 字典formType 1 筛查表单
2随访表单
// console.log('回显2',this.formEdit)
this
.
getCurrentFormByType
(
this
.
formType
)
console
.
log
(
this
.
$route
.
path
)
this
.
infoCompelete
=
this
.
$route
.
path
==
"
/followupentry
"
?
true
:
false
},
methods
:
{
handleConfirm
(
data
,
done
,
cb
)
{
...
...
@@ -244,7 +246,7 @@ export default {
)[
0
]
formTab
.
temporarySave
()
// console.log(formTab)
}
else
if
(
type
==
2
)
{
}
else
if
(
type
==
3
)
{
//提交
this
.
dialogType
=
"
submit
"
this
.
$refs
.
showDialog
.
dialogVisible
=
true
...
...
src/views/screening/components/FormTab.vue
View file @
856fbd7e
...
...
@@ -385,8 +385,14 @@ export default {
},
},
created
()
{
if
(
this
.
$route
.
query
.
formEdit
)
{
this
.
formData
.
formEdit
=
JSON
.
parse
(
this
.
$route
.
query
.
formEdit
)
if
(
sessionStorage
.
getItem
(
"
formEdit
"
))
{
let
data
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"
formEdit
"
))
for
(
const
key
in
data
)
{
if
(
typeof
data
[
key
]
==
"
number
"
)
{
data
[
key
]
=
data
[
key
]
+
""
}
}
this
.
formData
.
formEdit
=
data
}
this
.
initForm
()
if
(
this
.
getAll
)
{
...
...
src/views/screening/components/mixin.js
View file @
856fbd7e
...
...
@@ -28,7 +28,7 @@ export default {
let
i
=
this
.
activeName
.
split
(
"
index
"
)[
1
]
-
0
i
++
if
(
i
==
6
)
{
this
.
onSubmit
(
2
)
this
.
onSubmit
(
3
)
return
}
else
{
this
.
activeName
=
"
index
"
+
i
...
...
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