diff --git a/src/layout/header.vue b/src/layout/header.vue index 391335a..6aa9097 100644 --- a/src/layout/header.vue +++ b/src/layout/header.vue @@ -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(() => { diff --git a/src/router/index.ts b/src/router/index.ts index 04e4340..2d4e84b 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -113,7 +113,7 @@ const routes: Array = [ name: 'equipDetail', component: () => import('views/equip/detail.vue'), meta: { - title: '装备详情', + title: '设备详情', keepAlive: false, AuthFlag: false, }, @@ -123,7 +123,7 @@ const routes: Array = [ name: 'NumEquipDetail', component: () => import('views/equip/numDetail.vue'), meta: { - title: '装备详情', + title: '设备详情', keepAlive: false, AuthFlag: false, }, diff --git a/src/views/equip/detail.vue b/src/views/equip/detail.vue index 4e329a8..41aa7aa 100644 --- a/src/views/equip/detail.vue +++ b/src/views/equip/detail.vue @@ -145,7 +145,7 @@
-
装备详情
+
设备详情
@@ -564,7 +564,7 @@ const companyIdNew = store.userInfo.companyId console.log(pageParams, 'pageParams') const backPath = ref('') const backName = ref('') -const currentName = ref('装备详情') +const currentName = ref('设备详情') 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({}) //我要租 弹窗