Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
epidemic
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
史锦峰
epidemic
Commits
5b3c8489
Commit
5b3c8489
authored
Feb 14, 2020
by
sjf1256754123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update fillIn.vue
parent
36e793b2
Pipeline
#118
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
34 deletions
+1
-34
fillIn.vue
pages/fillIn/fillIn.vue
+1
-34
No files found.
pages/fillIn/fillIn.vue
View file @
5b3c8489
...
...
@@ -428,9 +428,7 @@
},
// 提交信息
formSubmit
(){
console
.
log
(
this
.
form
)
let
flag
=
true
let
msg
=
''
for
(
let
i
=
0
;
i
<
this
.
list
.
length
;
i
++
)
{
...
...
@@ -443,18 +441,6 @@
})
break
}
if
(
this
.
form
[
this
.
list
[
i
].
value
]
==
'
a
'
&&
this
.
list
[
i
].
child
&&
this
.
list
[
i
].
child
.
length
>
0
){
for
(
let
j
=
0
;
j
<
this
.
list
[
i
].
child
.
length
;
j
++
)
{
if
(
this
.
list
[
i
].
child
[
j
].
required
&&
!
this
.
form
[
this
.
list
[
i
].
child
[
j
].
value
]){
flag
=
false
uni
.
showToast
({
icon
:
'
none
'
,
title
:
"
第
"
+
(
i
+
1
)
+
"
大项的第
"
+
(
j
+
1
)
+
"
子项有必填数据未填写
"
})
break
}
}
}
if
(
!
flag
){
break
}
...
...
@@ -464,29 +450,10 @@
if
(
!
flag
){
return
false
}
else
{
let
obj
=
{
"
id
"
:
this
.
id
,
"
auditStatus
"
:
-
3
,
"
data
"
:{
"
data
"
:
this
.
form
,
"
diseaseType
"
:
"
gc_gl
"
}
}
this
.
$http
.
post
(
`/ewell-gastric-cancer-data/wechat/report`
,
obj
).
then
(
res
=>
{
const
d
=
res
.
data
if
(
d
.
code
==
1
){
uni
.
showToast
({
icon
:
'
none
'
,
title
:
'
信息提交后不可更改,同时请留意通知公告,及时参与采血。
'
})
// #ifdef MP-WEIXIN
setTimeout
(
function
()
{
wx
.
switchTab
({
url
:
'
/pages/index/index
'
,
});
},
1000
);
// #endif
}
else
{
uni
.
showToast
({
icon
:
'
none
'
,
...
...
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