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
3f5425b3
Commit
3f5425b3
authored
Feb 18, 2020
by
lrw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
园区
parent
4c98bba5
Changes
1
Hide 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 @@
...
@@ -175,6 +175,14 @@
type
:
'
picker
'
,
type
:
'
picker
'
,
opts
:
[]
opts
:
[]
},
},
{
label
:
'
园区
'
,
required
:
true
,
value
:
'
parkId
'
,
titleClass
:
'
title
'
,
type
:
'
picker
'
,
opts
:
[]
},
{
{
label
:
'
所在部门(选填)
'
,
label
:
'
所在部门(选填)
'
,
value
:
'
department
'
,
value
:
'
department
'
,
...
@@ -204,7 +212,7 @@
...
@@ -204,7 +212,7 @@
titleClass
:
'
title
'
,
titleClass
:
'
title
'
,
placeholder
:
'
请输入11位数字手机号
'
,
placeholder
:
'
请输入11位数字手机号
'
,
type
:
'
input
'
,
type
:
'
input
'
,
controType
:
'
number
'
,
controType
:
'
number
'
,
validator
:
validate
.
isPhone
validator
:
validate
.
isPhone
},
},
{
{
...
@@ -1359,7 +1367,7 @@
...
@@ -1359,7 +1367,7 @@
label
:
'
无上述情况
'
label
:
'
无上述情况
'
}
}
],
],
noneValue
:
'
g
'
,
noneValue
:
'
g
'
,
showList
:
[{
showList
:
[{
value
:
'
c
'
,
value
:
'
c
'
,
show
:
[
32
,
35
,
38
,
40
,
43
,
45
,
47
]
show
:
[
32
,
35
,
38
,
40
,
43
,
45
,
47
]
...
@@ -1668,6 +1676,7 @@
...
@@ -1668,6 +1676,7 @@
onLoad
(
option
)
{
onLoad
(
option
)
{
this
.
getOrg
()
this
.
getOrg
()
this
.
getPark
()
this
.
getInfo
()
this
.
getInfo
()
},
},
methods
:
{
methods
:
{
...
@@ -1703,6 +1712,29 @@
...
@@ -1703,6 +1712,29 @@
console
.
log
(
err
)
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
()
{
getInfo
()
{
this
.
$http
.
get
(
`/sict-ncov/report`
,
this
.
form
).
then
(
res
=>
{
this
.
$http
.
get
(
`/sict-ncov/report`
,
this
.
form
).
then
(
res
=>
{
...
@@ -1820,7 +1852,7 @@
...
@@ -1820,7 +1852,7 @@
let
val
=
evt
.
value
||
evt
.
detail
.
value
;
let
val
=
evt
.
value
||
evt
.
detail
.
value
;
const
showList
=
item
.
showList
const
showList
=
item
.
showList
if
(
showList
&&
showList
.
length
>
0
)
{
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
]
val
=
[
item
.
noneValue
]
}
}
showList
.
forEach
(
item
=>
{
showList
.
forEach
(
item
=>
{
...
...
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