Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
wbx-PCAndMobi
pc
Commits
9a08d561
Commit
9a08d561
authored
Mar 15, 2021
by
Gakki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加搜索字段
parent
14ffc5f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
basicInfo.vue
src/views/houseData/basicInfo.vue
+10
-1
No files found.
src/views/houseData/basicInfo.vue
View file @
9a08d561
...
@@ -441,7 +441,15 @@ export default {
...
@@ -441,7 +441,15 @@ export default {
methods
:
{
methods
:
{
onCheck
(
keys
,
node
)
{
onCheck
(
keys
,
node
)
{
console
.
log
(
keys
,
node
.
checkedNodesPositions
)
console
.
log
(
keys
,
node
.
checkedNodesPositions
)
this
.
checkedKeys
=
[]
for
(
let
i
=
0
;
i
<
node
.
checkedNodesPositions
.
length
;
i
++
)
{
// 一级菜单
console
.
log
(
node
.
checkedNodesPositions
[
i
].
pos
.
split
(
'-'
).
length
)
if
(
node
.
checkedNodesPositions
[
i
].
pos
.
split
(
'-'
).
length
==
2
)
{
this
.
checkedKeys
.
push
(
keys
[
i
])
}
}
console
.
log
(
this
.
checkedKeys
.
toString
())
},
},
getLabelList
()
{
getLabelList
()
{
this
.
$ajax
.
get
({
this
.
$ajax
.
get
({
...
@@ -596,6 +604,7 @@ export default {
...
@@ -596,6 +604,7 @@ export default {
// 'finishDate_lt': !!this.isBeforeTwoThousand? '2000-01-01': '',
// 'finishDate_lt': !!this.isBeforeTwoThousand? '2000-01-01': '',
'finishDate_lt'
:
this
.
isBeforeTwoThousand
==
'1'
?
'2020-01-01'
:
''
,
'finishDate_lt'
:
this
.
isBeforeTwoThousand
==
'1'
?
'2020-01-01'
:
''
,
'finishDate_gt'
:
this
.
isBeforeTwoThousand
==
'2'
?
'2020-01-01'
:
''
,
'finishDate_gt'
:
this
.
isBeforeTwoThousand
==
'2'
?
'2020-01-01'
:
''
,
'labelIds'
:
this
.
checkedKeys
.
toString
(),
'cspContractEndDate_lt'
:
!!
this
.
form
.
getFieldValue
(
'cspContractEndDate_lt'
)
?
this
.
$moment
(
this
.
form
.
getFieldValue
(
'cspContractEndDate_lt'
)).
format
(
'YYYY-MM-DD'
)
:
''
'cspContractEndDate_lt'
:
!!
this
.
form
.
getFieldValue
(
'cspContractEndDate_lt'
)
?
this
.
$moment
(
this
.
form
.
getFieldValue
(
'cspContractEndDate_lt'
)).
format
(
'YYYY-MM-DD'
)
:
''
},
obj
,
isHocId
)
// 融合obj 和isHocId 到入参
},
obj
,
isHocId
)
// 融合obj 和isHocId 到入参
...
...
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