Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1
Commits
7f54c09b
Commit
7f54c09b
authored
Jan 12, 2025
by
Lyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
头部按钮修改
parent
6be16064
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
181 additions
and
181 deletions
+181
-181
HeaderBtn.vue
src/components/layout/header/HeaderBtn.vue
+2
-2
index.js
src/router/index.js
+179
-179
No files found.
src/components/layout/header/HeaderBtn.vue
View file @
7f54c09b
<
template
>
<div
class=
"header-btn move-btn"
>
<el-button
v-if=
"!user"
type=
"primary"
style=
"padding: 9px 30px;margin-right: 6px"
size=
"small"
<
!--
<
el-button
v-if=
"!user"
type=
"primary"
style=
"padding: 9px 30px;margin-right: 6px"
size=
"small"
@
click=
"handleToLogin"
>
注册/登录
</el-button>
<el-button
v-else
type=
"primary"
style=
"padding: 9px 30px;margin-right: 6px"
size=
"small"
@
click=
"handleExit"
>
退出登录
</el-button>
</el-button>
-->
<div
class=
"top-banner-item tb-hover d-block d-xl-none d-lg-none"
@
click=
"handleSearch"
>
<img
src=
"../../../assets/image/head/search.png"
alt=
""
/>
</div>
...
...
src/router/index.js
View file @
7f54c09b
...
...
@@ -1310,161 +1310,161 @@ const routes = [
},
//个人中心
{
path
:
"/MyManage"
,
name
:
"MyManage"
,
component
:
()
=>
import
(
"@/views/MyManage/index"
),
children
:
[
// 未注册用户
{
path
:
"/MyManage/UnVerify/index"
,
name
:
"UnVerify"
,
meta
:
{
name
:
"首页"
,
},
component
:
()
=>
import
(
"@/views/MyManage/UnVerify/index.vue"
),
},
{
path
:
"/MyManage/UnVerify/vendor"
,
name
:
"vendor"
,
meta
:
{
name
:
"厂商实名认证"
,
},
component
:
()
=>
import
(
"@/views/MyManage/UnVerify/vendor.vue"
),
},
{
path
:
"/MyManage/UnVerify/uploadvendor"
,
name
:
"uploadvendor"
,
meta
:
{
name
:
"厂商实名认证提交资料"
,
},
component
:
()
=>
import
(
"@/views/MyManage/UnVerify/uploadvendor.vue"
),
},
{
path
:
"/MyManage/UnVerify/vendorstatus"
,
name
:
"vendorstatus"
,
meta
:
{
name
:
"厂商实名认证审核结果"
,
},
component
:
()
=>
import
(
"@/views/MyManage/UnVerify/vendorstatus.vue"
),
},
{
path
:
"/MyManage/UnVerify/calibration"
,
name
:
"calibration"
,
meta
:
{
name
:
"检测校验申请"
,
},
component
:
()
=>
import
(
"@/views/MyManage/UnVerify/calibration.vue"
),
},
{
path
:
"/MyManage/UnVerify/uploadcalibration"
,
name
:
"uploadcalibration"
,
meta
:
{
name
:
"检测校验申请上传资料"
,
},
component
:
()
=>
import
(
"@/views/MyManage/UnVerify/uploadcalibration.vue"
),
},
{
path
:
"/MyManage/UnVerify/calibrationstatus"
,
name
:
"calibrationstatus"
,
meta
:
{
name
:
"检测校验申请审核结果"
,
},
component
:
()
=>
import
(
"@/views/MyManage/UnVerify/calibrationstatus.vue"
),
},
{
path
:
"/MyManage/UnVerify/personalInfo"
,
name
:
"personalInfo"
,
meta
:
{
name
:
"个人资料"
,
},
component
:
()
=>
import
(
"@/views/MyManage/UnVerify/personalInfo.vue"
),
},
{
path
:
"/MyManage/UnVerify/changePass"
,
name
:
"changePass"
,
meta
:
{
name
:
"修改登录密码"
,
},
component
:
()
=>
import
(
"@/views/MyManage/UnVerify/changePass.vue"
),
},
{
path
:
"/MyManage/UnVerify/changePhone"
,
name
:
"changePhone"
,
meta
:
{
name
:
"修改手机号码"
,
},
component
:
()
=>
import
(
"@/views/MyManage/UnVerify/changePhone.vue"
),
},
{
path
:
"/MyManage/UnVerify/vendorModify"
,
name
:
"vendorModify"
,
meta
:
{
name
:
"修改企业信息"
,
},
component
:
()
=>
import
(
"@/views/MyManage/UnVerify/vendorModify.vue"
),
},
// 系统成员
{
path
:
"/MyManage/SystemMember/index"
,
name
:
"SystemMember"
,
meta
:
{
name
:
"首页"
,
},
component
:
()
=>
import
(
"@/views/MyManage/SystemMember/index.vue"
),
},
{
path
:
"/MyManage/SystemMember/companyInfo"
,
name
:
"companyInfo"
,
meta
:
{
name
:
"企业信息"
,
},
component
:
()
=>
import
(
"@/views/MyManage/SystemMember/companyInfo.vue"
),
},
// 管理员 START
{
path
:
"/MyManage/admin/check"
,
name
:
"MyManage/admin/check"
,
meta
:
{
name
:
"业务审核"
,
},
component
:
()
=>
import
(
"@/views/MyManage/Admin/check.vue"
),
},
{
path
:
"/MyManage/admin/code"
,
name
:
"MyManage/admin/code"
,
meta
:
{
name
:
"统一产品编码"
,
},
component
:
()
=>
import
(
"@/views/MyManage/Admin/code.vue"
),
},
{
path
:
"/MyManage/admin/status_change"
,
name
:
"MyManage/admin/status_change"
,
meta
:
{
name
:
"审核状态修改"
,
},
component
:
()
=>
import
(
"@/views/MyManage/Admin/statusChange.vue"
),
},
{
path
:
"/MyManage/admin/ent_info"
,
name
:
"MyManage/admin/ent_info"
,
meta
:
{
name
:
"企业信息修改"
,
},
component
:
()
=>
import
(
"@/views/MyManage/Admin/entInfo.vue"
),
},
{
path
:
"/MyManage/admin/log"
,
name
:
"MyManage/admin/log"
,
meta
:
{
name
:
"日志查看"
,
},
component
:
()
=>
import
(
"@/views/MyManage/Admin/log.vue"
),
},
//
{
//
path: "/MyManage",
//
name: "MyManage",
//
component: () => import("@/views/MyManage/index"),
//
children: [
//
// 未注册用户
//
{
//
path: "/MyManage/UnVerify/index",
//
name: "UnVerify",
//
meta: {
//
name: "首页",
//
},
//
component: () => import("@/views/MyManage/UnVerify/index.vue"),
//
},
//
{
//
path: "/MyManage/UnVerify/vendor",
//
name: "vendor",
//
meta: {
//
name: "厂商实名认证",
//
},
//
component: () => import("@/views/MyManage/UnVerify/vendor.vue"),
//
},
//
{
//
path: "/MyManage/UnVerify/uploadvendor",
//
name: "uploadvendor",
//
meta: {
//
name: "厂商实名认证提交资料",
//
},
//
component: () => import("@/views/MyManage/UnVerify/uploadvendor.vue"),
//
},
//
{
//
path: "/MyManage/UnVerify/vendorstatus",
//
name: "vendorstatus",
//
meta: {
//
name: "厂商实名认证审核结果",
//
},
//
component: () => import("@/views/MyManage/UnVerify/vendorstatus.vue"),
//
},
//
{
//
path: "/MyManage/UnVerify/calibration",
//
name: "calibration",
//
meta: {
//
name: "检测校验申请",
//
},
//
component: () => import("@/views/MyManage/UnVerify/calibration.vue"),
//
},
//
{
//
path: "/MyManage/UnVerify/uploadcalibration",
//
name: "uploadcalibration",
//
meta: {
//
name: "检测校验申请上传资料",
//
},
//
component: () => import("@/views/MyManage/UnVerify/uploadcalibration.vue"),
//
},
//
{
//
path: "/MyManage/UnVerify/calibrationstatus",
//
name: "calibrationstatus",
//
meta: {
//
name: "检测校验申请审核结果",
//
},
//
component: () => import("@/views/MyManage/UnVerify/calibrationstatus.vue"),
//
},
//
{
//
path: "/MyManage/UnVerify/personalInfo",
//
name: "personalInfo",
//
meta: {
//
name: "个人资料",
//
},
//
component: () => import("@/views/MyManage/UnVerify/personalInfo.vue"),
//
},
//
{
//
path: "/MyManage/UnVerify/changePass",
//
name: "changePass",
//
meta: {
//
name: "修改登录密码",
//
},
//
component: () => import("@/views/MyManage/UnVerify/changePass.vue"),
//
},
//
{
//
path: "/MyManage/UnVerify/changePhone",
//
name: "changePhone",
//
meta: {
//
name: "修改手机号码",
//
},
//
component: () => import("@/views/MyManage/UnVerify/changePhone.vue"),
//
},
//
{
//
path: "/MyManage/UnVerify/vendorModify",
//
name: "vendorModify",
//
meta: {
//
name: "修改企业信息",
//
},
//
component: () => import("@/views/MyManage/UnVerify/vendorModify.vue"),
//
}, // 系统成员
//
{
//
path: "/MyManage/SystemMember/index",
//
name: "SystemMember",
//
meta: {
//
name: "首页",
//
},
//
component: () => import("@/views/MyManage/SystemMember/index.vue"),
//
},
//
{
//
path: "/MyManage/SystemMember/companyInfo",
//
name: "companyInfo",
//
meta: {
//
name: "企业信息",
//
},
//
component: () => import("@/views/MyManage/SystemMember/companyInfo.vue"),
//
},
//
// 管理员 START
//
{
//
path: "/MyManage/admin/check",
//
name: "MyManage/admin/check",
//
meta: {
//
name: "业务审核",
//
},
//
component: () => import("@/views/MyManage/Admin/check.vue"),
//
},
//
{
//
path: "/MyManage/admin/code",
//
name: "MyManage/admin/code",
//
meta: {
//
name: "统一产品编码",
//
},
//
component: () => import("@/views/MyManage/Admin/code.vue"),
//
},
//
{
//
path: "/MyManage/admin/status_change",
//
name: "MyManage/admin/status_change",
//
meta: {
//
name: "审核状态修改",
//
},
//
component: () => import("@/views/MyManage/Admin/statusChange.vue"),
//
},
//
{
//
path: "/MyManage/admin/ent_info",
//
name: "MyManage/admin/ent_info",
//
meta: {
//
name: "企业信息修改",
//
},
//
component: () => import("@/views/MyManage/Admin/entInfo.vue"),
//
},
//
{
//
path: "/MyManage/admin/log",
//
name: "MyManage/admin/log",
//
meta: {
//
name: "日志查看",
//
},
//
component: () => import("@/views/MyManage/Admin/log.vue"),
//
},
]
},
//
]
//
},
],
},
...
...
@@ -1550,32 +1550,32 @@ const routes = [
service
,
{
path
:
"/login"
,
name
:
"login"
,
meta
:
{
name
:
"登录"
,
},
component
:
()
=>
import
(
"@/views/User/index"
),
},
{
path
:
"/register"
,
name
:
"register"
,
meta
:
{
name
:
"注册"
,
},
component
:
()
=>
import
(
"@/views/User/index"
),
},
{
path
:
"/reset-pass"
,
name
:
"reset-pass"
,
component
:
()
=>
import
(
"@/views/User/index"
),
},
{
path
:
"/MyManage/UnVerify/realNameTable"
,
name
:
"realNameTable"
,
component
:
()
=>
import
(
"@/views/MyManage/UnVerify/realNameTable"
),
},
//
{
//
path: "/login",
//
name: "login",
//
meta: {
//
name: "登录",
//
},
//
component: () => import("@/views/User/index"),
//
},
//
{
//
path: "/register",
//
name: "register",
//
meta: {
//
name: "注册",
//
},
//
component: () => import("@/views/User/index"),
//
},
//
{
//
path: "/reset-pass",
//
name: "reset-pass",
//
component: () => import("@/views/User/index"),
//
},
//
{
//
path: "/MyManage/UnVerify/realNameTable",
//
name: "realNameTable",
//
component: () => import("@/views/MyManage/UnVerify/realNameTable"),
//
},
{
path
:
"/404"
,
name
:
"404"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment