From 88001e059e36bd45f782245e5daa16fa66364c59 Mon Sep 17 00:00:00 2001 From: fuxiaochun Date: Wed, 16 Aug 2023 23:48:18 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=A3=80=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 18 + src/views/business/legal/search.vue | 315 ++++++++++++++ src/views/business/legal/searchFormModal.vue | 239 +++++++++++ src/views/business/legal/searchResult.vue | 417 +++++++++++++++++++ 4 files changed, 989 insertions(+) create mode 100644 src/views/business/legal/search.vue create mode 100644 src/views/business/legal/searchFormModal.vue create mode 100644 src/views/business/legal/searchResult.vue diff --git a/src/router/index.js b/src/router/index.js index f32723c..ccc2ad5 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -144,6 +144,24 @@ const router = createRouter({ }, component: () => import("@/views/business/legal/countryInfo.vue"), }, + { + path: 'business/legal/search', + name: 'search', + meta: { + title: 'AI商情-法律法规-境外法规检索', + group: 'business' + }, + component: () => import("@/views/business/legal/search.vue"), + }, + { + path: 'business/legal/searchResult', + name: 'searchResult', + meta: { + title: 'AI商情-法律法规-境外法规检索', + group: 'business' + }, + component: () => import("@/views/business/legal/searchResult.vue"), + }, ] } ], diff --git a/src/views/business/legal/search.vue b/src/views/business/legal/search.vue new file mode 100644 index 0000000..b85308c --- /dev/null +++ b/src/views/business/legal/search.vue @@ -0,0 +1,315 @@ + + + + + \ No newline at end of file diff --git a/src/views/business/legal/searchFormModal.vue b/src/views/business/legal/searchFormModal.vue new file mode 100644 index 0000000..44a212c --- /dev/null +++ b/src/views/business/legal/searchFormModal.vue @@ -0,0 +1,239 @@ + + + + + \ No newline at end of file diff --git a/src/views/business/legal/searchResult.vue b/src/views/business/legal/searchResult.vue new file mode 100644 index 0000000..a48acfd --- /dev/null +++ b/src/views/business/legal/searchResult.vue @@ -0,0 +1,417 @@ + + + + + \ No newline at end of file From c8036c67d78c4cbcebc379eec331821a7e2e10ee Mon Sep 17 00:00:00 2001 From: fuxiaochun Date: Wed, 16 Aug 2023 23:56:11 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E4=B8=AD=E5=BF=83?= =?UTF-8?q?=E4=BC=9A=E5=91=98=E6=9C=89=E6=95=88=E6=9C=9F=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ucenter/userInfo.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/ucenter/userInfo.vue b/src/views/ucenter/userInfo.vue index 503c80e..61ea4a6 100644 --- a/src/views/ucenter/userInfo.vue +++ b/src/views/ucenter/userInfo.vue @@ -79,7 +79,7 @@
有效期
- {{ userInfo.userData.equity ? userInfo.userData.equity.end_at : '' }} + {{ userInfo.userData.equity ? formatDate(userInfo.userData.equity.end_at, 'yyyy.MM.dd') : '' }} 订阅
@@ -104,6 +104,7 @@ import { showToast } from 'vant'; import { useUserInfo } from '@/stores/userInfo'; import UpdateContactModal from './components/updateContactModal.vue'; import { useRouter, useRoute } from 'vue-router'; +import { formatDate } from '@/utils/format.js' const router = useRouter();