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(() => { nextTick(() => {
selectProjectState.value = defaultTab; selectProjectState.value = defaultTab;
console.log("onlineProjectList3232", onlineProjectList); console.log("onlineProjectList3232", onlineProjectList);
console.log("scrollIdStrscrollIdStrscrollIdStr", scrollIdStr);
const element: any = document.getElementById(scrollIdStr.value!.toString()); const element: any = document.getElementById(scrollIdStr.value!.toString());
if (element) { if (element) {
element.scrollIntoView({ behavior: "smooth", block: "start" }); element.scrollIntoView({ behavior: "smooth", block: "start" });

View File

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

View File

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

View File

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