Commit 7f54c09b by Lyan

头部按钮修改

parent 6be16064
<template> <template>
<div class="header-btn move-btn"> <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">注册/登录 @click="handleToLogin">注册/登录
</el-button> </el-button>
<el-button v-else type="primary" style="padding: 9px 30px;margin-right: 6px" size="small" @click="handleExit">退出登录 <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"> <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="" /> <img src="../../../assets/image/head/search.png" alt="" />
</div> </div>
......
...@@ -1310,161 +1310,161 @@ const routes = [ ...@@ -1310,161 +1310,161 @@ const routes = [
}, },
//个人中心 //个人中心
{ // {
path: "/MyManage", // path: "/MyManage",
name: "MyManage", // name: "MyManage",
component: () => import("@/views/MyManage/index"), // component: () => import("@/views/MyManage/index"),
children: [ // children: [
// 未注册用户 // // 未注册用户
{ // {
path: "/MyManage/UnVerify/index", // path: "/MyManage/UnVerify/index",
name: "UnVerify", // name: "UnVerify",
meta: { // meta: {
name: "首页", // name: "首页",
}, // },
component: () => import("@/views/MyManage/UnVerify/index.vue"), // component: () => import("@/views/MyManage/UnVerify/index.vue"),
}, // },
{ // {
path: "/MyManage/UnVerify/vendor", // path: "/MyManage/UnVerify/vendor",
name: "vendor", // name: "vendor",
meta: { // meta: {
name: "厂商实名认证", // name: "厂商实名认证",
}, // },
component: () => import("@/views/MyManage/UnVerify/vendor.vue"), // component: () => import("@/views/MyManage/UnVerify/vendor.vue"),
}, // },
{ // {
path: "/MyManage/UnVerify/uploadvendor", // path: "/MyManage/UnVerify/uploadvendor",
name: "uploadvendor", // name: "uploadvendor",
meta: { // meta: {
name: "厂商实名认证提交资料", // name: "厂商实名认证提交资料",
}, // },
component: () => import("@/views/MyManage/UnVerify/uploadvendor.vue"), // component: () => import("@/views/MyManage/UnVerify/uploadvendor.vue"),
}, // },
{ // {
path: "/MyManage/UnVerify/vendorstatus", // path: "/MyManage/UnVerify/vendorstatus",
name: "vendorstatus", // name: "vendorstatus",
meta: { // meta: {
name: "厂商实名认证审核结果", // name: "厂商实名认证审核结果",
}, // },
component: () => import("@/views/MyManage/UnVerify/vendorstatus.vue"), // component: () => import("@/views/MyManage/UnVerify/vendorstatus.vue"),
}, // },
{ // {
path: "/MyManage/UnVerify/calibration", // path: "/MyManage/UnVerify/calibration",
name: "calibration", // name: "calibration",
meta: { // meta: {
name: "检测校验申请", // name: "检测校验申请",
}, // },
component: () => import("@/views/MyManage/UnVerify/calibration.vue"), // component: () => import("@/views/MyManage/UnVerify/calibration.vue"),
}, // },
{ // {
path: "/MyManage/UnVerify/uploadcalibration", // path: "/MyManage/UnVerify/uploadcalibration",
name: "uploadcalibration", // name: "uploadcalibration",
meta: { // meta: {
name: "检测校验申请上传资料", // name: "检测校验申请上传资料",
}, // },
component: () => import("@/views/MyManage/UnVerify/uploadcalibration.vue"), // component: () => import("@/views/MyManage/UnVerify/uploadcalibration.vue"),
}, // },
{ // {
path: "/MyManage/UnVerify/calibrationstatus", // path: "/MyManage/UnVerify/calibrationstatus",
name: "calibrationstatus", // name: "calibrationstatus",
meta: { // meta: {
name: "检测校验申请审核结果", // name: "检测校验申请审核结果",
}, // },
component: () => import("@/views/MyManage/UnVerify/calibrationstatus.vue"), // component: () => import("@/views/MyManage/UnVerify/calibrationstatus.vue"),
}, // },
{ // {
path: "/MyManage/UnVerify/personalInfo", // path: "/MyManage/UnVerify/personalInfo",
name: "personalInfo", // name: "personalInfo",
meta: { // meta: {
name: "个人资料", // name: "个人资料",
}, // },
component: () => import("@/views/MyManage/UnVerify/personalInfo.vue"), // component: () => import("@/views/MyManage/UnVerify/personalInfo.vue"),
}, // },
{ // {
path: "/MyManage/UnVerify/changePass", // path: "/MyManage/UnVerify/changePass",
name: "changePass", // name: "changePass",
meta: { // meta: {
name: "修改登录密码", // name: "修改登录密码",
}, // },
component: () => import("@/views/MyManage/UnVerify/changePass.vue"), // component: () => import("@/views/MyManage/UnVerify/changePass.vue"),
}, // },
{ // {
path: "/MyManage/UnVerify/changePhone", // path: "/MyManage/UnVerify/changePhone",
name: "changePhone", // name: "changePhone",
meta: { // meta: {
name: "修改手机号码", // name: "修改手机号码",
}, // },
component: () => import("@/views/MyManage/UnVerify/changePhone.vue"), // component: () => import("@/views/MyManage/UnVerify/changePhone.vue"),
}, // },
{ // {
path: "/MyManage/UnVerify/vendorModify", // path: "/MyManage/UnVerify/vendorModify",
name: "vendorModify", // name: "vendorModify",
meta: { // meta: {
name: "修改企业信息", // name: "修改企业信息",
}, // },
component: () => import("@/views/MyManage/UnVerify/vendorModify.vue"), // component: () => import("@/views/MyManage/UnVerify/vendorModify.vue"),
}, // 系统成员 // }, // 系统成员
{ // {
path: "/MyManage/SystemMember/index", // path: "/MyManage/SystemMember/index",
name: "SystemMember", // name: "SystemMember",
meta: { // meta: {
name: "首页", // name: "首页",
}, // },
component: () => import("@/views/MyManage/SystemMember/index.vue"), // component: () => import("@/views/MyManage/SystemMember/index.vue"),
}, // },
{ // {
path: "/MyManage/SystemMember/companyInfo", // path: "/MyManage/SystemMember/companyInfo",
name: "companyInfo", // name: "companyInfo",
meta: { // meta: {
name: "企业信息", // name: "企业信息",
}, // },
component: () => import("@/views/MyManage/SystemMember/companyInfo.vue"), // component: () => import("@/views/MyManage/SystemMember/companyInfo.vue"),
}, // },
// 管理员 START // // 管理员 START
{ // {
path: "/MyManage/admin/check", // path: "/MyManage/admin/check",
name: "MyManage/admin/check", // name: "MyManage/admin/check",
meta: { // meta: {
name: "业务审核", // name: "业务审核",
}, // },
component: () => import("@/views/MyManage/Admin/check.vue"), // component: () => import("@/views/MyManage/Admin/check.vue"),
}, // },
{ // {
path: "/MyManage/admin/code", // path: "/MyManage/admin/code",
name: "MyManage/admin/code", // name: "MyManage/admin/code",
meta: { // meta: {
name: "统一产品编码", // name: "统一产品编码",
}, // },
component: () => import("@/views/MyManage/Admin/code.vue"), // component: () => import("@/views/MyManage/Admin/code.vue"),
}, // },
{ // {
path: "/MyManage/admin/status_change", // path: "/MyManage/admin/status_change",
name: "MyManage/admin/status_change", // name: "MyManage/admin/status_change",
meta: { // meta: {
name: "审核状态修改", // name: "审核状态修改",
}, // },
component: () => import("@/views/MyManage/Admin/statusChange.vue"), // component: () => import("@/views/MyManage/Admin/statusChange.vue"),
}, // },
{ // {
path: "/MyManage/admin/ent_info", // path: "/MyManage/admin/ent_info",
name: "MyManage/admin/ent_info", // name: "MyManage/admin/ent_info",
meta: { // meta: {
name: "企业信息修改", // name: "企业信息修改",
}, // },
component: () => import("@/views/MyManage/Admin/entInfo.vue"), // component: () => import("@/views/MyManage/Admin/entInfo.vue"),
}, // },
{ // {
path: "/MyManage/admin/log", // path: "/MyManage/admin/log",
name: "MyManage/admin/log", // name: "MyManage/admin/log",
meta: { // meta: {
name: "日志查看", // name: "日志查看",
}, // },
component: () => import("@/views/MyManage/Admin/log.vue"), // component: () => import("@/views/MyManage/Admin/log.vue"),
}, // },
] // ]
}, // },
], ],
}, },
...@@ -1550,32 +1550,32 @@ const routes = [ ...@@ -1550,32 +1550,32 @@ const routes = [
service, service,
{ // {
path: "/login", // path: "/login",
name: "login", // name: "login",
meta: { // meta: {
name: "登录", // name: "登录",
}, // },
component: () => import("@/views/User/index"), // component: () => import("@/views/User/index"),
}, // },
{ // {
path: "/register", // path: "/register",
name: "register", // name: "register",
meta: { // meta: {
name: "注册", // name: "注册",
}, // },
component: () => import("@/views/User/index"), // component: () => import("@/views/User/index"),
}, // },
{ // {
path: "/reset-pass", // path: "/reset-pass",
name: "reset-pass", // name: "reset-pass",
component: () => import("@/views/User/index"), // component: () => import("@/views/User/index"),
}, // },
{ // {
path: "/MyManage/UnVerify/realNameTable", // path: "/MyManage/UnVerify/realNameTable",
name: "realNameTable", // name: "realNameTable",
component: () => import("@/views/MyManage/UnVerify/realNameTable"), // component: () => import("@/views/MyManage/UnVerify/realNameTable"),
}, // },
{ {
path: "/404", path: "/404",
name: "404", name: "404",
......
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