Commit eade3126 by 林家欣

fix: 修改条码公告传参

parent 1a26e386
......@@ -223,9 +223,9 @@ export const nav = [
id: uuid("gs_nav"),
name: "条码注册公告",
index: 2,
link: "/Business/Notice?id=zhuce",
link: "/Business/Notice?type=zhuce",
query: {
id: 'zhuce'
type: 'zhuce'
},
breadcrumb: [
{ name: "业务大厅", path: "/Business" },
......@@ -237,9 +237,9 @@ export const nav = [
id: uuid("gs_nav"),
name: "条码注销公告",
index: 2,
link: "/Business/Notice?id=zhuxiao",
link: "/Business/Notice?type=zhuxiao",
query: {
id: 'zhuxiao'
type: 'zhuxiao'
},
breadcrumb: [
{ name: "业务大厅", path: "/Business" },
......@@ -364,7 +364,7 @@ export const nav = [
breadcrumb: [
{ name: "业务大厅", path: "/Business" },
{ name: "我还不是系统成员", path: "/Business/Register" },
{ name: "条码公告", path: "/Business/Notice?id=zhuce" },
{ name: "条码公告", path: "/Business/Notice?type=zhuce" },
{ name: "企业信息" },
],
},
......
......@@ -10,7 +10,7 @@
:key="i"
>
<button
:class="['nav-link', { active: $route.query.id === tmp.type }]"
:class="['nav-link', { active: $route.query.type === tmp.type }]"
:id="tmp.type + '-tab'"
data-bs-toggle="tab"
:data-bs-target="'#' + tmp.type"
......@@ -31,7 +31,7 @@
:class="[
'tab-pane',
'fade',
{ 'show active': $route.query.id === tmp.type },
{ 'show active': $route.query.type === tmp.type },
]"
:id="tmp.type"
role="tabpanel"
......@@ -97,7 +97,7 @@ export default {
},
methods: {
init() {
this.setLogoutFlag(this.$route.query.id);
this.setLogoutFlag(this.$route.query.type);
},
setLogoutFlag(currentTab) {
if (currentTab === "zhuce") {
......@@ -149,7 +149,7 @@ export default {
this.$router.push({
path: "/Business/Notice/Msg",
query: {
id: this.$route.query.id,
type: this.$route.query.type,
fId: obj.fid,
code: obj.code,
},
......@@ -163,7 +163,7 @@ export default {
this.$router.push({
path: this.list[i].link,
query: {
id: this.list[i].active,
type: this.list[i].active,
},
});
},
......
......@@ -499,18 +499,18 @@ export default {
},
{
name: "条码注册公告",
path: "/Business/Notice?id=zhuce",
path: "/Business/Notice?type=zhuce",
active: "",
query: {
id: "zhuce",
type: "zhuce",
},
},
{
name: "条码注销公告",
path: "/Business/Notice?id=zhuxiao",
path: "/Business/Notice?type=zhuxiao",
active: "",
query: {
id: "zhuxiao",
type: "zhuxiao",
},
},
],
......
......@@ -680,7 +680,7 @@ export default {
name: "条码注册公告",
url: "/Business/Notice",
query: {
id: "zhuce",
type: "zhuce",
},
},
{
......@@ -688,7 +688,7 @@ export default {
name: "条码注销公告",
url: "/Business/Notice",
query: {
id: "zhuxiao",
type: "zhuxiao",
},
},
],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment