From 48320d52af086bb7bf2c80942a3b6dd13c1804d2 Mon Sep 17 00:00:00 2001 From: Mehdi104797 <92753457+Mehdi104797@users.noreply.github.com> Date: Wed, 26 Feb 2025 08:28:43 +0330 Subject: [PATCH] =?UTF-8?q?=D8=AA=D8=BA=DB=8C=DB=8C=D8=B1=D8=A7=D8=AA=20?= =?UTF-8?q?=D8=AF=D8=A7=D8=B4=D8=A8=D9=88=D8=B1=D8=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/dashboard/majles/SearchSection.vue | 34 ++++++++++--------- layouts/default.vue | 24 +++++++------ pages/index.vue | 2 +- systems/search_ui | 2 +- 4 files changed, 33 insertions(+), 29 deletions(-) diff --git a/components/dashboard/majles/SearchSection.vue b/components/dashboard/majles/SearchSection.vue index a2b6c29..c2f7a91 100644 --- a/components/dashboard/majles/SearchSection.vue +++ b/components/dashboard/majles/SearchSection.vue @@ -63,8 +63,8 @@
@@ -156,7 +156,8 @@ import searchApi from "~/apis/searchApi"; import { mapState, mapActions } from "pinia"; import { useCommonStore } from "~/stores/commonStore"; import { useStorage } from "@vueuse/core"; -import {clearBodyClass} from "@manuals/utilities" +import { clearBodyClass } from "@manuals/utilities"; +import { useRouter } from "vue-router"; export default { beforeMount() { @@ -164,7 +165,7 @@ export default { }, mounted() { this.setBodyClass("majles-user-panel"); - let localStoageSearchSchema = useStorage("searchSchema",undefined).value; + let localStoageSearchSchema = useStorage("searchSchema", undefined).value; if (localStoageSearchSchema) { let searchSchema = JSON.parse(localStoageSearchSchema); this.schemasSetter(searchSchema); @@ -255,7 +256,9 @@ export default { }, urlResolver(_id) { - return ""; + const router = `search/qasection/${_id}/show`; + + return router; // const routeData = this.$router.resolve({ // path: "navigation", // params: { @@ -272,7 +275,6 @@ export default {