ソースを参照

売上集計条件样式

quyx@nextosd.com 4 ヶ月 前
コミット
1ce111ae98

+ 5 - 0
src/assets/styles/index.scss

@@ -197,3 +197,8 @@ aside {
     margin-bottom: 10px;
   }
 }
+
+/* 当侧边栏菜单处于折叠状态时,设置激活的子菜单标题文字颜色为金色(#fdd000) */
+.el-menu--collapse .el-sub-menu.is-active .el-sub-menu__title {
+  color: #fdd000;
+}

+ 14 - 0
src/router/index.js

@@ -188,6 +188,20 @@ export const constantRoutes = [
         redirect: 'noredirect',
         children: [
             {
+                path: 'salesSumSetting',
+                component: () => import('@/views/fcbi/sales/sumSettings'),
+                name: 'salesSumSetting',
+                meta: {title: '売上集計条件', icon: 'user'}
+            }
+        ]
+    },
+    {
+        path: '/salesAdmin',
+        component: Layout,
+        hidden: true,
+        redirect: 'noredirect',
+        children: [
+            {
                 path: 'salesSumResult',
                 component: () => import('@/views/fcbi/sales/sumResult'),
                 name: 'salesSumResult',

+ 1 - 2
src/views/fcbi/sales/sumSettings.vue

@@ -395,7 +395,6 @@ const resetForm = () => {
 /* 按钮区域样式 */
 .section-btn {
   padding-left: calc(15px + 100px + 10px);
-  margin-top: 25px;
   display: flex;
   gap: 10px;
   align-items: center;
@@ -425,7 +424,7 @@ const resetForm = () => {
   }
   .section-monthly .date-groups-wrapper .date-group:nth-child(2) {
     margin-left: 80px !important;
-    margin-top: 8px;
+    margin-top: -2px;
   }
   .section-btn {
     padding-left: 20px;

+ 2 - 2
src/views/fcbi/survey/form.vue

@@ -47,7 +47,7 @@
             >期間指定</el-radio>
             <div class="scheduled-row">
               <!-- 期間指定时显示的日期选择(同行) -->
-              <div class="date-group"  >
+              <div class="date-group-form"  >
                 <!-- 日期选择器代码保持不变 -->
                 <el-select v-model="queryParams.startYear" placeholder="" class="date-select"   :disabled="queryParams.releaseType === 'immediate'" @change="formatDate">
                   <el-option v-for="year in years" :key="year" :label="year" :value="year"></el-option>
@@ -958,7 +958,7 @@ p {
   }
 }
 /* 日期选择器组合样式 */
-.date-group {
+.date-group-form {
   display: flex;
   align-items: center;
   gap: 8px;

+ 2 - 1
src/views/login.vue

@@ -111,7 +111,8 @@ function handleLogin() {
           }
           return acc;
         }, {});
-        router.push({path: redirect.value || "/", query: otherQueryParams});
+        // router.push({path: redirect.value || "/", query: otherQueryParams});
+        router.push({ name: 'salesSumSetting' });
       }).catch(() => {
         loading.value = false;
       });