This commit is contained in:
ylj20011123 2025-04-23 15:32:48 +08:00
parent d58b95e1f5
commit 5cd17869a5
4 changed files with 19 additions and 52 deletions

View File

@ -174,6 +174,7 @@ const handleGetBusinessProjectList = async () => {
nextTick(() => {
selectProjectState.value = defaultTab;
console.log("onlineProjectList3232", onlineProjectList);
console.log("scrollIdStrscrollIdStrscrollIdStr", scrollIdStr);
const element: any = document.getElementById(scrollIdStr.value!.toString());
if (element) {
element.scrollIntoView({ behavior: "smooth", block: "start" });

View File

@ -75,6 +75,8 @@ const showFilterList = () => {
};
//
const handleClickFilter = (value: string) => {
console.log('valuevaluevaluevalue', value);
emit("handleHiddenSuspended");
if (value === "7") {
selectFilterList.value = "";
@ -131,7 +133,7 @@ const handleClickFilter = (value: string) => {
}
console.log("selectFilterList.value", selectFilterList.value);
if (value === "99") {
emit("handleNearServiceList");
emit("handleNearServiceList");
}
if (selectFilterList.value) {
@ -262,53 +264,25 @@ defineExpose({
<template>
<div style="display: flex; width: 100%">
<div class="moreSelectBox">
<div
:class="showSearchForm ? 'selectFormBox' : 'selectBox'"
v-if="isShowFilterIconList"
@click="handleShowMoreFormBox"
>
<img
v-if="!showSearchForm"
class="selectBoxDefaultIcon"
src="@/assets/ai/retract.png"
/>
<div :class="showSearchForm ? 'selectFormBox' : 'selectBox'" v-if="isShowFilterIconList"
@click="handleShowMoreFormBox">
<img v-if="!showSearchForm" class="selectBoxDefaultIcon" src="@/assets/ai/retract.png" />
<div v-if="showSearchForm" style="display: flex; width: 100%">
<div style="width: 220px">
<el-form :model="form" label-width="auto">
<el-form-item
class="BUSINESS_TRADEBox"
label-position="top"
label="经营业态"
prop="BUSINESS_TRADE"
>
<el-tree-select
v-model="form.BUSINESS_TRADE"
:data="businessTradeList"
placeholder="请选择经营业态"
:props="{
label: 'label',
children: 'children',
}"
clearable
filterable
default-expand-all
multiple
show-checkbox
/>
<el-form-item class="BUSINESS_TRADEBox" label-position="top" label="经营业态" prop="BUSINESS_TRADE">
<el-tree-select v-model="form.BUSINESS_TRADE" :data="businessTradeList" placeholder="请选择经营业态" :props="{
label: 'label',
children: 'children',
}" clearable filterable default-expand-all multiple show-checkbox />
</el-form-item>
</el-form>
<div style="width: 100%; display: flex; justify-content: flex-end">
<el-button type="primary" @click="handleClickFilter('5')"
>查询</el-button
>
<el-button type="primary" @click="handleClickFilter('5')">查询</el-button>
</div>
</div>
<img
class="closeIcon"
src="@/assets/ai/retract.png"
@click="handleColseSearchBox"
/>
<img class="closeIcon" src="@/assets/ai/retract.png" @click="handleColseSearchBox" />
</div>
</div>
</div>
@ -317,18 +291,10 @@ defineExpose({
<img class="defaultIcon" src="@/assets/ai/filterIcon.png" />
</div>
<div class="otherList" v-if="isShowFilterIconList">
<div
class="otherItem"
v-for="(item, index) in filterList"
:key="index"
@click="handleClickFilter(item.value)"
>
<div class="otherItem" v-for="(item, index) in filterList" :key="index" @click="handleClickFilter(item.value)">
<el-popover :title="item.label" placement="left">
<template #reference>
<img
class="otherIcon"
:src="item.isSelect ? item.selectScr : item.src"
/>
<img class="otherIcon" :src="item.isSelect ? item.selectScr : item.src" />
</template>
</el-popover>
</div>

View File

@ -226,5 +226,5 @@ export async function handleGetGDNearServiceList(params: any) {
if (data.Result_Code !== 100) {
return data
}
return data.Result_Data.list
return data.Result_Data.List
}

View File

@ -41,8 +41,8 @@ const errorHandler = (error: any): any => {
// 创建 axios 实例
const instance = axios.create({
// baseURL: 'https://admin.es.eshangtech.com/platform/', // 默认请求前缀
baseURL: 'http://10.104.1.161:8070/platform/', // 默认请求前缀
baseURL: 'https://admin.es.eshangtech.com/platform/', // 默认请求前缀
// baseURL: 'http://10.104.1.161:8070/platform/', // 默认请求前缀
timeout: 60000, // 请求超时时间
headers: {
"provincecode": "340000",