fix: BUG修改
This commit is contained in:
parent
cbbb9de1f9
commit
1ff3418b63
@ -30,12 +30,13 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="content-main">
|
<div class="content-main">
|
||||||
<div class="search-content">
|
<div class="search-content">
|
||||||
<div class="search-sum">企业数量: {{ allRankCount }}</div>
|
<!-- <div class="search-sum">企业数量: {{ allRankCount }}</div> -->
|
||||||
|
<div class="search-sum">企业数量: {{ allRankList.length }}</div>
|
||||||
<el-input
|
<el-input
|
||||||
class="search-input"
|
class="search-input"
|
||||||
v-model="allCountSearch.engineeringName"
|
v-model="allCountSearch.enterpriseName"
|
||||||
@input="getAllCountData"
|
@input="getAllCountData"
|
||||||
placeholder="请输入项目名称"
|
placeholder="请输入企业名称"
|
||||||
>
|
>
|
||||||
<template #suffix>
|
<template #suffix>
|
||||||
<el-icon><search /></el-icon>
|
<el-icon><search /></el-icon>
|
||||||
@ -77,9 +78,9 @@
|
|||||||
<div class="search-content">
|
<div class="search-content">
|
||||||
<el-input
|
<el-input
|
||||||
class="search-input"
|
class="search-input"
|
||||||
v-model="engineerCountSearch.engineeringName"
|
v-model="engineerCountSearch.enterpriseName"
|
||||||
@input="getEngineerData"
|
@input="getEngineerData"
|
||||||
placeholder="请输入项目名称"
|
placeholder="请输入企业名称"
|
||||||
>
|
>
|
||||||
<template #suffix>
|
<template #suffix>
|
||||||
<el-icon><search /></el-icon>
|
<el-icon><search /></el-icon>
|
||||||
@ -136,11 +137,11 @@ const engineerCountList = ref([]);
|
|||||||
const allRankCount = ref([]);
|
const allRankCount = ref([]);
|
||||||
const allRankList = ref([]);
|
const allRankList = ref([]);
|
||||||
const engineerCountSearch = ref({
|
const engineerCountSearch = ref({
|
||||||
engineeringName: "",
|
enterpriseName: "",
|
||||||
scoreSort: 1
|
scoreSort: 1
|
||||||
});
|
});
|
||||||
const allCountSearch = ref({
|
const allCountSearch = ref({
|
||||||
engineeringName: "",
|
enterpriseName: "",
|
||||||
scoreSort: 1
|
scoreSort: 1
|
||||||
});
|
});
|
||||||
const getAllCountList = async () => {
|
const getAllCountList = async () => {
|
||||||
@ -157,16 +158,17 @@ const getAllCountList = async () => {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
const getAllCountData = async () => {
|
const getAllCountData = async () => {
|
||||||
let requestData = {
|
// let requestData = {
|
||||||
...engineerCountSearch.value,
|
// ...allCountSearch.value,
|
||||||
enterpriseType: companyType.value
|
// enterpriseType: companyType.value
|
||||||
};
|
// };
|
||||||
const res = await rankCompanyCount(requestData);
|
// const res = await rankCompanyCount(requestData);
|
||||||
if (res && res.result) {
|
// if (res && res.result) {
|
||||||
allRankCount.value = res.result;
|
// allRankCount.value = res.result;
|
||||||
} else {
|
// } else {
|
||||||
allRankCount.value = 0;
|
// allRankCount.value = 0;
|
||||||
}
|
// }
|
||||||
|
getAllCountList();
|
||||||
};
|
};
|
||||||
|
|
||||||
// 修改排序
|
// 修改排序
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user