This commit is contained in:
bb_pan 2025-12-02 17:04:58 +08:00
parent 53660c7731
commit eab8296023
3 changed files with 14 additions and 14 deletions

View File

@ -173,7 +173,7 @@ const searchKeywordBtn = () => {
}
}
if (route.path.includes('parity')) {
if (searchTypeName.value == '需求') {
if (searchTypeName.value == '工具') {
$bus.emit('search', keywordIptValue.value)
} else {
router.push({
@ -190,7 +190,7 @@ const searchKeywordBtn = () => {
query: { keyWord: keywordIptValue.value },
})
}
if (searchTypeName.value === '需求') {
if (searchTypeName.value === '工具') {
router.push({
name: 'parity',
query: { keyWord: keywordIptValue.value },
@ -204,7 +204,7 @@ const searchKeywordBtn = () => {
query: { keyWord: keywordIptValue.value },
})
}
if (searchTypeName.value == '需求') {
if (searchTypeName.value == '工具') {
router.push({
name: 'parity',
query: { keyWord: keywordIptValue.value },
@ -219,7 +219,7 @@ const searchKeywordBtn = () => {
query: { keyWord: keywordIptValue.value },
})
}
if (searchTypeName.value == '需求') {
if (searchTypeName.value == '工具') {
router.push({
name: 'parity',
query: { keyWord: keywordIptValue.value },
@ -548,7 +548,7 @@ onUnmounted(() => {
<!-- <div class="home-logo"></div>-->
<div class="home-search" ref="homeSearchRef">
<input
:placeholder="searchTypeName === '装备' ? '搜索装备关键词' : '搜索需求关键词'"
:placeholder="searchTypeName === '装备' ? '搜索装备关键词' : '搜索工具关键词'"
type="text"
v-model.trim="keywordIptValue"
@keydown.enter="searchKeywordBtn"
@ -556,7 +556,7 @@ onUnmounted(() => {
@focus="placeholderText = ''"
@blur="
placeholderText =
searchTypeName === '装备' ? '搜索装备关键词' : '搜索需求关键词'
searchTypeName === '装备' ? '搜索装备关键词' : '搜索工具关键词'
"
@input="changeInputValue"
/>
@ -588,13 +588,13 @@ onUnmounted(() => {
<div
@click="
() => {
searchTypeName = '需求'
searchTypeName = '工具'
searchCheckVisible = false
}
"
style="border-bottom-left-radius: 6px; border-bottom-right-radius: 6px"
>
需求
工具
</div>
</div>
<!-- 热词 -->

View File

@ -113,7 +113,7 @@ const routes: Array<RouteRecordRaw> = [
name: 'equipDetail',
component: () => import('views/equip/detail.vue'),
meta: {
title: '备详情',
title: '备详情',
keepAlive: false,
AuthFlag: false,
},
@ -123,7 +123,7 @@ const routes: Array<RouteRecordRaw> = [
name: 'NumEquipDetail',
component: () => import('views/equip/numDetail.vue'),
meta: {
title: '备详情',
title: '备详情',
keepAlive: false,
AuthFlag: false,
},

View File

@ -145,7 +145,7 @@
</div>
<div class="detail">
<div class="publicTitle">备详情</div>
<div class="publicTitle">备详情</div>
<!-- <div class="publicLine"></div> -->
<div class="list publicContent">
<!-- 动态渲染两栏布局 -->
@ -564,7 +564,7 @@ const companyIdNew = store.userInfo.companyId
console.log(pageParams, 'pageParams')
const backPath = ref<any>('')
const backName = ref<any>('')
const currentName = ref<any>('备详情')
const currentName = ref<any>('备详情')
const viewImgUrl = computed(() => {
if (goodsImgList.value.length > 0) {
return goodsImgList.value[activeIndex.value].fileUrl
@ -724,7 +724,7 @@ const businessList = reactive([
},
])
//map
//map
const equipDetailKeyList = reactive([
{
label: '装备编号',
@ -805,7 +805,7 @@ const propertyNames = ref([])
//
const dialogPhone = ref(false)
//
//
const pageData: any = ref({})
//