From 8f04b9403e1a4073a87f5a96867b76685e006e9d Mon Sep 17 00:00:00 2001 From: gongjiale <942894820@qq.com> Date: Fri, 18 Nov 2022 10:56:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/views/home/DetailsPageconetent.vue | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/front/src/views/home/DetailsPageconetent.vue b/front/src/views/home/DetailsPageconetent.vue index 0857e926..48f7891e 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,