Kaynağa Gözat

图标样式查询条件

zcy 4 yıl önce
ebeveyn
işleme
95d8c7f0e1
46 değiştirilmiş dosya ile 1586 ekleme ve 225 silme
  1. 71 0
      public/iconfont.css
  2. BIN
      src/assets/404_images/logo.jpg
  3. BIN
      src/assets/404_images/logo1.jpg
  4. BIN
      src/assets/icon/logo-small.png
  5. BIN
      src/assets/icon/logo.png
  6. 4 0
      src/assets/less/common.less
  7. 1 1
      src/components/leftTree/index.vue
  8. 539 0
      src/icons/al/demo.css
  9. 510 0
      src/icons/al/demo_index.html
  10. 71 0
      src/icons/al/iconfont.css
  11. 0 0
      src/icons/al/iconfont.js
  12. 107 0
      src/icons/al/iconfont.json
  13. BIN
      src/icons/al/iconfont.ttf
  14. BIN
      src/icons/al/iconfont.woff
  15. BIN
      src/icons/al/iconfont.woff2
  16. 7 0
      src/layout/components/AppMain.vue
  17. 3 3
      src/layout/components/Navbar.vue
  18. 5 5
      src/layout/components/Sidebar/Item.vue
  19. 7 6
      src/layout/components/Sidebar/Logo.vue
  20. 1 1
      src/layout/components/Sidebar/index.vue
  21. 11 13
      src/layout/components/TagsView/index.vue
  22. 1 0
      src/main.js
  23. 4 4
      src/router/index.js
  24. 7 7
      src/styles/variables.scss
  25. 38 19
      src/views/basics/add/index.vue
  26. 1 1
      src/views/basics/check/index.vue
  27. 32 22
      src/views/basics/line/index.vue
  28. 35 16
      src/views/basics/pillar/index.vue
  29. 1 1
      src/views/basics/section/CheckAndEditModel.vue
  30. 38 20
      src/views/basics/section/index.vue
  31. 29 26
      src/views/basics/suoting/index.vue
  32. 0 6
      src/views/basics/suoting/indexColumns.js
  33. 34 30
      src/views/basics/tunnel/index.vue
  34. 1 1
      src/views/catenary/checklist/index.vue
  35. 1 1
      src/views/catenary/fault/index.vue
  36. 13 31
      src/views/catenary/fault/indexColumns.js
  37. 1 1
      src/views/catenary/record/index.vue
  38. 1 1
      src/views/catenary/stand/index.vue
  39. 2 2
      src/views/dashboard/index.vue
  40. 4 1
      src/views/login/index.vue
  41. 1 1
      src/views/sys/dept/index.vue
  42. 1 1
      src/views/sys/dict/index.vue
  43. 1 1
      src/views/sys/log/index.vue
  44. 1 1
      src/views/sys/menu/index.vue
  45. 1 1
      src/views/sys/role/index.vue
  46. 1 1
      src/views/sys/user/index.vue

+ 71 - 0
public/iconfont.css

@@ -0,0 +1,71 @@
+@font-face {
+  font-family: "iconfont"; /* Project id 2910848 */
+  src: url('iconfont.woff2?t=1635908688192') format('woff2'),
+       url('iconfont.woff?t=1635908688192') format('woff'),
+       url('iconfont.ttf?t=1635908688192') format('truetype');
+}
+
+.iconfont {
+  font-family: "iconfont" !important;
+  font-size: 16px;
+  font-style: normal;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
+}
+
+.icon-rili:before {
+  content: "\e624";
+}
+
+.icon-chaxun:before {
+  content: "\e623";
+}
+
+.icon-youjiantou:before {
+  content: "\e620";
+}
+
+.icon-zhongzhi:before {
+  content: "\e621";
+}
+
+.icon-zuojiantou:before {
+  content: "\e622";
+}
+
+.icon-error:before {
+  content: "\e61f";
+}
+
+.icon-wodeshanchu:before {
+  content: "\e61d";
+}
+
+.icon-daoru:before {
+  content: "\e61c";
+}
+
+.icon-daochu:before {
+  content: "\e61e";
+}
+
+.icon-xitong:before {
+  content: "\e61b";
+}
+
+.icon-jichushuju:before {
+  content: "\e61a";
+}
+
+.icon-anquangongju:before {
+  content: "\e619";
+}
+
+.icon-jiechuwang:before {
+  content: "\e616";
+}
+
+.icon-shouye:before {
+  content: "\e615";
+}
+

BIN
src/assets/404_images/logo.jpg


BIN
src/assets/404_images/logo1.jpg


BIN
src/assets/icon/logo-small.png


BIN
src/assets/icon/logo.png


+ 4 - 0
src/assets/less/common.less

@@ -58,3 +58,7 @@
 
 /**隐藏样式-modal确定按钮 */
 .jee-hidden{display: none}
+
+.content-z{
+  margin: -5px 15px 15px 15px;
+}

+ 1 - 1
src/components/leftTree/index.vue

@@ -146,7 +146,7 @@ export default {
 
     /deep/ .ant-card-body {
       padding: 10px;
-      height: calc(100vh - 225px);
+      height: calc(100vh - 260px);
       overflow: auto;
     }
   }

+ 539 - 0
src/icons/al/demo.css

