|
@@ -3,9 +3,10 @@
|
|
|
<div class="white-bgc py-3">
|
|
|
<headSearch placeholder="搜索公司" @handleSearch="val => handleSearch(val, 'name')"></headSearch>
|
|
|
<div class="px-5 mt-3 clear-parent">
|
|
|
- <areaType class="mb-3" :isClear="clear" @handleClick="handleSearch"></areaType>
|
|
|
- <industryType :isClear="clear" @handleClick="handleSearch"></industryType>
|
|
|
+ <areaType :isClear="clear" @handleClick="handleSearch"></areaType>
|
|
|
+ <!-- <industryType :isClear="clear" @handleClick="handleSearch"></industryType> -->
|
|
|
<natureType class="my-5" :isClear="clear" @handleClick="handleSearch"></natureType>
|
|
|
+ <financingStatus class="mb-5" :isClear="clear" @clear="clear = false" @handleClick="handleSearch"></financingStatus>
|
|
|
<scaleType :isClear="clear" @clear="clear = false" @handleClick="handleSearch"></scaleType>
|
|
|
<div class="clear" @click="handleClear">清空筛选条件</div>
|
|
|
</div>
|
|
@@ -32,7 +33,8 @@ import { dealDictArrayData } from '@/utils/position'
|
|
|
import headSearch from '@/components/headSearch'
|
|
|
import scaleType from './components/scaleType'
|
|
|
import natureType from './components/natureType'
|
|
|
-import industryType from './components/industryType'
|
|
|
+import financingStatus from './components/financingStatus.vue'
|
|
|
+// import industryType from './components/industryType'
|
|
|
import areaType from './components/areaType'
|
|
|
import companyItem from './components/companyItem'
|
|
|
import MPagination from '@/components/CtPagination'
|
|
@@ -83,7 +85,10 @@ const getCompanyData = async () => {
|
|
|
|
|
|
const handleClear = () => {
|
|
|
clear.value = true
|
|
|
- query.value.pageNo = 1
|
|
|
+ query.value = {
|
|
|
+ pageNo: 1,
|
|
|
+ pageSize: 12
|
|
|
+ }
|
|
|
router.push(route.path)
|
|
|
getCompanyData()
|
|
|
}
|
|
@@ -92,7 +97,8 @@ const handleClear = () => {
|
|
|
if (Object.keys(route.query).length) {
|
|
|
const objData = {}
|
|
|
Object.keys(route.query).map(e => {
|
|
|
- if (e === 'areaIds' || e === 'industryIds') return objData[e] = [route.query[e]]
|
|
|
+ // if (e === 'areaIds' || e === 'industryIds') return objData[e] = [route.query[e]]
|
|
|
+ if (e === 'areaIds') return objData[e] = [route.query[e]]
|
|
|
else objData[e] = route.query[e]
|
|
|
})
|
|
|
if (Object.keys(objData).length) {
|