Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
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
front-end-dev
techbook
Commits
2fc8e464
Commit
2fc8e464
authored
Nov 19, 2019
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
筛选
parent
7ae38b9b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
9 deletions
+11
-9
searchCmpt.vue
src/components/bigbusiness/searchCmpt.vue
+3
-1
regionchoice.vue
src/components/index/regionchoice.vue
+8
-8
No files found.
src/components/bigbusiness/searchCmpt.vue
View file @
2fc8e464
...
@@ -50,17 +50,19 @@
...
@@ -50,17 +50,19 @@
this
.
searchData
.
companyNationIds
=
[
1
];
this
.
searchData
.
companyNationIds
=
[
1
];
this
.
searchData
.
companyProvinceIds
=
b
;
this
.
searchData
.
companyProvinceIds
=
b
;
this
.
searchData
.
companyCityIds
=
c
;
this
.
searchData
.
companyCityIds
=
c
;
this
.
$store
.
dispatch
(
'saveListPagePars'
,{
path
:
this
.
$route
.
path
,
pars
:
this
.
searchData
});
}
else
{
}
else
{
if
(
!!
b
)
{
if
(
!!
b
)
{
this
.
searchData
.
companyNationIds
=
b
;
this
.
searchData
.
companyNationIds
=
b
;
this
.
$store
.
dispatch
(
'saveListPagePars'
,{
path
:
this
.
$route
.
path
,
pars
:
this
.
searchData
});
}
}
else
{
else
{
this
.
searchData
.
companyNationIds
=
[
-
1
];
this
.
searchData
.
companyNationIds
=
[
-
1
];
this
.
searchData
.
companyProvinceIds
=
[];
this
.
searchData
.
companyProvinceIds
=
[];
this
.
searchData
.
companyCityIds
=
[];
this
.
searchData
.
companyCityIds
=
[];
this
.
$store
.
dispatch
(
'saveListPagePars'
,{
path
:
this
.
$route
.
path
,
pars
:
this
.
searchData
});
}
}
}
}
this
.
$store
.
dispatch
(
'saveListPagePars'
,{
path
:
this
.
$route
.
path
,
pars
:
this
.
searchData
});
this
.
$emit
(
'active'
,
this
.
searchData
);
this
.
$emit
(
'active'
,
this
.
searchData
);
},
},
...
...
src/components/index/regionchoice.vue
View file @
2fc8e464
...
@@ -309,12 +309,16 @@
...
@@ -309,12 +309,16 @@
},
},
},
},
mounted
(){
mounted
(){
if
(
this
.
searchReturnData
){
},
watch
:{
searchReturnData
(
val
){
if
(
this
.
searchReturnData
.
companyNationIds
){
if
(
this
.
searchReturnData
.
companyNationIds
){
this
.
wholecheck
=
[];
this
.
wholecheck
=
[];
if
(
this
.
searchReturnData
.
companyNationIds
[
0
]
==
1
)
{
if
(
this
.
searchReturnData
.
companyNationIds
[
0
]
==
1
)
{
this
.
$set
(
this
.
cityList
[
0
],
"checked"
,
true
)
this
.
$set
(
this
.
cityList
[
0
],
"checked"
,
true
)
this
.
$set
(
this
.
checkboxlocation
,
0
,
this
.
$t
(
"Otherjson.domestic"
))
this
.
checkboxlocation
.
push
(
this
.
$t
(
"Otherjson.domestic"
))
// this.$set(this.checkboxlocation,0,this.$t("Otherjson.domestic"))
this
.
wholecheck
=
[];
this
.
wholecheck
=
[];
this
.
overseas
=
[];
this
.
overseas
=
[];
this
.
provinceIf
=
true
;
this
.
provinceIf
=
true
;
...
@@ -334,7 +338,8 @@
...
@@ -334,7 +338,8 @@
}
else
{
}
else
{
this
.
$set
(
this
.
cityList
[
1
],
"checked"
,
true
);
this
.
$set
(
this
.
cityList
[
1
],
"checked"
,
true
);
this
.
$set
(
this
.
checkboxlocation
,
0
,
this
.
$t
(
"Otherjson.overseas"
));
this
.
checkboxlocation
.
push
(
this
.
$t
(
"Otherjson.overseas"
))
// this.$set(this.checkboxlocation,0,this.$t("Otherjson.overseas"));
this
.
wholecheck
=
[];
this
.
wholecheck
=
[];
this
.
checkprovince
=
[];
this
.
checkprovince
=
[];
this
.
checkcity
=
[];
this
.
checkcity
=
[];
...
@@ -353,11 +358,6 @@
...
@@ -353,11 +358,6 @@
}
}
}
}
}
}
},
watch
:{
searchReturnData
(
val
){
}
}
}
}
}
</
script
>
</
script
>
...
...
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