@@ -0,0 +1,539 @@
+/* Logo 字体 */
+@font-face {
+  font-family: "iconfont logo";
+  src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834');
+  src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'),
+    url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'),
+    url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'),
+    url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg');
+}
+
+.logo {
+  font-family: "iconfont logo";
+  font-size: 160px;
+  font-style: normal;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
+}
+
+/* tabs */
+.nav-tabs {
+  position: relative;
+}
+
+.nav-tabs .nav-more {
+  position: absolute;
+  right: 0;
+  bottom: 0;
+  height: 42px;
+  line-height: 42px;
+  color: #666;
+}
+
+#tabs {
+  border-bottom: 1px solid #eee;
+}
+
+#tabs li {
+  cursor: pointer;
+  width: 100px;
+  height: 40px;
+  line-height: 40px;
+  text-align: center;
+  font-size: 16px;
+  border-bottom: 2px solid transparent;
+  position: relative;
+  z-index: 1;
+  margin-bottom: -1px;
+  color: #666;
+}
+
+
+#tabs .active {
+  border-bottom-color: #f00;
+  color: #222;
+}
+
+.tab-container .content {
+  display: none;
+}
+
+/* 页面布局 */
+.main {
+  padding: 30px 100px;
+  width: 960px;
+  margin: 0 auto;
+}
+
+.main .logo {
+  color: #333;
+  text-align: left;
+  margin-bottom: 30px;
+  line-height: 1;
+  height: 110px;
+  margin-top: -50px;
+  overflow: hidden;
+  *zoom: 1;
+}
+
+.main .logo a {
+  font-size: 160px;
+  color: #333;
+}
+
+.helps {
+  margin-top: 40px;
+}
+
+.helps pre {
+  padding: 20px;
+  margin: 10px 0;
+  border: solid 1px #e7e1cd;
+  background-color: #fffdef;
+  overflow: auto;
+}
+
+.icon_lists {
+  width: 100% !important;
+  overflow: hidden;
+  *zoom: 1;
+}
+
+.icon_lists li {
+  width: 100px;
+  margin-bottom: 10px;
+  margin-right: 20px;
+  text-align: center;
+  list-style: none !important;
+  cursor: default;
+}
+
+.icon_lists li .code-name {
+  line-height: 1.2;
+}
+
+.icon_lists .icon {
+  display: block;
+  height: 100px;
+  line-height: 100px;
+  font-size: 42px;
+  margin: 10px auto;
+  color: #333;
+  -webkit-transition: font-size 0.25s linear, width 0.25s linear;
+  -moz-transition: font-size 0.25s linear, width 0.25s linear;
+  transition: font-size 0.25s linear, width 0.25s linear;
+}
+
+.icon_lists .icon:hover {
+  font-size: 100px;
+}
+
+.icon_lists .svg-icon {
+  /* 通过设置 font-size 来改变图标大小 */
+  width: 1em;
+  /* 图标和文字相邻时,垂直对齐 */
+  vertical-align: -0.15em;
+  /* 通过设置 color 来改变 SVG 的颜色/fill */
+  fill: currentColor;
+  /* path 和 stroke 溢出 viewBox 部分在 IE 下会显示
+      normalize.css 中也包含这行 */
+  overflow: hidden;
+}
+
+.icon_lists li .name,
+.icon_lists li .code-name {
+  color: #666;
+}
+
+/* markdown 样式 */
+.markdown {
+  color: #666;
+  font-size: 14px;
+  line-height: 1.8;
+}
+
+.highlight {
+  line-height: 1.5;
+}
+
+.markdown img {
+  vertical-align: middle;
+  max-width: 100%;
+}
+
+.markdown h1 {
+  color: #404040;
+  font-weight: 500;
+  line-height: 40px;
+  margin-bottom: 24px;
+}
+
+.markdown h2,
+.markdown h3,
+.markdown h4,
+.markdown h5,
+.markdown h6 {
+  color: #404040;
+  margin: 1.6em 0 0.6em 0;
+  font-weight: 500;
+  clear: both;
+}
+
+.markdown h1 {
+  font-size: 28px;
+}
+
+.markdown h2 {
+  font-size: 22px;
+}
+
+.markdown h3 {
+  font-size: 16px;
+}
+
+.markdown h4 {
+  font-size: 14px;
+}
+
+.markdown h5 {
+  font-size: 12px;
+}
+
+.markdown h6 {
+  font-size: 12px;
+}
+
+.markdown hr {
+  height: 1px;
+  border: 0;
+  background: #e9e9e9;
+  margin: 16px 0;
+  clear: both;
+}
+
+.markdown p {
+  margin: 1em 0;
+}
+
+.markdown>p,
+.markdown>blockquote,
+.markdown>.highlight,
+.markdown>ol,
+.markdown>ul {
+  width: 80%;
+}
+
+.markdown ul>li {
+  list-style: circle;
+}
+
+.markdown>ul li,
+.markdown blockquote ul>li {
+  margin-left: 20px;
+  padding-left: 4px;
+}
+
+.markdown>ul li p,
+.markdown>ol li p {
+  margin: 0.6em 0;
+}
+
+.markdown ol>li {
+  list-style: decimal;
+}
+
+.markdown>ol li,
+.markdown blockquote ol>li {
+  margin-left: 20px;
+  padding-left: 4px;
+}
+
+.markdown code {
+  margin: 0 3px;
+  padding: 0 5px;
+  background: #eee;
+  border-radius: 3px;
+}
+
+.markdown strong,
+.markdown b {
+  font-weight: 600;
+}
+
+.markdown>table {
+  border-collapse: collapse;
+  border-spacing: 0px;
+  empty-cells: show;
+  border: 1px solid #e9e9e9;
+  width: 95%;
+  margin-bottom: 24px;
+}
+
+.markdown>table th {
+  white-space: nowrap;
+  color: #333;
+  font-weight: 600;
+}
+
+.markdown>table th,
+.markdown>table td {
+  border: 1px solid #e9e9e9;
+  padding: 8px 16px;
+  text-align: left;
+}
+
+.markdown>table th {
+  background: #F7F7F7;
+}
+
+.markdown blockquote {
+  font-size: 90%;
+  color: #999;
+  border-left: 4px solid #e9e9e9;
+  padding-left: 0.8em;
+  margin: 1em 0;
+}
+
+.markdown blockquote p {
+  margin: 0;
+}
+
+.markdown .anchor {
+  opacity: 0;
+  transition: opacity 0.3s ease;
+  margin-left: 8px;
+}
+
+.markdown .waiting {
+  color: #ccc;
+}
+
+.markdown h1:hover .anchor,
+.markdown h2:hover .anchor,
+.markdown h3:hover .anchor,
+.markdown h4:hover .anchor,
+.markdown h5:hover .anchor,
+.markdown h6:hover .anchor {
+  opacity: 1;
+  display: inline-block;
+}
+
+.markdown>br,
+.markdown>p>br {
+  clear: both;
+}
+
+
+.hljs {
+  display: block;
+  background: white;
+  padding: 0.5em;
+  color: #333333;
+  overflow-x: auto;
+}
+
+.hljs-comment,
+.hljs-meta {
+  color: #969896;
+}
+
+.hljs-string,
+.hljs-variable,
+.hljs-template-variable,
+.hljs-strong,
+.hljs-emphasis,
+.hljs-quote {
+  color: #df5000;
+}
+
+.hljs-keyword,
+.hljs-selector-tag,
+.hljs-type {
+  color: #a71d5d;
+}
+
+.hljs-literal,
+.hljs-symbol,
+.hljs-bullet,
+.hljs-attribute {
+  color: #0086b3;
+}
+
+.hljs-section,
+.hljs-name {
+  color: #63a35c;
+}
+
+.hljs-tag {
+  color: #333333;
+}
+
+.hljs-title,
+.hljs-attr,
+.hljs-selector-id,
+.hljs-selector-class,
+.hljs-selector-attr,
+.hljs-selector-pseudo {
+  color: #795da3;
+}
+
+.hljs-addition {
+  color: #55a532;
+  background-color: #eaffea;
+}
+
+.hljs-deletion {
+  color: #bd2c00;
+  background-color: #ffecec;
+}
+
+.hljs-link {
+  text-decoration: underline;
+}
+
+/* 代码高亮 */
+/* PrismJS 1.15.0
+https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */
+/**
+ * prism.js default theme for JavaScript, CSS and HTML
+ * Based on dabblet (http://dabblet.com)
+ * @author Lea Verou
+ */
+code[class*="language-"],
+pre[class*="language-"] {
+  color: black;
+  background: none;
+  text-shadow: 0 1px white;
+  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
+  text-align: left;
+  white-space: pre;
+  word-spacing: normal;
+  word-break: normal;
+  word-wrap: normal;
+  line-height: 1.5;
+
+  -moz-tab-size: 4;
+  -o-tab-size: 4;
+  tab-size: 4;
+
+  -webkit-hyphens: none;
+  -moz-hyphens: none;
+  -ms-hyphens: none;
+  hyphens: none;
+}
+
+pre[class*="language-"]::-moz-selection,
+pre[class*="language-"] ::-moz-selection,
+code[class*="language-"]::-moz-selection,
+code[class*="language-"] ::-moz-selection {
+  text-shadow: none;
+  background: #b3d4fc;
+}
+
+pre[class*="language-"]::selection,
+pre[class*="language-"] ::selection,
+code[class*="language-"]::selection,
+code[class*="language-"] ::selection {
+  text-shadow: none;
+  background: #b3d4fc;
+}
+
+@media print {
+
+  code[class*="language-"],
+  pre[class*="language-"] {
+    text-shadow: none;
+  }
+}
+
+/* Code blocks */
+pre[class*="language-"] {
+  padding: 1em;
+  margin: .5em 0;
+  overflow: auto;
+}
+
+:not(pre)>code[class*="language-"],
+pre[class*="language-"] {
+  background: #f5f2f0;
+}
+
+/* Inline code */
+:not(pre)>code[class*="language-"] {
+  padding: .1em;
+  border-radius: .3em;
+  white-space: normal;
+}
+
+.token.comment,
+.token.prolog,
+.token.doctype,
+.token.cdata {
+  color: slategray;
+}
+
+.token.punctuation {
+  color: #999;
+}
+
+.namespace {
+  opacity: .7;
+}
+
+.token.property,
+.token.tag,
+.token.boolean,
+.token.number,
+.token.constant,
+.token.symbol,
+.token.deleted {
+  color: #905;
+}
+
+.token.selector,
+.token.attr-name,
+.token.string,
+.token.char,
+.token.builtin,
+.token.inserted {
+  color: #690;
+}
+
+.token.operator,
+.token.entity,
+.token.url,
+.language-css .token.string,
+.style .token.string {
+  color: #9a6e3a;
+  background: hsla(0, 0%, 100%, .5);
+}
+
+.token.atrule,
+.token.attr-value,
+.token.keyword {
+  color: #07a;
+}
+
+.token.function,
+.token.class-name {
+  color: #DD4A68;
+}
+
+.token.regex,
+.token.important,
+.token.variable {
+  color: #e90;
+}
+
+.token.important,
+.token.bold {
+  font-weight: bold;
+}
+
+.token.italic {
+  font-style: italic;
+}
+
+.token.entity {
+  cursor: help;
+}

+ 510 - 0
src/icons/al/demo_index.html

