|
@@ -1,28 +1,27 @@
|
|
|
<template>
|
|
|
<div class="default-width">
|
|
|
- <div style=" background-color: #fff">
|
|
|
- <buttons mr="491"></buttons>
|
|
|
- </div>
|
|
|
- <div class="white-bgc pb-3">
|
|
|
- <headSearch placeholder="搜索公司" tipsText="公司关键字搜索" @handleSearch="val => handleSearch(val, 'name')"></headSearch>
|
|
|
- <div class="px-5 mt-3 clear-parent">
|
|
|
- <areaType :isClear="clear" @handleClick="handleSearch"></areaType>
|
|
|
- <!-- <industryType :isClear="clear" @handleClick="handleSearch"></industryType> -->
|
|
|
- <financingStatus class="my-5" :isClear="clear" @clear="clear = false" @handleClick="handleSearch"></financingStatus>
|
|
|
- <scaleType :isClear="clear" @clear="clear = false" @handleClick="handleSearch"></scaleType>
|
|
|
- <div class="clear" @click="handleClear">清空筛选条件</div>
|
|
|
+ <buttons :current="2" style="position: sticky;"></buttons>
|
|
|
+ <div class="company-content">
|
|
|
+ <div class="white-bgc pb-3 pt-5">
|
|
|
+ <headSearch placeholder="搜索公司" tipsText="公司关键字搜索" @handleSearch="val => handleSearch(val, 'name')"></headSearch>
|
|
|
+ <div class="px-5 mt-3 clear-parent">
|
|
|
+ <areaType :isClear="clear" @handleClick="handleSearch"></areaType>
|
|
|
+ <financingStatus class="my-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>
|
|
|
</div>
|
|
|
+ <div v-if="items.length">
|
|
|
+ <companyItem class="mt-3" :list="items"></companyItem>
|
|
|
+ <MPagination
|
|
|
+ :total="total"
|
|
|
+ :page="query.pageNo"
|
|
|
+ :limit="query.pageSize"
|
|
|
+ @handleChange="handleChangePage"
|
|
|
+ ></MPagination>
|
|
|
+ </div>
|
|
|
+ <Empty v-else class="mt-3"></Empty>
|
|
|
</div>
|
|
|
- <div v-if="items.length">
|
|
|
- <companyItem class="mt-3" :list="items"></companyItem>
|
|
|
- <MPagination
|
|
|
- :total="total"
|
|
|
- :page="query.pageNo"
|
|
|
- :limit="query.pageSize"
|
|
|
- @handleChange="handleChangePage"
|
|
|
- ></MPagination>
|
|
|
- </div>
|
|
|
- <Empty v-else class="mt-3"></Empty>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -36,7 +35,6 @@ import { dealDictArrayData } from '@/utils/position'
|
|
|
import headSearch from '@/components/headSearch'
|
|
|
import scaleType from './components/scaleType'
|
|
|
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'
|
|
@@ -99,7 +97,6 @@ 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') return objData[e] = [route.query[e]]
|
|
|
else objData[e] = route.query[e]
|
|
|
})
|
|
@@ -132,4 +129,12 @@ const handleChangePage = (index) => {
|
|
|
color: var(--v-primary-base);
|
|
|
}
|
|
|
}
|
|
|
+.company-content {
|
|
|
+ height: calc(100vh - 100px);
|
|
|
+ overflow-y: auto;
|
|
|
+}
|
|
|
+::-webkit-scrollbar {
|
|
|
+ width: 0;
|
|
|
+ height: 0;
|
|
|
+}
|
|
|
</style>
|