Commit e06eef02 by linjinhong

Merge remote-tracking branch 'origin/dev'

parents 64a41ec5 26074a60
...@@ -687,7 +687,7 @@ onUnmounted(() => { ...@@ -687,7 +687,7 @@ onUnmounted(() => {
bottom: 0; bottom: 0;
width: 40px; width: 40px;
background: #001529; background: #001529;
z-index: 9999; z-index: 999;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
...@@ -695,14 +695,14 @@ onUnmounted(() => { ...@@ -695,14 +695,14 @@ onUnmounted(() => {
} }
::v-deep(.el-drawer.rtl) { ::v-deep(.el-drawer.rtl) {
height: 80% !important; height: 650px !important;
top: 15%;
right: 40px; right: 40px;
top: calc(50% - 325px) !important;
} }
::v-deep(.get-logistic-drawer.el-drawer.rtl) { ::v-deep(.get-logistic-drawer.el-drawer.rtl) {
height: 20% !important; height: 200px !important;
top: 35% !important; top: calc(50% - 100px) !important;
} }
.tool-item { .tool-item {
......
...@@ -102,6 +102,28 @@ const router = createRouter({ ...@@ -102,6 +102,28 @@ const router = createRouter({
component: UserPage, component: UserPage,
}, },
{ {
path: '/system/downloadClient',
meta: {
title: '下载生产客户端',
},
component: () => {},
beforeEnter() {
// 假设你的下载链接是这个
const downloadLink = '/exeFiles/JomallProductionAssistantSetup.exe'
// 创建一个 a 标签来触发下载
const a = document.createElement('a')
a.href = downloadLink
a.download = '生产客户端.exe' // 你可以指定文件名,或者保持为空来自动使用原始文件名
// 不显示 a 标签,直接触发下载
a.style.display = 'none'
document.body.appendChild(a)
a.click()
document.body.removeChild(a)
},
},
{
path: '/system/external-authorisation', path: '/system/external-authorisation',
meta: { meta: {
title: '外部授权', title: '外部授权',
......
...@@ -176,6 +176,11 @@ const menu: MenuItem[] = [ ...@@ -176,6 +176,11 @@ const menu: MenuItem[] = [
label: '用户管理', label: '用户管理',
}, },
{ {
index: '/system/downloadClient',
id: 4,
label: '下载生产客户端',
},
{
index: '/system/external-authorisation', index: '/system/external-authorisation',
id: 5, id: 5,
label: '外部授权', label: '外部授权',
......
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