diff --git a/front/src/views/home/DetailsPageconetent.vue b/front/src/views/home/DetailsPageconetent.vue index 335f7da7..4a804b38 100644 --- a/front/src/views/home/DetailsPageconetent.vue +++ b/front/src/views/home/DetailsPageconetent.vue @@ -803,7 +803,7 @@ const handleAdd = (value) => { flag.value = value } - const titleName = ref(titleNameArray) +     const titleName=ref([]) const openMonitor = () => { window.open('http://www.qingdao.gov.cn:8083/ghwd/znwdqd/index.html') } @@ -903,6 +903,16 @@ pageSize: currentPageSize.value, name: '', }) + //调整标题顺序 西海岸基础设施放在最前面 +  const setTitle = () => { +        let  title = titleNameArray +        let whoShow1 = ref(whoShow) +      if( whoShow1 && whoShow1.value.itShowXiHaiAn){ +        title[0] = title.splice(2, 1, title[0])[0]; +      +      } +      titleName.value=title +      } // 查询 const onSearch = () => { loading.value = true @@ -1740,6 +1750,8 @@ } onMounted(() => { // 从本地读取查询条件,赋值 + //西海岸基础设施放在最前面 + setTitle(); handleSetSearchData() listKey2.value++ // 获取筛选条件 @@ -1877,6 +1889,7 @@ ) } return { + setTitle, listKey, ListContent, searchValue,