Bladeren bron

修改dialog样式以及路由配置

noob 3 jaren geleden
bovenliggende
commit
a6ddbd87c2

+ 5 - 0
src/assets/simple.scss

@@ -1,4 +1,9 @@
 // simple
+.el {
+    &-dialog.is-fullscreen {
+        border-radius: 0;
+    }
+}
 .simple {
     &-container {
         overflow: auto;

+ 1 - 0
src/pages/main/performance/components/dialog.vue

@@ -5,6 +5,7 @@
     :fullscreen="fullscreen"
     :key="reload"
     :before-close="handleCancel"
+    :modal-append-to-body="false"
     :width="width"
   >
     <!-- 表格主体部分 -->

+ 7 - 1
src/pages/main/performance/index.vue

@@ -65,9 +65,15 @@ export default {
 </script>
 <style lang="scss" scoped>
 .performance-container {
-    padding: 20px;
+    background: #ffffff;
+    padding-top: 20px;
+    margin: 15px;
+    overflow: auto;
+    width: calc(100% - 30px);
     height: 100%;
+    overflow-x: hidden;
     &-viewport {
+        width: calc(100% - 20px);
         overflow: auto;
     }
 }

+ 6 - 0
src/router/index.js

@@ -16,6 +16,12 @@ const routes = [{
             component: (resolve) => require( /* webpackChunkName: "system" */['../pages/main/infotech/index.vue'], resolve)
         },
         {
+            meta: { name:  '绩效', keepAlive: false },
+            path: '/performance',
+            name: 'performance',
+            component: (resolve) => require( /* webpackChunkName: "system" */['../pages/main/performance/index.vue'], resolve)
+        },
+        {
             meta: { name:  '宣传稿件下发', keepAlive: false,type: 1 },
             path: '/infotechgj',
             name: 'infotechgj',