+
{{ title }}
diff --git a/src/layout/components/Menu/src/Menu.vue b/src/layout/components/Menu/src/Menu.vue
index 94a1da4a..d982434a 100644
--- a/src/layout/components/Menu/src/Menu.vue
+++ b/src/layout/components/Menu/src/Menu.vue
@@ -171,7 +171,8 @@ $prefix-cls: #{$namespace}-menu;
.#{$elNamespace}-menu {
.#{$elNamespace}-sub-menu__title,
.#{$elNamespace}-menu-item:not(.is-active) {
- background-color: var(--left-menu-bg-light-color) !important;
+ // background-color: var(--left-menu-bg-light-color) !important;
+ background-color: #ffffff !important;
}
}
}
diff --git a/src/layout/components/ToolHeader.vue b/src/layout/components/ToolHeader.vue
index 0b8d00d5..3fa57cd3 100644
--- a/src/layout/components/ToolHeader.vue
+++ b/src/layout/components/ToolHeader.vue
@@ -52,6 +52,7 @@ export default defineComponent({
'h-[var(--top-tool-height)] relative px-[var(--top-tool-p-x)] flex items-center justify-between',
'dark:bg-[var(--el-bg-color)]'
]}
+ style="height:60px"
>
{layout.value !== 'top' ? (
diff --git a/src/layout/components/useRenderLayout.tsx b/src/layout/components/useRenderLayout.tsx
index 5cae84dc..927a369a 100644
--- a/src/layout/components/useRenderLayout.tsx
+++ b/src/layout/components/useRenderLayout.tsx
@@ -55,7 +55,8 @@ export const useRenderLayout = () => {
'w-[var(--left-menu-max-width)]': !appStore.getCollapse
}
]}
- style="transition: all var(--transition-time-02);"
+ style="transition: all var(--transition-time-02);height:60px;display: flex;
+ align-items: center;"
>
) : undefined}
@@ -106,9 +107,9 @@ export const useRenderLayout = () => {
]}
>
- {tagsView.value ? (
+ {/* {tagsView.value ? (
- ) : undefined}
+ ) : undefined} */}
diff --git a/src/main.ts b/src/main.ts
index 831c34d0..72ff7c67 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -20,7 +20,6 @@ import { setupElementPlus } from '@/plugins/elementPlus'
import { setupFormCreate } from '@/plugins/formCreate'
// 引入全局样式
-import '@/styles/element/index.scss'
import '@/styles/index.scss'
// 引入动画
diff --git a/src/store/modules/app.ts b/src/store/modules/app.ts
index e3d6a56f..e7e30857 100644
--- a/src/store/modules/app.ts
+++ b/src/store/modules/app.ts
@@ -47,7 +47,6 @@ export const useAppStore = defineStore('app', {
mobile: false, // 是否是移动端
title: import.meta.env.VITE_APP_TITLE, // 标题
pageLoading: false, // 路由跳转loading
-
breadcrumb: true, // 面包屑
breadcrumbIcon: true, // 面包屑图标
collapse: false, // 折叠菜单
@@ -58,7 +57,7 @@ export const useAppStore = defineStore('app', {
size: true, // 尺寸图标
locale: true, // 多语言图标
message: true, // 消息图标
- tagsView: true, // 标签页
+ tagsView: false, // 标签页
tagsViewImmerse: false, // 标签页沉浸
tagsViewIcon: true, // 是否显示标签图标
logo: true, // logo
@@ -66,39 +65,38 @@ export const useAppStore = defineStore('app', {
footer: true, // 显示页脚
greyMode: false, // 是否开始灰色模式,用于特殊悼念日
fixedMenu: wsCache.get('fixedMenu') || false, // 是否固定菜单
-
layout: wsCache.get(CACHE_KEY.LAYOUT) || 'classic', // layout布局
isDark: wsCache.get(CACHE_KEY.IS_DARK) || false, // 是否是暗黑模式
currentSize: wsCache.get('default') || 'default', // 组件尺寸
theme: wsCache.get(CACHE_KEY.THEME) || {
// 主题色
- elColorPrimary: '#409eff',
+ elColorPrimary: '#00329F',
// 左侧菜单边框颜色
leftMenuBorderColor: 'inherit',
// 左侧菜单背景颜色
- leftMenuBgColor: '#001529',
+ leftMenuBgColor: '#ffffff',
// 左侧菜单浅色背景颜色
leftMenuBgLightColor: '#0f2438',
// 左侧菜单选中背景颜色
- leftMenuBgActiveColor: 'var(--el-color-primary)',
+ leftMenuBgActiveColor: '#EBF1FF',
// 左侧菜单收起选中背景颜色
- leftMenuCollapseBgActiveColor: 'var(--el-color-primary)',
+ leftMenuCollapseBgActiveColor: '#EBF1FF',
// 左侧菜单字体颜色
- leftMenuTextColor: '#bfcbd9',
+ leftMenuTextColor: '#98A4BF',
// 左侧菜单选中字体颜色
- leftMenuTextActiveColor: '#fff',
+ leftMenuTextActiveColor: '#00329F',
// logo字体颜色
logoTitleTextColor: '#fff',
// logo边框颜色
logoBorderColor: 'inherit',
// 头部背景颜色
- topHeaderBgColor: '#fff',
+ topHeaderBgColor: '#00329F',
// 头部字体颜色
- topHeaderTextColor: 'inherit',
+ topHeaderTextColor: '#ffffff',
// 头部悬停颜色
topHeaderHoverColor: '#f6f6f6',
// 头部边框颜色
- topToolBorderColor: '#eee'
+ topToolBorderColor: '#E2E7F5'
}
}
},
diff --git a/src/styles/element/index.scss b/src/styles/element/index.scss
deleted file mode 100644
index 02013c27..00000000
--- a/src/styles/element/index.scss
+++ /dev/null
@@ -1,8 +0,0 @@
-// @forward 'element-plus/theme-chalk/src/common/var.scss' with (
-// $colors: (
-// 'primary': (
-// 'base': #00329f
-// )
-// )
-// );
-// @use 'element-plus/theme-chalk/src/index.scss' as *;
diff --git a/src/styles/var.css b/src/styles/var.css
index 44f9405c..1b10b273 100644
--- a/src/styles/var.css
+++ b/src/styles/var.css
@@ -1,13 +1,15 @@
:root {
+ --el-color-primary: #00329f;
+
--login-bg-color: #293146;
- --left-menu-max-width: 200px;
+ --left-menu-max-width: 220px;
--left-menu-min-width: 64px;
- --left-menu-bg-color: #001529;
+ --left-menu-bg-color: #ffffff;
- --left-menu-bg-light-color: #0f2438;
+ --left-menu-bg-light-color: #ffffff;
--left-menu-bg-active-color: var(--el-color-primary);
@@ -35,7 +37,8 @@
--top-tool-p-x: 0;
- --tags-view-height: 35px;
+ /* --tags-view-height: 35px; 开启面包屑时 */
+ --tags-view-height: 8px;
/* header start */
/* tab menu start */
diff --git a/src/views/mapPage/realTimeMap/editMap.vue b/src/views/mapPage/realTimeMap/editMap.vue
index cfa27b08..eb3d1a57 100644
--- a/src/views/mapPage/realTimeMap/editMap.vue
+++ b/src/views/mapPage/realTimeMap/editMap.vue
@@ -1,14 +1,104 @@
-
-
保存
-
- 撤销
-
-
重做
-
绘制节点
+
+
@@ -312,4 +402,33 @@ onMounted(() => {
width: 100%;
height: 100%;
}
+
+.tool-list {
+ display: flex;
+ align-items: center;
+ text-align: center;
+
+ .tool-item {
+ width: 50px;
+ }
+
+ .name {
+ font-family:
+ PingFangSC,
+ PingFang SC;
+ font-weight: 400;
+ font-size: 14px;
+ color: #0d162a;
+ line-height: 20px;
+ text-align: center;
+ font-style: normal;
+ }
+
+ .line {
+ margin: 0 14px;
+ width: 1px;
+ height: 47px;
+ border: 1px solid #cccccc;
+ }
+}
diff --git a/src/views/mapPage/realTimeMap/index.vue b/src/views/mapPage/realTimeMap/index.vue
index 57e9441d..74abd98c 100644
--- a/src/views/mapPage/realTimeMap/index.vue
+++ b/src/views/mapPage/realTimeMap/index.vue
@@ -1,8 +1,8 @@
新建任务
- 一键急停
地图编辑
+ 一键急停
diff --git a/src/views/mapPage/taskManagement/createTask.vue b/src/views/mapPage/taskManagement/createTask.vue
index 620a4d0a..9447247e 100644
--- a/src/views/mapPage/taskManagement/createTask.vue
+++ b/src/views/mapPage/taskManagement/createTask.vue
@@ -73,7 +73,12 @@
prop="doMoveAll"
label-width="146"
>
-
+
@@ -153,7 +158,7 @@
:rules="{ required: true, message: '任务类型不能为空', trigger: 'change' }"
>
{
}
}
+//搬空区域改变
+const doMoveAllChange = (e) => {
+ if (e === 1) {
+ formData.value.taskDetailList.forEach((item) => {
+ item.taskType = 1
+ })
+ }
+}
+
//拼接的任务数量改变
const montageNumberChange = (currentValue: number, oldValue: number) => {
if (currentValue > oldValue) {
@@ -1007,8 +1021,11 @@ const doCycleChange = (e) => {
formData.value.cycleNumber = 0
} else {
formData.value.cycleNumber = 1
+ formData.value.montageNumber = 1
formData.value.taskDetailList = formData.value.taskDetailList.slice(0, 1)
- formData.value.taskDetailList[0].taskType = 1
+ formData.value.taskDetailList.forEach((item) => {
+ item.taskType = 1
+ })
}
}