瀏覽代碼

新增部分route

code4eat 2 年之前
父節點
當前提交
1fb731f8df
共有 3 個文件被更改,包括 63 次插入15 次删除
  1. 36 2
      config/routes.js
  2. 25 12
      src/global.less
  3. 2 1
      src/pages/costAccounting/beforeCostShareSearch/index.jsx

+ 36 - 2
config/routes.js

@@ -1,8 +1,8 @@
 /*
  * @Author: your name
  * @Date: 2021-07-22 15:04:09
- * @LastEditTime: 2021-09-01 15:10:17
- * @LastEditors: Please set LastEditors
+ * @LastEditTime: 2022-10-11 11:12:48
+ * @LastEditors: code4eat awesomedema@gmail.com
  * @Description: In User Settings Edit
  * @FilePath: /TracerMethodology_PC/config/routes.js
  */
@@ -142,6 +142,22 @@ export default [
         name: '科室损益计算',
         component: './costAccounting/departmentCostCalculate/index',
       },
+      {
+        path: '/costAccounting/unitCostCalculate',
+        name: '单位成本计算',
+        component: './costAccounting/departmentCostCalculate/index',
+      },
+      {
+        path: '/costAccounting/zhenciCostCalculate',
+        name: '诊次成本计算',
+        component: './costAccounting/departmentCostCalculate/index',
+      },
+      {
+        path: '/costAccounting/chuangriCostCalculate',
+        name: '床日成本计算',
+        component: './costAccounting/departmentCostCalculate/index',
+      },
+      
     ],
   },
   {
@@ -155,6 +171,24 @@ export default [
         icon: 'tool',
         component: './reportTableExport/departmentOperatingReport/index',
       },
+      {
+        path: '/reportTableExport/unitCostReport',
+        name: '单位成本报表',
+        icon: 'tool',
+        component: './reportTableExport/departmentOperatingReport/index',
+      },
+      {
+        path: '/reportTableExport/zhenciCostReport',
+        name: '诊次成本报表',
+        icon: 'tool',
+        component: './reportTableExport/departmentOperatingReport/index',
+      },
+      {
+        path: '/reportTableExport/chuangriCostReport',
+        name: '床日成本报表',
+        icon: 'tool',
+        component: './reportTableExport/departmentOperatingReport/index',
+      },
       {
         path: '/reportTableExport/wholeHospOperatingReport',
         name: '全院经营报表',

+ 25 - 12
src/global.less

@@ -4,6 +4,7 @@ html,
 body,
 #root {
   height: 100%;
+  min-width: 1100px !important;
 }
 
 
@@ -11,8 +12,9 @@ body,
 
 @primary-color: #00528E !important;
 
-.ant-table-cell-fix-right, .ant-table-cell-fix-right {
-    right: 0;
+.ant-table-cell-fix-right,
+.ant-table-cell-fix-right {
+  right: 0;
 }
 
 .ant-tree-checkbox-checked .ant-tree-checkbox-inner {
@@ -20,10 +22,16 @@ body,
   border-color: #00528E;
 }
 
+.ant-table-cell {
+    overflow: hidden;
+    text-overflow: ellipsis;
+    white-space: nowrap;
+}
+
 
-  .ant-col .ant-form-item-label {
-    flex: 1 !important;
-   }
+.ant-col .ant-form-item-label {
+  flex: 1 !important;
+}
 
 
 
@@ -42,6 +50,7 @@ body,
 .ant-layout {
   min-height: 100vh;
 }
+
 .ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed {
   left: unset;
 }
@@ -65,12 +74,15 @@ ol {
   .ant-table {
     width: 100%;
     overflow-x: auto;
-    &-thead > tr,
-    &-tbody > tr {
-      > th,
-      > td {
+
+    &-thead>tr,
+    &-tbody>tr {
+
+      >th,
+      >td {
         white-space: pre;
-        > span {
+
+        >span {
           display: block;
         }
       }
@@ -79,8 +91,9 @@ ol {
 }
 
 // Compatible with IE11
-@media screen and(-ms-high-contrast: active), (-ms-high-contrast: none) {
-  body .ant-design-pro > .ant-layout {
+@media screen and(-ms-high-contrast: active),
+(-ms-high-contrast: none) {
+  body .ant-design-pro>.ant-layout {
     min-height: 100vh;
   }
 }

+ 2 - 1
src/pages/costAccounting/beforeCostShareSearch/index.jsx

@@ -1,7 +1,7 @@
 /*
  * @Author: your name
  * @Date: 2021-07-26 10:13:13
- * @LastEditTime: 2021-09-10 09:15:57
+ * @LastEditTime: 2021-12-03 11:21:47
  * @LastEditors: Please set LastEditors
  * @Description: In User Settings Edit
  * @FilePath: /TracerMethodology_PC/src/pages/UserMana/index.js
@@ -235,6 +235,7 @@ const BeforeCostShareSearch = () => {
         search={{
           defaultCollapsed: false,
           labelWidth: 'auto',
+          span:6,
         }}
         footer={() => <a>{`合计:${totalCount}`}</a>}