Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
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
3f5425b3
Commit
3f5425b3
authored
5 years ago
by
lrw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
园区
parent
4c98bba5
master
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
3 deletions
+35
-3
fillIn.vue
pages/fillIn/fillIn.vue
+35
-3
No files found.
pages/fillIn/fillIn.vue
View file @
3f5425b3
...
...
@@ -175,6 +175,14 @@
type
:
'
picker
'
,
opts
:
[]
},
{
label
:
'
园区
'
,
required
:
true
,
value
:
'
parkId
'
,
titleClass
:
'
title
'
,
type
:
'
picker
'
,
opts
:
[]
},
{
label
:
'
所在部门(选填)
'
,
value
:
'
department
'
,
...
...
@@ -204,7 +212,7 @@
titleClass
:
'
title
'
,
placeholder
:
'
请输入11位数字手机号
'
,
type
:
'
input
'
,
controType
:
'
number
'
,
controType
:
'
number
'
,
validator
:
validate
.
isPhone
},
{
...
...
@@ -1359,7 +1367,7 @@
label
:
'
无上述情况
'
}
],
noneValue
:
'
g
'
,
noneValue
:
'
g
'
,
showList
:
[{
value
:
'
c
'
,
show
:
[
32
,
35
,
38
,
40
,
43
,
45
,
47
]
...
...
@@ -1668,6 +1676,7 @@
onLoad
(
option
)
{
this
.
getOrg
()
this
.
getPark
()
this
.
getInfo
()
},
methods
:
{
...
...
@@ -1703,6 +1712,29 @@
console
.
log
(
err
)
})
},
getPark
()
{
const
data
=
{
params
:
{
pageNum
:
1
,
pageSize
:
1000000
}
}
this
.
$http
.
get
(
`/sict-ncov/park/page`
,
data
).
then
(
res
=>
{
const
d
=
res
.
data
console
.
log
(
d
,
'
d
'
)
if
(
d
.
code
==
1
)
{
let
list
=
[]
d
.
object
.
forEach
(
item
=>
{
list
.
push
({
label
:
item
.
name
,
value
:
item
.
id
})
})
this
.
list
[
1
].
opts
=
list
}
}).
catch
(
err
=>
{
console
.
log
(
err
)
})
},
// 获取信息
getInfo
()
{
this
.
$http
.
get
(
`/sict-ncov/report`
,
this
.
form
).
then
(
res
=>
{
...
...
@@ -1820,7 +1852,7 @@
let
val
=
evt
.
value
||
evt
.
detail
.
value
;
const
showList
=
item
.
showList
if
(
showList
&&
showList
.
length
>
0
)
{
if
(
item
.
noneValue
&&
val
[
val
.
length
-
1
]
==
item
.
noneValue
)
{
if
(
item
.
noneValue
&&
val
[
val
.
length
-
1
]
==
item
.
noneValue
)
{
val
=
[
item
.
noneValue
]
}
showList
.
forEach
(
item
=>
{
...
...
This diff is collapsed.
Click to expand it.
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