Merge remote-tracking branch 'origin/master'
已添加19个文件
已修改30个文件
已删除7个文件
¶Ô±ÈÐÂÎļþ |
| | |
| | | /* 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; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <!DOCTYPE html> |
| | | <html> |
| | | <head> |
| | | <meta charset="utf-8"/> |
| | | <title>iconfont Demo</title> |
| | | <link rel="shortcut icon" href="//img.alicdn.com/imgextra/i4/O1CN01Z5paLz1O0zuCC7osS_!!6000000001644-55-tps-83-82.svg" type="image/x-icon"/> |
| | | <link rel="icon" type="image/svg+xml" href="//img.alicdn.com/imgextra/i4/O1CN01Z5paLz1O0zuCC7osS_!!6000000001644-55-tps-83-82.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> |
| | | |
| | | </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"></span> |
| | | <div class="name">ä¸ç</div> |
| | | <div class="code-name">&#xee17;</div> |
| | | </li> |
| | | |
| | | <li class="dib"> |
| | | <span class="icon iconfont"></span> |
| | | <div class="name">æ
éåæº</div> |
| | | <div class="code-name">&#xe694;</div> |
| | | </li> |
| | | |
| | | <li class="dib"> |
| | | <span class="icon iconfont"></span> |
| | | <div class="name">è®¾å¤æ
éæ¥ä¿®</div> |
| | | <div class="code-name">&#xe72a;</div> |
| | | </li> |
| | | |
| | | <li class="dib"> |
| | | <span class="icon iconfont"></span> |
| | | <div class="name">设å¤ç¹æ£ç®¡ç</div> |
| | | <div class="code-name">&#xe604;</div> |
| | | </li> |
| | | |
| | | <li class="dib"> |
| | | <span class="icon iconfont"></span> |
| | | <div class="name">é
éªæ¶åæ ¼</div> |
| | | <div class="code-name">&#xe65d;</div> |
| | | </li> |
| | | |
| | | <li class="dib"> |
| | | <span class="icon iconfont"></span> |
| | | <div class="name">å¼å«</div> |
| | | <div class="code-name">&#xe818;</div> |
| | | </li> |
| | | |
| | | <li class="dib"> |
| | | <span class="icon iconfont"></span> |
| | | <div class="name">设å¤ä¿å
»</div> |
| | | <div class="code-name">&#xe639;</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.ttf?t=1749612611295') 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" |
| | | ><span class="iconfont">&#x33;</span> |
| | | </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-shangban"></span> |
| | | <div class="name"> |
| | | ä¸ç |
| | | </div> |
| | | <div class="code-name">.icon-shangban |
| | | </div> |
| | | </li> |
| | | |
| | | <li class="dib"> |
| | | <span class="icon iconfont icon-guzhangtingji"></span> |
| | | <div class="name"> |
| | | æ
éåæº |
| | | </div> |
| | | <div class="code-name">.icon-guzhangtingji |
| | | </div> |
| | | </li> |
| | | |
| | | <li class="dib"> |
| | | <span class="icon iconfont icon-shebeiguzhangbaoxiu"></span> |
| | | <div class="name"> |
| | | è®¾å¤æ
éæ¥ä¿® |
| | | </div> |
| | | <div class="code-name">.icon-shebeiguzhangbaoxiu |
| | | </div> |
| | | </li> |
| | | |
| | | <li class="dib"> |
| | | <span class="icon iconfont icon-shebeidianjianguanli"></span> |
| | | <div class="name"> |
| | | 设å¤ç¹æ£ç®¡ç |
| | | </div> |
| | | <div class="code-name">.icon-shebeidianjianguanli |
| | | </div> |
| | | </li> |
| | | |
| | | <li class="dib"> |
| | | <span class="icon iconfont icon-peiyanshouhege"></span> |
| | | <div class="name"> |
| | | é
éªæ¶åæ ¼ |
| | | </div> |
| | | <div class="code-name">.icon-peiyanshouhege |
| | | </div> |
| | | </li> |
| | | |
| | | <li class="dib"> |
| | | <span class="icon iconfont icon-hujiao"></span> |
| | | <div class="name"> |
| | | å¼å« |
| | | </div> |
| | | <div class="code-name">.icon-hujiao |
| | | </div> |
| | | </li> |
| | | |
| | | <li class="dib"> |
| | | <span class="icon iconfont icon-shebeibaoyang"></span> |
| | | <div class="name"> |
| | | 设å¤ä¿å
» |
| | | </div> |
| | | <div class="code-name">.icon-shebeibaoyang |
| | | </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"><link rel="stylesheet" href="./iconfont.css"> |
| | | </code></pre> |
| | | <h3 id="-">ç¬¬äºæ¥ï¼æéç¸åºå¾æ å¹¶è·åç±»åï¼åºç¨äºé¡µé¢ï¼</h3> |
| | | <pre><code class="language-html"><span class="iconfont icon-xxx"></span> |
| | | </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-shangban"></use> |
| | | </svg> |
| | | <div class="name">ä¸ç</div> |
| | | <div class="code-name">#icon-shangban</div> |
| | | </li> |
| | | |
| | | <li class="dib"> |
| | | <svg class="icon svg-icon" aria-hidden="true"> |
| | | <use xlink:href="#icon-guzhangtingji"></use> |
| | | </svg> |
| | | <div class="name">æ
éåæº</div> |
| | | <div class="code-name">#icon-guzhangtingji</div> |
| | | </li> |
| | | |
| | | <li class="dib"> |
| | | <svg class="icon svg-icon" aria-hidden="true"> |
| | | <use xlink:href="#icon-shebeiguzhangbaoxiu"></use> |
| | | </svg> |
| | | <div class="name">è®¾å¤æ
éæ¥ä¿®</div> |
| | | <div class="code-name">#icon-shebeiguzhangbaoxiu</div> |
| | | </li> |
| | | |
| | | <li class="dib"> |
| | | <svg class="icon svg-icon" aria-hidden="true"> |
| | | <use xlink:href="#icon-shebeidianjianguanli"></use> |
| | | </svg> |
| | | <div class="name">设å¤ç¹æ£ç®¡ç</div> |
| | | <div class="code-name">#icon-shebeidianjianguanli</div> |
| | | </li> |
| | | |
| | | <li class="dib"> |
| | | <svg class="icon svg-icon" aria-hidden="true"> |
| | | <use xlink:href="#icon-peiyanshouhege"></use> |
| | | </svg> |
| | | <div class="name">é
éªæ¶åæ ¼</div> |
| | | <div class="code-name">#icon-peiyanshouhege</div> |
| | | </li> |
| | | |
| | | <li class="dib"> |
| | | <svg class="icon svg-icon" aria-hidden="true"> |
| | | <use xlink:href="#icon-hujiao"></use> |
| | | </svg> |
| | | <div class="name">å¼å«</div> |
| | | <div class="code-name">#icon-hujiao</div> |
| | | </li> |
| | | |
| | | <li class="dib"> |
| | | <svg class="icon svg-icon" aria-hidden="true"> |
| | | <use xlink:href="#icon-shebeibaoyang"></use> |
| | | </svg> |
| | | <div class="name">设å¤ä¿å
»</div> |
| | | <div class="code-name">#icon-shebeibaoyang</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"><script src="./iconfont.js"></script> |
| | | </code></pre> |
| | | <h3 id="-css-">ç¬¬äºæ¥ï¼å å
¥éç¨ CSS 代ç ï¼å¼å
¥ä¸æ¬¡å°±è¡ï¼ï¼</h3> |
| | | <pre><code class="language-html"><style> |
| | | .icon { |
| | | width: 1em; |
| | | height: 1em; |
| | | vertical-align: -0.15em; |
| | | fill: currentColor; |
| | | overflow: hidden; |
| | | } |
| | | </style> |
| | | </code></pre> |
| | | <h3 id="-">ç¬¬ä¸æ¥ï¼æéç¸åºå¾æ å¹¶è·åç±»åï¼åºç¨äºé¡µé¢ï¼</h3> |
| | | <pre><code class="language-html"><svg class="icon" aria-hidden="true"> |
| | | <use xlink:href="#icon-xxx"></use> |
| | | </svg> |
| | | </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> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | @font-face { |
| | | font-family: "iconfont"; /* Project id */ |
| | | src: url('iconfont.ttf?t=1749612611295') format('truetype'); |
| | | } |
| | | |
| | | .iconfont { |
| | | font-family: "iconfont" !important; |
| | | font-size: 2.6vw; |
| | | font-style: normal; |
| | | -webkit-font-smoothing: antialiased; |
| | | -moz-osx-font-smoothing: grayscale; |
| | | } |
| | | |
| | | .icon-work:before { |
| | | content: "\ee17"; |
| | | } |
| | | |
| | | .icon-close:before { |
| | | content: "\e694"; |
| | | } |
| | | |
| | | .icon-fault:before { |
| | | content: "\e72a"; |
| | | } |
| | | |
| | | .icon-spotCheck:before { |
| | | content: "\e604"; |
| | | } |
| | | |
| | | .icon-passRate:before { |
| | | content: "\e65d"; |
| | | } |
| | | |
| | | .icon-call:before { |
| | | content: "\e818"; |
| | | } |
| | | |
| | | .icon-maintenance:before { |
| | | content: "\e639"; |
| | | } |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | window._iconfont_svg_string_='<svg><symbol id="icon-shangban" viewBox="0 0 1024 1024"><path d="M870.182019 205.005158h-107.493073a255.935888 255.935888 0 0 0-501.63434 0H153.561533a153.561533 153.561533 0 0 0-153.561533 153.561533v511.871776a153.561533 153.561533 0 0 0 153.561533 153.561533h716.620486a153.561533 153.561533 0 0 0 153.561533-153.561533V358.566691a153.561533 153.561533 0 0 0-153.561533-153.561533z m-358.310243-102.374355a153.561533 153.561533 0 0 1 144.347841 102.374355H368.547679A153.561533 153.561533 0 0 1 511.871776 102.630803zM153.561533 307.379513h716.620486a51.187178 51.187178 0 0 1 51.187178 51.187178v102.374355H102.374355V358.566691a51.187178 51.187178 0 0 1 51.187178-51.187178z m716.620486 614.246132H153.561533a51.187178 51.187178 0 0 1-51.187178-51.187178v-307.123066h358.310244v51.187178a51.187178 51.187178 0 0 0 102.374355 0v-51.187178h358.310243v307.123066a51.187178 51.187178 0 0 1-51.187178 51.187178z" fill="#3E4055" ></path></symbol><symbol id="icon-guzhangtingji" viewBox="0 0 1024 1024"><path d="M128 109.714286h768c30.281143 0 54.857143 30.72 54.857143 68.608v226.377143c0 37.888-24.576 68.608-54.857143 68.608H128a49.956571 49.956571 0 0 1-38.765714-20.114286A78.116571 78.116571 0 0 1 73.142857 404.699429V178.249143c0-37.814857 24.576-68.534857 54.857143-68.534857z m81.92 135.021714a24.576 24.576 0 0 0-19.163429 9.874286 38.473143 38.473143 0 0 0-7.899428 23.917714c0 8.923429 2.852571 17.554286 7.899428 23.844571 5.12 6.290286 11.922286 9.874286 19.090286 9.874286h165.449143a24.576 24.576 0 0 0 19.017143-9.874286 38.473143 38.473143 0 0 0 7.972571-23.917714 38.473143 38.473143 0 0 0-7.899428-23.844571 24.576 24.576 0 0 0-19.090286-9.874286H209.846857zM128 582.948571h485.376A292.352 292.352 0 0 0 512 804.571429c0 53.174857 14.482286 103.131429 39.643429 146.285714H128a50.029714 50.029714 0 0 1-38.765714-20.114286 78.116571 78.116571 0 0 1-16.091429-48.420571V651.556571c0-37.888 24.576-68.534857 54.857143-68.534857z m81.92 165.449143a24.576 24.576 0 0 0-19.163429 9.874286 38.473143 38.473143 0 0 0-7.899428 23.844571c0 8.923429 2.852571 17.554286 7.899428 23.844572 5.12 6.363429 11.922286 9.947429 19.090286 9.947428h165.449143a24.576 24.576 0 0 0 19.017143-9.947428 38.473143 38.473143 0 0 0 7.972571-23.844572 38.473143 38.473143 0 0 0-7.899428-23.844571 24.576 24.576 0 0 0-19.090286-9.947429H209.846857z" ></path><path d="M797.988571 585.142857A212.699429 212.699429 0 0 0 585.142857 797.988571a213.723429 213.723429 0 0 0 212.845714 212.772572 213.723429 213.723429 0 0 0 212.772572-212.845714c0-116.809143-94.354286-212.772571-212.845714-212.772572z m111.908572 266.020572l-54.857143 54.857142-54.857143-54.857142-54.857143 54.857142-54.857143-54.857142 54.857143-54.857143-54.857143-54.857143 54.857143-54.857143 54.857143 54.857143 54.857143-54.857143 54.857143 54.857143-54.857143 54.857143 54.857143 54.857143z" ></path></symbol><symbol id="icon-shebeiguzhangbaoxiu" viewBox="0 0 1024 1024"><path d="M389.439571 939.994334c21.690135 0 39.24701 18.277352 39.247011 40.839643 0 22.600211-17.556875 40.877562-39.209091 40.877562H97.381144C54.152553 1021.59778 19.076722 985.080996 18.962963 940.032254V81.717205C19.114642 36.630543 54.114633 0.113759 97.381144 0h705.687787c43.266511 0.113759 78.304421 36.668463 78.418181 81.755125v208.407312c0 22.600211-17.518955 40.877562-39.209091 40.877562-21.614295 0-39.20909-18.277352-39.20909-40.877562V81.755125H97.381144v858.239209h292.096347zM273.746211 235.027023c-21.690135 0-39.20909-18.315271-39.209091-40.877562 0-22.600211 17.518955-40.877562 39.209091-40.877562h352.843894c21.652215 0 39.20909 18.277352 39.20909 40.877562 0 22.562291-17.556875 40.877562-39.20909 40.877562H273.708291z m0 163.43441c-21.690135 0-39.20909-18.277352-39.209091-40.839642s17.518955-40.877562 39.209091-40.877563h109.777869c21.614295 0 39.20909 18.315271 39.20909 40.877563 0 22.562291-17.556875 40.877562-39.20909 40.877562H273.708291z m370.476608-44.934983a69.469104 69.469104 0 0 1 64.691207 16.343441l160.780023 167.60559a70.910057 70.910057 0 0 1 17.632715 65.373764l-19.604546 79.669534a31.208009 31.208009 0 0 0 7.811483 28.553622l105.872128 110.346667a83.878634 83.878634 0 0 1 0 116.489676l-58.699876 61.430103a75.915473 75.915473 0 0 1-111.7497 0l-19.604545-20.476701-86.267583-89.869965a28.326103 28.326103 0 0 0-27.378108-8.190681l-72.540609 20.438782a71.327175 71.327175 0 0 1-70.568779-20.476701l-154.864531-161.38674a76.44635 76.44635 0 0 1-17.632714-73.564444l21.538455-87.898135c3.716142-17.746474 16.57096-31.928486 33.369439-36.782222 16.60888-5.915491 34.999991-1.137594 47.020573 12.248101l62.719376 65.373763 54.794135-14.257851 13.689054-57.107243-62.719377-65.373764a53.542781 53.542781 0 0 1-13.689053-51.115913 47.778969 47.778969 0 0 1 35.265429-34.734552l90.135404-22.638131z m9.821233 120.585017c18.239432 18.429031 25.064999 45.996738 17.632714 71.365095l-15.698804 67.459354a70.37918 70.37918 0 0 1-48.992403 51.077993l-64.691207 18.391111a71.440935 71.440935 0 0 1-68.483189-18.391111l-29.425777-30.715052-7.811483 32.724802 148.94904 155.281649 70.606699-18.391111c36.403024-9.821233 75.157077 1.023835 101.928467 28.553622l86.267583 89.945805 19.604545 20.438781 58.775716-61.316343-19.566626-20.476701-86.267583-89.869966a112.470176 112.470176 0 0 1-27.378107-106.289246l17.632714-71.365094-148.986959-155.28165-33.331519 8.152761 29.198259 28.705301z" ></path></symbol><symbol id="icon-shebeidianjianguanli" viewBox="0 0 1024 1024"><path d="M791.23684 1023.988284H232.710439A230.479197 230.479197 0 0 1 0.018225 791.230982V232.70458A230.479197 230.479197 0 0 1 232.710439 0.012367h558.526401a230.479197 230.479197 0 0 1 232.692213 232.692213v558.526402a230.479197 230.479197 0 0 1-232.692213 232.757302zM232.710439 93.089252A143.195208 143.195208 0 0 0 93.09511 232.70458v558.526402A143.195208 143.195208 0 0 0 232.710439 930.781221h558.526401a143.195208 143.195208 0 0 0 139.550239-139.550239V232.70458a143.195208 143.195208 0 0 0-139.550239-139.615328H232.710439z" ></path><path d="M791.23684 372.384997h-186.153771a46.538443 46.538443 0 1 1 0-93.076885h186.153771a46.538443 46.538443 0 1 1 0 93.076885z m0 372.372631h-186.153771a46.538443 46.538443 0 1 1 0-93.076886h186.153771a46.538443 46.538443 0 1 1 0 93.076886zM456.094964 260.692735L297.864258 437.538817a34.88756 34.88756 0 0 1-55.846131 0l-46.538443-55.846131a79.538429 79.538429 0 0 1 0-65.088731 34.88756 34.88756 0 0 1 55.846132 0l27.923065 27.923065 130.177462-148.923016a42.307675 42.307675 0 0 1 46.538443 0 55.455599 55.455599 0 0 1 0.130178 65.088731z m-130.177463 577.141778a139.615328 139.615328 0 1 1 139.615329-139.615328 143.195208 143.195208 0 0 1-139.745506 139.615328z m0-186.153771a46.538443 46.538443 0 1 0 46.538443 46.538443 43.999982 43.999982 0 0 0-46.66862-46.538443z" ></path></symbol><symbol id="icon-peiyanshouhege" viewBox="0 0 1024 1024"><path d="M544 972.8v-44.8H115.2c-19.2 0-32-12.8-32-32V102.4c0-19.2 12.8-32 32-32h723.2c19.2 0 32 12.8 32 32v403.2h64V102.4c0-51.2-44.8-96-96-96H115.2C64 6.4 19.2 51.2 19.2 102.4V896c0 51.2 44.8 96 96 96h435.2c0-6.4-6.4-12.8-6.4-19.2z" ></path><path d="M876.8 505.6c0 19.2 12.8 32 32 32s32-12.8 32-32-12.8-32-32-32-32 12.8-32 32zM518.4 960c0 19.2 12.8 32 32 32s32-12.8 32-32-12.8-32-32-32-32 12.8-32 32zM358.4 697.6H198.4c-19.2 0-32-12.8-32-32s12.8-32 32-32h160c19.2 0 32 12.8 32 32s-12.8 32-32 32z m371.2-332.8H569.6c-19.2 0-32-12.8-32-32s12.8-32 32-32h160c19.2 0 32 12.8 32 32s-19.2 32-32 32z m64-128h-256c-19.2 0-32-12.8-32-32s12.8-32 32-32h256c19.2 0 32 12.8 32 32s-19.2 32-32 32z m-352 588.8h-256c-19.2 0-32-12.8-32-32s12.8-32 32-32h256c19.2 0 32 12.8 32 32s-19.2 32-32 32z m345.6-243.2c-108.8 0-198.4 89.6-198.4 198.4s89.6 198.4 198.4 198.4 198.4-89.6 198.4-198.4-83.2-198.4-198.4-198.4z m147.2 134.4L755.2 896c-6.4 6.4-12.8 6.4-12.8 0l-25.6-25.6-76.8-76.8c-6.4-6.4-6.4-12.8 0-12.8l25.6-25.6c6.4-6.4 12.8-6.4 12.8 0l70.4 70.4 147.2-147.2c6.4-6.4 12.8-6.4 12.8 0l25.6 25.6c6.4 0 6.4 6.4 0 12.8z m-268.8-224h-64c-19.2 0-32-12.8-32-32s12.8-32 32-32h64c19.2 0 32 12.8 32 32s-12.8 32-32 32zM371.2 345.6c12.8-6.4 19.2 0 25.6 0 12.8 0 19.2 0 32-6.4 19.2-6.4 32-12.8 38.4-25.6 12.8-12.8 19.2-19.2 19.2-32s0-19.2-12.8-25.6h-6.4l-25.6 6.4h-12.8l-19.2-25.6 12.8-32 38.4-12.8c6.4 0 12.8 0 12.8-6.4v-12.8c0-6.4-6.4-6.4-6.4-6.4-12.8-6.4-25.6-12.8-38.4-12.8-12.8-6.4-32-6.4-44.8 0-25.6 6.4-38.4 19.2-57.6 44.8 0 6.4-12.8 38.4-6.4 64l-12.8 12.8-44.8-44.8v-6.4c0-6.4 0-6.4 6.4-6.4v-6.4c0-6.4 6.4-6.4 12.8-12.8h19.2c6.4 0 12.8 0 19.2-6.4 0 0 0-12.8-6.4-19.2-19.2-6.4-32-19.2-51.2-19.2-12.8 0-25.6 0-44.8 19.2h-12.8c-6.4-6.4-19.2 0-19.2 0l-38.4 32s-6.4 6.4-6.4 12.8 0 6.4 6.4 12.8h-12.8v6.4H128l-19.2 19.2s-6.4 6.4-6.4 12.8 0 6.4 6.4 12.8l51.2 51.2s6.4 6.4 12.8 6.4 6.4 0 12.8-6.4l6.4-19.2c6.4 0 6.4-6.4 6.4-12.8h6.4l44.8 44.8L147.2 448s-6.4 6.4-6.4 12.8 0 6.4 6.4 12.8l38.4 38.4s12.8 0 19.2-6.4l102.4-102.4L416 512c6.4 6.4 6.4 6.4 12.8 6.4s6.4 0 12.8-6.4l38.4-38.4s6.4-6.4 6.4-12.8 0-6.4-6.4-12.8L371.2 345.6zM217.6 256c0-6.4 0-6.4-6.4-6.4H192c-6.4 0-6.4 6.4-6.4 6.4-6.4 6.4-6.4 12.8-6.4 19.2v6.4h-6.4L147.2 256h6.4c12.8 0 12.8-6.4 19.2-6.4h6.4s0-6.4 6.4-6.4v-6.4c0-6.4 6.4-6.4 0-12.8 0 0 0-6.4-6.4-6.4l12.8-19.2c6.4 6.4 19.2 6.4 19.2 0h12.8c6.4 0 6.4 0 12.8-6.4s19.2-6.4 19.2-12.8c0 6.4-6.4 12.8-12.8 25.6v12.8l-12.8 6.4v6.4c0 6.4 0 12.8 6.4 19.2l51.2 51.2-19.2 12.8-51.2-57.6zM192 460.8L179.2 448l172.8-172.8c6.4-6.4 6.4-12.8 6.4-19.2v-6.4c-6.4-19.2 0-32 0-44.8 6.4-12.8 19.2-19.2 32-25.6l-6.4 6.4-12.8 51.2c0 6.4 0 12.8 6.4 19.2l38.4 38.4c6.4 6.4 6.4 6.4 12.8 6.4h-32c-6.4 0-12.8 0-19.2-6.4-6.4-6.4-12.8 0-19.2 0L192 460.8z m236.8 0L326.4 364.8l19.2-19.2L441.6 448l-12.8 12.8z" ></path></symbol><symbol id="icon-hujiao" viewBox="0 0 1024 1024"><path d="M785.723077 673.476923c0-1.969231-1.969231-3.938462-1.969231-3.938461l-59.076923-66.953847v-108.307692c0-98.461538-68.923077-183.138462-165.415385-204.8 3.938462-7.876923 7.876923-17.723077 7.876924-27.569231 0-29.538462-25.6-53.169231-57.107693-53.16923S452.923077 232.369231 452.923077 261.907692c0 9.846154 3.938462 19.692308 7.876923 27.569231-98.461538 21.661538-165.415385 106.338462-165.415385 204.8v108.307692L236.307692 669.538462l-1.96923 1.96923c-3.938462 5.907692-3.938462 11.815385-3.938462 21.661539 0 27.569231 21.661538 49.230769 51.2 49.230769h133.907692c9.846154 43.323077 51.2 74.830769 96.492308 74.830769 47.261538 0 86.646154-29.538462 96.492308-74.830769h133.907692c27.569231 0 51.2-21.661538 51.2-49.230769-3.938462-7.876923-5.907692-13.784615-7.876923-19.692308zM512 246.153846c11.815385 0 19.692308 7.876923 19.692308 17.723077s-7.876923 17.723077-19.692308 17.723077-19.692308-7.876923-19.692308-17.723077 7.876923-17.723077 19.692308-17.723077z m0 533.661539c-23.630769 0-43.323077-13.784615-49.230769-33.476923h100.430769c-9.846154 19.692308-29.538462 33.476923-51.2 33.476923z m222.523077-104.369231c0 7.876923-5.907692 13.784615-13.784615 13.784615H303.261538c-7.876923 0-13.784615-7.876923-13.784615-13.784615v-3.938462l55.138462-61.046154c1.969231-1.969231 1.969231-7.876923 1.96923-9.846153v-104.369231c0-88.615385 72.861538-159.507692 163.446154-159.507692s163.446154 70.892308 163.446154 159.507692v104.369231c1.969231 3.938462 1.969231 7.876923 5.907692 9.846153l55.138462 61.046154v3.938462z" ></path><path d="M923.569231 29.538462H100.430769c-39.384615 0-72.861538 33.476923-72.861538 72.861538V925.538462c0 39.384615 33.476923 72.861538 72.861538 72.861538h823.138462c39.384615 0 72.861538-33.476923 72.861538-72.861538V102.4c0-41.353846-31.507692-72.861538-72.861538-72.861538z m-5.907693 846.76923c0 21.661538-17.723077 41.353846-41.353846 41.353846H149.661538c-21.661538 0-41.353846-17.723077-41.353846-41.353846V149.661538c0-21.661538 17.723077-41.353846 41.353846-41.353846h726.646154c21.661538 0 41.353846 17.723077 41.353846 41.353846v726.646154z" ></path></symbol><symbol id="icon-shebeibaoyang" viewBox="0 0 1024 1024"><path d="M759.025791 192.027246c0 35.310345-31.750248 63.936427-70.838655 63.936426h-425.031928c-39.088406 0-70.838655-28.626082-70.838655-63.936426v-21.360579H97.865013v767.963672h377.806159c23.97616 0 44.101604 16.202072 46.862495 37.707961l0.363275 5.013197c0 21.578544-17.945793 39.814957-41.703988 42.357883l-5.521782 0.29062H74.252129c-36.472825 0-66.987938-25.065986-70.47538-57.833404L3.413474 959.990918V149.306088c0-32.912729 27.754222-60.52164 64.009082-63.645807l6.829573-0.29062H192.316553V63.936427C192.316553 28.626082 224.066801 0 263.155208 0h425.031928c39.088406 0 70.838655 28.626082 70.838655 63.936427v21.433234h118.064425c36.472825 0 66.987938 24.99333 70.475379 57.833404l0.363275 6.103023v277.324251c0 22.595714-19.544203 41.268057-44.464878 42.575848-24.920675 1.307791-46.717185-15.112246-49.696041-37.562651l-0.29062-5.013197V170.739322h-94.45154v21.360579zM664.574251 85.369661H286.768093v85.297006h377.806158V85.297006z" ></path><path d="M269.839471 682.666667h42.357882q42.357883 0 42.357883 42.648503t-42.357883 42.648502h-42.357882q-42.430538 0-42.430538-42.648502t42.430538-42.648503zM269.839471 426.630339h339.008372q42.430538 0 42.430538 42.721158 0 42.648503-42.430538 42.648503H269.839471q-42.430538 0-42.430538-42.648503 0-42.721158 42.430538-42.721158z" ></path><path d="M1020.583901 841.127288c0 100.990492-81.373634 182.872712-181.637576 182.872712S657.308748 942.117781 657.308748 841.127288q0-87.331347 135.864907-269.840783 21.215269-28.480772 45.77267-59.286505 24.5574 30.805733 45.772669 59.286505Q1020.583901 753.795942 1020.583901 841.127288z m-290.620122 0q0-61.248191 108.982546-209.755073 108.982546 148.506882 108.982545 209.755073 0 45.772669-32.113523 78.104158-31.895558 32.113523-76.869022 32.113523-45.046119 0-76.869023-32.113523Q729.963779 886.899957 729.963779 841.127288z" ></path></symbol></svg>',(e=>{var c=(t=(t=document.getElementsByTagName("script"))[t.length-1]).getAttribute("data-injectcss"),t=t.getAttribute("data-disable-injectsvg");if(!t){var a,h,l,n,i,o=function(c,t){t.parentNode.insertBefore(c,t)};if(c&&!e.__iconfont__svg__cssinject__){e.__iconfont__svg__cssinject__=!0;try{document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>")}catch(c){console&&console.log(c)}}a=function(){var c,t=document.createElement("div");t.innerHTML=e._iconfont_svg_string_,(t=t.getElementsByTagName("svg")[0])&&(t.setAttribute("aria-hidden","true"),t.style.position="absolute",t.style.width=0,t.style.height=0,t.style.overflow="hidden",t=t,(c=document.body).firstChild?o(t,c.firstChild):c.appendChild(t))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(a,0):(h=function(){document.removeEventListener("DOMContentLoaded",h,!1),a()},document.addEventListener("DOMContentLoaded",h,!1)):document.attachEvent&&(l=a,n=e.document,i=!1,d(),n.onreadystatechange=function(){"complete"==n.readyState&&(n.onreadystatechange=null,s())})}function s(){i||(i=!0,l())}function d(){try{n.documentElement.doScroll("left")}catch(c){return void setTimeout(d,50)}s()}})(window); |
¶Ô±ÈÐÂÎļþ |
| | |
| | | { |
| | | "id": "", |
| | | "name": "", |
| | | "font_family": "iconfont", |
| | | "css_prefix_text": "icon-", |
| | | "description": "", |
| | | "glyphs": [ |
| | | { |
| | | "icon_id": "147946951", |
| | | "name": "ä¸ç", |
| | | "font_class": "shangban", |
| | | "unicode": "ee17", |
| | | "unicode_decimal": 60951 |
| | | }, |
| | | { |
| | | "icon_id": "147949830", |
| | | "name": "æ
éåæº", |
| | | "font_class": "guzhangtingji", |
| | | "unicode": "e694", |
| | | "unicode_decimal": 59028 |
| | | }, |
| | | { |
| | | "icon_id": "147949831", |
| | | "name": "è®¾å¤æ
éæ¥ä¿®", |
| | | "font_class": "shebeiguzhangbaoxiu", |
| | | "unicode": "e72a", |
| | | "unicode_decimal": 59178 |
| | | }, |
| | | { |
| | | "icon_id": "147949832", |
| | | "name": "设å¤ç¹æ£ç®¡ç", |
| | | "font_class": "shebeidianjianguanli", |
| | | "unicode": "e604", |
| | | "unicode_decimal": 58884 |
| | | }, |
| | | { |
| | | "icon_id": "147950056", |
| | | "name": "é
éªæ¶åæ ¼", |
| | | "font_class": "peiyanshouhege", |
| | | "unicode": "e65d", |
| | | "unicode_decimal": 58973 |
| | | }, |
| | | { |
| | | "icon_id": "147950057", |
| | | "name": "å¼å«", |
| | | "font_class": "hujiao", |
| | | "unicode": "e818", |
| | | "unicode_decimal": 59416 |
| | | }, |
| | | { |
| | | "icon_id": "147950058", |
| | | "name": "设å¤ä¿å
»", |
| | | "font_class": "shebeibaoyang", |
| | | "unicode": "e639", |
| | | "unicode_decimal": 58937 |
| | | } |
| | | ] |
| | | } |
| | |
| | | name: 'TerminalLayout', |
| | | data() { |
| | | return { |
| | | currentDateAndTime: null, |
| | | currentDateAndTime: moment().format('YYYY-MM-DD HH:mm:ss'), |
| | | getDateAndTimeInterval: null |
| | | } |
| | | }, |
| | |
| | | path: 'spotCheck', |
| | | name: 'equipmentSpotCheck', |
| | | component: () => import('@/views/dnc/base/modules/TerminalIndex/EquipmentSpotCheck.vue') |
| | | } |
| | | }, |
| | | { |
| | | path: 'passRate', |
| | | name: 'reportPassRate', |
| | | component: () => import('@/views/dnc/base/modules/TerminalIndex/ReportPassRate.vue') |
| | | }, |
| | | { |
| | | path: 'call', |
| | | name: 'procedureCall', |
| | | component: () => import('@/views/dnc/base/modules/TerminalIndex/ProcedureCall.vue') |
| | | }, |
| | | ] |
| | | }, |
| | | { |
| | |
| | | <template v-for="(item,index) in buttonList"> |
| | | <a-col :span="6" v-if="index<4"> |
| | | <div :class="'button button'+(index+1)" @click="navigateTo(item)"> |
| | | <img :src="require(`@/assets/terminal/${item.routePath}.svg`)"/> |
| | | <!--<img :src="require(`@/assets/terminal/${item.routePath}.svg`)"/>--> |
| | | <i :class="'iconfont icon-'+item.routePath"/> |
| | | <div>{{item.label}}</div> |
| | | </div> |
| | | </a-col> |
| | |
| | | <template v-for="(item,index) in buttonList"> |
| | | <a-col :span="6" v-if="index>=4"> |
| | | <div :class="'button button'+(index+1)" @click="navigateTo(item)"> |
| | | <img :src="require(`@/assets/terminal/${item.routePath}.svg`)"/> |
| | | <i :class="'iconfont icon-'+item.routePath"/> |
| | | <div>{{item.label}}</div> |
| | | </div> |
| | | </a-col> |
| | |
| | | } |
| | | </script> |
| | | |
| | | <style scoped lang="less"> |
| | | <style scoped> |
| | | @import '~@assets/terminal/iconfont.css'; |
| | | |
| | | .page-header { |
| | | font-size: 2vw; |
| | | color: #000; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | margin-bottom: 1vw; |
| | | } |
| | | |
| | | span { |
| | | font-size: 1.3vw; |
| | | color: #999; |
| | | } |
| | | .page-header span { |
| | | font-size: 1.3vw; |
| | | color: #999; |
| | | } |
| | | |
| | | .content-container { |
| | |
| | | flex-direction: column; |
| | | padding: 3% 10%; |
| | | |
| | | .ant-row { |
| | | flex: 1; |
| | | } |
| | | |
| | | .ant-col { |
| | | height: 100%; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | .ant-row { |
| | | flex: 1; |
| | | } |
| | | |
| | | .button { |
| | | width: 9.63vw; |
| | | height: 9.38vw; |
| | | display: flex; |
| | | flex-direction: column; |
| | | justify-content: center; |
| | | align-items: center; |
| | | font-size: 1.3vw; |
| | | color: #fff; |
| | | border-radius: 1vw; |
| | | cursor: pointer; |
| | | transition: all .1s ease-in-out; |
| | | .ant-col { |
| | | height: 100%; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | } |
| | | |
| | | img { |
| | | width: 2.6vw; |
| | | margin-bottom: 0.8vw; |
| | | } |
| | | img { |
| | | width: 2.6vw; |
| | | margin-bottom: 0.8vw; |
| | | } |
| | | |
| | | &:hover { |
| | | transform: scale(1.05); |
| | | } |
| | | .button { |
| | | width: 9.63vw; |
| | | height: 9.38vw; |
| | | display: flex; |
| | | flex-direction: column; |
| | | justify-content: center; |
| | | align-items: center; |
| | | font-size: 1.3vw; |
| | | color: #fff; |
| | | border-radius: 1vw; |
| | | cursor: pointer; |
| | | transition: all .1s ease-in-out; |
| | | } |
| | | |
| | | &.button1 { |
| | | background: linear-gradient(top, #5ADEAD, #3BC3A6); |
| | | background: -webkit-linear-gradient(top, #5ADEAD, #3BC3A6); |
| | | } |
| | | .button:hover { |
| | | transform: scale(1.05); |
| | | } |
| | | |
| | | &.button2 { |
| | | background: linear-gradient(top, #76A9FA, #5B8CF3); |
| | | background: -webkit-linear-gradient(top, #76A9FA, #5B8CF3); |
| | | } |
| | | .button1 { |
| | | background: linear-gradient(to bottom, #5ADEAD, #3BC3A6); |
| | | background: -webkit-linear-gradient(to bottom, #5ADEAD, #3BC3A6); |
| | | } |
| | | |
| | | &.button3 { |
| | | background: linear-gradient(top, #FAB976, #FB9557); |
| | | background: -webkit-linear-gradient(top, #FAB976, #FB9557); |
| | | } |
| | | .button2 { |
| | | background: linear-gradient(to bottom, #76A9FA, #5B8CF3); |
| | | background: -webkit-linear-gradient(to bottom, #76A9FA, #5B8CF3); |
| | | } |
| | | |
| | | &.button4 { |
| | | background: linear-gradient(top, #5FC2F9, #45A4F4); |
| | | background: -webkit-linear-gradient(top, #5FC2F9, #45A4F4); |
| | | } |
| | | .button3 { |
| | | background: linear-gradient(to bottom, #FAB976, #FB9557); |
| | | background: -webkit-linear-gradient(to bottom, #FAB976, #FB9557); |
| | | } |
| | | |
| | | &.button5 { |
| | | background: linear-gradient(top, #62F2EA, #55D6CE); |
| | | background: -webkit-linear-gradient(top, #62F2EA, #55D6CE); |
| | | } |
| | | .button4 { |
| | | background: linear-gradient(to bottom, #5FC2F9, #45A4F4); |
| | | background: -webkit-linear-gradient(to bottom, #5FC2F9, #45A4F4); |
| | | } |
| | | |
| | | &.button6 { |
| | | background: linear-gradient(top, #91A0F5, #6D7CF7); |
| | | background: -webkit-linear-gradient(top, #91A0F5, #6D7CF7); |
| | | } |
| | | .button5 { |
| | | background: linear-gradient(to bottom, #62F2EA, #55D6CE); |
| | | background: -webkit-linear-gradient(to bottom, #62F2EA, #55D6CE); |
| | | } |
| | | |
| | | &.button7 { |
| | | background: linear-gradient(top, #FF6A5A, #DB5A50); |
| | | background: -webkit-linear-gradient(top, #FF6A5A, #DB5A50); |
| | | } |
| | | .button6 { |
| | | background: linear-gradient(to bottom, #91A0F5, #6D7CF7); |
| | | background: -webkit-linear-gradient(to bottom, #91A0F5, #6D7CF7); |
| | | } |
| | | |
| | | &.button8 { |
| | | background: linear-gradient(top, #FFF248, #EADE46); |
| | | background: -webkit-linear-gradient(top, #FFF248, #EADE46); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | .button7 { |
| | | background: linear-gradient(to bottom, #FF6A5A, #DB5A50); |
| | | background: -webkit-linear-gradient(to bottom, #FF6A5A, #DB5A50); |
| | | } |
| | | |
| | | .button8 { |
| | | background: linear-gradient(to bottom, #FFF248, #EADE46); |
| | | background: -webkit-linear-gradient(to bottom, #FFF248, #EADE46); |
| | | } |
| | | </style> |
| | |
| | | </div> |
| | | |
| | | <div class="button-container"> |
| | | <a-button @click="handleSubmit" icon="check" :loading="loading">ä¿å</a-button> |
| | | <a-button @click="handleSubmit" icon="check" :loading="loading" type="primary">ä¿å</a-button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | |
| | | setTimeout(() => { |
| | | that.loading = false |
| | | that.$notification.success({ |
| | | message: 'æ¶æ¯', |
| | | description: 'ä¿åæåï¼' |
| | | }) |
| | | }, 2000) |
| | | } else { |
| | | return false |
| | |
| | | flex-direction: column; |
| | | justify-content: center; |
| | | align-items: center; |
| | | overflow: hidden; |
| | | |
| | | .check-content-container { |
| | | display: flex; |
| | |
| | | |
| | | <a-tabs default-active-key="1"> |
| | | <a-tab-pane tab="æå¡ä¸ä¸ç" key="1" dataset="first"> |
| | | <a-space> |
| | | <div>设å¤åç§°ï¼</div> |
| | | <a-select style="width: 250px"> |
| | | <a-form-model ref="form" :model="model" :rules="validateRules" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item label="设å¤åç§°" prop="equipmentIdList"> |
| | | <a-select v-model="model.equipmentIdList" mode="multiple" placeholder="è¯·éæ©è®¾å¤" :maxTagCount="3" |
| | | allow-clear> |
| | | <a-select-option v-for="item in equipmentList" :key="item.equipmentId"> |
| | | {{item.equipmentId+`[${item.equipmentName}]`}} |
| | | </a-select-option> |
| | | </a-select> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | </a-select> |
| | | </a-space> |
| | | <div style="text-align: center;margin-top: 150px"> |
| | | <a-space> |
| | | <a-button size="large" type="primary" @click="handleClockInAndOut('In',1)" :loading="clockInLoading1" |
| | | :disabled="clockOutLoading1||clockInLoading2||clockOutLoading2">æ©çä¸ç |
| | | </a-button> |
| | | <a-button size="large" type="primary" @click="handleClockInAndOut('Out',1)" :loading="clockOutLoading1" |
| | | :disabled="clockInLoading1||clockInLoading2||clockOutLoading2"> |
| | | æ©çä¸ç |
| | | </a-button> |
| | | <a-button size="large" type="primary" @click="handleClockInAndOut('In',2)" :loading="clockInLoading2" |
| | | :disabled="clockOutLoading1||clockInLoading1||clockOutLoading2">æçä¸ç |
| | | </a-button> |
| | | <a-button size="large" type="primary" @click="handleClockInAndOut('Out',2)" :loading="clockOutLoading2" |
| | | :disabled="clockOutLoading1||clockInLoading2||clockInLoading1"> |
| | | æçä¸ç |
| | | </a-button> |
| | | </a-space> |
| | | </div> |
| | | </a-form-model> |
| | | |
| | | |
| | | <div class="button">ä¸ç</div> |
| | | </a-tab-pane> |
| | | |
| | | <a-tab-pane tab="å½å设å¤ç¶æ" key="2"> |
| | | <a-table :dataSource="dataSource" :columns="columns" rowKey="id" bordered :pagination="false"/> |
| | | <a-table :dataSource="dataSource" :columns="columns" rowKey="id" bordered :pagination="false" |
| | | :loading="loading"/> |
| | | </a-tab-pane> |
| | | </a-tabs> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
| | | import { getAction, postAction } from '@/api/manage' |
| | | import moment from 'moment' |
| | | |
| | | export default { |
| | | name: 'EquipmentStartWork', |
| | | mixins: [JeecgListMixin], |
| | | data() { |
| | | return { |
| | | model: {}, |
| | | labelCol: { |
| | | xs: { span: 24 }, |
| | | sm: { span: 8 } |
| | | }, |
| | | wrapperCol: { |
| | | xs: { span: 24 }, |
| | | sm: { span: 8 } |
| | | }, |
| | | equipmentList: [], |
| | | columns: [ |
| | | { |
| | | title: 'ç¨æ·ç¼å·', |
| | | align: 'center', |
| | | dataIndex: 'userId' |
| | | dataIndex: 'punchUserUserName', |
| | | width: 250 |
| | | }, |
| | | { |
| | | title: 'ç¨æ·åç§°', |
| | | align: 'center', |
| | | dataIndex: 'username' |
| | | dataIndex: 'punchUserRealName' |
| | | }, |
| | | { |
| | | title: '设å¤ç¼å·', |
| | | align: 'center', |
| | | dataIndex: 'equipmentId' |
| | | dataIndex: 'equipmentId', |
| | | width: 200 |
| | | }, |
| | | { |
| | | title: 'çæ¬¡', |
| | | align: 'center', |
| | | dataIndex: 'shiftScheduleName', |
| | | width: 150 |
| | | }, |
| | | { |
| | | title: 'ä¸çæå¡æ¶é´', |
| | | align: 'center', |
| | | dataIndex: 'startWorkTime' |
| | | dataIndex: 'checkInTime' |
| | | }, |
| | | { |
| | | title: 'ä¸çæå¡æ¶é´', |
| | | align: 'center', |
| | | dataIndex: 'finishWorkTime' |
| | | dataIndex: 'checkOutTime' |
| | | } |
| | | ], |
| | | dataSource: [ |
| | | { |
| | | id: 1, |
| | | equipmentId: '3140132', |
| | | userId: '140016', |
| | | username: 'æéª', |
| | | startWorkTime: '2023/11/13 9:29', |
| | | finishWorkTime: '' |
| | | }, |
| | | { |
| | | id: 2, |
| | | equipmentId: '3140130', |
| | | userId: '140016', |
| | | username: 'æéª', |
| | | startWorkTime: '2023/11/13 9:29', |
| | | finishWorkTime: '' |
| | | } |
| | | ], |
| | | validateRules: { |
| | | equipmentIdList: [ |
| | | { required: true, message: 'è¯·éæ©è®¾å¤!', trigger: 'change' } |
| | | ] |
| | | }, |
| | | clockInLoading1: false, |
| | | clockOutLoading1: false, |
| | | clockInLoading2: false, |
| | | clockOutLoading2: false, |
| | | url: { |
| | | list: '' |
| | | equipmentList: '/mdc/mdcEquipment/getEquipmentList', |
| | | clockIn: '/mdcEquipmentPunch/workUp', |
| | | clockOut: '/mdcEquipmentPunch/workDown', |
| | | list: '/mdcEquipmentPunch/list' |
| | | } |
| | | } |
| | | }, |
| | | created() { |
| | | this.getEquipmentListByApi() |
| | | }, |
| | | methods: { |
| | | // è·å设å¤å表 |
| | | getEquipmentListByApi() { |
| | | const that = this |
| | | getAction(this.url.equipmentList) |
| | | .then(res => { |
| | | if (res.success) that.equipmentList = res.result |
| | | }) |
| | | }, |
| | | |
| | | /** |
| | | * æå¡ä¸ä¸çäºä»¶ |
| | | * @param clockInOrOut In为ä¸ç Out为ä¸ç |
| | | * @param shiftSchedule 1为æ©ç 2为æç |
| | | */ |
| | | handleClockInAndOut(clockInOrOut, shiftSchedule) { |
| | | const that = this |
| | | this.$refs.form.validate(valid => { |
| | | if (valid) { |
| | | that['clock' + clockInOrOut + 'Loading' + shiftSchedule] = true |
| | | that.queryParam = {} |
| | | that.queryParam['shiftSchedule'] = shiftSchedule |
| | | that.queryParam['check' + clockInOrOut + 'Time'] = moment().format('YYYY-MM-DD HH:mm:ss') |
| | | that.queryParam.equipmentId = that.model.equipmentIdList.join() |
| | | console.log('queryParam', that.queryParam) |
| | | |
| | | postAction(that.url['clock' + clockInOrOut], that.queryParam) |
| | | .then(res => { |
| | | console.log('res', res) |
| | | if (res.success) { |
| | | that.$notification.success({ |
| | | message: 'æ¶æ¯', |
| | | description: res.message |
| | | }) |
| | | that.loadData() |
| | | } else { |
| | | that.$notification.warning({ |
| | | message: 'æ¶æ¯', |
| | | description: res.message |
| | | }) |
| | | } |
| | | }) |
| | | .finally(() => { |
| | | that['clock' + clockInOrOut + 'Loading' + shiftSchedule] = false |
| | | }) |
| | | } else { |
| | | return false |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped lang="less"> |
| | | .full-screen-container { |
| | | padding: 24px; |
| | | /deep/ .ant-tabs { |
| | | flex: 1; |
| | | display: flex; |
| | | flex-direction: column; |
| | | |
| | | /deep/ .ant-tabs { |
| | | .ant-tabs-content { |
| | | width: 100%; |
| | | flex: 1; |
| | | display: flex; |
| | | flex-direction: column; |
| | | |
| | | .ant-tabs-content { |
| | | width: 100%; |
| | | flex: 1; |
| | | |
| | | .ant-tabs-tabpane[dataset='first'] { |
| | | display: flex; |
| | | flex-direction: column; |
| | | justify-content: center; |
| | | align-items: center; |
| | | |
| | | .button { |
| | | font-weight: bold; |
| | | padding: 40px 80px; |
| | | border: 1px solid rgba(0, 0, 0, .2); |
| | | border-radius: 10px; |
| | | margin-top: 200px; |
| | | cursor: pointer; |
| | | box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.2), |
| | | -6px -6px 16px rgba(255, 255, 255, 0.8), |
| | | inset 0 0 0 transparent; |
| | | |
| | | &:hover { |
| | | box-shadow: 0 0 0 transparent, |
| | | inset 6px 6px 12px rgba(0, 0, 0, 0.2), |
| | | inset -6px -6px 12px rgba(255, 255, 255, 0.8); |
| | | } |
| | | } |
| | | } |
| | | .ant-tabs-tabpane[dataset='first'] { |
| | | display: flex; |
| | | flex-direction: column; |
| | | justify-content: center; |
| | | } |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div> |
| | | <slot name="function"/> |
| | | |
| | | <div class="content-container"> |
| | | <a-form-model ref="form" :model="model" :rules="validateRules" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="equipmentIdList" label="设å¤ç»"> |
| | | <a-select v-model="model.equipmentIdList" mode="multiple" placeholder="è¯·éæ©è®¾å¤" :maxTagCount="3" |
| | | allow-clear> |
| | | <a-select-option v-for="item in equipmentList" :key="item.equipmentId"> |
| | | {{item.equipmentId+`[${item.equipmentName}]`}} |
| | | </a-select-option> |
| | | </a-select> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item label="å¼å«åå " prop="callReason"> |
| | | <a-input placeholder="请è¾å
¥å¼å«åå " v-model="model.callReason" allowClear/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item label="å¼å«ç¨æ·" prop="operator"> |
| | | <a-select v-model="model.operator" placeholder="è¯·éæ©å¼å«ç¨æ·"> |
| | | <a-select-option v-for="item in userList" :key="item.id">{{item.realname+`[${item.username}]`}} |
| | | </a-select-option> |
| | | </a-select> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | |
| | | <div style="text-align: center"> |
| | | <a-button @click="handleSubmit" icon="phone" :loading="loading" type="primary">å¼å«</a-button> |
| | | </div> |
| | | </a-form-model> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import { getAction, postAction } from '@/api/manage' |
| | | |
| | | export default { |
| | | name: 'ProcedureCall', |
| | | components: {}, |
| | | data() { |
| | | return { |
| | | model: {}, |
| | | equipmentList: [], |
| | | userList: [], |
| | | labelCol: { |
| | | xs: { span: 24 }, |
| | | sm: { span: 8 } |
| | | }, |
| | | wrapperCol: { |
| | | xs: { span: 24 }, |
| | | sm: { span: 8 } |
| | | }, |
| | | validateRules: { |
| | | equipmentIdList: [ |
| | | { required: true, message: 'è¯·éæ©è®¾å¤!', trigger: 'change' } |
| | | ], |
| | | callReason: [ |
| | | { required: true, message: '请è¾å
¥å¼å«åå !', trigger: 'change' } |
| | | ], |
| | | operator: [ |
| | | { required: true, message: 'è¯·éæ©å¼å«ç¨æ·!', trigger: 'change' } |
| | | ] |
| | | }, |
| | | loading: false, |
| | | url: { |
| | | equipmentList: '/mdc/mdcEquipment/getEquipmentList', |
| | | userList: '/sys/user/list', |
| | | submit: '/AndonOrder/andonOrder/procedureCall' |
| | | } |
| | | } |
| | | }, |
| | | created() { |
| | | this.getEquipmentListByApi() |
| | | this.getUserListByApi() |
| | | }, |
| | | methods: { |
| | | // è·å设å¤å表 |
| | | getEquipmentListByApi() { |
| | | const that = this |
| | | getAction(this.url.equipmentList) |
| | | .then(res => { |
| | | if (res.success) that.equipmentList = res.result |
| | | }) |
| | | }, |
| | | |
| | | // è·åç¨æ·å表 |
| | | getUserListByApi() { |
| | | const that = this |
| | | getAction(this.url.userList, { pageNo: 1, pageSize: 9999 }) |
| | | .then(res => { |
| | | console.log('res', res) |
| | | if (res.success) that.userList = res.result.records |
| | | }) |
| | | }, |
| | | |
| | | // æäº¤è¡¨å |
| | | handleSubmit() { |
| | | const that = this |
| | | this.$refs.form.validate(valid => { |
| | | if (valid) { |
| | | that.loading = true |
| | | that.model.equipmentId = that.model.equipmentIdList.join() |
| | | postAction(that.url.submit, that.model) |
| | | .then(res => { |
| | | if (res.success) { |
| | | that.$notification.success({ |
| | | message: 'æ¶æ¯', |
| | | description: res.message |
| | | }) |
| | | } else { |
| | | that.$notification.warning({ |
| | | message: 'æ¶æ¯', |
| | | description: res.message |
| | | }) |
| | | } |
| | | }) |
| | | .finally(() => { |
| | | that.loading = false |
| | | }) |
| | | } else { |
| | | return false |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped lang="less"> |
| | | .content-container { |
| | | flex: 1; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | |
| | | /deep/ .ant-form { |
| | | width: 75%; |
| | | } |
| | | } |
| | | </style> |
| | |
| | | <div class="table-page-search-wrapper"> |
| | | <a-form layout="inline"> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="4"> |
| | | <a-col :span="5"> |
| | | <a-form-item label="设å¤"> |
| | | <a-select placeholder="è¯·éæ©è®¾å¤" v-model="queryParam.equipmentId"></a-select> |
| | | <a-select placeholder="è¯·éæ©è®¾å¤" v-model="queryParam.equipmentId" allow-clear> |
| | | <a-select-option v-for="item in equipmentList" :key="item.equipmentId"> |
| | | {{item.equipmentId+`[${item.equipmentName}]`}} |
| | | </a-select-option> |
| | | </a-select> |
| | | </a-form-item> |
| | | </a-col> |
| | | |
| | | <a-col :span="4"> |
| | | <a-col :span="5"> |
| | | <a-form-item label="å¼å§æ¶é´"> |
| | | <a-date-picker style="width: 100%" show-time placeholder="è¯·éæ©å¼å§æ¶é´" v-model="queryParam.startTime"/> |
| | | <a-date-picker style="width: 100%" show-time placeholder="è¯·éæ©å¼å§æ¶é´" value-format="YYYY-MM-DD HH:mm:ss" |
| | | v-model="queryParam.startDate"/> |
| | | </a-form-item> |
| | | </a-col> |
| | | |
| | | <a-col :span="4"> |
| | | <a-col :span="5"> |
| | | <a-form-item label="ç»ææ¶é´"> |
| | | <a-date-picker style="width: 100%" show-time placeholder="è¯·éæ©ç»ææ¶é´" v-model="queryParam.endTime"/> |
| | | <a-date-picker style="width: 100%" show-time placeholder="è¯·éæ©ç»ææ¶é´" value-format="YYYY-MM-DD HH:mm:ss" |
| | | v-model="queryParam.endDate"/> |
| | | </a-form-item> |
| | | </a-col> |
| | | |
| | | <a-col :span="4"> |
| | | <a-col :span="5"> |
| | | <a-form-item label="åæºåå "> |
| | | <a-select placeholder="è¯·éæ©åæºåå " v-model="queryParam.closeReason"></a-select> |
| | | </a-form-item> |
| | | </a-col> |
| | | |
| | | <a-col :span="4"> |
| | | <a-form-item label="åæºæ¶é´"> |
| | | <a-date-picker style="width: 100%" placeholder="è¯·éæ©åæºæ¶é´" v-model="queryParam.closeTime"/> |
| | | <a-select placeholder="è¯·éæ©åæºåå " v-model="queryParam.downtimeDescription" allow-clear> |
| | | <a-select-option v-for="item in downtimeDescriptionList" :key="item.value">{{item.label}} |
| | | </a-select-option> |
| | | </a-select> |
| | | </a-form-item> |
| | | </a-col> |
| | | |
| | |
| | | |
| | | <!-- æä½æé®åºå --> |
| | | <div class="table-operator"> |
| | | <a-button type="primary" @click="handleMaintainShutdown">ç»´æ¤åæº</a-button> |
| | | <a-button type="primary" @click="handleSplitShutdownInfo">æååæºä¿¡æ¯</a-button> |
| | | <a-button type="primary" @click="handleMaintainShutdown" :disabled="selectedRowKeys.length===0">ç»´æ¤åæº</a-button> |
| | | <a-button type="primary" @click="handleSplitShutdownInfo" :disabled="selectionRows.length!==1">æååæºä¿¡æ¯</a-button> |
| | | </div> |
| | | |
| | | <a-table :dataSource="dataSource" :columns="columns" rowKey="id" bordered :pagination="false" |
| | | :rowSelection="{selectedRowKeys, onChange: onSelectChange}"/> |
| | | <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;"> |
| | | <i class="anticon anticon-info-circle ant-alert-icon"></i>已鿩 <a style="font-weight: 600">{{ |
| | | selectedRowKeys.length }}</a>项 |
| | | <a style="margin-left: 24px" @click="onClearSelected">æ¸
空</a> |
| | | </div> |
| | | |
| | | <a-table :dataSource="dataSource" :columns="columns" rowKey="id" bordered :pagination="ipagination" |
| | | :loading="loading" @change="handleTableChange" :customRow="customRow" |
| | | :rowSelection="{selectedRowKeys, onChange: onSelectChange}"> |
| | | <template slot="downtimeType" slot-scope="text"> |
| | | {{ text!=null?text === 0 ? '计ååæº' : 'é计ååæº':'' }} |
| | | </template> |
| | | </a-table> |
| | | </a-card> |
| | | |
| | | <maintain-shutdown-modal ref="maintainShutdownModal"/> |
| | | <maintain-shutdown-modal :downtimeDescriptionList="downtimeDescriptionList" ref="maintainShutdownModal" |
| | | @submitSuccess="loadData"/> |
| | | |
| | | <split-shutdown-info-modal ref="splitShutdownInfoModal"/> |
| | | <split-shutdown-info-modal ref="splitShutdownInfoModal" :downtimeDescriptionList="downtimeDescriptionList" |
| | | @submitSuccess="modalFormOk"/> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
| | | import MaintainShutdownModal from './ReportEquipmentClose/MaintainShutdownModal' |
| | | import SplitShutdownInfoModal from './ReportEquipmentClose/SplitShutdownInfoModal' |
| | | import { getAction } from '@/api/manage' |
| | | |
| | | export default { |
| | | name: 'ReportEquipmentClose', |
| | |
| | | mixins: [JeecgListMixin], |
| | | data() { |
| | | return { |
| | | equipmentList: [], |
| | | downtimeDescriptionList: [], |
| | | columns: [ |
| | | { |
| | | title: '设å¤ç¼å·', |
| | |
| | | dataIndex: 'equipmentName' |
| | | }, |
| | | { |
| | | title: 'åæºç¼å·', |
| | | title: 'åæºåå ', |
| | | align: 'center', |
| | | dataIndex: 'shutdownId' |
| | | dataIndex: 'downtimeDescription' |
| | | }, |
| | | { |
| | | title: 'åæºç±»å', |
| | | align: 'center', |
| | | dataIndex: 'shutdownType' |
| | | scopedSlots: { customRender: 'downtimeType' }, |
| | | dataIndex: 'downtimeType', |
| | | width: 150 |
| | | }, |
| | | { |
| | | title: 'åæºæ¶é´', |
| | | title: 'åæºæ¶é´(MIN)', |
| | | align: 'center', |
| | | width: 150, |
| | | dataIndex: 'shutdownDuration' |
| | |
| | | title: 'å¼å§æ¶é´', |
| | | align: 'center', |
| | | width: 200, |
| | | dataIndex: 'startTime' |
| | | dataIndex: 'startDate' |
| | | }, |
| | | { |
| | | title: 'ç»ææ¶é´', |
| | | align: 'center', |
| | | width: 200, |
| | | dataIndex: 'endTime' |
| | | dataIndex: 'endDate' |
| | | }, |
| | | { |
| | | title: 'å½å
¥ç±»å', |
| | | align: 'center', |
| | | width: 100, |
| | | dataIndex: 'recordType' |
| | | } |
| | | ], |
| | | dataSource: [ |
| | | { |
| | | id: 1, |
| | | equipmentId: '3140221', |
| | | equipmentName: 'æ°æ§æºåº', |
| | | shutdownDuration: 360, |
| | | startTime: '2025-05-20 02:21:49', |
| | | endTime: '2525-05-20 08:21:59', |
| | | recordType: 'èªå¨ä¸æ¥' |
| | | }, |
| | | { |
| | | id: 2, |
| | | equipmentId: '3140221', |
| | | equipmentName: 'æ°æ§æºåº', |
| | | shutdownDuration: 360, |
| | | startTime: '2025-05-20 02:21:49', |
| | | endTime: '2525-05-20 08:21:59', |
| | | recordType: 'èªå¨ä¸æ¥' |
| | | }, |
| | | { |
| | | id: 3, |
| | | equipmentId: '3140221', |
| | | equipmentName: 'æ°æ§æºåº', |
| | | shutdownDuration: 360, |
| | | startTime: '2025-05-20 02:21:49', |
| | | endTime: '2525-05-20 08:21:59', |
| | | recordType: 'èªå¨ä¸æ¥' |
| | | dataIndex: 'enterType_dictText' |
| | | } |
| | | ], |
| | | url: { |
| | | list: '' |
| | | equipmentList: '/mdc/mdcEquipment/getEquipmentList', |
| | | downtimeDescriptionList: '/mdc/mdcDowntimeReason/reasonList', |
| | | list: '/mdc/operator/mdcDowntime/list' |
| | | } |
| | | } |
| | | }, |
| | | created() { |
| | | this.getEquipmentListByApi() |
| | | this.getDowntimeDescriptionListByApi() |
| | | }, |
| | | methods: { |
| | | handleMaintainShutdown() { |
| | | this.$refs.maintainShutdownModal.visible = true |
| | | this.$refs.maintainShutdownModal.model = {} |
| | | // è·å设å¤å表 |
| | | getEquipmentListByApi() { |
| | | const that = this |
| | | getAction(this.url.equipmentList) |
| | | .then(res => { |
| | | if (res.success) that.equipmentList = res.result |
| | | }) |
| | | }, |
| | | |
| | | // è·ååæºåå å表 |
| | | getDowntimeDescriptionListByApi() { |
| | | const that = this |
| | | getAction(this.url.downtimeDescriptionList) |
| | | .then(res => { |
| | | if (res.success) that.downtimeDescriptionList = res.result |
| | | }) |
| | | |
| | | }, |
| | | |
| | | loadData(arg) { |
| | | //å è½½æ°æ® è¥ä¼ å
¥åæ°1åå 载第ä¸é¡µçå
容 |
| | | if (arg === 1) { |
| | | this.ipagination.current = 1 |
| | | } |
| | | const params = this.getQueryParams()//æ¥è¯¢æ¡ä»¶ |
| | | if (!params) return false |
| | | this.loading = true |
| | | getAction(this.url.list, params) |
| | | .then((res) => { |
| | | if (res.success) { |
| | | this.dataSource = res.result.records || res.result |
| | | this.selectionRows = this.dataSource.filter(item => this.selectedRowKeys.includes(item.id)) |
| | | if (res.result.total) { |
| | | this.ipagination.total = res.result.total |
| | | } else { |
| | | this.ipagination.total = 0 |
| | | } |
| | | } else { |
| | | this.$message.warning(res.message) |
| | | } |
| | | }) |
| | | .finally(() => { |
| | | this.loading = false |
| | | }) |
| | | }, |
| | | |
| | | customRow(record) { |
| | | return { |
| | | style: { |
| | | cursor: 'pointer' |
| | | }, |
| | | on: { |
| | | click: () => { |
| | | let selectedRowKeys = [...this.selectedRowKeys] |
| | | let selectionRows = [...this.selectionRows] |
| | | if (selectedRowKeys.includes(record.id)) { |
| | | selectedRowKeys = selectedRowKeys.filter(item => item !== record.id) |
| | | selectionRows = selectionRows.filter(item => item.id !== record.id) |
| | | } |
| | | else { |
| | | selectedRowKeys.push(record.id) |
| | | selectionRows.push(record) |
| | | } |
| | | this.onSelectChange(selectedRowKeys, selectionRows) |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | |
| | | // æå¼ç»´æ¤åæºçªå£ |
| | | handleMaintainShutdown() { |
| | | this.$refs.maintainShutdownModal.visible = true |
| | | this.$refs.maintainShutdownModal.model = { downTimeIds: this.selectedRowKeys.join() } |
| | | }, |
| | | |
| | | // æå¼æååæºä¿¡æ¯çªå£ |
| | | handleSplitShutdownInfo() { |
| | | this.$refs.splitShutdownInfoModal.visible = true |
| | | this.$refs.splitShutdownInfoModal.setDateTime(this.selectionRows[0]) |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped lang="less"> |
| | | |
| | | </style> |
| | | </script> |
| | |
| | | <template> |
| | | <a-modal :visible="visible" title="ç»´æ¤åæº" @ok="handleSubmit" @cancel="handleCancel"> |
| | | <j-modal :visible="visible" title="ç»´æ¤åæº" @ok="handleSubmit" @cancel="handleCancel" :confirmLoading="confirmLoading"> |
| | | <a-form-model ref="form" :model="model" :rules="validateRules" :labelCol="{span:5}" :wrapperCol="{span:18}"> |
| | | <a-form-model-item prop="closeReason" label="åæºåå "> |
| | | <a-select v-model="model.closeReason" placeholder="è¯·éæ©åæºåå "> |
| | | <a-select-option v-for="item in closeReasonList" :key="item.id"> |
| | | <a-form-model-item prop="reasonId" label="åæºåå "> |
| | | <a-select v-model="model.reasonId" placeholder="è¯·éæ©åæºåå "> |
| | | <a-select-option v-for="item in downtimeDescriptionList" :key="item.value"> |
| | | {{item.label}} |
| | | </a-select-option> |
| | | </a-select> |
| | | </a-form-model-item> |
| | | </a-form-model> |
| | | </a-modal> |
| | | </j-modal> |
| | | </template> |
| | | |
| | | <script> |
| | | import { postAction } from '@/api/manage' |
| | | |
| | | export default { |
| | | name: 'MaintainShutdownModal', |
| | | props: { |
| | | downtimeDescriptionList: { |
| | | type: Array |
| | | } |
| | | }, |
| | | data() { |
| | | return { |
| | | visible: false, |
| | | model: {}, |
| | | validateRules: { |
| | | closeReason: [{ required: true, message: 'è¯·éæ©åæºåå ï¼' }] |
| | | reasonId: [{ required: true, message: 'è¯·éæ©åæºåå ï¼' }] |
| | | }, |
| | | closeReasonList: [ |
| | | { |
| | | id: 1, |
| | | label: 'å饿¶é´ä¼æ¯' |
| | | }, |
| | | { |
| | | id: 2, |
| | | label: '工使¶é´ä¼æ¯' |
| | | }, |
| | | { |
| | | id: 3, |
| | | label: 'è®¡åæ§åçµ' |
| | | }, |
| | | { |
| | | id: 4, |
| | | label: 'å¾
æåæº' |
| | | }, |
| | | { |
| | | id: 5, |
| | | label: 'é¦ä»¶è°è¯' |
| | | }, |
| | | { |
| | | id: 6, |
| | | label: 'åéå
·åå¤' |
| | | } |
| | | ] |
| | | confirmLoading: false, |
| | | url: { |
| | | submit: '/mdc/operator/mdcDowntime/updateReason' |
| | | } |
| | | } |
| | | }, |
| | | methods: { |
| | | handleSubmit() { |
| | | |
| | | const that = this |
| | | this.$refs.form.validate(valid => { |
| | | if (valid) { |
| | | that.confirmLoading = true |
| | | postAction(that.url.submit, that.model) |
| | | .then(res => { |
| | | if (res.success) { |
| | | that.$notification.success({ |
| | | message: 'æ¶æ¯', |
| | | description: res.message |
| | | }) |
| | | that.handleCancel() |
| | | that.$emit('submitSuccess') |
| | | } else { |
| | | that.$notification.warning({ |
| | | message: 'æ¶æ¯', |
| | | description: res.message |
| | | }) |
| | | } |
| | | }) |
| | | .finally(() => { |
| | | that.confirmLoading = false |
| | | }) |
| | | } else { |
| | | return false |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | handleCancel() { |
| | |
| | | <template> |
| | | <a-modal :visible="visible" :width="800" title="æååæºä¿¡æ¯" @ok="handleSubmit" @cancel="handleCancel"> |
| | | <a-form-model ref="form" :model="model" :rules="validateRules" :labelCol="{span:8}" :wrapperCol="{span:12}"> |
| | | <j-modal :visible="visible" :width="800" title="æååæºä¿¡æ¯" @ok="handleSubmit" @cancel="handleCancel" |
| | | :confirmLoading="confirmLoading" |
| | | :maskClosable="false"> |
| | | <a-form-model ref="form" :model="model" :rules="validateRules" :hideRequiredMark="true" :labelCol="{span:8}" |
| | | :wrapperCol="{span:12}"> |
| | | <a-row> |
| | | <a-col :span="10"> |
| | | <a-form-model-item prop="startTime" label="å¼å§æ¶é´"> |
| | | <a-date-picker show-time value-format="YYYY-MM-DD HH:mm:ss" v-model="model.startTime"/> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="å¼å§æ¶é´"> |
| | | <a-date-picker disabled show-time value-format="YYYY-MM-DD HH:mm:ss" v-model="model.startDate"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <div v-for="item in splitList" :key="item.title"> |
| | | <a-divider orientation="left">{{item.title}}</a-divider> |
| | | <a-divider orientation="left">æå䏿®µ</a-divider> |
| | | |
| | | <a-row> |
| | | <a-col :span="10"> |
| | | <a-form-model-item prop="endTime" label="ç»ææ¥æ"> |
| | | <a-date-picker show-time value-format="YYYY-MM-DD HH:mm:ss" v-model="item.splitParams.endTime"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-row> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label=" " :colon="false" prop="firstMiddleTime"> |
| | | <a-date-picker show-time :showToday="false" value-format="YYYY-MM-DD HH:mm:ss" |
| | | v-model="model.firstMiddleTime" |
| | | @change="handleFirstMiddleTimeChange" |
| | | :disabledDate="disabledDate1"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | |
| | | <a-col :span="10"> |
| | | <a-form-model-item prop="closeReason" label="åæºåå "> |
| | | <a-select v-model="item.splitParams.closeReason" placeholder="è¯·éæ©åæºåå "> |
| | | <a-select-option v-for="item in closeReasonList" :key="item.id"> |
| | | {{item.label}} |
| | | </a-select-option> |
| | | </a-select> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="åæºåå "> |
| | | <a-select v-model="model.firstDowntimeDescription" placeholder="è¯·éæ©åæºåå "> |
| | | <a-select-option v-for="item in downtimeDescriptionList" :key="item.value"> |
| | | {{item.label}} |
| | | </a-select-option> |
| | | </a-select> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-col :span="4"> |
| | | <a-form-model-item label="éæ©"> |
| | | <a-checkbox @change="handleCheckboxChange(item,$event)"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </div> |
| | | <a-divider orientation="left">æåäºæ®µ</a-divider> |
| | | |
| | | <a-row> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label=" " :colon="false"> |
| | | <a-date-picker show-time :showToday="false" value-format="YYYY-MM-DD HH:mm:ss" |
| | | v-model="model.secondMiddleTime" |
| | | :disabled="!model.firstMiddleTime" :disabledDate="disabledDate2"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="åæºåå "> |
| | | <a-select v-model="model.secondDowntimeDescription" placeholder="è¯·éæ©åæºåå " |
| | | :disabled="!model.firstMiddleTime"> |
| | | <a-select-option v-for="item in downtimeDescriptionList" :key="item.value"> |
| | | {{item.label}} |
| | | </a-select-option> |
| | | </a-select> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-divider orientation="left">æå䏿®µ</a-divider> |
| | | |
| | | <a-row> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="ç»ææ¥æ"> |
| | | <a-date-picker disabled show-time value-format="YYYY-MM-DD HH:mm:ss" v-model="model.endDate"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="åæºåå "> |
| | | <a-select v-model="model.thirdDowntimeDescription" placeholder="è¯·éæ©åæºåå "> |
| | | <a-select-option v-for="item in downtimeDescriptionList" :key="item.value"> |
| | | {{item.label}} |
| | | </a-select-option> |
| | | </a-select> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-form-model> |
| | | </a-modal> |
| | | </j-modal> |
| | | </template> |
| | | |
| | | <script> |
| | | import moment from 'moment' |
| | | import { postAction } from '@/api/manage' |
| | | |
| | | export default { |
| | | name: 'SplitShutdownInfoModal', |
| | | props: { |
| | | downtimeDescriptionList: { |
| | | type: Array |
| | | } |
| | | }, |
| | | data() { |
| | | return { |
| | | visible: false, |
| | | model: {}, |
| | | validateRules: { |
| | | startTime: [{ required: true, message: 'è¯·éæ©å¼å§æ¶é´ï¼', trigger: 'change' }] |
| | | firstMiddleTime: [{ required: true, message: 'è¯·éæ©æå䏿®µæ¶é´ï¼', trigger: 'change' }] |
| | | }, |
| | | closeReasonList: [ |
| | | { |
| | | id: 1, |
| | | label: 'å饿¶é´ä¼æ¯' |
| | | }, |
| | | { |
| | | id: 2, |
| | | label: '工使¶é´ä¼æ¯' |
| | | }, |
| | | { |
| | | id: 3, |
| | | label: 'è®¡åæ§åçµ' |
| | | }, |
| | | { |
| | | id: 4, |
| | | label: 'å¾
æåæº' |
| | | }, |
| | | { |
| | | id: 5, |
| | | label: 'é¦ä»¶è°è¯' |
| | | }, |
| | | { |
| | | id: 6, |
| | | label: 'åéå
·åå¤' |
| | | } |
| | | ], |
| | | splitList: [ |
| | | { |
| | | title: 'æå䏿®µ', |
| | | splitParams: {} |
| | | }, |
| | | { |
| | | title: 'æåäºæ®µ', |
| | | splitParams: {} |
| | | }, |
| | | { |
| | | title: 'æå䏿®µ', |
| | | splitParams: {} |
| | | } |
| | | ] |
| | | confirmLoading: false, |
| | | url: { |
| | | submit: '/mdc/operator/mdcDowntime/splitDowntime' |
| | | } |
| | | } |
| | | }, |
| | | methods: { |
| | | handleCheckboxChange(record, event) { |
| | | console.log('record', record) |
| | | record.splitParams.checked = event.target.checked |
| | | /** |
| | | * 设置å¼å§åç»ææ¥ææ¶é´ |
| | | * @param record å表è¡è®°å½å¯¹è±¡ |
| | | */ |
| | | setDateTime(record) { |
| | | this.model = { |
| | | id: record.id, |
| | | startDate: record.startDate, |
| | | endDate: record.endDate |
| | | } |
| | | }, |
| | | |
| | | /** |
| | | * æå䏿®µæ¶é´å¼åçæ¹åæ¶è§¦å |
| | | * @param value æ¹ååçå¼ |
| | | */ |
| | | handleFirstMiddleTimeChange(value) { |
| | | // è¥æ¶é´å¼è¢«æ¸
空æ¶è§¦å |
| | | if (!value) { |
| | | delete this.model.secondMiddleTime |
| | | delete this.model.secondDowntimeDescription |
| | | } |
| | | }, |
| | | |
| | | /** |
| | | * æå䏿®µç¦ç¨æ¥æèå´ |
| | | * @param current ç¦ç¨èå´ |
| | | * @returns {boolean} |
| | | */ |
| | | disabledDate1(current) { |
| | | const { startDate, endDate, secondMiddleTime } = this.model |
| | | let nextEndTime |
| | | |
| | | if (!secondMiddleTime) nextEndTime = endDate |
| | | else nextEndTime = secondMiddleTime |
| | | |
| | | return current < moment(startDate).startOf('days') || current > moment(nextEndTime).endOf('days') |
| | | }, |
| | | |
| | | /** |
| | | * æåäºæ®µç¦ç¨æ¥æèå´ |
| | | * @param current ç¦ç¨èå´ |
| | | * @returns {boolean} |
| | | */ |
| | | disabledDate2(current) { |
| | | const { endDate, firstMiddleTime } = this.model |
| | | |
| | | return current < moment(firstMiddleTime).startOf('days') || current > moment(endDate).endOf('days') |
| | | }, |
| | | |
| | | /** |
| | | * å建ç¦ç¨æ¶é´èå´æ°ç» |
| | | * @param start å¼å§æ¶é´ï¼æ¶åç§ï¼ |
| | | * @param end ç»ææ¶é´ï¼æ¶åç§ï¼ |
| | | * @returns {Array} |
| | | */ |
| | | handleCreateTimeRangeArray(start, end) { |
| | | const result = [] |
| | | for (let i = start; i < end; i++) { |
| | | result.push(i) |
| | | } |
| | | return result |
| | | }, |
| | | |
| | | // 表åæäº¤äºä»¶ |
| | | handleSubmit() { |
| | | const that = this |
| | | this.$refs.form.validate(valid => { |
| | | if (valid) { |
| | | |
| | | that.confirmLoading = true |
| | | postAction(that.url.submit, that.model) |
| | | .then(res => { |
| | | if (res.success) { |
| | | that.$notification.success({ |
| | | message: 'æ¶æ¯', |
| | | description: res.message |
| | | }) |
| | | that.handleCancel() |
| | | that.$emit('submitSuccess') |
| | | } else { |
| | | that.$notification.warning({ |
| | | message: 'æ¶æ¯', |
| | | description: res.message |
| | | }) |
| | | } |
| | | }) |
| | | .finally(() => { |
| | | that.confirmLoading = false |
| | | }) |
| | | console.log('model', this.model) |
| | | } else { |
| | | return false |
| | | } |
| | | }) |
| | | }, |
| | | |
| | | // å
³éå¼¹çªäºä»¶ |
| | | handleCancel() { |
| | | this.$refs.form.clearValidate() |
| | | this.visible = false |
| | |
| | | this.model.faultType = faultReasonItem.faultCategory |
| | | this.model.faultType_dictText = faultReasonItem.faultCategory_dictText |
| | | this.model.faultDescription = faultReasonItem.faultDescription |
| | | if (this.model.faultDescription) this.$refs.form.clearValidate('faultDescription') |
| | | }, |
| | | |
| | | /** |
| | |
| | | |
| | | /deep/ .ant-form { |
| | | width: 75%; |
| | | |
| | | .ant-form-item { |
| | | margin-bottom: 12px; |
| | | } |
| | | } |
| | | } |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div> |
| | | <slot name="function"/> |
| | | |
| | | <div class="content-container"> |
| | | <a-form-model ref="form" :model="model" :rules="validateRules" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="equipmentIdList" label="设å¤ç»"> |
| | | <a-select v-model="model.equipmentIdList" mode="multiple" placeholder="è¯·éæ©è®¾å¤" :maxTagCount="3" |
| | | allow-clear> |
| | | <a-select-option v-for="item in equipmentList" :key="item.equipmentId"> |
| | | {{item.equipmentId+`[${item.equipmentName}]`}} |
| | | </a-select-option> |
| | | </a-select> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item label="é¶ä»¶å·" prop="partId"> |
| | | <a-input placeholder="请è¾å
¥é¶ä»¶å·" v-model="model.partId" allowClear/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item label="å å·¥é¶ä»¶æ°é" prop="processCount"> |
| | | <a-input-number :min="0" v-model="model.processCount" placeholder="请è¾å
¥å å·¥é¶ä»¶æ°é" style="width: 100%"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item label="åæ ¼é¶ä»¶æ°é" prop="passCount"> |
| | | <a-input-number :min="0" v-model="model.passCount" placeholder="请è¾å
¥åæ ¼é¶ä»¶æ°é" style="width: 100%"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item label="æ¥æ" prop="theDate"> |
| | | <a-date-picker v-model="model.theDate" value-format="YYYY-MM-DD" style="width: 100%"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <div style="text-align: center"> |
| | | <a-button @click="handleSubmit" icon="check" :loading="loading" type="primary">ä¿å</a-button> |
| | | </div> |
| | | </a-form-model> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import { getAction, postAction } from '@/api/manage' |
| | | |
| | | export default { |
| | | name: 'ReportPassRate', |
| | | data() { |
| | | return { |
| | | model: {}, |
| | | equipmentList: [], |
| | | labelCol: { |
| | | xs: { span: 24 }, |
| | | sm: { span: 8 } |
| | | }, |
| | | wrapperCol: { |
| | | xs: { span: 24 }, |
| | | sm: { span: 8 } |
| | | }, |
| | | validateRules: { |
| | | equipmentIdList: [ |
| | | { required: true, message: 'è¯·éæ©è®¾å¤!', trigger: 'change' } |
| | | ], |
| | | partId: [ |
| | | { required: true, message: '请è¾å
¥é¶ä»¶å·!', trigger: 'change' } |
| | | ], |
| | | processCount: [ |
| | | { required: true, message: '请è¾å
¥å å·¥é¶ä»¶æ°é!', trigger: 'change' } |
| | | ], |
| | | passCount: [ |
| | | { required: true, message: '请è¾å
¥åæ ¼é¶ä»¶æ°é!', trigger: 'change' } |
| | | ], |
| | | theDate: [ |
| | | { required: true, message: 'è¯·éæ©æ¥æ!', trigger: 'change' } |
| | | ] |
| | | }, |
| | | loading: false, |
| | | url: { |
| | | equipmentList: '/mdc/mdcEquipment/getEquipmentList', |
| | | submit: '/mdc/mdcPartProcessInfo/add' |
| | | } |
| | | } |
| | | }, |
| | | created() { |
| | | this.getEquipmentListByApi() |
| | | }, |
| | | methods: { |
| | | // è·å设å¤å表 |
| | | getEquipmentListByApi() { |
| | | const that = this |
| | | getAction(this.url.equipmentList) |
| | | .then(res => { |
| | | if (res.success) that.equipmentList = res.result |
| | | }) |
| | | }, |
| | | |
| | | // æäº¤è¡¨å |
| | | handleSubmit() { |
| | | const that = this |
| | | this.$refs.form.validate(valid => { |
| | | if (valid) { |
| | | that.loading = true |
| | | that.model.equipmentIds = that.model.equipmentIdList.join() |
| | | postAction(that.url.submit, that.model) |
| | | .then(res => { |
| | | if (res.success) { |
| | | that.$notification.success({ |
| | | message: 'æ¶æ¯', |
| | | description: res.message |
| | | }) |
| | | } else { |
| | | that.$notification.warning({ |
| | | message: 'æ¶æ¯', |
| | | description: res.message |
| | | }) |
| | | } |
| | | }) |
| | | .finally(() => { |
| | | that.loading = false |
| | | }) |
| | | } else { |
| | | return false |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped lang="less"> |
| | | .content-container { |
| | | flex: 1; |
| | | display: flex; |
| | | justify-content: center; |
| | | align-items: center; |
| | | |
| | | /deep/ .ant-form { |
| | | width: 75%; |
| | | } |
| | | } |
| | | </style> |
| | |
| | | |
| | | <!-- æä½æé®åºå --> |
| | | <div class="table-operator" v-if="isDisplayOperation"> |
| | | <a-button @click="handleOpenReceiveFaultModal" type="primary" icon="plus">é¢å</a-button> |
| | | <a-button @click="handleOpenReceiveFaultModal" type="primary" icon="plus" v-if="isShowAuth('eam:repair:collect')">é¢å</a-button> |
| | | <!--<a-button type="primary" icon="download" @click="handleExportXls('维修工å')">导åº</a-button>--> |
| | | <a-dropdown v-if="selectedRowKeys.length > 0"> |
| | | <a-menu slot="overlay"> |
| | |
| | | // 表头 |
| | | columns: [ |
| | | { |
| | | title: '#', |
| | | dataIndex: '', |
| | | key: 'rowIndex', |
| | | width: 60, |
| | | align: 'center', |
| | | customRender: function(t, r, index) { |
| | | return parseInt(index) + 1 |
| | | }, |
| | | fixed: 'left', |
| | | }, |
| | | { |
| | | title: 'å·¥åç¼å·', |
| | | align: 'center', |
| | | dataIndex: 'repairCode', |
| | | width: 200, |
| | | width: 120, |
| | | fixed: 'left' |
| | | }, |
| | | // { |
| | | // title: 'æ¥ä¿®ç¼å·', |
| | | // align: 'center', |
| | | // dataIndex: 'reportId', |
| | | // width: 200, |
| | | // fixed: 'left' |
| | | // }, |
| | | { |
| | | title: '设å¤ç¼å·', |
| | | align: 'center', |
| | | dataIndex: 'equipmentId_dictText', |
| | | dataIndex: 'equipmentCode', |
| | | width: 120, |
| | | fixed: 'left' |
| | | }, |
| | | { |
| | | title: '设å¤åç§°', |
| | | align: 'center', |
| | | dataIndex: 'equipmentName', |
| | | width: 200, |
| | | fixed: 'left' |
| | | }, |
| | |
| | | |
| | | <!-- æä½æé®åºå --> |
| | | <div class="table-operator" v-if="isDisplayOperation"> |
| | | <a-button @click="handleAdd" type="primary" icon="plus">æ°å¢</a-button> |
| | | <a-button @click="handleAdd" type="primary" icon="plus" v-if="isShowAuth('eam:reportRepair:add')">æ°å¢</a-button> |
| | | <!--<a-button type="primary" icon="download" @click="handleExportXls('æ
éæ¥ä¿®')">导åº</a-button>--> |
| | | <!--<a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl"--> |
| | | <!--@change="handleImportExcel">--> |
| | |
| | | <!--</a-upload>--> |
| | | <a-dropdown v-if="selectedRowKeys.length > 0"> |
| | | <a-menu slot="overlay"> |
| | | <a-menu-item key="1" @click="batchDel"> |
| | | <a-menu-item key="1" @click="batchDel" v-if="isShowAuth('eam:reportRepair:abolish')"> |
| | | <a-icon type="delete"/> |
| | | ä½åº |
| | | </a-menu-item> |
| | |
| | | </template> |
| | | |
| | | <span slot="action" slot-scope="text, record" v-if="record.reportStatus=='WAIT_REPAIR'"> |
| | | <a @click="handleEdit(record)">ç¼è¾</a> |
| | | <a @click="handleEdit(record)" v-if="isShowAuth('eam:reportRepair:edit')">ç¼è¾</a> |
| | | |
| | | <a-divider type="vertical"/> |
| | | <a-divider type="vertical" v-if="isShowAuth('eam:reportRepair:edit')"/> |
| | | |
| | | <a @click="handleAssign(record)">ææ´¾</a> |
| | | <a @click="handleAssign(record)" v-if="isShowAuth('eam:reportRepair:assign')">ææ´¾</a> |
| | | |
| | | <a-divider type="vertical"/> |
| | | <a-divider type="vertical" v-if="isShowAuth('eam:reportRepair:assign')"/> |
| | | |
| | | <a-popconfirm title="ç¡®å®ä½åºå?" @confirm="() => handleDelete(record.id)"> |
| | | <a-popconfirm title="ç¡®å®ä½åºå?" @confirm="() => handleDelete(record.id)" v-if="isShowAuth('eam:reportRepair:abolish')"> |
| | | <a>ä½åº</a> |
| | | </a-popconfirm> |
| | | </span> |
| | |
| | | { |
| | | title: '设å¤ç¼å·', |
| | | align: 'center', |
| | | dataIndex: 'equipmentId_dictText', |
| | | dataIndex: 'equipmentCode', |
| | | width: 200 |
| | | }, |
| | | { |
| | | title: '设å¤åç§°', |
| | | align: 'center', |
| | | dataIndex: 'equipmentName', |
| | | width: 200 |
| | | }, |
| | | { |
| | |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-divider orientation="center" style="font-size: large;font-style: italic;color: #66aeed;">æ¯å¦éè¦é¢ç¨å¤ä»¶</a-divider> |
| | | |
| | | <a-tabs v-model="activeTabKey"> |
| | | <a-tab-pane key="1" tab="é¢ç¨å¤ä»¶"> |
| | | <a-row> |
| | | <a-col :span="twoColSpan*2"> |
| | | <a-form-model-item label="æ¯å¦éè¦é¢ç¨å¤ä»¶" prop="isUseSpare"> |
| | | <a-radio-group v-model="tableRowRecord.isUseSpare" |
| | | :disabled="isDisableUseSpare"> |
| | | <a-radio :value="1">æ¯</a-radio> |
| | | <a-radio :value="0">å¦</a-radio> |
| | | </a-radio-group> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-tab-pane key="1" tab="ç»´ä¿®å¤ç"> |
| | | |
| | | <template v-if="tableRowRecord.isUseSpare===0"> |
| | | <div v-if="repairConfirm"> |
| | | <a-divider orientation="center" style="font-size: large;font-style: italic;color: #66aeed;">维修确认</a-divider> |
| | | |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="repairConfirm" label="æ¯å¦å
é¨å¯ç»´ä¿®"> |
| | | <j-dict-select-tag type='radio' v-model='tableRowRecord.repairConfirm' dictCode='yn' |
| | | placeholder="è¯·éæ©" :disabled="disableSubmit || tableRowRecord.repairStatus !== 'WAIT_INTERNAL_CONFIRM'"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="repairConfirmComment" label="维修确认æè§"> |
| | | <a-textarea placeholder="请è¾å
¥æè§" v-model="tableRowRecord.repairConfirmComment" |
| | | :readOnly="disableSubmit || tableRowRecord.repairStatus !== 'WAIT_INTERNAL_CONFIRM'"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </div> |
| | | <div v-if="underInternalRepair && tableRowRecord.repairConfirm === '1'"> |
| | | <a-divider orientation="center" style="font-size: large;font-style: italic;color: #66aeed;">ç»´ä¿®ç»æ</a-divider> |
| | | <a-row> |
| | | <a-col :span="twoColSpan*2"> |
| | | <a-form-model-item label="æ
éåå " prop="faultReason"> |
| | | <a-input :readOnly="disableSubmit||tableRowRecord.repairStatus!=='UNDER_REPAIR'" |
| | | <a-form-model-item label="æ
éåå " prop="faultReason" :labelCol="labelColLong" :wrapperCol="wrapperColLong"> |
| | | <a-input :readOnly="disableSubmit||tableRowRecord.repairStatus!=='UNDER_INTERNAL_REPAIR'" |
| | | v-model="tableRowRecord.faultReason" rows="4" |
| | | placeholder="请è¾å
¥æ
éåå "/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="twoColSpan*2"> |
| | | <a-form-model-item label="ç»´ä¿®ç»ææè¿°" prop="repairDescription"> |
| | | <a-textarea :readOnly="disableSubmit||tableRowRecord.repairStatus!=='UNDER_REPAIR'" |
| | | <a-form-model-item label="ç»´ä¿®ç»ææè¿°" prop="repairDescription" :labelCol="labelColLong" :wrapperCol="wrapperColLong"> |
| | | <a-textarea :readOnly="disableSubmit||tableRowRecord.repairStatus!=='UNDER_INTERNAL_REPAIR'" |
| | | v-model="tableRowRecord.repairDescription" |
| | | placeholder="请è¾å
¥ç»´ä¿®ç»ææè¿°"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="twoColSpan*2"> |
| | | <a-form-model-item label="ç»´ä¿®å¾ç"> |
| | | <a-form-model-item label="ç»´ä¿®å¾ç" :labelCol="labelColLong" :wrapperCol="wrapperColLong"> |
| | | <lx-upload :returnUrl="false" :isMultiple="true" file-type="image" :number="3" |
| | | :disabled="disableSubmit||tableRowRecord.repairStatus!=='UNDER_REPAIR'" |
| | | :disabled="disableSubmit||tableRowRecord.repairStatus!=='UNDER_INTERNAL_REPAIR'" |
| | | v-model="tableRowRecord.imageFiles"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </template> |
| | | </a-row> |
| | | </a-row> |
| | | </div> |
| | | <div v-if="leaderConfirm && tableRowRecord.repairConfirm === '0'"> |
| | | <a-divider orientation="center" style="font-size: large;font-style: italic;color: #66aeed;">é¢å¯¼ç¡®è®¤</a-divider> |
| | | |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="leaderConfirm" label="æ¯å¦åæå¤é¨ç»´ä¿®"> |
| | | <j-dict-select-tag type='radio' v-model='tableRowRecord.leaderConfirm' dictCode='approved_rejected' |
| | | placeholder="è¯·éæ©" :disabled="disableSubmit || tableRowRecord.repairStatus!=='WAIT_LEADER_CONFIRM'"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="leaderConfirmComment" label="确认æè§"> |
| | | <a-textarea placeholder="请è¾å
¥æè§" v-model="tableRowRecord.leaderConfirmComment" |
| | | :readOnly="disableSubmit || tableRowRecord.repairStatus!=='WAIT_LEADER_CONFIRM'"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </div> |
| | | <div v-if="underInternalRepair && tableRowRecord.leaderConfirm === '2'"> |
| | | <a-divider orientation="center" style="font-size: large;font-style: italic;color: #66aeed;">ç»´ä¿®ç»æ</a-divider> |
| | | <a-row> |
| | | <a-col :span="twoColSpan*2"> |
| | | <a-form-model-item label="æ
éåå " prop="faultReason" :labelCol="labelColLong" :wrapperCol="wrapperColLong"> |
| | | <a-input :readOnly="disableSubmit||tableRowRecord.repairStatus!=='UNDER_INTERNAL_REPAIR'" |
| | | v-model="tableRowRecord.faultReason" rows="4" |
| | | placeholder="请è¾å
¥æ
éåå "/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="twoColSpan*2"> |
| | | <a-form-model-item label="ç»´ä¿®ç»ææè¿°" prop="repairDescription" :labelCol="labelColLong" :wrapperCol="wrapperColLong"> |
| | | <a-textarea :readOnly="disableSubmit||tableRowRecord.repairStatus!=='UNDER_INTERNAL_REPAIR'" |
| | | v-model="tableRowRecord.repairDescription" |
| | | placeholder="请è¾å
¥ç»´ä¿®ç»ææè¿°"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="twoColSpan*2"> |
| | | <a-form-model-item label="ç»´ä¿®å¾ç" :labelCol="labelColLong" :wrapperCol="wrapperColLong"> |
| | | <lx-upload :returnUrl="false" :isMultiple="true" file-type="image" :number="3" |
| | | :disabled="disableSubmit||tableRowRecord.repairStatus!=='UNDER_INTERNAL_REPAIR'" |
| | | v-model="tableRowRecord.imageFiles"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </div> |
| | | <div v-if="externalConfirm && tableRowRecord.leaderConfirm === '1'"> |
| | | <a-divider orientation="center" style="font-size: large;font-style: italic;color: #66aeed;">æºå¨å确认</a-divider> |
| | | |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="externalConfirm" label="æºå¨åæ¯å¦å¯ç»´ä¿®"> |
| | | <j-dict-select-tag type='radio' v-model='tableRowRecord.externalConfirm' dictCode='yn' |
| | | placeholder="è¯·éæ©" :disabled="disableSubmit||tableRowRecord.repairStatus!=='WAIT_EXTERNAL_CONFIRM'"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="externalConfirmComment" label="确认æè§"> |
| | | <a-textarea placeholder="请è¾å
¥æè§" v-model="tableRowRecord.externalConfirmComment" |
| | | :readOnly="disableSubmit || tableRowRecord.repairStatus!=='WAIT_EXTERNAL_CONFIRM'"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </div> |
| | | <div v-if="underExternalRepair && tableRowRecord.externalConfirm === '1'"> |
| | | <a-divider orientation="center" style="font-size: large;font-style: italic;color: #66aeed;">æºå¨åç»´ä¿®ç»æ</a-divider> |
| | | <a-row> |
| | | <a-col :span="twoColSpan*2"> |
| | | <a-form-model-item label="æ
éåå " prop="faultReason" :labelCol="labelColLong" :wrapperCol="wrapperColLong"> |
| | | <a-input :readOnly="disableSubmit||tableRowRecord.repairStatus!=='UNDER_EXTERNAL_REPAIR'" |
| | | v-model="tableRowRecord.faultReason" rows="4" |
| | | placeholder="请è¾å
¥æ
éåå "/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="twoColSpan*2"> |
| | | <a-form-model-item label="ç»´ä¿®ç»ææè¿°" prop="repairDescription" :labelCol="labelColLong" :wrapperCol="wrapperColLong"> |
| | | <a-textarea :readOnly="disableSubmit||tableRowRecord.repairStatus!=='UNDER_EXTERNAL_REPAIR'" |
| | | v-model="tableRowRecord.repairDescription" |
| | | placeholder="请è¾å
¥ç»´ä¿®ç»ææè¿°"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="twoColSpan*2"> |
| | | <a-form-model-item label="ç»´ä¿®å¾ç" :labelCol="labelColLong" :wrapperCol="wrapperColLong"> |
| | | <lx-upload :returnUrl="false" :isMultiple="true" file-type="image" :number="3" |
| | | :disabled="disableSubmit||tableRowRecord.repairStatus!=='UNDER_EXTERNAL_REPAIR'" |
| | | v-model="tableRowRecord.imageFiles"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </div> |
| | | <div v-if="underOutsideRepair && tableRowRecord.externalConfirm === '0'"> |
| | | <a-divider orientation="center" style="font-size: large;font-style: italic;color: #66aeed;">å§å¤ç»´ä¿®ç»æ</a-divider> |
| | | <a-row> |
| | | <a-col :span="twoColSpan*2"> |
| | | <a-form-model-item label="æ
éåå " prop="faultReason" :labelCol="labelColLong" :wrapperCol="wrapperColLong"> |
| | | <a-input :readOnly="disableSubmit||tableRowRecord.repairStatus!=='UNDER_OUTSIDE_REPAIR'" |
| | | v-model="tableRowRecord.faultReason" rows="4" |
| | | placeholder="请è¾å
¥æ
éåå "/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="twoColSpan*2"> |
| | | <a-form-model-item label="ç»´ä¿®ç»ææè¿°" prop="repairDescription" :labelCol="labelColLong" :wrapperCol="wrapperColLong"> |
| | | <a-textarea :readOnly="disableSubmit||tableRowRecord.repairStatus!=='UNDER_OUTSIDE_REPAIR'" |
| | | v-model="tableRowRecord.repairDescription" |
| | | placeholder="请è¾å
¥ç»´ä¿®ç»ææè¿°"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="twoColSpan*2"> |
| | | <a-form-model-item label="ç»´ä¿®å¾ç" :labelCol="labelColLong" :wrapperCol="wrapperColLong"> |
| | | <lx-upload :returnUrl="false" :isMultiple="true" file-type="image" :number="3" |
| | | :disabled="disableSubmit||tableRowRecord.repairStatus!=='UNDER_OUTSIDE_REPAIR'" |
| | | v-model="tableRowRecord.imageFiles"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </div> |
| | | <div v-if="operatorConfirm"> |
| | | <a-divider orientation="center" style="font-size: large;font-style: italic;color: #66aeed;">æä½å·¥ç¡®è®¤</a-divider> |
| | | |
| | | <a-row :gutter="24"> |
| | | <a-col :span="24"> |
| | | <a-form-model-item :labelCol="labelColLong" :wrapperCol="wrapperColLong" prop="confirmComment" label="确认æè§"> |
| | | <a-textarea placeholder="请è¾å
¥æè§" v-model="tableRowRecord.confirmComment" |
| | | :readOnly="disableSubmit || tableRowRecord.repairStatus!=='WAIT_CONFIRM'"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </div> |
| | | </a-tab-pane> |
| | | |
| | | <template v-if="selectShenpiData.procInstId"> |
| | |
| | | </a-tab-pane> |
| | | |
| | | <a-tab-pane key='3' tab='æµç¨å¾'> |
| | | <img :src="imageSrc" alt="Fetched Image"/>--> |
| | | <img :src="imageSrc" alt="Fetched Image"/> |
| | | </a-tab-pane> |
| | | </template> |
| | | </a-tabs> |
| | | |
| | | <template v-if="tableRowRecord.isUseSpare===1&&isDisableUseSpare"> |
| | | <a-divider orientation="center" style="font-size: large;font-style: italic;color: #66aeed;">管çåé¢ç¨å¤ä»¶ |
| | | </a-divider> |
| | | |
| | | <a-row> |
| | | <a-col :span="twoColSpan*2"> |
| | | <a-form-model-item prop="sparePartDescription" label="å¤ä»¶æè¿°"> |
| | | <a-textarea placeholder="请è¾å
¥å¤ä»¶æè¿°" :readOnly="disableSubmit||tableRowRecord.repairStatus!=='WAIT_SPARES'" |
| | | v-model="tableRowRecord.sparePartDescription"></a-textarea> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </template> |
| | | |
| | | <template v-if="Boolean(tableRowRecord.sparePartDescription)&&isDisplayRepairResult"> |
| | | <a-divider orientation="center" style="font-size: large;font-style: italic;color: #66aeed;">ç»´ä¿®ç»æä¸æ¥</a-divider> |
| | | <a-row> |
| | | <a-col :span="twoColSpan*2"> |
| | | <a-form-model-item label="æ
éåå " prop="faultReason"> |
| | | <a-input :readOnly="disableSubmit||isDisableSubmitRepairResult" v-model="tableRowRecord.faultReason" |
| | | rows="4" placeholder="请è¾å
¥æ
éåå "/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-row> |
| | | <a-col :span="twoColSpan*2"> |
| | | <a-form-model-item label="ç»´ä¿®ç»ææè¿°" prop="repairDescription"> |
| | | <a-textarea :readOnly="disableSubmit||isDisableSubmitRepairResult" |
| | | v-model="tableRowRecord.repairDescription" |
| | | placeholder="请è¾å
¥ç»´ä¿®ç»ææè¿°"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-row> |
| | | <a-col :span="twoColSpan*2"> |
| | | <a-form-model-item label="ç»´ä¿®å¾ç"> |
| | | <lx-upload :disabled="disableSubmit||isDisableSubmitRepairResult" :returnUrl="false" :isMultiple="true" |
| | | file-type="image" :number="3" |
| | | v-model="tableRowRecord.imageFiles"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </template> |
| | | </a-form-model> |
| | | </a-spin> |
| | | </j-modal> |
| | |
| | | |
| | | <script> |
| | | import '@assets/less/TableExpand.less' |
| | | import { getAction, deleteAction, postAction, downFile, httpAction } from '@api/manage' |
| | | import LxSearchEquipmentSelect from '../../../eam/equipment/modules/LxSearchEquipmentSelect' |
| | | import { getAction, downFile, httpAction } from '@api/manage' |
| | | import LxSearchEquipmentSelect from '@views/eam/equipment/modules/LxSearchEquipmentSelect' |
| | | |
| | | export default { |
| | | name: 'RepairOrderApprovalModal', |
| | |
| | | sm: { span: 20 } |
| | | }, |
| | | validatorRules: { |
| | | isUseSpare: [ |
| | | { required: true, message: 'è¯·éæ©æ¯å¦éè¦é¢ç¨å¤ä»¶' } |
| | | repairConfirm: [ |
| | | { required: true, message: 'è¯·éæ©æ¯å¦å
é¨å¯ç»´ä¿®ï¼' } |
| | | ], |
| | | sparePartDescription: [ |
| | | { required: true, message: '请è¾å
¥å¤ä»¶æè¿°' } |
| | | repairConfirmComment: [ |
| | | { required: true, message: '请è¾å
¥ç»´ä¿®ç¡®è®¤æè§' } |
| | | ], |
| | | leaderConfirm: [ |
| | | { required: true, message: 'è¯·éæ©æ¯å¦åæå¤é¨ç»´ä¿®ï¼' } |
| | | ], |
| | | leaderConfirmComment: [ |
| | | { required: true, message: '请è¾å
¥é¢å¯¼ç¡®è®¤æè§' } |
| | | ], |
| | | externalConfirm: [ |
| | | { required: true, message: 'è¯·éæ©æºå¨åæ¯å¦å¯ç»´ä¿®ï¼' } |
| | | ], |
| | | externalConfirmComment: [ |
| | | { required: true, message: '请è¾å
¥æºå¨å确认æè§' } |
| | | ], |
| | | confirmComment: [ |
| | | { required: true, message: '请è¾å
¥æä½å·¥ç¡®è®¤æè§' } |
| | | ], |
| | | faultReason: [ |
| | | { required: true, message: '请è¾å
¥æ
éåå ' } |
| | |
| | | } |
| | | }, |
| | | computed: { |
| | | isDisableUseSpare() { |
| | | return this.disableSubmit || this.tableRowRecord.repairStatus !== 'UNDER_REPAIR' || Boolean(this.tableRowRecord.sparePartDescription) |
| | | repairConfirm() { |
| | | return ['WAIT_INTERNAL_CONFIRM', 'UNDER_INTERNAL_REPAIR', 'WAIT_LEADER_CONFIRM', 'WAIT_EXTERNAL_CONFIRM', 'UNDER_EXTERNAL_REPAIR', 'UNDER_OUTSIDE_REPAIR', 'WAIT_CONFIRM', 'COMPLETE'].includes(this.tableRowRecord.repairStatus) |
| | | }, |
| | | isDisplayRepairResult() { |
| | | return ['UNDER_REPAIR', 'WAIT_CONFIRM', 'COMPLETE'].includes(this.tableRowRecord.repairStatus) |
| | | underInternalRepair() { |
| | | return ['UNDER_INTERNAL_REPAIR', 'WAIT_CONFIRM', 'COMPLETE'].includes(this.tableRowRecord.repairStatus) |
| | | }, |
| | | isDisableSubmitRepairResult() { |
| | | leaderConfirm() { |
| | | return ['UNDER_INTERNAL_REPAIR', 'WAIT_LEADER_CONFIRM', 'WAIT_EXTERNAL_CONFIRM', 'UNDER_EXTERNAL_REPAIR', 'UNDER_OUTSIDE_REPAIR', 'WAIT_CONFIRM', 'COMPLETE'].includes(this.tableRowRecord.repairStatus) |
| | | }, |
| | | externalConfirm() { |
| | | return ['WAIT_EXTERNAL_CONFIRM', 'UNDER_EXTERNAL_REPAIR', 'UNDER_OUTSIDE_REPAIR', 'WAIT_CONFIRM', 'COMPLETE'].includes(this.tableRowRecord.repairStatus) |
| | | }, |
| | | underExternalRepair() { |
| | | return ['UNDER_EXTERNAL_REPAIR', 'WAIT_CONFIRM', 'COMPLETE'].includes(this.tableRowRecord.repairStatus) |
| | | }, |
| | | underOutsideRepair() { |
| | | return ['UNDER_OUTSIDE_REPAIR', 'WAIT_CONFIRM', 'COMPLETE'].includes(this.tableRowRecord.repairStatus) |
| | | }, |
| | | operatorConfirm() { |
| | | return ['WAIT_CONFIRM', 'COMPLETE'].includes(this.tableRowRecord.repairStatus) |
| | | } |
| | | }, |
| | |
| | | this.$refs.form.validate(valid => { |
| | | if (valid) { |
| | | that.confirmLoading = that.spinning = true |
| | | const { isUseSpare, faultReason, repairDescription, sparePartDescription, imageFiles, equipmentId } = that.tableRowRecord |
| | | const { confirmComment, externalConfirm, externalConfirmComment, repairConfirm, repairConfirmComment, leaderConfirm, leaderConfirmComment, faultReason, repairDescription, imageFiles, equipmentId } = that.tableRowRecord |
| | | const { dataId, id, procInstId, taskDefKey, variables } = that.selectShenpiData |
| | | |
| | | const flowTaskVo = {} |
| | | flowTaskVo.isUseSpare = isUseSpare |
| | | flowTaskVo.repairConfirm = repairConfirm |
| | | flowTaskVo.repairConfirmComment = repairConfirmComment |
| | | flowTaskVo.leaderConfirm = leaderConfirm |
| | | flowTaskVo.leaderConfirmComment = leaderConfirmComment |
| | | flowTaskVo.externalConfirm = externalConfirm |
| | | flowTaskVo.externalConfirmComment = externalConfirmComment |
| | | flowTaskVo.confirmComment = confirmComment |
| | | |
| | | flowTaskVo.faultReason = faultReason |
| | | flowTaskVo.repairDescription = repairDescription |
| | | flowTaskVo.sparePartDescription = sparePartDescription |
| | | flowTaskVo.imageFilesResult = imageFiles |
| | | flowTaskVo.equipmentId = equipmentId |
| | | flowTaskVo.id = dataId |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <a-card :bordered="false"> |
| | | |
| | | <!-- æ¥è¯¢åºå --> |
| | | <div class="table-page-search-wrapper"> |
| | | <a-form layout="inline" @keyup.enter.native="searchQuery"> |
| | | <a-row :gutter="24"> |
| | | <a-col :xl="6" :lg="7" :md="8" :sm="24"> |
| | | <a-form-item label="è®°å½æ¶é´"> |
| | | <a-date-picker format="YYYY-MM-DD" :allowClear="false" v-model="queryParam.theDate" |
| | | @change="dateParamChange"></a-date-picker> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :xl="6" :lg="7" :md="8" :sm="24"> |
| | | <a-form-item label="çæ¬¡"> |
| | | <j-dict-select-tag v-model="queryParam.shiftSchedule" dictCode="shift_schedule" |
| | | placeholder="è¯·éæ©çæ¬¡"></j-dict-select-tag> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :xl="6" :lg="7" :md="8" :sm="24"> |
| | | <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons"> |
| | | <a-button type="primary" @click="searchQuery" icon="search">æ¥è¯¢</a-button> |
| | | <a-button type="info" @click="searchReset" icon="reload" style="margin-left: 8px">éç½®</a-button> |
| | | </span> |
| | | </a-col> |
| | | </a-row> |
| | | </a-form> |
| | | </div> |
| | | |
| | | <!-- æä½æé®åºå --> |
| | | <div class="table-operator"> |
| | | <a-button type="primary" icon="download" @click="handleExportXls('è®¾å¤æå¡çæ¥è¡¨')">导åº</a-button> |
| | | |
| | | </div> |
| | | |
| | | <!-- tableåºå-begin --> |
| | | <div> |
| | | <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;"> |
| | | <i class="anticon anticon-info-circle ant-alert-icon"></i> 已鿩 <a |
| | | style="font-weight: 600">{{ selectedRowKeys.length }}</a>项 |
| | | <a style="margin-left: 24px" @click="onClearSelected">æ¸
空</a> |
| | | </div> |
| | | |
| | | <a-table |
| | | ref="table" |
| | | size="middle" |
| | | bordered |
| | | rowKey="id" |
| | | :columns="columns" |
| | | :dataSource="dataSource" |
| | | :pagination="ipagination" |
| | | :loading="loading" |
| | | class="j-table-force-nowrap" |
| | | @change="handleTableChange"> |
| | | |
| | | <span slot="action" slot-scope="text, record"> |
| | | <a @click="handleDetail(record)">详æ
</a> |
| | | </span> |
| | | </a-table> |
| | | </div> |
| | | <!-- tableåºå-end --> |
| | | <efficiency-punch-report-modal ref="modalForm" @ok="modalFormOk"></efficiency-punch-report-modal> |
| | | </a-card> |
| | | </template> |
| | | |
| | | <script> |
| | | import '@/assets/less/TableExpand.less' |
| | | |
| | | import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
| | | import EfficiencyPunchReportModal from '@views/mdc/base/modules/EfficiencyPunchReport/EfficiencyPunchReportModal.vue' |
| | | |
| | | export default { |
| | | name: 'EfficiencyPunchReport', |
| | | mixins: [JeecgListMixin], |
| | | components: { |
| | | EfficiencyPunchReportModal |
| | | }, |
| | | data() { |
| | | return { |
| | | queryParam: { |
| | | theDate: this.formatDate(new Date(new Date().setDate(new Date().getDate() - 1))), // é»è®¤è®¾ç½®ä¸ºæ¨å¤© |
| | | shiftSchedule: '' |
| | | }, |
| | | |
| | | dataSource: [], // ç¡®ä¿åå§å为空æ°ç» |
| | | description: 'è®¾å¤æå¡ç', |
| | | // 表头 |
| | | columns: [ |
| | | { |
| | | title: '#', |
| | | dataIndex: '', |
| | | key: 'rowIndex', |
| | | width: 60, |
| | | align: 'center', |
| | | customRender: function(t, r, index) { |
| | | return parseInt(index) + 1 |
| | | } |
| | | }, |
| | | |
| | | { |
| | | title: 'è®°å½æ¶é´', |
| | | align: 'center', |
| | | dataIndex: 'theDate' |
| | | }, |
| | | { |
| | | title: 'çæ¬¡', |
| | | align: 'center', |
| | | dataIndex: 'shiftSchedule_dictText' |
| | | }, |
| | | |
| | | { |
| | | title: 'æ©çä¸çæå¡è®¾å¤æ°é', |
| | | align: 'center', |
| | | dataIndex: 'mornShiftInNum' |
| | | }, |
| | | { |
| | | title: 'æ©ä¸çæå¡è®¾å¤æ°é', |
| | | align: 'center', |
| | | dataIndex: 'mornShiftOutNum' |
| | | }, |
| | | { |
| | | title: 'æçä¸çæå¡è®¾å¤æ°é', |
| | | align: 'center', |
| | | dataIndex: 'evenShiftInNum' |
| | | }, |
| | | { |
| | | title: 'æçä¸çæå¡è®¾å¤æ°é', |
| | | align: 'center', |
| | | dataIndex: 'evenShiftOutNum' |
| | | }, |
| | | { |
| | | title: 'è®¾å¤æ»æ°', |
| | | align: 'center', |
| | | dataIndex: 'deviceCountNum' |
| | | }, |
| | | { |
| | | title: 'æ©çä¸çæå¡ç(%)', |
| | | align: 'center', |
| | | dataIndex: 'mornShiftInRate' |
| | | }, |
| | | { |
| | | title: 'æ©çä¸çæå¡ç(%)', |
| | | align: 'center', |
| | | dataIndex: 'mornShiftOutRate' |
| | | |
| | | }, |
| | | { |
| | | title: 'æçä¸çæå¡ç(%)', |
| | | align: 'center', |
| | | dataIndex: 'evenShiftInRate', |
| | | customRender: (text) => { |
| | | if (text !== null && text !== undefined) { |
| | | return parseFloat(text).toFixed(2); |
| | | } |
| | | return text; |
| | | } |
| | | }, |
| | | { |
| | | title: 'æçä¸çæå¡ç(%)', |
| | | align: 'center', |
| | | dataIndex: 'evenShiftOutRate' |
| | | }, |
| | | { |
| | | title: 'æä½', |
| | | dataIndex: 'action', |
| | | align: 'center', |
| | | scopedSlots: { customRender: 'action' } |
| | | } |
| | | ], |
| | | url: { |
| | | list: '/mdcEquipmentPunchRate/queryPageList', |
| | | exportXlsUrl: '/mdcEquipmentPunchRate/exportXls' |
| | | } |
| | | } |
| | | }, |
| | | methods: { |
| | | searchQuery() { |
| | | if (this.queryParam.theDate) { |
| | | // ç¡®ä¿ queryParam.recordDate æ¯ä¸ä¸ªææç Date 对象 |
| | | const date = new Date(this.queryParam.recordDate) |
| | | if (!isNaN(date.getTime())) { // æ£æ¥æ¯å¦ä¸ºæææ¥æ |
| | | const formattedDate = this.formatDate(date) |
| | | this.queryParam.theDate = formattedDate |
| | | console.log('Formatted theDate:', this.queryParam.theDate) // éªè¯æ ¼å¼ |
| | | } else { |
| | | console.error('Invalid date format') |
| | | } |
| | | } |
| | | |
| | | this.loadData() |
| | | }, |
| | | |
| | | formatDate(date) { |
| | | const year = date.getFullYear() |
| | | const month = String(date.getMonth() + 1).padStart(2, '0') |
| | | const day = String(date.getDate()).padStart(2, '0') |
| | | return `${year}${month}${day}` |
| | | }, |
| | | |
| | | dateParamChange(value) { |
| | | // value æ¯ä¸ä¸ªæ¶å»å¯¹è±¡ï¼moment objectï¼ï¼éè¦è½¬æ¢ä¸º Date 对象 |
| | | if (value) { |
| | | const date = value.toDate() // 转æ¢ä¸º Date 对象 |
| | | const formattedDate = this.formatDate(date) |
| | | this.queryParam.theDate = formattedDate |
| | | } else { |
| | | this.queryParam.theDate = null |
| | | } |
| | | } |
| | | |
| | | } |
| | | } |
| | | </script> |
| | | <style scoped> |
| | | @import '~@assets/less/common.less'; |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <a-modal :title="title" :width="1500" :height="1500" :visible="visible" :maskClosable="false" |
| | | cancelText="å
³é" |
| | | @cancel="handleCancel" :confirmLoading="confirmLoading"> |
| | | |
| | | <a-spin :spinning="confirmLoading"> |
| | | <a-form :form="form"> |
| | | <a-row> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="è®°å½æ¥æ" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="theDate"> |
| | | <a-input :disabled="true" v-model="model.theDate" placeholder="请è¾å
¥è®°å½æ¥æ"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="çæ¬¡" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="shiftSchedule"> |
| | | <j-dict-select-tag dictCode="shift_schedule" placeholder="è¯·éæ©çæ¬¡" v-model="model.shiftSchedule" |
| | | :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="æ©çä¸çæå¡ç" :labelCol="labelCol" :wrapperCol="wrapperCol" |
| | | prop="mornShiftInRate"> |
| | | <a-input v-model="model.mornShiftInRate" placeholder="请è¾å
¥"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="æ©çä¸çæå¡ç" :labelCol="labelCol" :wrapperCol="wrapperCol" |
| | | prop="mornShiftOutRate"> |
| | | <a-input v-model="model.mornShiftOutRate" placeholder="请è¾å
¥"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="æçä¸çæå¡ç" :labelCol="labelCol" :wrapperCol="wrapperCol" |
| | | prop="evenShiftInRate"> |
| | | <a-input v-model="model.evenShiftInRate" placeholder="请è¾å
¥"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item v-show="addShow" label="æçä¸çæå¡ç" :labelCol="labelCol" :wrapperCol="wrapperCol" |
| | | prop="evenShiftOutRate"> |
| | | <a-input v-model="model.evenShiftOutRate" placeholder="请è¾å
¥"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item v-show="addShow" label="æ©çä¸çæå¡è®¾å¤æ°é" :labelCol="labelCol" :wrapperCol="wrapperCol" |
| | | prop="mornShiftInDeviceNum"> |
| | | <a-input v-model="model.mornShiftInNum" placeholder="请è¾å
¥"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item v-show="addShow" label="æ©ä¸çæå¡è®¾å¤æ°é" :labelCol="labelCol" :wrapperCol="wrapperCol" |
| | | prop="mornShiftOutNum"> |
| | | <a-input v-model="model.mornShiftOutNum" placeholder="请è¾å
¥"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item v-show="addShow" label="æçä¸çæå¡è®¾å¤æ°é" :labelCol="labelCol" :wrapperCol="wrapperCol" |
| | | prop="evenShiftInNum"> |
| | | <a-input v-model="model.evenShiftInNum" placeholder="请è¾å
¥"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item v-show="addShow" label="æä¸çæå¡è®¾å¤æ°é" :labelCol="labelCol" :wrapperCol="wrapperCol" |
| | | prop="evenShiftOutNum"> |
| | | <a-input v-model="model.evenShiftOutNum" placeholder="请è¾å
¥"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item v-show="addShow" label="è®¾å¤æ»æ°" :labelCol="labelCol" :wrapperCol="wrapperCol" |
| | | prop="deviceCountNum"> |
| | | <a-input v-model="model.deviceCountNum" placeholder="请è¾å
¥"></a-input> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-form> |
| | | </a-spin> |
| | | |
| | | <template slot="footer"> |
| | | <a-button :style="{ marginRight: '8px' }" @click="handleCancel()"> |
| | | å
³é |
| | | </a-button> |
| | | |
| | | <!-- <a-button @click="handleOk()" :disabled="disableSubmit" type="primary" :loading="confirmLoading">ç¡®å®</a-button>--> |
| | | </template> |
| | | </a-modal> |
| | | |
| | | </template> |
| | | |
| | | <script> |
| | | import JMultiSelectTag from '@/components/dict/JMultiSelectTag' |
| | | import Tooltip from 'ant-design-vue/es/tooltip' |
| | | |
| | | export default { |
| | | name: 'EfficiencyPunchReportModal', |
| | | components: { |
| | | JMultiSelectTag, |
| | | Tooltip |
| | | }, |
| | | data() { |
| | | |
| | | return { |
| | | addShow: true, |
| | | model: {}, |
| | | formDisabled: false, |
| | | pagination: { |
| | | current: 1, |
| | | pageSize: 10, |
| | | total: 0 |
| | | }, |
| | | |
| | | title: 'æä½', |
| | | visible: false, |
| | | disableSubmit: false, |
| | | codeDisable: true, |
| | | |
| | | labelCol: { |
| | | xs: { span: 24 }, |
| | | sm: { span: 6 } |
| | | }, |
| | | wrapperCol: { |
| | | xs: { span: 24 }, |
| | | sm: { span: 18 } |
| | | }, |
| | | confirmLoading: false, |
| | | form: this.$form.createForm(this), |
| | | validatorRules: { |
| | | // orderCode: [ |
| | | // { required: true, message: '请è¾å
¥çç¹åå·!' } |
| | | // ], |
| | | // handler: [ |
| | | // { required: true, message: '请è¾å
¥ç»æäºº!' } |
| | | // ], |
| | | // stocktakingName: [ |
| | | // { required: true, message: '请è¾å
¥çç¹åç§°!' } |
| | | // ], |
| | | // approvalStatus: [ |
| | | // { required: true, message: '请è¾å
¥å®¡æ ¸ç¶æ!' } |
| | | // ], |
| | | // inventoryTime: [ |
| | | // { required: true, message: '请è¾å
¥çç¹æ¶é´!' } |
| | | // ] |
| | | }, |
| | | url: { |
| | | |
| | | |
| | | |
| | | }, |
| | | dataSource: [] |
| | | } |
| | | }, |
| | | |
| | | mounted() { |
| | | |
| | | }, |
| | | |
| | | methods: { |
| | | |
| | | add() { |
| | | this.addShow = false |
| | | this.edit() |
| | | }, |
| | | |
| | | edit(record) { |
| | | this.model = Object.assign({}, record) |
| | | this.visible = true |
| | | }, |
| | | |
| | | |
| | | |
| | | close() { |
| | | this.$emit('close') |
| | | this.visible = false |
| | | }, |
| | | |
| | | handleCancel() { |
| | | this.model = {} |
| | | this.dataSource = [] |
| | | this.close() |
| | | }, |
| | | } |
| | | |
| | | } |
| | | </script> |
| | | |
| | | <style lang="less" scoped> |
| | | .frozenRowClass { |
| | | color: #c9c9c9; |
| | | } |
| | | |
| | | .fontweight { |
| | | font-weight: bold; |
| | | } |
| | | |
| | | .ant-btn { |
| | | padding: 0 10px; |
| | | margin-left: 3px; |
| | | } |
| | | |
| | | .ant-form-item-control { |
| | | line-height: 0px; |
| | | } |
| | | |
| | | /** 主表åè¡é´è· */ |
| | | .ant-form .ant-form-item { |
| | | margin-bottom: 10px; |
| | | } |
| | | |
| | | /** Tab页é¢è¡é´è· */ |
| | | .ant-tabs-content .ant-form-item { |
| | | margin-bottom: 0px; |
| | | } |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <a-row |
| | | type="flex" |
| | | :gutter="16" |
| | | > |
| | | <a-col |
| | | :md="5" |
| | | :sm="24" |
| | | > |
| | | <tool-ledger-list-left /> |
| | | </a-col> |
| | | <a-col |
| | | :md="24-5" |
| | | :sm="24" |
| | | > |
| | | <tool-ledger-list-right /> |
| | | </a-col> |
| | | </a-row> |
| | | </template> |
| | | |
| | | <script> |
| | | import ToolLedgerListLeft from './modules/toolLedger/ToolLedgerListLeft' |
| | | import ToolLedgerListRight from './modules/toolLedger/ToolLedgerListRight' |
| | | export default { |
| | | name: 'ToolLedgerList', |
| | | components: { ToolLedgerListLeft, ToolLedgerListRight }, |
| | | data() { |
| | | return { |
| | | description: 'å·¥å
·å°è´¦ä¿¡æ¯', |
| | | currentOrgCode: '' |
| | | } |
| | | }, |
| | | methods: {} |
| | | } |
| | | </script> |
| | | |
| | | <style scoped> |
| | | @import '~@assets/less/common.less'; |
| | | </style> |
| | |
| | | { |
| | | title: 'åå
·ç¼å·', |
| | | align: 'center', |
| | | dataIndex: 'toolCode' |
| | | dataIndex: 'toolId' |
| | | }, |
| | | { |
| | | title: 'å·¥å
፱Ȍ', |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | // handleEdit: function (record) { |
| | | // this.$refs.modalForm.edit(record); |
| | | // this.$refs.modalForm.title = "ç¼è¾"; |
| | | // this.$refs.modalForm.disableSubmit = false; |
| | | // }, |
| | | // handleAdd: function () { |
| | | // this.$refs.modalForm.add(); |
| | | // this.$refs.modalForm.title = "æ°å¢"; |
| | | // this.$refs.modalForm.disableSubmit = false; |
| | | // }, |
| | | |
| | | modalFormOk() { |
| | | this.$refs.lossboundDetailList.clearList() |
| | | this.loadData() |
| | |
| | | { |
| | | title: 'å·¥å
·ç¼ç ', |
| | | align: 'center', |
| | | dataIndex: 'toolCode' |
| | | dataIndex: 'toolId' |
| | | }, |
| | | { |
| | | title: '䏿åç§°', |
| | |
| | | width: 50 |
| | | }, |
| | | { |
| | | title: 'åå
·ç¼å·', |
| | | dataIndex: 'toolCode', |
| | | title: 'åå
·ç¼ç ', |
| | | dataIndex: 'toolId', |
| | | align: 'center', |
| | | width: 150 |
| | | width: 200 |
| | | }, |
| | | |
| | | { |
| | |
| | | this.$bus.$on('selectionRows', (data) => { |
| | | for (let i = 0; i < data.length; i++) { |
| | | this.dataSource.push({ |
| | | toolId: data[i].id, |
| | | toolCode: data[i].toolCode, |
| | | toolCode:data[i].toolCode, |
| | | toolId:data[i].toolId, |
| | | classifyId: data[i].classifyId, |
| | | applicationType: data[i].applicationType_dictText, |
| | | chineseName: data[i].chineseName, |
| | |
| | | <div class="table-operator"> |
| | | <Tooltip |
| | | placement="top" |
| | | title="鿩工å
·åç±»ååæ§è¡æ°å¢" |
| | | title="鿩工å
·å级åç±»ååæ§è¡æ°å¢" |
| | | > |
| | | <a-button @click="handleAdd(nodeSelected)" type="primary" icon="plus" :disabled="!nodeSelected.key || nodeSelected.entity.leafFlag === '2'">æ°å¢</a-button> |
| | | </Tooltip> |
| | | <a-button type="primary" @click="exportToExcel('åå
·ä¿¡æ¯å¯¼å
¥æ¨¡æ¿')" icon="export" style="margin-left: 8px" :disabled="!nodeSelected.key || nodeSelected.entity.leafFlag === '2'">ä¸è½½å¯¼å
¥æ¨¡æ¿</a-button> |
| | | <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel"> |
| | | <a-button type="primary" icon="import" :disabled="!nodeSelected.key || nodeSelected.entity.leafFlag === '2'">导å
¥</a-button> |
| | | </a-upload> |
| | | <!-- <a-button type="primary" icon="download" @click="handleExportXls('tms_tools_classify')">导åº</a-button> |
| | | <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel"> |
| | | <a-button type="primary" icon="import">导å
¥</a-button> |
| | |
| | | :customRow="customRow" |
| | | @change="handleTableChange"> |
| | | |
| | | <template slot="htmlSlot" slot-scope="text"> |
| | | <div v-html="text"></div> |
| | | </template> |
| | | <template slot="imgSlot" slot-scope="text,record"> |
| | | <template slot='toolPicture' slot-scope='text, record, index'> |
| | | <span v-if="!text" style="font-size: 12px;font-style: italic;">æ å¾ç</span> |
| | | <img v-else :src="getImgView(text)" :preview="record.id" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/> |
| | | <img v-else :src="getImgView(text)" :preview="record.toolPicture" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/> |
| | | </template> |
| | | |
| | | <template slot="fileSlot" slot-scope="text"> |
| | | <span v-if="!text" style="font-size: 12px;font-style: italic;">æ æä»¶</span> |
| | | <a-button |
| | |
| | | import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
| | | import BaseToolsModal from './BaseToolsModal' |
| | | import Tooltip from 'ant-design-vue/es/tooltip' |
| | | import { getAction, postAction, deleteAction, requestPut } from '@api/manage' |
| | | import { getAction, postAction, deleteAction, requestPut,downFile } from '@api/manage' |
| | | import ParaHoleToolsModal from './ParaHoleToolsModal' |
| | | import ParaMillToolModal from './ParaMillToolModal' |
| | | import ParaThreadingToolModal from './ParaThreadingToolModal' |
| | |
| | | dataIndex: 'toolModel' |
| | | }, |
| | | { |
| | | title: 'å·¥å
·å¾ç', |
| | | align: 'center', |
| | | width: 120, |
| | | dataIndex: 'toolPicture', |
| | | scopedSlots: { customRender: 'toolPicture' } |
| | | }, |
| | | { |
| | | title:'夿³¨', |
| | | align:"center", |
| | | dataIndex: 'remark' |
| | |
| | | exportXlsUrl: "/tms/baseTools/exportXls", |
| | | importExcelUrl: "tms/baseTools/importExcel", |
| | | queryParaByToolCode:"/tms/baseTools/queryByToolCode", |
| | | queryByToolCode:"/tms/toolsConfigProperty/queryByToolCode" |
| | | queryByToolCode:"/tms/toolsConfigProperty/queryByToolCode", |
| | | loadTemplate:"/tms/baseTools/loadTemplate", |
| | | importBlade:"/tms/paraBlade/importExcel", |
| | | importCommonTool:"/tms/paraCommonTool/importExcel", |
| | | importHoleTools:"/tms/paraHoleTools/importExcel", |
| | | importThreading:"/tms/paraThreadingTool/importExcel", |
| | | importTurning:"/tms/paraTurningTools/importExcel", |
| | | importMillTool:"/tms/paraMillTool/importExcel" |
| | | }, |
| | | dictOptions:{}, |
| | | superFieldList:[], |
| | | nodeSelected: {}, // å½åéä¸çèç¹æ°æ® |
| | | paraTypeFlag:'', |
| | | disableMixinCreated:true |
| | | disableMixinCreated:true, |
| | | loading:false |
| | | } |
| | | }, |
| | | created() { |
| | |
| | | }, |
| | | computed: { |
| | | importExcelUrl: function(){ |
| | | return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`; |
| | | if(this.paraTypeFlag === "1"){ |
| | | return `${window._CONFIG['domianURL']}/${this.url.importCommonTool}`; |
| | | }else if(this.paraTypeFlag === "2"){ |
| | | return `${window._CONFIG['domianURL']}/${this.url.importHoleTools}`; |
| | | }else if(this.paraTypeFlag === "3"){ |
| | | return `${window._CONFIG['domianURL']}/${this.url.importThreading}`; |
| | | }else if(this.paraTypeFlag === "4"){ |
| | | return `${window._CONFIG['domianURL']}/${this.url.importMillTool}`; |
| | | }else if(this.paraTypeFlag === "5"){ |
| | | return `${window._CONFIG['domianURL']}/${this.url.importTurning}`; |
| | | }else if(this.paraTypeFlag === "6"){ |
| | | return `${window._CONFIG['domianURL']}/${this.url.importBlade}`; |
| | | } |
| | | }, |
| | | }, |
| | | methods: { |
| | |
| | | if (res.success) { |
| | | this.dataSource = res.result.records; // æ´æ°è¡¨æ ¼æ°æ® |
| | | this.ipagination.total = res.result.total |
| | | //é»è®¤éä¸ç¬¬ä¸æ¡æ°æ® |
| | | this.selectedRowKeys[0] = res.result.records[0].id |
| | | this.onSelectChange(this.selectedRowKeys) |
| | | } else { |
| | | this.$message.warning("è¯·éæ©å¶åèç¹è¿è¡æ¥è¯¢"); |
| | | this.ipagination.total = 0 |
| | |
| | | } |
| | | } |
| | | }, |
| | | |
| | | exportToExcel(fileName) { |
| | | this.loading = true // æ¾ç¤ºå è½½é®ç½© |
| | | this.queryParam.paraTypeFlag = this.paraTypeFlag |
| | | var params = this.getQueryParams() |
| | | downFile(this.url.loadTemplate,params).then((data)=>{ |
| | | if (!data) { |
| | | this.$message.warning("æä»¶ä¸è½½å¤±è´¥") |
| | | return |
| | | } |
| | | if (typeof window.navigator.msSaveBlob !== 'undefined') { |
| | | window.navigator.msSaveBlob(new Blob([data],{type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'}), fileName+'.xlsx') |
| | | }else{ |
| | | let url = window.URL.createObjectURL(new Blob([data],{type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'})) |
| | | let link = document.createElement('a') |
| | | link.style.display = 'none' |
| | | link.href = url |
| | | link.setAttribute('download', fileName+'.xlsx') |
| | | document.body.appendChild(link) |
| | | link.click() |
| | | document.body.removeChild(link); //ä¸è½½å®æç§»é¤å
ç´ |
| | | window.URL.revokeObjectURL(url); //éæ¾æblob对象 |
| | | } |
| | | this.loading = false // éèé®ç½© |
| | | }) |
| | | }, |
| | | }, |
| | | } |
| | | </script> |
| | |
| | | </a-divider> |
| | | |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="classifyNum" label="å·¥å
·åç±»ç¼ç "> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»ç¼ç " v-model="model.classifyNum" :disabled="true" /> |
| | | </a-form-model-item> |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="classifyNum" label="å·¥å
·åç±»ç¼ç "> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»ç¼ç " v-model="model.classifyNum" :disabled="true" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="classifyName" label="å·¥å
·åç±»åç§°"> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»åç§°" v-model="model.classifyName" :disabled="true" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="toolCode" label="å·¥å
·ç¼ç "> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥å·¥å
·ç¼ç '" v-model="model.toolCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="classifyName" label="å·¥å
·åç±»åç§°"> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»åç§°" v-model="model.classifyName" :disabled="true" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="toolCode" label="å·¥å
·ç¼ç "> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥å·¥å
·ç¼ç '" v-model="model.toolCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="chineseName" |
| | | label="䏿åç§°"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥ä¸æåç§°'" v-model="model.chineseName" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="chineseName" |
| | | label="䏿åç§°"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥ä¸æåç§°'" v-model="model.chineseName" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="foreignLanguageName" |
| | | label="夿åç§°"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥å¤æåç§°'" v-model="model.foreignLanguageName" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="toolModel" |
| | | label="åå·/å¾å·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥åå·/å¾å·'" v-model="model.toolModel" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="foreignLanguageName" |
| | | label="夿åç§°"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥å¤æåç§°'" v-model="model.foreignLanguageName" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="standardLevel" |
| | | label="æ æ³¨çº§å«"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æ å级å«'" v-model="model.standardLevel" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="standardCode" label="æ åå·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æ åå·'" v-model="model.standardCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="signCode" label="åºå·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥åºå·'" v-model="model.signCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="toolModel" |
| | | label="åå·/å¾å·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥åå·/å¾å·'" v-model="model.toolModel" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item label='' :labelCol='labelCol' :wrapperCol='wrapperCol'> |
| | | <j-image-upload text='ä¸ä¼ å¾ç' v-model='model.toolPicture'></j-image-upload> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="standardLevel" |
| | | label="æ æ³¨çº§å«"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æ å级å«'" v-model="model.standardLevel" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="standardCode" label="æ åå·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æ åå·'" v-model="model.standardCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="signCode" label="åºå·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥åºå·'" v-model="model.signCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-divider orientation="center" style="font-size: large;font-style: italic;color: #66aeed;"> 管çåæ° |
| | | </a-divider> |
| | |
| | | <a-divider orientation="center" style="font-size: large;font-style: italic;color: #66aeed;"> å·¥å
·åºç¡ä¿¡æ¯ |
| | | </a-divider> |
| | | |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="classifyNum" label="å·¥å
·åç±»ç¼ç "> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»ç¼ç " v-model="model.classifyNum" :disabled="true" /> |
| | | </a-form-model-item> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="classifyNum" label="å·¥å
·åç±»ç¼ç "> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»ç¼ç " v-model="model.classifyNum" :disabled="true" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="classifyName" label="å·¥å
·åç±»åç§°"> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»åç§°" v-model="model.classifyName" :disabled="true" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="toolCode" label="å·¥å
·ç¼ç "> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥å·¥å
·ç¼ç '" v-model="model.toolCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="classifyName" label="å·¥å
·åç±»åç§°"> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»åç§°" v-model="model.classifyName" :disabled="true" /> |
| | | </a-form-model-item> |
| | | |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="chineseName" |
| | | label="䏿åç§°"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥ä¸æåç§°'" v-model="model.chineseName" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="foreignLanguageName" |
| | | label="夿åç§°"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥å¤æåç§°'" v-model="model.foreignLanguageName" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="toolModel" |
| | | label="åå·/å¾å·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥åå·/å¾å·'" v-model="model.toolModel" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="toolCode" label="å·¥å
·ç¼ç "> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥å·¥å
·ç¼ç '" v-model="model.toolCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="standardLevel" |
| | | label="æ æ³¨çº§å«"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æ å级å«'" v-model="model.standardLevel" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="standardCode" label="æ åå·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æ åå·'" v-model="model.standardCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="signCode" label="åºå·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥åºå·'" v-model="model.signCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item label='' :labelCol='{span:8}' :wrapperCol='{span:16}'> |
| | | <j-image-upload text='ä¸ä¼ å·¥å
·å¾ç' v-model='model.toolPicture'></j-image-upload> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="chineseName" |
| | | label="䏿åç§°"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥ä¸æåç§°'" v-model="model.chineseName" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="foreignLanguageName" |
| | | label="夿åç§°"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥å¤æåç§°'" v-model="model.foreignLanguageName" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="toolModel" |
| | | label="åå·/å¾å·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥åå·/å¾å·'" v-model="model.toolModel" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="standardLevel" |
| | | label="æ æ³¨çº§å«"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æ å级å«'" v-model="model.standardLevel" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="standardCode" label="æ åå·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æ åå·'" v-model="model.standardCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="signCode" label="åºå·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥åºå·'" v-model="model.signCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-divider orientation="center" style="font-size: large;font-style: italic;color: #66aeed;"> 管çåæ° |
| | | </a-divider> |
| | | |
| | |
| | | </a-divider> |
| | | |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="classifyNum" label="å·¥å
·åç±»ç¼ç "> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»ç¼ç " v-model="model.classifyNum" :disabled="true" /> |
| | | </a-form-model-item> |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="classifyNum" label="å·¥å
·åç±»ç¼ç "> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»ç¼ç " v-model="model.classifyNum" :disabled="true" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="classifyName" label="å·¥å
·åç±»åç§°"> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»åç§°" v-model="model.classifyName" :disabled="true" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="toolCode" label="å·¥å
·ç¼ç "> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥å·¥å
·ç¼ç '" v-model="model.toolCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="classifyName" label="å·¥å
·åç±»åç§°"> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»åç§°" v-model="model.classifyName" :disabled="true" /> |
| | | </a-form-model-item> |
| | | |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="chineseName" |
| | | label="䏿åç§°"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥ä¸æåç§°'" v-model="model.chineseName" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="foreignLanguageName" |
| | | label="夿åç§°"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥å¤æåç§°'" v-model="model.foreignLanguageName" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="toolModel" |
| | | label="åå·/å¾å·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥åå·/å¾å·'" v-model="model.toolModel" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="toolCode" label="å·¥å
·ç¼ç "> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥å·¥å
·ç¼ç '" v-model="model.toolCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="standardLevel" |
| | | label="æ æ³¨çº§å«"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æ å级å«'" v-model="model.standardLevel" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="standardCode" label="æ åå·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æ åå·'" v-model="model.standardCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="signCode" label="åºå·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥åºå·'" v-model="model.signCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item label='' :labelCol='labelCol' :wrapperCol='wrapperCol'> |
| | | <j-image-upload text='ä¸ä¼ å·¥å
·å¾ç' v-model='model.toolPicture'></j-image-upload> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="chineseName" |
| | | label="䏿åç§°"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥ä¸æåç§°'" v-model="model.chineseName" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="foreignLanguageName" |
| | | label="夿åç§°"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥å¤æåç§°'" v-model="model.foreignLanguageName" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="toolModel" |
| | | label="åå·/å¾å·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥åå·/å¾å·'" v-model="model.toolModel" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="standardLevel" |
| | | label="æ æ³¨çº§å«"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æ å级å«'" v-model="model.standardLevel" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="standardCode" label="æ åå·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æ åå·'" v-model="model.standardCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="signCode" label="åºå·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥åºå·'" v-model="model.signCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-divider orientation="center" style="font-size: large;font-style: italic;color: #66aeed;"> 管çåæ° |
| | | </a-divider> |
| | | |
| | |
| | | </a-divider> |
| | | |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="classifyNum" label="å·¥å
·åç±»ç¼ç "> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»ç¼ç " v-model="model.classifyNum" :disabled="true" /> |
| | | </a-form-model-item> |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="classifyNum" label="å·¥å
·åç±»ç¼ç "> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»ç¼ç " v-model="model.classifyNum" :disabled="true" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="classifyName" label="å·¥å
·åç±»åç§°"> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»åç§°" v-model="model.classifyName" :disabled="true" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="toolCode" label="å·¥å
·ç¼ç "> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥å·¥å
·ç¼ç '" v-model="model.toolCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="classifyName" label="å·¥å
·åç±»åç§°"> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»åç§°" v-model="model.classifyName" :disabled="true" /> |
| | | </a-form-model-item> |
| | | |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="chineseName" |
| | | label="䏿åç§°"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥ä¸æåç§°'" v-model="model.chineseName" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="foreignLanguageName" |
| | | label="夿åç§°"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥å¤æåç§°'" v-model="model.foreignLanguageName" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="toolModel" |
| | | label="åå·/å¾å·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥åå·/å¾å·'" v-model="model.toolModel" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="toolCode" label="å·¥å
·ç¼ç "> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥å·¥å
·ç¼ç '" v-model="model.toolCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="standardLevel" |
| | | label="æ æ³¨çº§å«"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æ å级å«'" v-model="model.standardLevel" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="standardCode" label="æ åå·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æ åå·'" v-model="model.standardCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="signCode" label="åºå·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥åºå·'" v-model="model.signCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item label='' :labelCol='labelCol' :wrapperCol='wrapperCol'> |
| | | <j-image-upload text='ä¸ä¼ å·¥å
·å¾ç' v-model='model.toolPicture'></j-image-upload> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="chineseName" |
| | | label="䏿åç§°"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥ä¸æåç§°'" v-model="model.chineseName" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="foreignLanguageName" |
| | | label="夿åç§°"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥å¤æåç§°'" v-model="model.foreignLanguageName" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="toolModel" |
| | | label="åå·/å¾å·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥åå·/å¾å·'" v-model="model.toolModel" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="standardLevel" |
| | | label="æ æ³¨çº§å«"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æ å级å«'" v-model="model.standardLevel" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="standardCode" label="æ åå·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æ åå·'" v-model="model.standardCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="signCode" label="åºå·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥åºå·'" v-model="model.signCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-divider orientation="center" style="font-size: large;font-style: italic;color: #66aeed;"> 管çåæ° |
| | | </a-divider> |
| | | |
| | |
| | | </a-divider> |
| | | |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="classifyNum" label="å·¥å
·åç±»ç¼ç "> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»ç¼ç " v-model="model.classifyNum" :disabled="true" /> |
| | | </a-form-model-item> |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="classifyNum" label="å·¥å
·åç±»ç¼ç "> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»ç¼ç " v-model="model.classifyNum" :disabled="true" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="classifyName" label="å·¥å
·åç±»åç§°"> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»åç§°" v-model="model.classifyName" :disabled="true" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="toolCode" label="å·¥å
·ç¼ç "> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥å·¥å
·ç¼ç '" v-model="model.toolCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="classifyName" label="å·¥å
·åç±»åç§°"> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»åç§°" v-model="model.classifyName" :disabled="true" /> |
| | | </a-form-model-item> |
| | | |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="chineseName" |
| | | label="䏿åç§°"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥ä¸æåç§°'" v-model="model.chineseName" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="foreignLanguageName" |
| | | label="夿åç§°"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥å¤æåç§°'" v-model="model.foreignLanguageName" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="toolModel" |
| | | label="åå·/å¾å·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥åå·/å¾å·'" v-model="model.toolModel" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="toolCode" label="å·¥å
·ç¼ç "> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥å·¥å
·ç¼ç '" v-model="model.toolCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="standardLevel" |
| | | label="æ æ³¨çº§å«"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æ å级å«'" v-model="model.standardLevel" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="standardCode" label="æ åå·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æ åå·'" v-model="model.standardCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="signCode" label="åºå·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥åºå·'" v-model="model.signCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item label='' :labelCol='{span:4}' :wrapperCol='{span:20}'> |
| | | <j-image-upload text='ä¸ä¼ å·¥å
·å¾ç' v-model='model.toolPicture'></j-image-upload> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="chineseName" |
| | | label="䏿åç§°"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥ä¸æåç§°'" v-model="model.chineseName" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="foreignLanguageName" |
| | | label="夿åç§°"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥å¤æåç§°'" v-model="model.foreignLanguageName" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="toolModel" |
| | | label="åå·/å¾å·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥åå·/å¾å·'" v-model="model.toolModel" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="standardLevel" |
| | | label="æ æ³¨çº§å«"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æ å级å«'" v-model="model.standardLevel" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="standardCode" label="æ åå·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æ åå·'" v-model="model.standardCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="signCode" label="åºå·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥åºå·'" v-model="model.signCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-divider orientation="center" style="font-size: large;font-style: italic;color: #66aeed;"> 管çåæ° |
| | | </a-divider> |
| | | |
| | |
| | | import JSelectProduction from '@comp/jeecgbiz/JSelectProduction.vue' |
| | | import { getSystemConfigValue } from '@api/api' |
| | | import { duplicateCheck } from '@/api/api'//é夿 ¡éª |
| | | import JThirdAppDropdown from '../../../../components/jeecgbiz/thirdApp/JThirdAppDropdown.vue' |
| | | |
| | | export default { |
| | | name: 'ParaHoleToolsModal', |
| | |
| | | <a-divider orientation="center" style="font-size: large;font-style: italic;color: #66aeed;"> å·¥å
·åºç¡ä¿¡æ¯ |
| | | </a-divider> |
| | | |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="classifyNum" label="å·¥å
·åç±»ç¼ç "> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»ç¼ç " v-model="model.classifyNum" :disabled="true" /> |
| | | </a-form-model-item> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="classifyNum" label="å·¥å
·åç±»ç¼ç "> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»ç¼ç " v-model="model.classifyNum" :disabled="true" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="classifyName" label="å·¥å
·åç±»åç§°"> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»åç§°" v-model="model.classifyName" :disabled="true" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="toolCode" label="å·¥å
·ç¼ç "> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥å·¥å
·ç¼ç '" v-model="model.toolCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="classifyName" label="å·¥å
·åç±»åç§°"> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»åç§°" v-model="model.classifyName" :disabled="true" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="toolCode" label="å·¥å
·ç¼ç "> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥å·¥å
·ç¼ç '" v-model="model.toolCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="chineseName" |
| | | label="䏿åç§°"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥ä¸æåç§°'" v-model="model.chineseName" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="chineseName" |
| | | label="䏿åç§°"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥ä¸æåç§°'" v-model="model.chineseName" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="foreignLanguageName" |
| | | label="夿åç§°"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥å¤æåç§°'" v-model="model.foreignLanguageName" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="toolModel" |
| | | label="åå·/å¾å·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥åå·/å¾å·'" v-model="model.toolModel" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="foreignLanguageName" |
| | | label="夿åç§°"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥å¤æåç§°'" v-model="model.foreignLanguageName" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="standardLevel" |
| | | label="æ æ³¨çº§å«"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æ å级å«'" v-model="model.standardLevel" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="standardCode" label="æ åå·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æ åå·'" v-model="model.standardCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="signCode" label="åºå·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥åºå·'" v-model="model.signCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="toolModel" |
| | | label="åå·/å¾å·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥åå·/å¾å·'" v-model="model.toolModel" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item label='' :labelCol='labelCol' :wrapperCol='wrapperCol'> |
| | | <j-image-upload text='ä¸ä¼ å·¥å
·å¾ç' v-model='model.toolPicture'></j-image-upload> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="standardLevel" |
| | | label="æ æ³¨çº§å«"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æ å级å«'" v-model="model.standardLevel" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="standardCode" label="æ åå·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æ åå·'" v-model="model.standardCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="signCode" label="åºå·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥åºå·'" v-model="model.signCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-divider orientation="center" style="font-size: large;font-style: italic;color: #66aeed;"> 管çåæ° |
| | | </a-divider> |
| | |
| | | </a-divider> |
| | | |
| | | <a-row :gutter="24"> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="classifyNum" label="å·¥å
·åç±»ç¼ç "> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»ç¼ç " v-model="model.classifyNum" :disabled="true" /> |
| | | </a-form-model-item> |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="classifyNum" label="å·¥å
·åç±»ç¼ç "> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»ç¼ç " v-model="model.classifyNum" :disabled="true" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="classifyName" label="å·¥å
·åç±»åç§°"> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»åç§°" v-model="model.classifyName" :disabled="true" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="toolCode" label="å·¥å
·ç¼ç "> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥å·¥å
·ç¼ç '" v-model="model.toolCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="classifyName" label="å·¥å
·åç±»åç§°"> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»åç§°" v-model="model.classifyName" :disabled="true" /> |
| | | </a-form-model-item> |
| | | |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="chineseName" |
| | | label="䏿åç§°"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥ä¸æåç§°'" v-model="model.chineseName" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="foreignLanguageName" |
| | | label="夿åç§°"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥å¤æåç§°'" v-model="model.foreignLanguageName" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="toolModel" |
| | | label="åå·/å¾å·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥åå·/å¾å·'" v-model="model.toolModel" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="toolCode" label="å·¥å
·ç¼ç "> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥å·¥å
·ç¼ç '" v-model="model.toolCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="standardLevel" |
| | | label="æ æ³¨çº§å«"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æ å级å«'" v-model="model.standardLevel" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="standardCode" label="æ åå·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æ åå·'" v-model="model.standardCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item prop="signCode" label="åºå·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥åºå·'" v-model="model.signCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | |
| | | <a-col :span="6"> |
| | | <a-row> |
| | | <a-col :span="24"> |
| | | <a-form-model-item label='' :labelCol='labelCol' :wrapperCol='wrapperCol'> |
| | | <j-image-upload text='ä¸ä¼ å·¥å
·å¾ç' v-model='model.toolPicture'></j-image-upload> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="chineseName" |
| | | label="䏿åç§°"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥ä¸æåç§°'" v-model="model.chineseName" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="foreignLanguageName" |
| | | label="夿åç§°"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥å¤æåç§°'" v-model="model.foreignLanguageName" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="toolModel" |
| | | label="åå·/å¾å·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥åå·/å¾å·'" v-model="model.toolModel" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="standardLevel" |
| | | label="æ æ³¨çº§å«"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æ å级å«'" v-model="model.standardLevel" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="standardCode" label="æ åå·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥æ åå·'" v-model="model.standardCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="signCode" label="åºå·"> |
| | | <a-input :placeholder="disableSubmit?'':'请è¾å
¥åºå·'" v-model="model.signCode" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-divider orientation="center" style="font-size: large;font-style: italic;color: #66aeed;"> 管çåæ° |
| | | </a-divider> |
| | | |
| | |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-row style="width: 100%"> |
| | | <a-col :span="24 / 2"> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="åºä½å·" prop="locationCodeId"> |
| | | <a-select |
| | | :triggerChange="true" |
| | | :options="locationCodeOptions" |
| | | v-model="model.locationCodeId" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | | </a-form-model> |
| | | </a-spin> |
| | | <a-button type="primary" :style="{ marginBottom: '8px' }" @click="selectReturnList()" v-show="returnShow && !disableSubmit">éæ©ååºå·¥å
·</a-button> |
| | |
| | | message: 'è¯·éæ©ç³è¯·å
¥åºæ¥æ!', |
| | | }, |
| | | ], |
| | | locationCodeId:[ |
| | | { |
| | | required: true, |
| | | message: 'è¯·éæ©åºä½å·!', |
| | | }, |
| | | ] |
| | | }, |
| | | url: { |
| | | addInStorage: '/tms/inboundOrder/addInStorage', |
| | |
| | | scopedSlots: { customRender: 'action' }, |
| | | }, |
| | | ], |
| | | classifyId:'' |
| | | classifyId:'', |
| | | locationCodeOptions:[] |
| | | } |
| | | }, |
| | | created() { |
| | | //å¤ä»½modelåå§å¼ |
| | | this.modelDefault = JSON.parse(JSON.stringify(this.model)); |
| | | ajaxGetDictItems("tms_goods_shelves,location_code,id", null).then((res) => { |
| | | if (res.success) { |
| | | this.locationCodeOptions = res.result |
| | | } |
| | | }) |
| | | }, |
| | | methods: { |
| | | modalFormOk() { |
| | |
| | | toolModel: data[i].toolModel, |
| | | applicationType: data[i].applicationTypeName, |
| | | onlyCode:data[i].onlyCode, |
| | | inStorageQuantity:data[i].storageQuantity || data[i].quantity, |
| | | inStorageQuantity:data[i].storageQuantity || data[i].quantity || 1, |
| | | quantity:data[i].quantity, |
| | | accuracyClass:data[i].accuracyClass |
| | | }) |
| | |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="24 / 2"> |
| | | <a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="åºä½å·"> |
| | | <a-select |
| | | :triggerChange="true" |
| | | :options="locationCodeOptions" |
| | | v-decorator="[ 'locationCodeId', validatorRules.locationCodeId ]" |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | <!-- <a-col :span="24 / 2"> |
| | | <a-form-item label="ç³è¯·åå " :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-input placeholder="请è¾å
¥ç³è¯·åå " :disabled="disableSubmit" v-decorator="['applicationReason', validatorRules.applicationReason]" /> |
| | | </a-form-item> |
| | | </a-col> --> |
| | | </a-row> |
| | | <a-row style="width: 100%"> |
| | | <a-col :span="24"> |
| | | <a-form-item label="ç³è¯·åå " :labelCol="{ span: 3 }" :wrapperCol="{ span: 21 }" > |
| | | <a-input placeholder="请è¾å
¥ç³è¯·åå " :disabled="disableSubmit" v-decorator="['applicationReason', validatorRules.applicationReason]" /> |
| | | </a-form-item> |
| | | </a-col> |
| | |
| | | scopedSlots: { customRender: 'action' }, |
| | | }, |
| | | ], |
| | | locationCodeOptions:[] |
| | | } |
| | | }, |
| | | created() {}, |
| | | created() { |
| | | ajaxGetDictItems("tms_goods_shelves,location_code,id", null).then((res) => { |
| | | if (res.success) { |
| | | this.locationCodeOptions = res.result |
| | | } |
| | | }) |
| | | }, |
| | | methods: { |
| | | modalFormOk() { |
| | | }, |
| | |
| | | applicationType: data[i].applicationTypeName, |
| | | onlyCode:data[i].onlyCode, |
| | | quantity:data[i].quantity, |
| | | inStorageQuantity:data[i].storageQuantity || data[i].quantity, |
| | | inStorageQuantity:data[i].storageQuantity || data[i].quantity || 1, |
| | | accuracyClass:data[i].accuracyClass |
| | | }) |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <a-card |
| | | :bordered="false" |
| | | class="card-area" |
| | | > |
| | | <a-table |
| | | ref="table" |
| | | bordered |
| | | size="middle" |
| | | rowKey="id" |
| | | :columns="columns" |
| | | :dataSource="dataSource" |
| | | :pagination="ipagination" |
| | | :loading="loading" |
| | | @change="handleTableChange" |
| | | > |
| | | </a-table> |
| | | </a-card> |
| | | </template> |
| | | |
| | | <script> |
| | | import { requestPut } from '@/api/manage' |
| | | import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
| | | |
| | | export default { |
| | | name: 'InStoreDetailList', |
| | | mixins: [JeecgListMixin], |
| | | components: {}, |
| | | data() { |
| | | return { |
| | | url: { |
| | | list: '/tms/inStoreDetail/list', |
| | | }, |
| | | queryParam: {}, |
| | | nodeType: 0, |
| | | dataSource: [], |
| | | disableMixinCreated:true, |
| | | columns: [ |
| | | { |
| | | title: 'å·¥å
·ç¼ç ', |
| | | align: 'center', |
| | | dataIndex: 'toolCode', |
| | | }, |
| | | { |
| | | title: 'å·¥å
·ç¼å·', |
| | | align: 'center', |
| | | dataIndex: 'onlyCode', |
| | | }, |
| | | { |
| | | title: 'å·¥å
·åç§°', |
| | | dataIndex: 'chineseName', |
| | | align: 'center', |
| | | key: 'toolName' |
| | | }, |
| | | { |
| | | title: 'åå·/å¾å·', |
| | | dataIndex: 'toolModel', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'å
¥åºåç¼å·', |
| | | dataIndex: 'inboundNum', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'å
¥åºç±»å', |
| | | dataIndex: 'inStorehouseTypeName', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'å
¥åºæ¹å¼', |
| | | dataIndex: 'operateType', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'ç»æäºº', |
| | | dataIndex: 'handler', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'åºä½å·', |
| | | dataIndex: 'locationCode', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'å
¥åºæ°é', |
| | | dataIndex: 'inNumber', |
| | | align: 'center', |
| | | }, |
| | | ], |
| | | para:{}, |
| | | } |
| | | }, |
| | | |
| | | methods: { |
| | | |
| | | }, |
| | | mounted() { |
| | | this.$bus.$on('getToolLedgerData', (data) => { |
| | | this.queryParam.toolCode = data.toolCode; |
| | | this.searchQuery(); |
| | | }) |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped> |
| | | @import '~@assets/less/common.less'; |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <a-card |
| | | :bordered="false" |
| | | class="card-area" |
| | | > |
| | | <a-table |
| | | ref="table" |
| | | bordered |
| | | size="middle" |
| | | rowKey="id" |
| | | :columns="columns" |
| | | :dataSource="dataSource" |
| | | :pagination="ipagination" |
| | | :loading="loading" |
| | | @change="handleTableChange" |
| | | > |
| | | </a-table> |
| | | </a-card> |
| | | </template> |
| | | |
| | | <script> |
| | | import { requestPut } from '@/api/manage' |
| | | import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
| | | |
| | | export default { |
| | | name: 'OutStoreDetailList', |
| | | mixins: [JeecgListMixin], |
| | | components: {}, |
| | | data() { |
| | | return { |
| | | url: { |
| | | list: '/tms/outStoreDetail/outStoreDetailList', |
| | | }, |
| | | queryParam: {}, |
| | | nodeType: 0, |
| | | dataSource: [], |
| | | disableMixinCreated:true, |
| | | columns: [ |
| | | { |
| | | title: 'å·¥å
·ç¼ç ', |
| | | align: 'center', |
| | | dataIndex: 'toolCode', |
| | | }, |
| | | { |
| | | title: 'å·¥å
·ç¼å·', |
| | | align: 'center', |
| | | dataIndex: 'onlyCode', |
| | | }, |
| | | { |
| | | title: 'å·¥å
·åç§°', |
| | | dataIndex: 'chineseName', |
| | | align: 'center', |
| | | key: 'toolName' |
| | | }, |
| | | { |
| | | title: 'åå·/å¾å·', |
| | | dataIndex: 'toolModel', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'åºåºåç¼å·', |
| | | dataIndex: 'outNum', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'åºåºç±»å', |
| | | dataIndex: 'outStorehouseTypeName', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'åºåºæ¹å¼', |
| | | dataIndex: 'operateType', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'ç»æäºº', |
| | | dataIndex: 'handler', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'åºåºæ¶é´', |
| | | dataIndex: 'outboundTime', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'åºåºæ°é', |
| | | dataIndex: 'outNumber', |
| | | align: 'center', |
| | | } |
| | | ], |
| | | para:{}, |
| | | } |
| | | }, |
| | | |
| | | methods: { |
| | | |
| | | }, |
| | | mounted() { |
| | | this.$bus.$on('getToolLedgerData', (data) => { |
| | | this.queryParam.toolCode = data.toolCode; |
| | | this.searchQuery(); |
| | | }) |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped> |
| | | @import '~@assets/less/common.less'; |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <a-card |
| | | :bordered="false" |
| | | class="card-area" |
| | | > |
| | | <a-table |
| | | ref="table" |
| | | bordered |
| | | size="middle" |
| | | rowKey="id" |
| | | :columns="columns" |
| | | :dataSource="dataSource" |
| | | :pagination="ipagination" |
| | | :loading="loading" |
| | | @change="handleTableChange" |
| | | > |
| | | </a-table> |
| | | </a-card> |
| | | </template> |
| | | |
| | | <script> |
| | | import { requestPut } from '@/api/manage' |
| | | import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
| | | |
| | | export default { |
| | | name: 'ToolLedgerDetailList', |
| | | mixins: [JeecgListMixin], |
| | | components: {}, |
| | | data() { |
| | | return { |
| | | url: { |
| | | list: '/tms/toolsStocktakingBound/toolsStocktakingList', |
| | | }, |
| | | queryParam: {}, |
| | | nodeType: 0, |
| | | dataSource: [], |
| | | disableMixinCreated:true, |
| | | columns: [ |
| | | { |
| | | title: 'å·¥å
·ç¼ç ', |
| | | align: 'center', |
| | | dataIndex: 'toolCode', |
| | | width: '10%', |
| | | }, |
| | | { |
| | | title: 'å·¥å
·ç¼å·', |
| | | align: 'center', |
| | | dataIndex: 'onlyCode', |
| | | width: '10%', |
| | | }, |
| | | { |
| | | title: 'å·¥å
·åç§°', |
| | | dataIndex: 'chineseName', |
| | | align: 'center', |
| | | key: 'toolName' |
| | | }, |
| | | { |
| | | title: 'åå·/å¾å·', |
| | | dataIndex: 'toolModel', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'çç¹åå·', |
| | | dataIndex: 'orderCode', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'çç¹åç§°', |
| | | dataIndex: 'stocktakingName', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'çç¹ç±»å', |
| | | dataIndex: 'stocktakingType', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'ç»æäºº', |
| | | dataIndex: 'handler', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'çåºæ¶é´', |
| | | dataIndex: 'stocktakingDate', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'çççäº', |
| | | dataIndex: 'surplusDeficit', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'è´¦é¢æ°é', |
| | | dataIndex: 'bookQuantity', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'å¯ç¨æ°é', |
| | | dataIndex: 'availableQuantity', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'å®çæ°é', |
| | | dataIndex: 'practicalQuantity', |
| | | align: 'center', |
| | | } |
| | | ], |
| | | para:{}, |
| | | } |
| | | }, |
| | | |
| | | methods: { |
| | | |
| | | }, |
| | | mounted() { |
| | | this.$bus.$on('getToolLedgerData', (data) => { |
| | | this.queryParam.toolCode = data.toolCode; |
| | | this.searchQuery(); |
| | | }) |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped> |
| | | @import '~@assets/less/common.less'; |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <a-card |
| | | :bordered="false" |
| | | class="card-area" |
| | | > |
| | | <a-table |
| | | ref="table" |
| | | bordered |
| | | size="middle" |
| | | rowKey="id" |
| | | :columns="columns" |
| | | :dataSource="dataSource" |
| | | :pagination="ipagination" |
| | | :loading="loading" |
| | | @change="handleTableChange" |
| | | > |
| | | </a-table> |
| | | </a-card> |
| | | </template> |
| | | |
| | | <script> |
| | | import { requestPut } from '@/api/manage' |
| | | import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
| | | |
| | | export default { |
| | | name: 'ToolLedgerDetailList', |
| | | mixins: [JeecgListMixin], |
| | | components: {}, |
| | | data() { |
| | | return { |
| | | url: { |
| | | list: '/tms/toolLedgerDetail/queryToolLedgerDetailList', |
| | | }, |
| | | queryParam: {}, |
| | | nodeType: 0, |
| | | dataSource: [], |
| | | disableMixinCreated:true, |
| | | columns: [ |
| | | { |
| | | title: 'å·¥å
·ç¼ç ', |
| | | align: 'center', |
| | | dataIndex: 'toolCode', |
| | | }, |
| | | { |
| | | title: 'å·¥å
·ç¼å·', |
| | | align: 'center', |
| | | dataIndex: 'onlyCode', |
| | | }, |
| | | { |
| | | title: 'å·¥å
·åç§°', |
| | | dataIndex: 'chineseName', |
| | | align: 'center', |
| | | key: 'toolName' |
| | | }, |
| | | { |
| | | title: 'åå·/å¾å·', |
| | | dataIndex: 'toolModel', |
| | | align: 'center', |
| | | }, |
| | | |
| | | { |
| | | title: 'å·¥å
·åç±»', |
| | | dataIndex: 'applicationType', |
| | | align: 'center', |
| | | } |
| | | ], |
| | | para:{}, |
| | | } |
| | | }, |
| | | |
| | | methods: { |
| | | |
| | | }, |
| | | mounted() { |
| | | this.$bus.$on('getToolLedgerData', (data) => { |
| | | this.queryParam.toolCode = data.toolCode; |
| | | this.searchQuery(); |
| | | }) |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped> |
| | | @import '~@assets/less/common.less'; |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <a-card |
| | | :loading="cardLoading" |
| | | :bordered="false" |
| | | title="å·¥å
·ä¿¡æ¯" |
| | | style="height: 100%;" |
| | | > |
| | | <a-spin :spinning="loading"> |
| | | <a-alert |
| | | type="info" |
| | | :showIcon="true" |
| | | style="margin-right: 54px;" |
| | | > |
| | | <div slot="message"> |
| | | å½åï¼<span v-if="this.currSelected.title">{{ getCurrSelectedTitle() }}</span> |
| | | <a |
| | | v-if="this.currSelected.title" |
| | | style="margin-left: 10px" |
| | | @click="onClearSelected" |
| | | >åæ¶</a> |
| | | </div> |
| | | </a-alert> |
| | | <!-- <div class="drawer-bootom-button"> |
| | | <a-dropdown |
| | | :trigger="['click']" |
| | | placement="bottomCenter" |
| | | > |
| | | <a-menu slot="overlay"> |
| | | <a-menu-item |
| | | key="1" |
| | | @click="expandAll" |
| | | >å±å¼ææ</a-menu-item> |
| | | <a-menu-item |
| | | key="2" |
| | | @click="closeAll" |
| | | >åå¹¶ææ</a-menu-item> |
| | | <a-menu-item |
| | | key="3" |
| | | @click="refreshTree" |
| | | >å·æ°</a-menu-item> |
| | | </a-menu> |
| | | <a-button> |
| | | <a-icon type="bars" /> |
| | | </a-button> |
| | | </a-dropdown> |
| | | </div> --> |
| | | |
| | | <a-input-search |
| | | @search="handleSearch" |
| | | style="width:100%;margin-top: 10px" |
| | | placeholder="æ£ç´¢å·¥å
·åç±»" |
| | | allowClear |
| | | v-model="searchInput" |
| | | @change="handleChange" |
| | | /> |
| | | |
| | | <!-- showLine --> |
| | | <a-tree |
| | | :checkStrictly="checkStrictly" |
| | | |
| | | :selectedKeys="selectedKeys" |
| | | :dropdownStyle="{maxHeight:'200px',overflow:'auto'}" |
| | | :treeData="treeDataSource" |
| | | |
| | | :defaultExpandAll="true" |
| | | @select="onSelect" |
| | | @expand="onExpand" |
| | | > |
| | | <template |
| | | slot="title" |
| | | slot-scope="{title, type, rfield1}" |
| | | > |
| | | <Tooltip |
| | | placement="top" |
| | | title="å·¥å
·åç±»" |
| | | > |
| | | <i |
| | | v-if="type == 0" |
| | | class="action-jeecg actioncompany2" |
| | | style="font-size: 18px;" |
| | | /> |
| | | </Tooltip> |
| | | |
| | | <span v-if="title.indexOf(searchValue) > -1"> |
| | | {{ title.substr(0, title.indexOf(searchValue)) }} |
| | | <span class="replaceSearch">{{ searchValue }}</span> |
| | | {{ title.substr(title.indexOf(searchValue) + searchValue.length) }} |
| | | </span> |
| | | <span v-else>{{ title }}</span> |
| | | |
| | | </template> |
| | | </a-tree> |
| | | </a-spin> |
| | | </a-card> |
| | | </template> |
| | | |
| | | <script> |
| | | import { getAction } from '@/api/manage' |
| | | import Tooltip from 'ant-design-vue/es/tooltip' |
| | | export default { |
| | | name: 'ToolLedgerListLeft', |
| | | components: { |
| | | Tooltip, |
| | | }, |
| | | props: ['value'], |
| | | data() { |
| | | return { |
| | | searchInput: '', |
| | | cardLoading: false, |
| | | loading: false, |
| | | treeDataSource: [], |
| | | selectedKeys: [], |
| | | expandedKeys: [], |
| | | url: { |
| | | factoryTreeList: '/tms/toolsClassify/loadTree', |
| | | }, |
| | | searchValue: '', |
| | | dataList: [], |
| | | autoExpandParent: true, |
| | | checkStrictly: true, |
| | | allTreeKeys: [], |
| | | currSelected: {}, |
| | | hiding: false, |
| | | } |
| | | }, |
| | | created() { |
| | | this.queryTreeData(); |
| | | this.closeAll(); |
| | | }, |
| | | methods: { |
| | | getCurrSelectedTitle() { |
| | | return !this.currSelected.title ? '' : this.currSelected.title; |
| | | }, |
| | | onClearSelected() { |
| | | this.hiding = true; |
| | | this.currSelected = {}; |
| | | this.selectedKeys = []; |
| | | }, |
| | | onSelect(selectedKeys, e) { |
| | | this.hiding = false; |
| | | let record = e.node.dataRef; |
| | | this.currSelected = Object.assign({}, record); |
| | | this.selectedKeys = [record.key]; |
| | | }, |
| | | onExpand(expandedKeys) { |
| | | this.expandedKeys = expandedKeys; |
| | | this.autoExpandParent = false; |
| | | }, |
| | | queryTreeData() { |
| | | this.loading = true; |
| | | this.cardLoading = true; |
| | | getAction(this.url.factoryTreeList).then((res) => { |
| | | if (res.success) { |
| | | this.dataList = []; |
| | | this.allTreeKeys = []; |
| | | this.treeDataSource = res.result; |
| | | this.generateList(res.result); |
| | | } else { |
| | | this.$message.warn(res.message); |
| | | } |
| | | }).finally(() => { |
| | | this.loading = false; |
| | | this.cardLoading = false; |
| | | }) |
| | | }, |
| | | |
| | | handleChange() { |
| | | let search = this.searchInput; |
| | | let expandedKeys = this.dataList |
| | | .map(item => { |
| | | if (item.title.indexOf(search) > -1) { |
| | | return this.getParentKey(item.key, this.treeDataSource); |
| | | } |
| | | return null; |
| | | }) |
| | | .filter((item, i, self) => item && self.indexOf(item) === i); |
| | | Object.assign(this, { |
| | | expandedKeys, |
| | | searchValue: search, |
| | | autoExpandParent: true, |
| | | }); |
| | | }, |
| | | handleSearch(value) { |
| | | let search = value; |
| | | let expandedKeys = this.dataList |
| | | .map(item => { |
| | | if (item.title.indexOf(search) > -1) { |
| | | return this.getParentKey(item.key, this.treeDataSource); |
| | | } |
| | | return null; |
| | | }) |
| | | .filter((item, i, self) => item && self.indexOf(item) === i); |
| | | Object.assign(this, { |
| | | expandedKeys, |
| | | searchValue: search, |
| | | autoExpandParent: true, |
| | | }); |
| | | }, |
| | | getParentKey(key, tree) { |
| | | let parentKey; |
| | | for (let i = 0; i < tree.length; i++) { |
| | | const node = tree[i]; |
| | | if (node.children) { |
| | | if (node.children.some(item => item.key === key)) { |
| | | parentKey = node.key; |
| | | } else if ( |
| | | this.getParentKey(key, node.children)) { |
| | | parentKey = this.getParentKey(key, node.children); |
| | | } |
| | | } |
| | | } |
| | | return parentKey; |
| | | }, |
| | | |
| | | generateList(data) { |
| | | for (let i = 0; i < data.length; i++) { |
| | | const node = data[i]; |
| | | const key = node.key; |
| | | const title = node.title; |
| | | this.dataList.push({ key, title: title }); |
| | | this.allTreeKeys.push(key); |
| | | if (node.children) { |
| | | this.generateList(node.children); |
| | | } |
| | | } |
| | | }, |
| | | expandAll() { |
| | | this.expandedKeys = this.allTreeKeys; |
| | | }, |
| | | closeAll() { |
| | | this.expandedKeys = []; |
| | | }, |
| | | refreshTree() { |
| | | this.queryTreeData(); |
| | | } |
| | | }, |
| | | mounted() { |
| | | this.$bus.$on('queryTreeData', this.queryTreeData); |
| | | }, |
| | | //çå¬ |
| | | watch: { |
| | | currSelected(val) {//çå¬currSelected ååï¼å°åååçæ°å¼ä¼ éç» getCurrSelected äºä»¶ |
| | | this.$bus.$emit('getCurrSelected', val) |
| | | }, |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped> |
| | | .replaceSearch { |
| | | color: #40a9ff; |
| | | font-weight: bold; |
| | | background-color: rgb(204, 204, 204); |
| | | } |
| | | /*éèæ çé»è®¤icon*/ |
| | | .ant-tree-switcher-noop { |
| | | display: none !important; |
| | | } |
| | | /*éèæ çé»è®¤ç«çº¿*/ |
| | | .ant-tree.ant-tree-show-line li:not(:last-child):before { |
| | | border-left: 0px; |
| | | } |
| | | |
| | | .ant-card-body .table-operator { |
| | | margin: 15px; |
| | | } |
| | | |
| | | .anty-form-btn { |
| | | width: 100%; |
| | | text-align: center; |
| | | } |
| | | |
| | | .anty-form-btn button { |
| | | margin: 0 5px; |
| | | } |
| | | |
| | | .anty-node-layout .ant-layout-header { |
| | | padding-right: 0; |
| | | } |
| | | |
| | | .header { |
| | | padding: 0 8px; |
| | | } |
| | | |
| | | .header button { |
| | | margin: 0 3px; |
| | | } |
| | | |
| | | .ant-modal-cust-warp { |
| | | height: 100%; |
| | | } |
| | | |
| | | .ant-modal-cust-warp .ant-modal-body { |
| | | height: calc(100% - 110px) !important; |
| | | overflow-y: auto; |
| | | } |
| | | |
| | | .ant-modal-cust-warp .ant-modal-content { |
| | | height: 90% !important; |
| | | overflow-y: hidden; |
| | | } |
| | | |
| | | #app .desktop { |
| | | height: auto !important; |
| | | } |
| | | |
| | | /** Buttonæé®é´è· */ |
| | | .ant-btn { |
| | | margin-left: 3px; |
| | | } |
| | | .ant-alert { |
| | | padding: 5px 15px 5px 37px; |
| | | } |
| | | .drawer-bootom-button { |
| | | position: absolute; |
| | | top: 1px; |
| | | /* padding: 10px 16px; */ |
| | | text-align: left; |
| | | right: 0; |
| | | background: #fff; |
| | | border-radius: 0 0 2px 2px; |
| | | } |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <a-card :bordered="false"> |
| | | <!-- æ¥è¯¢åºå --> |
| | | <div class="table-page-search-wrapper"> |
| | | <a-form layout="inline" @keyup.enter.native="searchQuery"> |
| | | <a-row :gutter="24"> |
| | | <a-col |
| | | :md="6" |
| | | :sm="8" |
| | | > |
| | | <a-form-item |
| | | label="å·¥å
·ç¼å·" |
| | | :labelCol="{span: 5}" |
| | | :wrapperCol="{span: 18, offset: 1}" |
| | | > |
| | | <a-input |
| | | placeholder="请è¾å
¥å·¥å
·ç¼å·æ£ç´¢" |
| | | v-model="queryParam.toolCode" |
| | | ></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col |
| | | :md="6" |
| | | :sm="8" |
| | | > |
| | | <a-form-item |
| | | label="åå·/å¾å·" |
| | | :labelCol="{span: 5}" |
| | | :wrapperCol="{span: 18, offset: 1}" |
| | | > |
| | | <a-input |
| | | placeholder="请è¾å
¥åå·/å¾å·æ£ç´¢" |
| | | v-model="queryParam.toolModel" |
| | | ></a-input> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :md="6" :sm="24"> |
| | | <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons"> |
| | | <a-button type="primary" @click="searchQuery" icon="search">æ¥è¯¢</a-button> |
| | | <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">éç½®</a-button> |
| | | </span> |
| | | </a-col> |
| | | |
| | | </a-row> |
| | | </a-form> |
| | | </div> |
| | | <!-- æ¥è¯¢åºå-END --> |
| | | |
| | | <!-- æä½æé®åºå --> |
| | | |
| | | <!-- tableåºå-begin --> |
| | | <div> |
| | | |
| | | <a-table |
| | | ref="table" |
| | | size="middle" |
| | | :scroll="{x:true}" |
| | | bordered |
| | | rowKey="id" |
| | | :columns="columns" |
| | | :dataSource="dataSource" |
| | | :pagination="ipagination" |
| | | :loading="loading" |
| | | :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange,type:'radio'}" |
| | | class="j-table-force-nowrap" |
| | | :customRow="customRow" |
| | | @change="handleTableChange"> |
| | | |
| | | <template slot="htmlSlot" slot-scope="text"> |
| | | <div v-html="text"></div> |
| | | </template> |
| | | <template slot="imgSlot" slot-scope="text,record"> |
| | | <span v-if="!text" style="font-size: 12px;font-style: italic;">æ å¾ç</span> |
| | | <img v-else :src="getImgView(text)" :preview="record.id" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/> |
| | | </template> |
| | | <template slot="fileSlot" slot-scope="text"> |
| | | <span v-if="!text" style="font-size: 12px;font-style: italic;">æ æä»¶</span> |
| | | <a-button |
| | | v-else |
| | | :ghost="true" |
| | | type="primary" |
| | | icon="download" |
| | | size="small" |
| | | @click="downloadFile(text)"> |
| | | ä¸è½½ |
| | | </a-button> |
| | | </template> |
| | | </a-table> |
| | | </div> |
| | | |
| | | <a-tabs defaultActiveKey="1"> |
| | | <a-tab-pane key="1"> |
| | | <span slot="tab"> |
| | | <a-badge>åæ° </a-badge> |
| | | </span> |
| | | <para-hole-tools-list ref="paraHoleToolsList"></para-hole-tools-list> |
| | | <para-threading-tool-list ref="paraThreadingToolList"></para-threading-tool-list> |
| | | <para-mill-tool-list ref="paraMillToolList"></para-mill-tool-list> |
| | | <para-turning-tools-list ref="paraTurningToolsList"></para-turning-tools-list> |
| | | <para-blade-list ref="paraBladeList"></para-blade-list> |
| | | <para-common-tool-list ref="paraCommonToolList"></para-common-tool-list> |
| | | </a-tab-pane> |
| | | |
| | | <a-tab-pane |
| | | key="2" |
| | | forceRender |
| | | > |
| | | <span slot="tab"> |
| | | <a-badge>管çåæ° </a-badge> |
| | | </span> |
| | | <tools-config-property-list ref="toolsConfigPropertyList"></tools-config-property-list> |
| | | </a-tab-pane> |
| | | |
| | | <a-tab-pane |
| | | key="3" |
| | | forceRender |
| | | > |
| | | <span slot="tab"> |
| | | <a-badge>æå· </a-badge> |
| | | </span> |
| | | <tool-ledger-detail-list ref="toolLedgerDetailList"></tool-ledger-detail-list> |
| | | </a-tab-pane> |
| | | |
| | | <a-tab-pane |
| | | key="4" |
| | | forceRender |
| | | > |
| | | <span slot="tab"> |
| | | <a-badge>å
¥åºä¿¡æ¯ </a-badge> |
| | | </span> |
| | | <in-store-detail-list ref="inStoreDetailList"></in-store-detail-list> |
| | | </a-tab-pane> |
| | | |
| | | <a-tab-pane |
| | | key="5" |
| | | forceRender |
| | | > |
| | | <span slot="tab"> |
| | | <a-badge>åºåºä¿¡æ¯ </a-badge> |
| | | </span> |
| | | <out-store-detail-list ref="outStoreDetailList"></out-store-detail-list> |
| | | </a-tab-pane> |
| | | |
| | | <a-tab-pane |
| | | key="6" |
| | | forceRender |
| | | > |
| | | <span slot="tab"> |
| | | <a-badge>åç£¨ä¿¡æ¯ </a-badge> |
| | | </span> |
| | | <tool-sharpen-list ref="toolSharpenList"></tool-sharpen-list> |
| | | </a-tab-pane> |
| | | |
| | | <a-tab-pane |
| | | key="7" |
| | | forceRender |
| | | > |
| | | <span slot="tab"> |
| | | <a-badge>æ¥æä¿¡æ¯ </a-badge> |
| | | </span> |
| | | <tool-loss-list ref="toolLossList"></tool-loss-list> |
| | | </a-tab-pane> |
| | | |
| | | <a-tab-pane |
| | | key="8" |
| | | forceRender |
| | | > |
| | | <span slot="tab"> |
| | | <a-badge>çç¹ä¿¡æ¯ </a-badge> |
| | | </span> |
| | | <stocktaking-list ref="stocktakingList"></stocktaking-list> |
| | | </a-tab-pane> |
| | | </a-tabs> |
| | | </a-card> |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | import '@/assets/less/TableExpand.less' |
| | | import { mixinDevice } from '@/utils/mixin' |
| | | import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
| | | import Tooltip from 'ant-design-vue/es/tooltip' |
| | | import { getAction, postAction, deleteAction, requestPut } from '@api/manage' |
| | | import ParaHoleToolsList from '../baseTools/ParaHoleToolsList' |
| | | import ToolsConfigPropertyList from '../baseTools/ToolsConfigPropertyList' |
| | | import ParaMillToolList from '../baseTools/ParaMillToolList' |
| | | import ParaThreadingToolList from '../baseTools/ParaThreadingToolList' |
| | | import ParaTurningToolsList from '../baseTools/ParaTurningToolsList' |
| | | import ParaCommonToolList from '../baseTools/ParaCommonToolList' |
| | | import ParaBladeList from '../baseTools/ParaBladeList' |
| | | import ToolLedgerDetailList from './ToolLedgerDetailList' |
| | | import ToolLossList from './ToolLossList' |
| | | import ToolSharpenList from './ToolSharpenList' |
| | | import StocktakingList from './StocktakingList' |
| | | import InStoreDetailList from './InStoreDetailList' |
| | | import OutStoreDetailList from './OutStoreDetailList' |
| | | |
| | | export default { |
| | | name: 'ToolLedgerListRight', |
| | | mixins:[JeecgListMixin, mixinDevice], |
| | | components: { |
| | | Tooltip, |
| | | ParaHoleToolsList, |
| | | ToolsConfigPropertyList, |
| | | ParaMillToolList, |
| | | ParaThreadingToolList, |
| | | ParaTurningToolsList, |
| | | ParaCommonToolList, |
| | | ParaBladeList, |
| | | ToolLedgerDetailList, |
| | | ToolLossList, |
| | | ToolSharpenList, |
| | | StocktakingList, |
| | | InStoreDetailList, |
| | | OutStoreDetailList |
| | | }, |
| | | data () { |
| | | return { |
| | | description: 'å·¥å
·å°è´¦ä¿¡æ¯ç®¡ç页é¢', |
| | | /* å页忰 */ |
| | | ipagination:{ |
| | | current: 1, |
| | | pageSize: 10, |
| | | pageSizeOptions: ['10', '20', '50'], |
| | | showTotal: (total, range) => { |
| | | return range[0] + "-" + range[1] + " å
±" + total + "æ¡" |
| | | }, |
| | | showQuickJumper: true, |
| | | showSizeChanger: true, |
| | | total: 0 |
| | | }, |
| | | // 表头 |
| | | columns: [ |
| | | { |
| | | title: '#', |
| | | dataIndex: '', |
| | | key:'rowIndex', |
| | | width:60, |
| | | align:"center", |
| | | customRender:function (t,r,index) { |
| | | return parseInt(index)+1; |
| | | } |
| | | }, |
| | | { |
| | | title:'å·¥å
·ç¼ç ', |
| | | align:"center", |
| | | dataIndex: 'toolCode' |
| | | }, |
| | | { |
| | | title:'åºå·', |
| | | align:"center", |
| | | dataIndex: 'signCode' |
| | | }, |
| | | { |
| | | title:'䏿åç§°', |
| | | align:"center", |
| | | dataIndex: 'chineseName' |
| | | }, |
| | | // { |
| | | // title:'夿åç§°', |
| | | // align:"center", |
| | | // dataIndex: 'foreignLanguageName' |
| | | // }, |
| | | // { |
| | | // title:'æ æ³¨çº§å«', |
| | | // align:"center", |
| | | // dataIndex: 'standardLevel' |
| | | // }, |
| | | // { |
| | | // title:'æ åå·', |
| | | // align:"center", |
| | | // dataIndex: 'standardCode' |
| | | // }, |
| | | { |
| | | title:'åå·/å¾å·', |
| | | align:"center", |
| | | dataIndex: 'toolModel' |
| | | }, |
| | | { |
| | | title:'å·¥å
፱Ȍ', |
| | | align:"center", |
| | | dataIndex: 'applicationType' |
| | | }, |
| | | { |
| | | title:'管çç级', |
| | | align:"center", |
| | | dataIndex: 'accuracyClass' |
| | | }, |
| | | { |
| | | title:'åå¨ä½ç½®', |
| | | align:"center", |
| | | dataIndex: 'storageLocation' |
| | | }, |
| | | { |
| | | title:'åºä½å·', |
| | | align:"center", |
| | | dataIndex: 'positionCode' |
| | | }, |
| | | { |
| | | title:'æä½åºå', |
| | | align:"center", |
| | | dataIndex: 'lowerInventory' |
| | | }, |
| | | { |
| | | title:'æé«åºå', |
| | | align:"center", |
| | | dataIndex: 'highestInventory' |
| | | }, |
| | | { |
| | | title:'æ»åºå', |
| | | align:"center", |
| | | dataIndex: 'totalCount' |
| | | }, |
| | | { |
| | | title:'å¯ç¨åºå', |
| | | align:"center", |
| | | dataIndex: 'availableCount' |
| | | }, |
| | | { |
| | | title:'æ¥æ', |
| | | align:"center", |
| | | dataIndex: 'lossCount' |
| | | }, |
| | | { |
| | | title:'å¨å', |
| | | align:"center", |
| | | dataIndex: 'lendCount' |
| | | }, |
| | | { |
| | | title:'å¨ç£¨', |
| | | align:"center", |
| | | dataIndex: 'sharpeningCount' |
| | | }, |
| | | { |
| | | title:'卿£', |
| | | align:"center", |
| | | dataIndex: 'detectionCount' |
| | | }, |
| | | { |
| | | title:'å¨ä¿®', |
| | | align:"center", |
| | | dataIndex: 'repairCount' |
| | | } |
| | | // { |
| | | // title:'夿³¨', |
| | | // align:"center", |
| | | // dataIndex: 'remark' |
| | | // } |
| | | // { |
| | | // title:'å建人', |
| | | // align:"center", |
| | | // dataIndex: 'createBy' |
| | | // }, |
| | | // { |
| | | // title:'å建æ¶é´', |
| | | // align:"center", |
| | | // dataIndex: 'createTime', |
| | | // customRender:function (text) { |
| | | // return !text?"":(text.length>10?text.substr(0,10):text) |
| | | // } |
| | | // } |
| | | ], |
| | | url: { |
| | | list: "/tms/baseTools/list", |
| | | paraHolesToolsList:"/tms/baseTools/paraHolesToolsList", |
| | | paraCommonToolList:"/tms/baseTools/paraCommonToolList", |
| | | paraThreadingToolList:"/tms/baseTools/paraThreadingToolList", |
| | | paraMillToolList:"/tms/baseTools/paraMillToolList", |
| | | paraTurningToolsList:"/tms/baseTools/paraTurningToolsList", |
| | | paraBladeList:"/tms/baseTools/paraBladeList", |
| | | delete: "/tms/baseTools/delete", |
| | | deleteBatch: "/tms/baseTools/deleteBatch", |
| | | edit: '/tms/baseTools/edit', |
| | | exportXlsUrl: "/tms/baseTools/exportXls", |
| | | importExcelUrl: "tms/baseTools/importExcel", |
| | | queryParaByToolCode:"/tms/baseTools/queryByToolCode", |
| | | queryByToolCode:"/tms/toolsConfigProperty/queryByToolCode", |
| | | toolLedgerList:"/tms/toolLedger/toolLedgerList", |
| | | toolLedgerDetailList:"/tms/toolLedgerDetail/list" |
| | | }, |
| | | dictOptions:{}, |
| | | superFieldList:[], |
| | | nodeSelected: {}, // å½åéä¸çèç¹æ°æ® |
| | | paraTypeFlag:'', |
| | | disableMixinCreated:true |
| | | } |
| | | }, |
| | | created() { |
| | | this.$bus.$on('getCurrSelected', (data) => { |
| | | //getCurrSelected äºä»¶ æ¥æ¶ç»ä»¶ä¼ éçåæ° |
| | | this.nodeType = (data.type == undefined ? 0 : data.type); |
| | | this.paraTypeFlag = (data.entity == undefined ? 0 : data.entity.paraTypeFlag) |
| | | this.nodeSelected = data; |
| | | this.loadData() |
| | | this.clearPara() |
| | | }) |
| | | }, |
| | | computed: { |
| | | importExcelUrl: function(){ |
| | | return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`; |
| | | }, |
| | | }, |
| | | methods: { |
| | | |
| | | modalFormOk() { |
| | | this.loadData(); // å·æ°è¡¨æ ¼æ°æ® |
| | | this.$bus.$emit('queryTreeData') //å·æ°å·¦ä¾§æ |
| | | }, |
| | | |
| | | onSelectChange(selectedRowKeys,selectionRows) { |
| | | this.selectedRowKeys = selectedRowKeys; |
| | | this.selectionRows = selectionRows |
| | | //éè¿idæ¥è¯¢ç®¡çåæ°ååæ°æ°æ® |
| | | getAction(this.url.queryParaByToolCode, { toolCode: this.selectedRowKeys[0],paraTypeFlag:this.paraTypeFlag}).then((res) => { |
| | | if (res.success) { |
| | | if(this.paraTypeFlag === "1"){ |
| | | this.$refs.paraCommonToolList.getPara(res.result); |
| | | }else if(this.paraTypeFlag === "2"){ |
| | | this.$refs.paraHoleToolsList.getPara(res.result); |
| | | }else if(this.paraTypeFlag === "3"){ |
| | | this.$refs.paraThreadingToolList.getPara(res.result); |
| | | }else if(this.paraTypeFlag === "4"){ |
| | | this.$refs.paraMillToolList.getPara(res.result); |
| | | }else if(this.paraTypeFlag === "5"){ |
| | | this.$refs.paraTurningToolsList.getPara(res.result); |
| | | }else if(this.paraTypeFlag === "6"){ |
| | | this.$refs.paraBladeList.getPara(res.result); |
| | | } |
| | | } else { |
| | | this.$message.warning(res.message); |
| | | } |
| | | }) |
| | | getAction(this.url.queryByToolCode, { toolCode: this.selectedRowKeys[0]}).then((res) => { |
| | | if (res.success) { |
| | | this.$refs.toolsConfigPropertyList.getPara(res.result); |
| | | } else { |
| | | this.$message.warning(res.message); |
| | | } |
| | | }) |
| | | this.$bus.$emit('getToolLedgerData', this.selectionRows[0]) |
| | | }, |
| | | //ç¦ç¨ç¶ææ ·å¼ |
| | | tableRowClass(record, index) { |
| | | if (record.status != "1") { |
| | | return "frozenRowClass"; |
| | | } |
| | | return ""; |
| | | }, |
| | | loadData() { |
| | | let params = this.getQueryParams(); |
| | | if (this.nodeSelected && this.nodeSelected.key !== '-1') { |
| | | // å è½½éä¸èç¹çåç±» |
| | | params.classifyId = this.nodeSelected.key; |
| | | this.loading = true; |
| | | let httpUrl = this.url.toolLedgerList |
| | | getAction(httpUrl, params) |
| | | .then((res) => { |
| | | if (res.success) { |
| | | this.dataSource = res.result.records; // æ´æ°è¡¨æ ¼æ°æ® |
| | | this.ipagination.total = res.result.total |
| | | } else { |
| | | this.$message.warning("è¯·éæ©å¶åèç¹è¿è¡æ¥è¯¢"); |
| | | this.ipagination.total = 0 |
| | | } |
| | | }) |
| | | .finally(() => { |
| | | this.loading = false; |
| | | }); |
| | | } else { |
| | | this.$message.warning("è¯·éæ©å¶åèç¹è¿è¡æ¥è¯¢"); |
| | | } |
| | | }, |
| | | onClearSelected() { |
| | | this.selectedKeys = []; |
| | | this.nodeSelected = {}; // æ¸
空éä¸çèç¹ |
| | | this.dataSource = []; // æ¸
ç©ºè¡¨æ ¼æ°æ® |
| | | }, |
| | | //éç½® |
| | | searchReset() { |
| | | this.queryParam = {} |
| | | this.loadData(1); |
| | | this.clearPara() |
| | | }, |
| | | //æ¸
空éä¸ååæ° |
| | | clearPara(){ |
| | | this.selectedRowKeys = [] |
| | | this.$refs.paraCommonToolList.visable = false |
| | | this.$refs.paraHoleToolsList.visable = false |
| | | this.$refs.paraThreadingToolList.visable = false |
| | | this.$refs.paraMillToolList.visable = false |
| | | this.$refs.paraTurningToolsList.visable = false |
| | | this.$refs.paraBladeList.visable = false |
| | | this.$refs.toolsConfigPropertyList.visable = false |
| | | }, |
| | | customRow(record) { |
| | | return { |
| | | on: { |
| | | click: () => { |
| | | this.onSelectChange(record.id.split(","), [record]); |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | |
| | | }, |
| | | } |
| | | </script> |
| | | <style scoped> |
| | | @import '~@assets/less/common.less'; |
| | | .enable { |
| | | color: green; |
| | | } |
| | | .disable { |
| | | color: red; |
| | | } |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <a-card |
| | | :bordered="false" |
| | | class="card-area" |
| | | > |
| | | <a-table |
| | | ref="table" |
| | | bordered |
| | | size="middle" |
| | | rowKey="id" |
| | | :columns="columns" |
| | | :dataSource="dataSource" |
| | | :pagination="ipagination" |
| | | :loading="loading" |
| | | @change="handleTableChange" |
| | | > |
| | | </a-table> |
| | | </a-card> |
| | | </template> |
| | | |
| | | <script> |
| | | import { requestPut } from '@/api/manage' |
| | | import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
| | | |
| | | export default { |
| | | name: 'ToolLossList', |
| | | mixins: [JeecgListMixin], |
| | | components: {}, |
| | | data() { |
| | | return { |
| | | url: { |
| | | list: '/tms/toolsLossBound/toolLossDetailList', |
| | | }, |
| | | queryParam: {}, |
| | | nodeType: 0, |
| | | dataSource: [], |
| | | disableMixinCreated:true, |
| | | columns: [ |
| | | { |
| | | title: 'å·¥å
·ç¼ç ', |
| | | align: 'center', |
| | | dataIndex: 'toolCode', |
| | | width: '10%', |
| | | }, |
| | | { |
| | | title: 'å·¥å
·ç¼å·', |
| | | align: 'center', |
| | | dataIndex: 'onlyCode', |
| | | width: '10%', |
| | | }, |
| | | { |
| | | title: 'å·¥å
·åç§°', |
| | | dataIndex: 'chineseName', |
| | | align: 'center', |
| | | key: 'toolName' |
| | | }, |
| | | { |
| | | title: 'åå·/å¾å·', |
| | | dataIndex: 'toolModel', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'æ¥æåå·', |
| | | dataIndex: 'orderCode', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'ç»æäºº', |
| | | dataIndex: 'handler', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'æ¥æåå ', |
| | | dataIndex: 'lossReason', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'æ¥ææ¶é´', |
| | | dataIndex: 'lossTime', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'æ¥ææ°é', |
| | | dataIndex: 'lossNumber', |
| | | align: 'center', |
| | | } |
| | | ], |
| | | para:{}, |
| | | } |
| | | }, |
| | | |
| | | methods: { |
| | | |
| | | }, |
| | | mounted() { |
| | | this.$bus.$on('getToolLedgerData', (data) => { |
| | | this.queryParam.toolCode = data.toolCode; |
| | | this.searchQuery(); |
| | | }) |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped> |
| | | @import '~@assets/less/common.less'; |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <a-card |
| | | :bordered="false" |
| | | class="card-area" |
| | | > |
| | | <a-table |
| | | ref="table" |
| | | bordered |
| | | size="middle" |
| | | rowKey="id" |
| | | :columns="columns" |
| | | :dataSource="dataSource" |
| | | :pagination="ipagination" |
| | | :loading="loading" |
| | | @change="handleTableChange" |
| | | > |
| | | </a-table> |
| | | </a-card> |
| | | </template> |
| | | |
| | | <script> |
| | | import { requestPut } from '@/api/manage' |
| | | import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
| | | |
| | | export default { |
| | | name: 'ToolSharpenList', |
| | | mixins: [JeecgListMixin], |
| | | components: {}, |
| | | data() { |
| | | return { |
| | | url: { |
| | | list: '/tms/toolSharpening/toolSharpeningList', |
| | | }, |
| | | queryParam: {}, |
| | | nodeType: 0, |
| | | dataSource: [], |
| | | disableMixinCreated:true, |
| | | columns: [ |
| | | { |
| | | title: 'å·¥å
·ç¼ç ', |
| | | align: 'center', |
| | | dataIndex: 'toolCode', |
| | | width: '10%', |
| | | }, |
| | | { |
| | | title: 'å·¥å
·ç¼å·', |
| | | align: 'center', |
| | | dataIndex: 'onlyCode', |
| | | width: '10%', |
| | | }, |
| | | { |
| | | title: 'å·¥å
·åç§°', |
| | | dataIndex: 'chineseName', |
| | | align: 'center', |
| | | key: 'toolName' |
| | | }, |
| | | { |
| | | title: 'åå·/å¾å·', |
| | | dataIndex: 'toolModel', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: '责任人', |
| | | dataIndex: 'toolModel', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'å磨æ¶é´', |
| | | dataIndex: 'toolModel', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'åç£¨ç»æå建议', |
| | | dataIndex: 'toolModel', |
| | | align: 'center', |
| | | }, |
| | | { |
| | | title: 'åç£¨ç¶æ', |
| | | dataIndex: 'toolModel', |
| | | align: 'center', |
| | | }, |
| | | ], |
| | | para:{}, |
| | | } |
| | | }, |
| | | |
| | | methods: { |
| | | |
| | | }, |
| | | mounted() { |
| | | this.$bus.$on('getToolLedgerData', (data) => { |
| | | this.queryParam.toolCode = data.toolCode; |
| | | this.searchQuery(); |
| | | }) |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped> |
| | | @import '~@assets/less/common.less'; |
| | | </style> |
| | |
| | | this.expandedKeys = this.allTreeKeys; |
| | | }, |
| | | closeAll() { |
| | | this.expandedKeys = this.allSiteIds; |
| | | this.expandedKeys = []; |
| | | }, |
| | | refreshTree() { |
| | | this.queryTreeData(); |
| | |
| | | <template> |
| | | <a-card :bordered="false"> |
| | | |
| | | <!-- æ¥è¯¢åºå --> |
| | | <div class="table-page-search-wrapper"> |
| | | <a-form layout="inline" @keyup.enter.native="searchQuery"> |
| | |
| | | </a-col> |
| | | <a-col :xl="6" :lg="7" :md="8" :sm="24"> |
| | | <a-form-item label="å磨æ¶é´"> |
| | | <a-range-picker v-model="queryParam.sharpeningTime" @change="onInspectionDateChange" format="YYYY-MM-DD" value-format="YYYY-MM-DD" /> |
| | | <a-range-picker v-model="queryParam.sharpeningTime" @change="onToolSharpeningDateChange" format="YYYY-MM-DD" value-format="YYYY-MM-DD" /> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :xl="4" :lg="7" :md="8" :sm="24"> |
| | |
| | | </a-row> |
| | | </a-form> |
| | | </div> |
| | | <!-- æ¥è¯¢åºå-END --> |
| | | |
| | | <!-- æä½æé®åºå --> |
| | | <div class="table-operator"> |
| | | <div class="table-operator"> |
| | | <a-button @click="handleAdd" type="primary" icon="plus">æ°å¢</a-button> |
| | | </div> |
| | | <a-button @click="handleAdd" type="primary" icon="plus">æ°å¢</a-button> |
| | | <a-dropdown v-if="selectedRowKeys.length > 0"> |
| | | <a-menu slot="overlay"> |
| | | <a-menu-item key="1" @click="batchDel"> |
| | | <a-icon type="delete" /> |
| | | å é¤ |
| | | </a-menu-item> |
| | | </a-menu> |
| | | <a-button style="margin-left: 8px"> æ¹éæä½ |
| | | <a-icon type="down" /> |
| | | </a-button> |
| | | </a-dropdown> |
| | | </div> |
| | | |
| | | <!-- tableåºå-begin --> |
| | | <div> |
| | | |
| | | <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;"> |
| | | <i class="anticon anticon-info-circle ant-alert-icon"></i> 已鿩 <a |
| | | style="font-weight: 600">{{ selectedRowKeys.length }}</a>项 |
| | | <a style="margin-left: 24px" @click="onClearSelected">æ¸
空</a> |
| | | </div> |
| | | |
| | | <a-table |
| | | ref="table" |
| | | size="middle" |
| | | :scroll="{x:true}" |
| | | bordered |
| | | rowKey="id" |
| | | :columns="columns" |
| | | :dataSource="dataSource" |
| | | :pagination="ipagination" |
| | | :loading="loading" |
| | | :rowSelection="null" |
| | | class="j-table-force-nowrap" |
| | | :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" |
| | | @change="handleTableChange"> |
| | | |
| | | |
| | | |
| | | <span slot="action" slot-scope="text, record"> |
| | | <a @click="handleDetail(record)">详æ
</a> |
| | | <a @click="handleEdit(record)">ç¼è¾</a> |
| | | |
| | | <a-divider type="vertical" /> |
| | | <a-dropdown> |
| | | <a class="ant-dropdown-link">æ´å¤ <a-icon type="down" /></a> |
| | | <a-menu slot="overlay"> |
| | | <a-menu-item> |
| | | <a @click="handleEdit(record)">ç¼è¾</a> |
| | | <a @click="handleDetail(record)">详æ
</a> |
| | | </a-menu-item> |
| | | <a-menu-item> |
| | | <a-popconfirm title="ç¡®å®å é¤å?" @confirm="() => handleDelete(record.id)"> |
| | | <a>å é¤</a> |
| | | </a-popconfirm> |
| | | </a-menu-item> |
| | | |
| | | </a-menu> |
| | | </a-dropdown> |
| | | </span> |
| | | |
| | | </a-table> |
| | | </div> |
| | | <!-- tableåºå-end --> |
| | | |
| | | <tools-sharpening-modal ref="modalForm" @ok="modalFormOk"></tools-sharpening-modal> |
| | | </a-card> |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | import '@/assets/less/TableExpand.less' |
| | | import { mixinDevice } from '@/utils/mixin' |
| | | import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
| | | import ToolsSharpeningModal from './modules/ToolsSharpeningModal' |
| | | import { getAction, putAction, deleteAction } from '../../../api/manage' |
| | | |
| | | export default { |
| | | name: 'ToolSharpeningList ', |
| | | mixins:[JeecgListMixin, mixinDevice], |
| | | name: 'ToolSharpeningList', |
| | | mixins: [JeecgListMixin], |
| | | components: { |
| | | ToolsSharpeningModal |
| | | }, |
| | | data () { |
| | | data() { |
| | | return { |
| | | description: 'åå
·å磨', |
| | | description: 'åå
·å磨页é¢', |
| | | // 表头 |
| | | columns: [ |
| | | { |
| | |
| | | exportXlsUrl: "/tms/toolSharpening/exportXls", |
| | | importExcelUrl: "tms/toolSharpening/importExcel", |
| | | }, |
| | | dictOptions:{}, |
| | | superFieldList:[], |
| | | |
| | | } |
| | | }, |
| | | created() {}, |
| | | computed: { |
| | | importExcelUrl: function(){ |
| | | return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`; |
| | | }, |
| | | importExcelUrl: function() { |
| | | return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}` |
| | | } |
| | | }, |
| | | |
| | | methods: { |
| | | onInspectionDateChange: function(value, dateString) { |
| | | this.queryParam.sharpeningTimeBegin = dateString[0] |
| | | this.queryParam.sharpeningTimeEnd = dateString[1] |
| | | }, |
| | | |
| | | |
| | | handleEdit: function (record) { |
| | | console.log('record:', record) |
| | | this.$refs.modalForm.title = 'ç¼è¾' |
| | | this.$refs.modalForm.disableSubmit = false |
| | | this.$refs.modalForm.edit(record) |
| | | |
| | | }, |
| | | handleDetail:function(record){ |
| | | this.$refs.modalForm.title="详æ
"; |
| | | this.$refs.modalForm.disableSubmit = true; |
| | | this.$refs.modalForm.edit(record); |
| | | }, |
| | | |
| | | |
| | | handleDelete: function (id) { |
| | | if (!this.url.delete) { |
| | | this.$message.error('请设置url.delete屿§!') |
| | | return |
| | | } |
| | | deleteAction(this.url.delete, { id: id }).then((res) => { |
| | | if (res.success) { |
| | | //éæ°è®¡ç®å页é®é¢ |
| | | this.$message.success(res.message) |
| | | this.ipagination.current = 1 |
| | | this.loadData() // 强å¶ä»ç¬¬ä¸é¡µå è½½ |
| | | } else { |
| | | this.$message.warning(res.message) |
| | | } |
| | | }) |
| | | }, |
| | | searchReset() { |
| | | this.loadData(1) |
| | | }, |
| | | modalFormOk() { |
| | | this.loadData() |
| | | }, |
| | | |
| | | onToolSharpeningDateChange: function(value, dateString) { |
| | | this.queryParam.sharpeningTimeBegin = dateString[0] |
| | | this.queryParam.sharpeningTimeEnd = dateString[1] |
| | | }, |
| | | |
| | | } |
| | | } |
| | | </script> |
| | | <style scoped> |
| | | @import '~@assets/less/common.less'; |
| | | .enable { |
| | | color: green; |
| | | } |
| | | .disable { |
| | | color: red; |
| | | } |
| | | </style> |
| | |
| | | columns: [{ |
| | | title: 'å·¥å
·ç¼ç ', |
| | | align: 'center', |
| | | dataIndex: 'toolCode' |
| | | dataIndex: 'toolId' |
| | | }, |
| | | { |
| | | title: 'å·¥å
፱Ȍ', |
| | |
| | | { |
| | | title: 'å·¥å
·åæ°æ è¯', |
| | | align: 'center', |
| | | dataIndex: 'paramaTableName' |
| | | dataIndex: 'paramaTableName_dictText' |
| | | }, |
| | | { |
| | | title: 'åå·/å¾å·', |
| | |
| | | this.close() |
| | | }, |
| | | handleOk() { |
| | | this.$bus.$emit('selectionRows', this.selectionRows) |
| | | this.$emit('sendSelectionRows', this.selectionRows[0]) |
| | | this.close() |
| | | }, |
| | | } |
| | |
| | | @cancel="handleCancel" |
| | | cancelText="å
³é"> |
| | | |
| | | |
| | | |
| | | <a-spin :spinning="spinning"> |
| | | <a-form-model ref="form" :model="model" :rules="validatorRules" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-model-item prop="standardCode" label="å·¥å
·ç¼å·"> |
| | | <a-input-search v-model="model.toolId" placeholder="è¯·éæ©å·¥å
·ç¼å·" :disabled="disableSubmit" |
| | | <a-form-model-item prop="standardCode" label="å·¥å
·ç¼ç "> |
| | | <a-input-search v-model="model.toolId" placeholder="è¯·éæ©å·¥å
·ç¼ç " :disabled="disableSubmit" |
| | | @search="selectTools" enter-button |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item prop="classify_id" label="å·¥å
·åç±»ç¼ç "> |
| | | <a-form-model-item prop="classify_id" label="å·¥å
·åç±»åç§°"> |
| | | <a-input placeholder="请è¾å
¥å·¥å
·åç±»åç§°" v-model="model.classifyId" readOnly :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-model-item prop="paramaTableName" label="å·¥å
·åæ°æ è¯"> |
| | | <a-input placeholder="éæ©è®¾å¤åèªå¨å¸¦åº" readOnly v-model="model.paramaTableName" readOnly |
| | | <a-input placeholder="éæ©è®¾å¤åèªå¨å¸¦åº" readOnly v-model="model.paramaTableName_dictText" readOnly |
| | | :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="å·¥å
፱Ȍ"> |
| | | <a-input placeholder="éæ©è®¾å¤åèªå¨å¸¦åº" v-model="model.applicationType" readOnly |
| | | <a-input placeholder="éæ©è®¾å¤åèªå¨å¸¦åº" v-model="model.applicationType_dictText" readOnly |
| | | :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="åå¨ä½ç½®" prop="storageLocation"> |
| | | <a-input placeholder="鿩填ååå¨ä½ç½®" v-model="model.positionCode" readOnly |
| | | :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-form-model-item label="夿³¨"> |
| | | <a-form-model-item label="夿³¨" prop="remark"> |
| | | <a-textarea v-model="model.remark" rows="3" placeholder="请è¾å
¥å¤æ³¨" :disabled="disableSubmit" /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | |
| | | |
| | | <a-button @click="handleOk()" :disabled="disableSubmit" type="primary" :loading="confirmLoading">ç¡®å®</a-button> |
| | | </template> |
| | | <tools-modal ref="toolListModel"></tools-modal> |
| | | <tools-modal ref="toolListModel" @sendSelectionRows="getRows"></tools-modal> |
| | | |
| | | |
| | | </j-modal> |
| | |
| | | import { getAction, postAction, requestPut } from '@/api/manage' |
| | | import { JVxeTableModelMixin } from '@/mixins/JVxeTableModelMixin.js' |
| | | import ToolsModal from '@views/tms/requirement/modules/ToolsModal.vue' |
| | | import pick from 'lodash.pick' |
| | | import DeviceListModel from '@views/mdc/base/modules/EquipmentList/DeviceListModal.vue' |
| | | |
| | | export default { |
| | | name: 'ToolsSharpeningModal', |
| | | mixins: [JVxeTableModelMixin], |
| | | components: { |
| | | DeviceListModel, |
| | | ToolsModal |
| | | }, |
| | | data() { |
| | |
| | | { required: true, message: '请è¾å
¥åç£¨ç»æå建议!' } |
| | | ] |
| | | }, |
| | | lastSelectionData: null, |
| | | url: { |
| | | add: '/tms/toolSharpening/add', |
| | | edit: '/tms/toolSharpening/edit', |
| | | queryDetailList: '/tms/toolSharpening/listToolSharpening' |
| | | // queryDetailList: '/tms/toolSharpening/listToolSharpening' |
| | | } |
| | | } |
| | | }, |
| | | created() { |
| | | }, |
| | | mounted() { |
| | | this.$bus.$on('selectionRows', (data) => { |
| | | console.log('selectionRows', data) |
| | | if (data && data.length > 0) { |
| | | const item = data[0] |
| | | // ä½¿ç¨ $set ç¡®ä¿ model ç屿§æ¯ååºå¼ç |
| | | this.$set(this.model, 'toolId', item.toolCode) |
| | | this.$set(this.model, 'toolCode', item.id) |
| | | |
| | | methods: { |
| | | getRows(item) { |
| | | console.log(item) |
| | | if (item.id) { |
| | | this.$set(this.model, 'toolId', item.toolId) |
| | | this.$set(this.model, 'toolCode', item.toolCode) |
| | | this.$set(this.model, 'classifyId', item.classifyId) |
| | | this.$set(this.model, 'paramaTableName', item.paramaTableName_dictText) |
| | | this.$set(this.model, 'applicationType', item.applicationType_dictText) |
| | | this.$set(this.model, 'paramaTableName_dictText', item.paramaTableName_dictText) |
| | | this.$set(this.model, 'applicationType_dictText', item.applicationType_dictText) |
| | | this.$set(this.model, 'toolModel', item.toolModel) |
| | | this.$set(this.model, 'provinceCity', item.provinceCity) |
| | | this.$set(this.model, 'warehouseId', item.warehouseId) |
| | | this.$set(this.model, 'positionCode', item.positionCode) |
| | | this.$set(this.model, 'mainUnit', item.mainUnit) |
| | | } |
| | | }) |
| | | |
| | | }, |
| | | methods: { |
| | | }, |
| | | |
| | | selectTools: function() { |
| | | this.$refs.toolListModel.showModals() |
| | |
| | | }, |
| | | |
| | | add() { |
| | | this.addShow = false |
| | | this.edit() |
| | | this.edit({}) |
| | | }, |
| | | |
| | | edit(record) { |
| | | console.log(record) |
| | | // this.model = Object.assign({}, record) |
| | | this.visible = true |
| | | getAction(this.url.queryDetailList, { |
| | | id: record.id, |
| | | pageNo: 1, |
| | | pageSize: 99999 |
| | | }).then((res) => { |
| | | if (res.success) { |
| | | const readOnlyData = res.result.records[0] || {} |
| | | this.model = Object.assign({}, this.model, { |
| | | paramaTableName: readOnlyData.paramaTableName_dictText, |
| | | applicationType: readOnlyData.applicationType_dictText, |
| | | provinceCity: readOnlyData.provinceCity, |
| | | warehouseId: readOnlyData.warehouseId, |
| | | positionCode: readOnlyData.positionCode, |
| | | mainUnit: readOnlyData.mainUnit, |
| | | toolModel: readOnlyData.toolModel |
| | | }) |
| | | let that = this |
| | | that.visible = true |
| | | that.model = Object.assign({}, record) |
| | | // this.$nextTick(() => { |
| | | // this.form.setFieldsValue(pick(that.model, 'selectedDeparts', 'selectedProduction', 'equipmentId', 'equipmentName', 'equipmentModel', 'equipmentType', 'equipmentIp', 'dataPort', |
| | | // 'driveType', 'sortNo', 'remark', 'systemVersion', 'devicePower', 'controlSystem', 'saveTableName', 'systemValue')) |
| | | // }) |
| | | }, |
| | | // edit(record) { |
| | | // let that = this |
| | | // that.visible = true |
| | | // that.model = Object.assign({}, record) |
| | | // |
| | | // // 妿æ selectionRows æ°æ®ï¼åéæ°èµå¼ |
| | | // if (this.lastSelectionData && this.lastSelectionData.length > 0) { |
| | | // this.assignModelFromSelection(this.lastSelectionData[0]) |
| | | // console.log('this.model',this.assignModelFromSelection(this.lastSelectionData[0])) |
| | | // } |
| | | // }, |
| | | close() { |
| | | this.$emit('close') |
| | | this.visible = false |
| | | |
| | | } else { |
| | | this.dataSource = null |
| | | } |
| | | }) |
| | | }, |
| | | handleOk() { |
| | | const that = this |
| | |
| | | this.close() |
| | | }, |
| | | |
| | | close() { |
| | | this.$emit('close') |
| | | this.visible = false |
| | | this.$refs.form.clearValidate() |
| | | } |
| | | |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="less" scoped> |
| | | |
| | | </style> |
| | | </style> |
| | | |
| | | |
| | | |