@@ -0,0 +1,510 @@
+<!DOCTYPE html>
+<html>
+<head>
+  <meta charset="utf-8"/>
+  <title>iconfont Demo</title>
+  <link rel="shortcut icon" href="//img.alicdn.com/imgextra/i2/O1CN01ZyAlrn1MwaMhqz36G_!!6000000001499-73-tps-64-64.ico" type="image/x-icon"/>
+  <link rel="icon" type="image/svg+xml" href="//img.alicdn.com/imgextra/i4/O1CN01EYTRnJ297D6vehehJ_!!6000000008020-55-tps-64-64.svg"/>
+  <link rel="stylesheet" href="https://g.alicdn.com/thx/cube/1.3.2/cube.min.css">
+  <link rel="stylesheet" href="demo.css">
+  <link rel="stylesheet" href="iconfont.css">
+  <script src="iconfont.js"></script>
+  <!-- jQuery -->
+  <script src="https://a1.alicdn.com/oss/uploads/2018/12/26/7bfddb60-08e8-11e9-9b04-53e73bb6408b.js"></script>
+  <!-- 代码高亮 -->
+  <script src="https://a1.alicdn.com/oss/uploads/2018/12/26/a3f714d0-08e6-11e9-8a15-ebf944d7534c.js"></script>
+  <style>
+    .main .logo {
+      margin-top: 0;
+      height: auto;
+    }
+
+    .main .logo a {
+      display: flex;
+      align-items: center;
+    }
+
+    .main .logo .sub-title {
+      margin-left: 0.5em;
+      font-size: 22px;
+      color: #fff;
+      background: linear-gradient(-45deg, #3967FF, #B500FE);
+      -webkit-background-clip: text;
+      -webkit-text-fill-color: transparent;
+    }
+  </style>
+</head>
+<body>
+  <div class="main">
+    <h1 class="logo"><a href="https://www.iconfont.cn/" title="iconfont 首页" target="_blank">
+      <img width="200" src="https://img.alicdn.com/imgextra/i3/O1CN01Mn65HV1FfSEzR6DKv_!!6000000000514-55-tps-228-59.svg">
+      
+    </a></h1>
+    <div class="nav-tabs">
+      <ul id="tabs" class="dib-box">
+        <li class="dib active"><span>Unicode</span></li>
+        <li class="dib"><span>Font class</span></li>
+        <li class="dib"><span>Symbol</span></li>
+      </ul>
+      
+      <a href="https://www.iconfont.cn/manage/index?manage_type=myprojects&projectId=2910848" target="_blank" class="nav-more">查看项目</a>
+      
+    </div>
+    <div class="tab-container">
+      <div class="content unicode" style="display: block;">
+          <ul class="icon_lists dib-box">
+          
+            <li class="dib">
+              <span class="icon iconfont">&#xe624;</span>
+                <div class="name">日历</div>
+                <div class="code-name">&amp;#xe624;</div>
+              </li>
+          
+            <li class="dib">
+              <span class="icon iconfont">&#xe623;</span>
+                <div class="name">查询</div>
+                <div class="code-name">&amp;#xe623;</div>
+              </li>
+          
+            <li class="dib">
+              <span class="icon iconfont">&#xe620;</span>
+                <div class="name">右箭头</div>
+                <div class="code-name">&amp;#xe620;</div>
+              </li>
+          
+            <li class="dib">
+              <span class="icon iconfont">&#xe621;</span>
+                <div class="name">重置</div>
+                <div class="code-name">&amp;#xe621;</div>
+              </li>
+          
+            <li class="dib">
+              <span class="icon iconfont">&#xe622;</span>
+                <div class="name">左箭头</div>
+                <div class="code-name">&amp;#xe622;</div>
+              </li>
+          
+            <li class="dib">
+              <span class="icon iconfont">&#xe61f;</span>
+                <div class="name">error</div>
+                <div class="code-name">&amp;#xe61f;</div>
+              </li>
+          
+            <li class="dib">
+              <span class="icon iconfont">&#xe61d;</span>
+                <div class="name">我的删除</div>
+                <div class="code-name">&amp;#xe61d;</div>
+              </li>
+          
+            <li class="dib">
+              <span class="icon iconfont">&#xe61c;</span>
+                <div class="name">导入</div>
+                <div class="code-name">&amp;#xe61c;</div>
+              </li>
+          
+            <li class="dib">
+              <span class="icon iconfont">&#xe61e;</span>
+                <div class="name">导出</div>
+                <div class="code-name">&amp;#xe61e;</div>
+              </li>
+          
+            <li class="dib">
+              <span class="icon iconfont">&#xe61b;</span>
+                <div class="name">系统</div>
+                <div class="code-name">&amp;#xe61b;</div>
+              </li>
+          
+            <li class="dib">
+              <span class="icon iconfont">&#xe61a;</span>
+                <div class="name">基础数据</div>
+                <div class="code-name">&amp;#xe61a;</div>
+              </li>
+          
+            <li class="dib">
+              <span class="icon iconfont">&#xe619;</span>
+                <div class="name">安全工具</div>
+                <div class="code-name">&amp;#xe619;</div>
+              </li>
+          
+            <li class="dib">
+              <span class="icon iconfont">&#xe616;</span>
+                <div class="name">接触网</div>
+                <div class="code-name">&amp;#xe616;</div>
+              </li>
+          
+            <li class="dib">
+              <span class="icon iconfont">&#xe615;</span>
+                <div class="name">首页</div>
+                <div class="code-name">&amp;#xe615;</div>
+              </li>
+          
+          </ul>
+          <div class="article markdown">
+          <h2 id="unicode-">Unicode 引用</h2>
+          <hr>
+
+          <p>Unicode 是字体在网页端最原始的应用方式,特点是:</p>
+          <ul>
+            <li>支持按字体的方式去动态调整图标大小,颜色等等。</li>
+            <li>默认情况下不支持多色,直接添加多色图标会自动去色。</li>
+          </ul>
+          <blockquote>
+            <p>注意:新版 iconfont 支持两种方式引用多色图标:SVG symbol 引用方式和彩色字体图标模式。(使用彩色字体图标需要在「编辑项目」中开启「彩色」选项后并重新生成。)</p>
+          </blockquote>
+          <p>Unicode 使用步骤如下:</p>
+          <h3 id="-font-face">第一步:拷贝项目下面生成的 <code>@font-face</code></h3>
+<pre><code class="language-css"
+>@font-face {
+  font-family: 'iconfont';
+  src: url('iconfont.woff2?t=1635908688192') format('woff2'),
+       url('iconfont.woff?t=1635908688192') format('woff'),
+       url('iconfont.ttf?t=1635908688192') format('truetype');
+}
+</code></pre>
+          <h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
+<pre><code class="language-css"
+>.iconfont {
+  font-family: "iconfont" !important;
+  font-size: 16px;
+  font-style: normal;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
+}
+</code></pre>
+          <h3 id="-">第三步:挑选相应图标并获取字体编码,应用于页面</h3>
+<pre>
+<code class="language-html"
+>&lt;span class="iconfont"&gt;&amp;#x33;&lt;/span&gt;
+</code></pre>
+          <blockquote>
+            <p>"iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。</p>
+          </blockquote>
+          </div>
+      </div>
+      <div class="content font-class">
+        <ul class="icon_lists dib-box">
+          
+          <li class="dib">
+            <span class="icon iconfont icon-rili"></span>
+            <div class="name">
+              日历
+            </div>
+            <div class="code-name">.icon-rili
+            </div>
+          </li>
+          
+          <li class="dib">
+            <span class="icon iconfont icon-chaxun"></span>
+            <div class="name">
+              查询
+            </div>
+            <div class="code-name">.icon-chaxun
+            </div>
+          </li>
+          
+          <li class="dib">
+            <span class="icon iconfont icon-youjiantou"></span>
+            <div class="name">
+              右箭头
+            </div>
+            <div class="code-name">.icon-youjiantou
+            </div>
+          </li>
+          
+          <li class="dib">
+            <span class="icon iconfont icon-zhongzhi"></span>
+            <div class="name">
+              重置
+            </div>
+            <div class="code-name">.icon-zhongzhi
+            </div>
+          </li>
+          
+          <li class="dib">
+            <span class="icon iconfont icon-zuojiantou"></span>
+            <div class="name">
+              左箭头
+            </div>
+            <div class="code-name">.icon-zuojiantou
+            </div>
+          </li>
+          
+          <li class="dib">
+            <span class="icon iconfont icon-error"></span>
+            <div class="name">
+              error
+            </div>
+            <div class="code-name">.icon-error
+            </div>
+          </li>
+          
+          <li class="dib">
+            <span class="icon iconfont icon-wodeshanchu"></span>
+            <div class="name">
+              我的删除
+            </div>
+            <div class="code-name">.icon-wodeshanchu
+            </div>
+          </li>
+          
+          <li class="dib">
+            <span class="icon iconfont icon-daoru"></span>
+            <div class="name">
+              导入
+            </div>
+            <div class="code-name">.icon-daoru
+            </div>
+          </li>
+          
+          <li class="dib">
+            <span class="icon iconfont icon-daochu"></span>
+            <div class="name">
+              导出
+            </div>
+            <div class="code-name">.icon-daochu
+            </div>
+          </li>
+          
+          <li class="dib">
+            <span class="icon iconfont icon-xitong"></span>
+            <div class="name">
+              系统
+            </div>
+            <div class="code-name">.icon-xitong
+            </div>
+          </li>
+          
+          <li class="dib">
+            <span class="icon iconfont icon-jichushuju"></span>
+            <div class="name">
+              基础数据
+            </div>
+            <div class="code-name">.icon-jichushuju
+            </div>
+          </li>
+          
+          <li class="dib">
+            <span class="icon iconfont icon-anquangongju"></span>
+            <div class="name">
+              安全工具
+            </div>
+            <div class="code-name">.icon-anquangongju
+            </div>
+          </li>
+          
+          <li class="dib">
+            <span class="icon iconfont icon-jiechuwang"></span>
+            <div class="name">
+              接触网
+            </div>
+            <div class="code-name">.icon-jiechuwang
+            </div>
+          </li>
+          
+          <li class="dib">
+            <span class="icon iconfont icon-shouye"></span>
+            <div class="name">
+              首页
+            </div>
+            <div class="code-name">.icon-shouye
+            </div>
+          </li>
+          
+        </ul>
+        <div class="article markdown">
+        <h2 id="font-class-">font-class 引用</h2>
+        <hr>
+
+        <p>font-class 是 Unicode 使用方式的一种变种,主要是解决 Unicode 书写不直观,语意不明确的问题。</p>
+        <p>与 Unicode 使用方式相比,具有如下特点:</p>
+        <ul>
+          <li>相比于 Unicode 语意明确,书写更直观。可以很容易分辨这个 icon 是什么。</li>
+          <li>因为使用 class 来定义图标,所以当要替换图标时,只需要修改 class 里面的 Unicode 引用。</li>
+        </ul>
+        <p>使用步骤如下:</p>
+        <h3 id="-fontclass-">第一步:引入项目下面生成的 fontclass 代码:</h3>
+<pre><code class="language-html">&lt;link rel="stylesheet" href="./iconfont.css"&gt;
+</code></pre>
+        <h3 id="-">第二步:挑选相应图标并获取类名,应用于页面:</h3>
+<pre><code class="language-html">&lt;span class="iconfont icon-xxx"&gt;&lt;/span&gt;
+</code></pre>
+        <blockquote>
+          <p>"
+            iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。</p>
+        </blockquote>
+      </div>
+      </div>
+      <div class="content symbol">
+          <ul class="icon_lists dib-box">
+          
+            <li class="dib">
+                <svg class="icon svg-icon" aria-hidden="true">
+                  <use xlink:href="#icon-rili"></use>
+                </svg>
+                <div class="name">日历</div>
+                <div class="code-name">#icon-rili</div>
+            </li>
+          
+            <li class="dib">
+                <svg class="icon svg-icon" aria-hidden="true">
+                  <use xlink:href="#icon-chaxun"></use>
+                </svg>
+                <div class="name">查询</div>
+                <div class="code-name">#icon-chaxun</div>
+            </li>
+          
+            <li class="dib">
+                <svg class="icon svg-icon" aria-hidden="true">
+                  <use xlink:href="#icon-youjiantou"></use>
+                </svg>
+                <div class="name">右箭头</div>
+                <div class="code-name">#icon-youjiantou</div>
+            </li>
+          
+            <li class="dib">
+                <svg class="icon svg-icon" aria-hidden="true">
+                  <use xlink:href="#icon-zhongzhi"></use>
+                </svg>
+                <div class="name">重置</div>
+                <div class="code-name">#icon-zhongzhi</div>
+            </li>
+          
+            <li class="dib">
+                <svg class="icon svg-icon" aria-hidden="true">
+                  <use xlink:href="#icon-zuojiantou"></use>
+                </svg>
+                <div class="name">左箭头</div>
+                <div class="code-name">#icon-zuojiantou</div>
+            </li>
+          
+            <li class="dib">
+                <svg class="icon svg-icon" aria-hidden="true">
+                  <use xlink:href="#icon-error"></use>
+                </svg>
+                <div class="name">error</div>
+                <div class="code-name">#icon-error</div>
+            </li>
+          
+            <li class="dib">
+                <svg class="icon svg-icon" aria-hidden="true">
+                  <use xlink:href="#icon-wodeshanchu"></use>
+                </svg>
+                <div class="name">我的删除</div>
+                <div class="code-name">#icon-wodeshanchu</div>
+            </li>
+          
+            <li class="dib">
+                <svg class="icon svg-icon" aria-hidden="true">
+                  <use xlink:href="#icon-daoru"></use>
+                </svg>
+                <div class="name">导入</div>
+                <div class="code-name">#icon-daoru</div>
+            </li>
+          
+            <li class="dib">
+                <svg class="icon svg-icon" aria-hidden="true">
+                  <use xlink:href="#icon-daochu"></use>
+                </svg>
+                <div class="name">导出</div>
+                <div class="code-name">#icon-daochu</div>
+            </li>
+          
+            <li class="dib">
+                <svg class="icon svg-icon" aria-hidden="true">
+                  <use xlink:href="#icon-xitong"></use>
+                </svg>
+                <div class="name">系统</div>
+                <div class="code-name">#icon-xitong</div>
+            </li>
+          
+            <li class="dib">
+                <svg class="icon svg-icon" aria-hidden="true">
+                  <use xlink:href="#icon-jichushuju"></use>
+                </svg>
+                <div class="name">基础数据</div>
+                <div class="code-name">#icon-jichushuju</div>
+            </li>
+          
+            <li class="dib">
+                <svg class="icon svg-icon" aria-hidden="true">
+                  <use xlink:href="#icon-anquangongju"></use>
+                </svg>
+                <div class="name">安全工具</div>
+                <div class="code-name">#icon-anquangongju</div>
+            </li>
+          
+            <li class="dib">
+                <svg class="icon svg-icon" aria-hidden="true">
+                  <use xlink:href="#icon-jiechuwang"></use>
+                </svg>
+                <div class="name">接触网</div>
+                <div class="code-name">#icon-jiechuwang</div>
+            </li>
+          
+            <li class="dib">
+                <svg class="icon svg-icon" aria-hidden="true">
+                  <use xlink:href="#icon-shouye"></use>
+                </svg>
+                <div class="name">首页</div>
+                <div class="code-name">#icon-shouye</div>
+            </li>
+          
+          </ul>
+          <div class="article markdown">
+          <h2 id="symbol-">Symbol 引用</h2>
+          <hr>
+
+          <p>这是一种全新的使用方式,应该说这才是未来的主流,也是平台目前推荐的用法。相关介绍可以参考这篇<a href="">文章</a>
+            这种用法其实是做了一个 SVG 的集合,与另外两种相比具有如下特点:</p>
+          <ul>
+            <li>支持多色图标了,不再受单色限制。</li>
+            <li>通过一些技巧,支持像字体那样,通过 <code>font-size</code>, <code>color</code> 来调整样式。</li>
+            <li>兼容性较差,支持 IE9+,及现代浏览器。</li>
+            <li>浏览器渲染 SVG 的性能一般,还不如 png。</li>
+          </ul>
+          <p>使用步骤如下:</p>
+          <h3 id="-symbol-">第一步:引入项目下面生成的 symbol 代码:</h3>
+<pre><code class="language-html">&lt;script src="./iconfont.js"&gt;&lt;/script&gt;
+</code></pre>
+          <h3 id="-css-">第二步:加入通用 CSS 代码(引入一次就行):</h3>
+<pre><code class="language-html">&lt;style&gt;
+.icon {
+  width: 1em;
+  height: 1em;
+  vertical-align: -0.15em;
+  fill: currentColor;
+  overflow: hidden;
+}
+&lt;/style&gt;
+</code></pre>
+          <h3 id="-">第三步:挑选相应图标并获取类名,应用于页面:</h3>
+<pre><code class="language-html">&lt;svg class="icon" aria-hidden="true"&gt;
+  &lt;use xlink:href="#icon-xxx"&gt;&lt;/use&gt;
+&lt;/svg&gt;
+</code></pre>
+          </div>
+      </div>
+
+    </div>
+  </div>
+  <script>
+  $(document).ready(function () {
+      $('.tab-container .content:first').show()
+
+      $('#tabs li').click(function (e) {
+        var tabContent = $('.tab-container .content')
+        var index = $(this).index()
+
+        if ($(this).hasClass('active')) {
+          return
+        } else {
+          $('#tabs li').removeClass('active')
+          $(this).addClass('active')
+
+          tabContent.hide().eq(index).fadeIn()
+        }
+      })
+    })
+  </script>
+</body>
+</html>

+ 71 - 0
src/icons/al/iconfont.css

@@ -0,0 +1,71 @@
+@font-face {
+  font-family: "iconfont"; /* Project id 2910848 */
+  src: url('iconfont.woff2?t=1635908688192') format('woff2'),
+       url('iconfont.woff?t=1635908688192') format('woff'),
+       url('iconfont.ttf?t=1635908688192') format('truetype');
+}
+
+.iconfont {
+  font-family: "iconfont" !important;
+  font-size: 16px;
+  font-style: normal;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
+}
+
+.icon-rili:before {
+  content: "\e624";
+}
+
+.icon-chaxun:before {
+  content: "\e623";
+}
+
+.icon-youjiantou:before {
+  content: "\e620";
+}
+
+.icon-zhongzhi:before {
+  content: "\e621";
+}
+
+.icon-zuojiantou:before {
+  content: "\e622";
+}
+
+.icon-error:before {
+  content: "\e61f";
+}
+
+.icon-wodeshanchu:before {
+  content: "\e61d";
+}
+
+.icon-daoru:before {
+  content: "\e61c";
+}
+
+.icon-daochu:before {
+  content: "\e61e";
+}
+
+.icon-xitong:before {
+  content: "\e61b";
+}
+
+.icon-jichushuju:before {
+  content: "\e61a";
+}
+
+.icon-anquangongju:before {
+  content: "\e619";
+}
+
+.icon-jiechuwang:before {
+  content: "\e616";
+}
+
+.icon-shouye:before {
+  content: "\e615";
+}
+

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
src/icons/al/iconfont.js


+ 107 - 0
src/icons/al/iconfont.json

@@ -0,0 +1,107 @@
+{
+  "id": "2910848",
+  "name": "供电pc端",
+  "font_family": "iconfont",
+  "css_prefix_text": "icon-",
+  "description": "",
+  "glyphs": [
+    {
+      "icon_id": "25400374",
+      "name": "日历",
+      "font_class": "rili",
+      "unicode": "e624",
+      "unicode_decimal": 58916
+    },
+    {
+      "icon_id": "25400327",
+      "name": "查询",
+      "font_class": "chaxun",
+      "unicode": "e623",
+      "unicode_decimal": 58915
+    },
+    {
+      "icon_id": "25397900",
+      "name": "右箭头",
+      "font_class": "youjiantou",
+      "unicode": "e620",
+      "unicode_decimal": 58912
+    },
+    {
+      "icon_id": "25397897",
+      "name": "重置",
+      "font_class": "zhongzhi",
+      "unicode": "e621",
+      "unicode_decimal": 58913
+    },
+    {
+      "icon_id": "25397898",
+      "name": "左箭头",
+      "font_class": "zuojiantou",
+      "unicode": "e622",
+      "unicode_decimal": 58914
+    },
+    {
+      "icon_id": "25397730",
+      "name": "error",
+      "font_class": "error",
+      "unicode": "e61f",
+      "unicode_decimal": 58911
+    },
+    {
+      "icon_id": "25397580",
+      "name": "我的删除",
+      "font_class": "wodeshanchu",
+      "unicode": "e61d",
+      "unicode_decimal": 58909
+    },
+    {
+      "icon_id": "25397511",
+      "name": "导入",
+      "font_class": "daoru",
+      "unicode": "e61c",
+      "unicode_decimal": 58908
+    },
+    {
+      "icon_id": "25397509",
+      "name": "导出",
+      "font_class": "daochu",
+      "unicode": "e61e",
+      "unicode_decimal": 58910
+    },
+    {
+      "icon_id": "25397379",
+      "name": "系统",
+      "font_class": "xitong",
+      "unicode": "e61b",
+      "unicode_decimal": 58907
+    },
+    {
+      "icon_id": "25397378",
+      "name": "基础数据",
+      "font_class": "jichushuju",
+      "unicode": "e61a",
+      "unicode_decimal": 58906
+    },
+    {
+      "icon_id": "25397347",
+      "name": "安全工具",
+      "font_class": "anquangongju",
+      "unicode": "e619",
+      "unicode_decimal": 58905
+    },
+    {
+      "icon_id": "25395915",
+      "name": "接触网",
+      "font_class": "jiechuwang",
+      "unicode": "e616",
+      "unicode_decimal": 58902
+    },
+    {
+      "icon_id": "25395082",
+      "name": "首页",
+      "font_class": "shouye",
+      "unicode": "e615",
+      "unicode_decimal": 58901
+    }
+  ]
+}

BIN
src/icons/al/iconfont.ttf


BIN
src/icons/al/iconfont.woff


BIN
src/icons/al/iconfont.woff2


+ 7 - 0
src/layout/components/AppMain.vue

@@ -1,5 +1,6 @@
 <template>
   <section class="app-main">
+    <breadcrumb id="breadcrumb-container" class="breadcrumb-container" style="margin-left: 18px" />
     <transition name="fade-transform" mode="out-in">
       <keep-alive :include="cachedViews">
         <router-view :key="key" />
@@ -9,8 +10,13 @@
 </template>
 
 <script>
+import Breadcrumb from '@/components/Breadcrumb'
+
 export default {
   name: 'AppMain',
+  components: {
+    Breadcrumb
+  },
   computed: {
     cachedViews() {
       return this.$store.state.tagsView.cachedViews
@@ -29,6 +35,7 @@ export default {
   width: 100%;
   position: relative;
   overflow: hidden;
+  background-color: #fdfdfd;
 }
 
 .fixed-header+.app-main {

+ 3 - 3
src/layout/components/Navbar.vue

@@ -7,7 +7,7 @@
       @toggleClick="toggleSideBar"
     />
 
-    <breadcrumb id="breadcrumb-container" class="breadcrumb-container" />
+<!--    <breadcrumb id="breadcrumb-container" class="breadcrumb-container" />-->
 
     <div class="right-menu">
       <template v-if="device!=='mobile'">
@@ -44,7 +44,7 @@ import Breadcrumb from '@/components/Breadcrumb'
 import Hamburger from '@/components/Hamburger'
 import ErrorLog from '@/components/ErrorLog'
 import Screenfull from '@/components/Screenfull'
-import SizeSelect from '@/components/SizeSelect'
+// import SizeSelect from '@/components/SizeSelect'
 import Search from '@/components/HeaderSearch'
 
 export default {
@@ -53,7 +53,7 @@ export default {
     Hamburger,
     ErrorLog,
     Screenfull,
-    SizeSelect,
+    // SizeSelect,
     Search
   },
   computed: {

+ 5 - 5
src/layout/components/Sidebar/Item.vue

@@ -17,11 +17,11 @@ export default {
     const vnodes = []
 
     if (icon) {
-      if (icon.includes('el-icon')) {
-        vnodes.push(<i class={[icon, 'sub-el-icon']} />)
-      } else {
-        vnodes.push(<svg-icon icon-class={icon}/>)
-      }
+      // if (icon.includes('el-icon')) {
+        vnodes.push(<i class={['iconfont',icon, 'sub-el-icon']} />)
+      // } else {
+      //   vnodes.push(<svg-icon icon-class={icon}/>)
+      // }
     }
 
     if (title) {

+ 7 - 6
src/layout/components/Sidebar/Logo.vue

@@ -14,7 +14,7 @@
 </template>
 
 <script>
-import logo from '@/assets/404_images/logo1.jpg'
+import logo from '@/assets/icon/logo-small.png'
 export default {
   name: 'SidebarLogo',
   props: {
@@ -43,11 +43,12 @@ export default {
 }
 
 .sidebar-logo-container {
+  border-bottom: 1px solid #0B4F9B;
   position: relative;
   width: 100%;
   height: 50px;
   line-height: 50px;
-  background: #ffffff;
+  background: #132347;
   text-align: center;
   overflow: hidden;
 
@@ -56,8 +57,8 @@ export default {
     width: 100%;
 
     & .sidebar-logo {
-      width: 32px;
-      height: 32px;
+      width: 26px;
+      height: 26px;
       vertical-align: middle;
       margin-right: 5px;
     }
@@ -65,10 +66,10 @@ export default {
     & .sidebar-title {
       display: inline-block;
       margin: 0;
-      color: #406ae0;
+      color: #ffffff;
       font-weight: 600;
       line-height: 50px;
-      font-size: 18px;
+      font-size: 16px;
       font-family: Avenir, Helvetica Neue, Arial, Helvetica, sans-serif;
       vertical-align: middle;
     }

+ 1 - 1
src/layout/components/Sidebar/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <div :class="{'has-logo':showLogo}"  style="border-right: 1px solid #f8f7f7">
+  <div :class="{'has-logo':showLogo}">
     <logo v-if="showLogo" :collapse="isCollapse" />
     <el-scrollbar wrap-class="scrollbar-wrapper">
       <el-menu

+ 11 - 13
src/layout/components/TagsView/index.vue

@@ -225,19 +225,17 @@ export default {
         margin-right: 15px;
       }
       &.active {
-        background-color: #42b983;
-        color: #fff;
-        border-color: #42b983;
-        &::before {
-          content: '';
-          background: #fff;
-          display: inline-block;
-          width: 8px;
-          height: 8px;
-          border-radius: 50%;
-          position: relative;
-          margin-right: 2px;
-        }
+        border-bottom: 3px solid #409EFF;
+        /*&::before {*/
+        /*  content: '';*/
+        /*  background:#409EFF;*/
+        /*  display: inline-block;*/
+        /*  width: 8px;*/
+        /*  height: 8px;*/
+        /*  border-radius: 50%;*/
+        /*  position: relative;*/
+        /*  margin-right: 2px;*/
+        /*}*/
       }
     }
   }

+ 1 - 0
src/main.js

@@ -42,6 +42,7 @@ import JDictSelectTag from './components/dict/index.js'
 import JMultiSelectTag from './components/dict/index.js'
 import * as filters from './filters'
 import ELScrollbar from '@/components/ELScrollbar'
+import './icons/al/iconfont.css' // icon
 
 Vue.use(Antd)
 Vue.use(JDictSelectTag)

+ 4 - 4
src/router/index.js

@@ -55,7 +55,7 @@ export const constantRoutes = [
       path: 'index',
       name: 'index',
       component: () => import('@/views/dashboard/index'),
-      meta: { title: '首页', icon: 'dashboard' }
+      meta: { title: '首页', icon: 'icon-shouye' }
     }]
   },
 
@@ -66,7 +66,7 @@ export const constantRoutes = [
     name: 'catenary',
     meta: {
       title: '接触网管理',
-      icon: 'el-icon-film'
+      icon: 'icon-jiechuwang'
     },
     children: [
       {
@@ -102,7 +102,7 @@ export const constantRoutes = [
     name: 'basics',
     meta: {
       title: '基础数据管理',
-      icon: 'el-icon-document'
+      icon: 'icon-jichushuju'
     },
     children: [
       {
@@ -177,7 +177,7 @@ export const asyncRoutes = [
     meta: {
       title: '系统管理',
       // pages: ['pc:sys'],
-      icon: 'el-icon-setting'
+      icon: 'icon-xitong'
     },
     children: [
       {

+ 7 - 7
src/styles/variables.scss

@@ -9,15 +9,15 @@ $yellow:#FEC171;
 $panGreen: #30B08F;
 
 // sidebar
-$menuText: #727272;
-$menuActiveText:#409EFF;
-$subMenuActiveText: #a1ceff; // https://github.com/ElemeFE/element/issues/12951
+$menuText: #A5B6D4;
+$menuActiveText:#56B1FF;
+$subMenuActiveText: #FFFFFF; // https://github.com/ElemeFE/element/issues/12951
 
-$menuBg: #ffffff;
-$menuHover: #e7e7e7;
+$menuBg: #132347;
+$menuHover: #132347;
 
-$subMenuBg: #ffffff;
-$subMenuHover: #e7e7e7;
+$subMenuBg: #132347;
+$subMenuHover: #132347;
 
 $sideBarWidth: 210px;
 

+ 38 - 19
src/views/basics/add/index.vue

@@ -1,50 +1,57 @@
 <template>
-  <el-card style="margin: 15px">
+  <el-card class="content-z">
     <!-- 查询区域 -->
     <div class="table-page-search-wrapper">
       <a-form layout="inline" @keyup.enter.native="searchQuery">
         <a-form-item>
-          <j-dict-select-tag
+          <j-list-select-tag
             v-model="queryParam.xb"
             style="width: 150px"
             placeholder="选择线别"
-            dict-code="sj_plan_status"
+            dict-code="line"
           />
         </a-form-item>
         <a-form-item>
-          <j-dict-select-tag
-            v-model="queryParam.sb"
+          <j-list-select-tag
+            v-model="queryParam.qj"
             style="width: 150px"
-            placeholder="选择所别"
-            dict-code="sj_plan_status"
+            placeholder="选择区间站场"
+            dict-code="station"
           />
         </a-form-item>
         <a-form-item>
-          <j-dict-select-tag
-            v-model="queryParam.hb"
+          <a-tree-select
+            v-model="queryParam.bm"
             style="width: 150px"
-            placeholder="选择行别"
-            dict-code="sj_plan_status"
+            :show-search="true"
+            allow-clear
+            placeholder="选择部门"
+            :tree-data="treeData"
+            tree-node-filter-prop="label"
+            :replace-fields="{children:'children', title:'label', key:'id', value: 'id' }"
           />
         </a-form-item>
         <a-form-item>
           <j-dict-select-tag
-            v-model="queryParam.yy"
+            v-model="queryParam.hb"
             style="width: 150px"
-            placeholder="选择原因类型"
-            dict-code="sj_plan_status"
+            placeholder="选择行别"
+            dict-code="xingbie"
           />
         </a-form-item>
         <a-form-item>
           <a-input
-            v-model="queryParam.glb"
+            v-model="queryParam.qsgh"
             style="width: 150px"
-            placeholder="输入公里标"
+            placeholder="输入起始杆号"
           />
         </a-form-item>
         <a-form-item>
-          <a-date-picker v-model="queryParam.date1" format="YYYY/MM/DD" placeholder="时间范围" />-
-          <a-date-picker v-model="queryParam.date2" format="YYYY/MM/DD" placeholder="时间范围" />
+          <a-input
+            v-model="queryParam.qsglb"
+            style="width: 150px"
+            placeholder="输入起始公里标"
+          />
         </a-form-item>
         <a-form-item>
           <a-button type="primary" @click="searchQuery">查询</a-button>
@@ -112,6 +119,7 @@
 import { listMixin } from '@/mixin/listMixin'
 import columns from './indexColumns'
 import CheckAndEditModel from './CheckAndEditModel'
+import { getAction } from '@/api/request'
 
 export default {
   components: {
@@ -124,17 +132,28 @@ export default {
       queryParam: {},
       // 表头
       columns: columns(this),
+      treeData: [],
       url: {
         list: '/business/catenary/bus/fjxgmd/list',
         delete: '/business/catenary/bus/fjxgmd/',
         exportXlsUrl: '/exportXlsUrl',
-        importExcelUrl: `${process.env.VUE_APP_BASE_API}/importExcelUrl`
+        importExcelUrl: `${process.env.VUE_APP_BASE_API}/importExcelUrl`,
+        tree: '/system/dept/treeSelect'
       }
     }
   },
   created() {
+    this.loadTree()
   },
   methods: {
+    loadTree() {
+      this.treeData = []
+      getAction(this.url.tree).then((res) => {
+        if (res.code === 200) {
+          this.treeData = res.data
+        }
+      })
+    }
   }
 }
 </script>

+ 1 - 1
src/views/basics/check/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <el-card style="margin: 15px">
+  <el-card class="content-z">
     <a-tabs v-model="activeKey">
       <a-tab-pane
         v-for="item in tabs"

+ 32 - 22
src/views/basics/line/index.vue

@@ -1,51 +1,49 @@
 <template>
-  <el-card style="margin: 15px">
+  <el-card class="content-z">
     <!-- 查询区域 -->
     <div class="table-page-search-wrapper">
       <a-form layout="inline" @keyup.enter.native="searchQuery">
         <a-form-item>
-          <j-dict-select-tag
-            v-model="queryParam.xb"
+          <a-input
+            v-model="queryParam.lineName"
             style="width: 150px"
-            placeholder="选择线别"
-            dict-code="sj_plan_status"
+            placeholder="输入线路名称"
           />
         </a-form-item>
         <a-form-item>
-          <j-dict-select-tag
-            v-model="queryParam.sb"
+          <a-tree-select
+            v-model="queryParam.deptId"
             style="width: 150px"
-            placeholder="选择所别"
-            dict-code="sj_plan_status"
+            :show-search="true"
+            allow-clear
+            placeholder="选择部门"
+            :tree-data="treeData"
+            tree-node-filter-prop="label"
+            :replace-fields="{children:'children', title:'label', key:'id', value: 'id' }"
           />
         </a-form-item>
         <a-form-item>
           <j-dict-select-tag
-            v-model="queryParam.hb"
+            v-model="queryParam.xb"
             style="width: 150px"
             placeholder="选择行别"
-            dict-code="sj_plan_status"
+            dict-code="xingbie"
           />
         </a-form-item>
         <a-form-item>
-          <j-dict-select-tag
-            v-model="queryParam.yy"
+          <a-input
+            v-model="queryParam.lineStartMarker"
             style="width: 150px"
-            placeholder="选择原因类型"
-            dict-code="sj_plan_status"
+            placeholder="输入开始公里标"
           />
         </a-form-item>
         <a-form-item>
           <a-input
-            v-model="queryParam.glb"
+            v-model="queryParam.lineEndMarker"
             style="width: 150px"
-            placeholder="输入公里标"
+            placeholder="输入结束公里标"
           />
         </a-form-item>
-        <a-form-item>
-          <a-date-picker v-model="queryParam.date1" format="YYYY/MM/DD" placeholder="时间范围" />-
-          <a-date-picker v-model="queryParam.date2" format="YYYY/MM/DD" placeholder="时间范围" />
-        </a-form-item>
         <a-form-item>
           <a-button type="primary" @click="searchQuery">查询</a-button>
           <a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
@@ -112,6 +110,7 @@
 import { listMixin } from '@/mixin/listMixin'
 import columns from './indexColumns'
 import CheckAndEditModel from './CheckAndEditModel'
+import {getAction} from "@/api/request";
 
 export default {
   components: {
@@ -123,18 +122,29 @@ export default {
       // 查询条件
       queryParam: {},
       // 表头
+      treeData: [],
       columns: columns(this),
       url: {
         list: '/business/catenary/bus/line/list',
         delete: '/business/catenary/bus/line/',
         exportXlsUrl: '/exportXlsUrl',
-        importExcelUrl: `${process.env.VUE_APP_BASE_API}/importExcelUrl`
+        importExcelUrl: `${process.env.VUE_APP_BASE_API}/importExcelUrl`,
+        tree: '/system/dept/treeSelect'
       }
     }
   },
   created() {
+    this.loadTree()
   },
   methods: {
+    loadTree() {
+      this.treeData = []
+      getAction(this.url.tree).then((res) => {
+        if (res.code === 200) {
+          this.treeData = res.data
+        }
+      })
+    }
   }
 }
 </script>

+ 35 - 16
src/views/basics/pillar/index.vue

@@ -1,22 +1,34 @@
 <template>
-  <el-card style="margin: 15px">
+  <el-card class="content-z">
     <!-- 查询区域 -->
     <div class="table-page-search-wrapper">
       <a-form layout="inline" @keyup.enter.native="searchQuery">
         <a-form-item>
-          <j-dict-select-tag
+          <j-list-select-tag
             v-model="queryParam.xb"
             style="width: 150px"
             placeholder="选择线别"
-            dict-code="sj_plan_status"
+            dict-code="line"
           />
         </a-form-item>
         <a-form-item>
-          <j-dict-select-tag
-            v-model="queryParam.sb"
+          <j-list-select-tag
+            v-model="queryParam.stationId"
+            style="width: 150px"
+            placeholder="选择区间站场"
+            dict-code="station"
+          />
+        </a-form-item>
+        <a-form-item>
+          <a-tree-select
+            v-model="queryParam.deptId"
             style="width: 150px"
-            placeholder="选择所别"
-            dict-code="sj_plan_status"
+            :show-search="true"
+            allow-clear
+            placeholder="选择车间工区"
+            :tree-data="treeData"
+            tree-node-filter-prop="label"
+            :replace-fields="{children:'children', title:'label', key:'id', value: 'id' }"
           />
         </a-form-item>
         <a-form-item>
@@ -24,15 +36,14 @@
             v-model="queryParam.hb"
             style="width: 150px"
             placeholder="选择行别"
-            dict-code="sj_plan_status"
+            dict-code="xingbie"
           />
         </a-form-item>
         <a-form-item>
-          <j-dict-select-tag
-            v-model="queryParam.yy"
+          <a-input
+            v-model="queryParam.zzh"
             style="width: 150px"
-            placeholder="选择原因类型"
-            dict-code="sj_plan_status"
+            placeholder="输入支柱号"
           />
         </a-form-item>
         <a-form-item>
@@ -42,10 +53,6 @@
             placeholder="输入公里标"
           />
         </a-form-item>
-        <a-form-item>
-          <a-date-picker v-model="queryParam.date1" format="YYYY/MM/DD" placeholder="时间范围" />-
-          <a-date-picker v-model="queryParam.date2" format="YYYY/MM/DD" placeholder="时间范围" />
-        </a-form-item>
         <a-form-item>
           <a-button type="primary" @click="searchQuery">查询</a-button>
           <a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
@@ -112,6 +119,7 @@
 import { listMixin } from '@/mixin/listMixin'
 import columns from './indexColumns'
 import CheckAndEditModel from './CheckAndEditModel'
+import {getAction} from "@/api/request";
 
 export default {
   components: {
@@ -124,17 +132,28 @@ export default {
       queryParam: {},
       // 表头
       columns: columns(this),
+      treeData: [],
       url: {
         list: '/business/catenary/bus/zzdzxx/list',
         delete: '/business/catenary/bus/zzdzxx/',
         exportXlsUrl: '/exportXlsUrl',
+        tree: '/system/dept/treeSelect',
         importExcelUrl: `${process.env.VUE_APP_BASE_API}/importExcelUrl`
       }
     }
   },
   created() {
+    this.loadTree()
   },
   methods: {
+    loadTree() {
+      this.treeData = []
+      getAction(this.url.tree).then((res) => {
+        if (res.code === 200) {
+          this.treeData = res.data
+        }
+      })
+    }
   }
 }
 </script>

+ 1 - 1
src/views/basics/section/CheckAndEditModel.vue

@@ -36,7 +36,7 @@
           dict-code="xingbie"
         />
       </a-form-model-item>
-      <a-form-model-item label="站场区间" prop="stationId">
+      <a-form-model-item label="区间/站场" prop="stationId">
         <j-dict-select-tag
           v-model="model.stationId"
           type="radioButton"

+ 38 - 20
src/views/basics/section/index.vue

@@ -1,50 +1,56 @@
 <template>
-  <el-card style="margin: 15px">
+  <el-card class="content-z">
     <!-- 查询区域 -->
     <div class="table-page-search-wrapper">
       <a-form layout="inline" @keyup.enter.native="searchQuery">
         <a-form-item>
-          <j-dict-select-tag
-            v-model="queryParam.xb"
+          <a-input
+            v-model="queryParam.stationName"
             style="width: 150px"
-            placeholder="选择线别"
-            dict-code="sj_plan_status"
+            placeholder="输入区间站场名称"
           />
         </a-form-item>
         <a-form-item>
-          <j-dict-select-tag
-            v-model="queryParam.sb"
+          <a-tree-select
+            v-model="queryParam.deptId"
             style="width: 150px"
-            placeholder="选择所别"
-            dict-code="sj_plan_status"
+            :show-search="true"
+            allow-clear
+            placeholder="选择车间"
+            :tree-data="treeData"
+            tree-node-filter-prop="label"
+            :replace-fields="{children:'children', title:'label', key:'id', value: 'id' }"
           />
         </a-form-item>
         <a-form-item>
-          <j-dict-select-tag
-            v-model="queryParam.hb"
+          <j-list-select-tag
+            v-model="queryParam.lineId"
             style="width: 150px"
-            placeholder="选择别"
-            dict-code="sj_plan_status"
+            placeholder="选择线别"
+            dict-code="line"
           />
         </a-form-item>
         <a-form-item>
           <j-dict-select-tag
-            v-model="queryParam.yy"
+            v-model="queryParam.xb"
             style="width: 150px"
-            placeholder="选择原因类型"
-            dict-code="sj_plan_status"
+            placeholder="选择行别"
+            dict-code="xingbie"
           />
         </a-form-item>
         <a-form-item>
           <a-input
-            v-model="queryParam.glb"
+            v-model="queryParam.startMarker"
             style="width: 150px"
-            placeholder="输入公里标"
+            placeholder="输入开始公里标"
           />
         </a-form-item>
         <a-form-item>
-          <a-date-picker v-model="queryParam.date1" format="YYYY/MM/DD" placeholder="时间范围" />-
-          <a-date-picker v-model="queryParam.date2" format="YYYY/MM/DD" placeholder="时间范围" />
+          <a-input
+            v-model="queryParam.endMarker"
+            style="width: 150px"
+            placeholder="输入结束公里标"
+          />
         </a-form-item>
         <a-form-item>
           <a-button type="primary" @click="searchQuery">查询</a-button>
@@ -112,6 +118,7 @@
 import { listMixin } from '@/mixin/listMixin'
 import columns from './indexColumns'
 import CheckAndEditModel from './CheckAndEditModel'
+import {getAction} from "@/api/request";
 
 export default {
   components: {
@@ -124,17 +131,28 @@ export default {
       queryParam: {},
       // 表头
       columns: columns(this),
+      treeData: [],
       url: {
         list: '/business/catenary/bus/station/list',
         delete: '/business/catenary/bus/station/',
         exportXlsUrl: '/exportXlsUrl',
+        tree: '/system/dept/treeSelect',
         importExcelUrl: `${process.env.VUE_APP_BASE_API}/importExcelUrl`
       }
     }
   },
   created() {
+    this.loadTree()
   },
   methods: {
+    loadTree() {
+      this.treeData = []
+      getAction(this.url.tree).then((res) => {
+        if (res.code === 200) {
+          this.treeData = res.data
+        }
+      })
+    }
   }
 }
 </script>

+ 29 - 26
src/views/basics/suoting/index.vue

@@ -1,51 +1,42 @@
 <template>
-  <el-card style="margin: 15px">
+  <el-card class="content-z">
     <!-- 查询区域 -->
     <div class="table-page-search-wrapper">
       <a-form layout="inline" @keyup.enter.native="searchQuery">
         <a-form-item>
-          <j-dict-select-tag
-            v-model="queryParam.xb"
-            style="width: 150px"
-            placeholder="选择线别"
-            dict-code="sj_plan_status"
-          />
-        </a-form-item>
-        <a-form-item>
-          <j-dict-select-tag
-            v-model="queryParam.sb"
+          <a-input
+            v-model="queryParam.substationName"
             style="width: 150px"
-            placeholder="选择所别"
-            dict-code="sj_plan_status"
+            placeholder="输入所亭名称"
           />
         </a-form-item>
         <a-form-item>
-          <j-dict-select-tag
-            v-model="queryParam.hb"
+          <j-list-select-tag
+            v-model="queryParam.lineId"
             style="width: 150px"
-            placeholder="选择别"
-            dict-code="sj_plan_status"
+            placeholder="选择线别"
+            dict-code="line"
           />
         </a-form-item>
         <a-form-item>
-          <j-dict-select-tag
-            v-model="queryParam.yy"
+          <a-tree-select
+            v-model="queryParam.deptId"
             style="width: 150px"
-            placeholder="选择原因类型"
-            dict-code="sj_plan_status"
+            :show-search="true"
+            allow-clear
+            placeholder="选择部门"
+            :tree-data="treeData"
+            tree-node-filter-prop="label"
+            :replace-fields="{children:'children', title:'label', key:'id', value: 'id' }"
           />
         </a-form-item>
         <a-form-item>
           <a-input
-            v-model="queryParam.glb"
+            v-model="queryParam.marker"
             style="width: 150px"
             placeholder="输入公里标"
           />
         </a-form-item>
-        <a-form-item>
-          <a-date-picker v-model="queryParam.date1" format="YYYY/MM/DD" placeholder="时间范围" />-
-          <a-date-picker v-model="queryParam.date2" format="YYYY/MM/DD" placeholder="时间范围" />
-        </a-form-item>
         <a-form-item>
           <a-button type="primary" @click="searchQuery">查询</a-button>
           <a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
@@ -112,6 +103,7 @@
 import { listMixin } from '@/mixin/listMixin'
 import columns from './indexColumns'
 import CheckAndEditModel from './CheckAndEditModel'
+import { getAction } from '@/api/request'
 
 export default {
   components: {
@@ -124,17 +116,28 @@ export default {
       queryParam: {},
       // 表头
       columns: columns(this),
+      treeData: [],
       url: {
         list: '/business/catenary/bus/substation/list',
         delete: '/business/catenary/bus/substation/',
         exportXlsUrl: '/exportXlsUrl',
+        tree: '/system/dept/treeSelect',
         importExcelUrl: `${process.env.VUE_APP_BASE_API}/importExcelUrl`
       }
     }
   },
   created() {
+    this.loadTree()
   },
   methods: {
+    loadTree() {
+      this.treeData = []
+      getAction(this.url.tree).then((res) => {
+        if (res.code === 200) {
+          this.treeData = res.data
+        }
+      })
+    }
   }
 }
 </script>

+ 0 - 6
src/views/basics/suoting/indexColumns.js

@@ -15,12 +15,6 @@ function columns(vm) {
       dataIndex: 'substationName',
       key: 'substationName'
     },
-    {
-      title: '段别',
-      align: 'center',
-      dataIndex: '',
-      key: ''
-    },
     {
       title: '线别',
       align: 'center',

+ 34 - 30
src/views/basics/tunnel/index.vue

@@ -1,51 +1,43 @@
 <template>
-  <el-card style="margin: 15px">
+  <el-card class="content-z">
     <!-- 查询区域 -->
     <div class="table-page-search-wrapper">
       <a-form layout="inline" @keyup.enter.native="searchQuery">
         <a-form-item>
-          <j-dict-select-tag
+          <a-form-item>
+            <a-input
+              v-model="queryParam.sdmc"
+              style="width: 150px"
+              placeholder="输入隧道名称"
+            />
+          </a-form-item>
+          <j-list-select-tag
             v-model="queryParam.xb"
             style="width: 150px"
             placeholder="选择线别"
-            dict-code="sj_plan_status"
+            dict-code="line"
           />
         </a-form-item>
         <a-form-item>
-          <j-dict-select-tag
-            v-model="queryParam.sb"
+          <j-list-select-tag
+            v-model="queryParam.stationId"
             style="width: 150px"
-            placeholder="选择所别"
-            dict-code="sj_plan_status"
+            placeholder="选择区间站场"
+            dict-code="station"
           />
         </a-form-item>
         <a-form-item>
-          <j-dict-select-tag
-            v-model="queryParam.hb"
+          <a-tree-select
+            v-model="queryParam.bm"
             style="width: 150px"
-            placeholder="选择行别"
-            dict-code="sj_plan_status"
+            :show-search="true"
+            allow-clear
+            placeholder="选择部门"
+            :tree-data="treeData"
+            tree-node-filter-prop="label"
+            :replace-fields="{children:'children', title:'label', key:'id', value: 'id' }"
           />
         </a-form-item>
-        <a-form-item>
-          <j-dict-select-tag
-            v-model="queryParam.yy"
-            style="width: 150px"
-            placeholder="选择原因类型"
-            dict-code="sj_plan_status"
-          />
-        </a-form-item>
-        <a-form-item>
-          <a-input
-            v-model="queryParam.glb"
-            style="width: 150px"
-            placeholder="输入公里标"
-          />
-        </a-form-item>
-        <a-form-item>
-          <a-date-picker v-model="queryParam.date1" format="YYYY/MM/DD" placeholder="时间范围" />-
-          <a-date-picker v-model="queryParam.date2" format="YYYY/MM/DD" placeholder="时间范围" />
-        </a-form-item>
         <a-form-item>
           <a-button type="primary" @click="searchQuery">查询</a-button>
           <a-button style="margin-left: 8px" @click="searchReset">重置</a-button>
@@ -112,6 +104,7 @@
 import { listMixin } from '@/mixin/listMixin'
 import columns from './indexColumns'
 import CheckAndEditModel from './CheckAndEditModel'
+import { getAction } from '@/api/request'
 
 export default {
   components: {
@@ -123,18 +116,29 @@ export default {
       // 查询条件
       queryParam: {},
       // 表头
+      treeData: [],
       columns: columns(this),
       url: {
         list: '/business/catenary/bus/sdtz/list',
         delete: '/business/catenary/bus/sdtz/',
         exportXlsUrl: '/exportXlsUrl',
+        tree: '/system/dept/treeSelect',
         importExcelUrl: `${process.env.VUE_APP_BASE_API}/importExcelUrl`
       }
     }
   },
   created() {
+    this.loadTree()
   },
   methods: {
+    loadTree() {
+      this.treeData = []
+      getAction(this.url.tree).then((res) => {
+        if (res.code === 200) {
+          this.treeData = res.data
+        }
+      })
+    }
   }
 }
 </script>

+ 1 - 1
src/views/catenary/checklist/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <el-card style="margin: 15px">
+  <el-card class="content-z">
     <a-tabs v-model="activeKey">
       <a-tab-pane
         v-for="item in tabs"

+ 1 - 1
src/views/catenary/fault/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <el-card style="margin: 15px">
+  <el-card class="content-z">
     <!-- 查询区域 -->
     <div class="table-page-search-wrapper">
       <a-form layout="inline" @keyup.enter.native="searchQuery">

+ 13 - 31
src/views/catenary/fault/indexColumns.js

@@ -12,32 +12,26 @@ function columns(vm) {
     {
       title: '线别',
       align: 'center',
-      dataIndex: 'xb',
-      key: 'xb'
+      dataIndex: 'lineName',
+      key: 'lineName'
     },
     {
-      title: '区间/站场',
+      title: '所别',
       align: 'center',
-      dataIndex: 'qj',
-      key: 'qj'
-    },
-    {
-      title: '车间/工区',
-      align: 'center',
-      dataIndex: 'bm',
-      key: 'bm'
+      dataIndex: 'substationName',
+      key: 'substationName'
     },
     {
       title: '行别',
       align: 'center',
-      dataIndex: 'hb',
-      key: 'hb'
+      dataIndex: 'xingbieText',
+      key: 'xingbieText'
     },
     {
-      title: '支柱号',
+      title: '原因类型',
       align: 'center',
-      dataIndex: 'zzh',
-      key: 'zzh'
+      dataIndex: 'yylxText',
+      key: 'yylxText'
     },
     {
       title: '公里标',
@@ -46,22 +40,10 @@ function columns(vm) {
       key: 'glb'
     },
     {
-      title: '规格型号',
-      align: 'center',
-      dataIndex: 'zzxh',
-      key: 'zzxh'
-    },
-    {
-      title: '支柱类型',
-      align: 'center',
-      dataIndex: 'zzlx',
-      key: 'zzlx'
-    },
-    {
-      title: '安装时间',
+      title: '故障日期',
       align: 'center',
-      dataIndex: 'ccrq',
-      key: 'ccrq'
+      dataIndex: 'jlrq',
+      key: 'jlrq'
     },
     {
       title: '操作',

+ 1 - 1
src/views/catenary/record/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <el-card style="margin: 15px">
+  <el-card class="content-z">
     <a-tabs v-model="activeKey">
       <a-tab-pane
         v-for="item in tabs"

+ 1 - 1
src/views/catenary/stand/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <el-card style="margin: 15px">
+  <el-card class="content-z">
     <!-- 查询区域 -->
     <div class="table-page-search-wrapper">
       <a-form layout="inline" @keyup.enter.native="searchQuery">

+ 2 - 2
src/views/dashboard/index.vue

@@ -1,8 +1,8 @@
 <template>
-  <div class="dashboard-container">
+  <el-card class="content-z">
     <div class="dashboard-text">name: {{ user.nickName }}</div>
     <el-button v-permission="['system:user:resetPwd']">默认按钮</el-button>
-  </div>
+  </el-card>
 </template>
 
 <script>

+ 4 - 1
src/views/login/index.vue

@@ -50,6 +50,7 @@
               tabindex="1"
               auto-complete="on"
               size="medium"
+              @keyup.enter.native="handleLogin"
             />
           </el-form-item>
 
@@ -64,13 +65,14 @@
               prefix-icon="el-icon-lock"
               tabindex="2"
               auto-complete="on"
+              @keyup.enter.native="handleLogin"
             />
             <span class="show-pwd" style="position: absolute;right: 12px;top: 8px;" @click="showPwd">
               <svg-icon :icon-class="passwordType === 'password' ? 'eye' : 'eye-open'" />
             </span>
           </el-form-item>
 
-          <el-form-item >
+          <el-form-item>
             <el-input
               ref="code"
               v-model="loginForm.code"
@@ -92,6 +94,7 @@
           <el-button
             type="primary"
             style="width:100%;margin-bottom:30px;"
+            @keyup.enter.native="handleLogin"
             @click.native.prevent="handleLogin"
           ><h2 style="margin: 5px;color: white">登  录</h2>
           </el-button>

+ 1 - 1
src/views/sys/dept/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <el-card style="margin: 15px">
+  <el-card class="content-z">
     <!-- 操作按钮区域 -->
     <div class="table-operator" style="margin: 5px 0;float: right">
       <a-button v-permission="['pc:system:dept:add']" type="primary" icon="plus" @click="handleAdd">新增</a-button>

+ 1 - 1
src/views/sys/dict/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <el-card style="margin: 15px">
+  <el-card class="content-z">
     <!-- 操作按钮区域 -->
     <div class="table-operator" style="margin: 5px 0;float: right">
       <a-button v-permission="['pc:system:dict:add']" type="primary" icon="plus" @click="handleAdd">新增</a-button>

+ 1 - 1
src/views/sys/log/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <el-card style="margin: 15px">
+  <el-card class="content-z">
     <!-- 查询区域 -->
     <div class="table-page-search-wrapper">
       <a-form layout="inline" @keyup.enter.native="searchQuery">

+ 1 - 1
src/views/sys/menu/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <el-card style="margin: 15px">
+  <el-card class="content-z">
     <!-- 操作按钮区域 -->
     <div class="table-operator" style="margin: 5px 0;float: right">
       <a-button v-permission="['pc:system:menu:add']" type="primary" icon="plus" @click="handleAdd">新增</a-button>

+ 1 - 1
src/views/sys/role/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <el-card style="margin: 15px">
+  <el-card class="content-z">
     <!-- 操作按钮区域 -->
     <div class="table-operator" style="margin: 5px 0;float: right">
       <a-button v-permission="['pc:system:role:add']" type="primary" icon="plus" @click="handleAdd">新增</a-button>

+ 1 - 1
src/views/sys/user/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <el-card style="margin: 15px">
+  <el-card class="content-z">
     <a-row :gutter="15">
       <a-col :span="4">
         <leftTree @selected="getTreeData" />

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor