Browse Source

lrl- 2021-11-10

lirl 3 years ago
parent
commit
02e2d8e74b

+ 20 - 22
cors.js

@@ -103,29 +103,27 @@ module.exports = {
         pathRewrite: {
           '^/icore.icp.web/pass/localhost': '/'
         }
+      },
+      '/icore.icp.web/pass/websocket': {
+        target: 'http://172.16.90.221:8002',
+        changeOrigin: true,
+        pathRewrite: {
+          '^/icore.icp.web/pass/websocket': '/'
+        }
+      },
+      '/xt.pass.web/pass/emswebsocket': {
+        // target: '172.16.90.238:8888',
+        target: 'http://172.16.90.221:8002',
+        ws: true,
+        changeOrigin: true,
+        pathRewrite: {
+          '^/xt.pass.web/pass/emswebsocket': '/'
+        }
       }
-      // '/icore.icp.web/pass/websocket': {
-      //   target: 'http://172.16.90.221:8002',
-      //   changeOrigin: true,
-      //   pathRewrite: {
-      //     '^/icore.icp.web/pass/websocket': '/'
-      //   }
-      // },
-      // '/xt.pass.web/pass/emswebsocket': {
-      //   // target: '172.16.90.238:8888',
-      //   target: 'http://172.16.90.221:8002',
-      //   ws: true,
-      //   changeOrigin: true,
-      //   pathRewrite: {
-      //     '^/xt.pass.web/pass/emswebsocket': '/'
-      //   }
-      // }
   },
+  //devModules: ['index','workFlow','ApiManage','apollo','authManage','configManager','devops','dingtalk','serviceManager','microService','monitor','systemConfig','metaData','multEntry','demo']
   //  devModules: ['all'] // 不建议使用,运行速度太慢,发布构建会失败
-    // devModules: ['dingtalk','dingtalkMobileEnd','formGenerator','gatewayCfg','index','logAudit','metaData','workFlow','preview','serviceManager',
-    // 'systemConfig','multEntry','microService','basicInformation','energyAnalysis','energyBalance','energyOperationSupport',
-    // 'energyPerformance','energyPlan','energyQuality','energyScheduling','systemInterface']
-    // 用于构建
-    devModules: ['index','metaData','systemConfig','multEntry',
-    'basicInformation','energyAnalysis','energyBalance','energyOperationSupport','energyPerformance','energyPlan','energyQuality','energyScheduling','systemInterface']
+    devModules: ['dingtalk','dingtalkMobileEnd','formGenerator','gatewayCfg','index','logAudit','metaData','workFlow','preview','serviceManager',
+    'systemConfig','multEntry','microService','basicInformation','energyAnalysis','energyBalance','energyOperationSupport',
+    'energyPerformance','energyPlan','energyQuality','energyScheduling','systemInterface']
 }

+ 11 - 0
nginx.conf

@@ -109,5 +109,16 @@ http {
             proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
             proxy_pass http://ems-ems-datasource/v1; # 转发地址.dev.svc.cluster.local
         }
+        location /xt.pass.web/pass/emswebsocket {
+            rewrite ^/xt.pass.web/pass/emswebsocket(.*)$ /$1 break; # 去除本地接口/api前缀, 否则会出现404
+            proxy_set_header Host $host;
+            proxy_set_header X-Real-IP $remote_addr;
+            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+            # proxy_pass http://paas-websocket; # 转发地址
+            # proxy_pass http://ems-ems-api/v1;
+            proxy_pass http://ems-ems-websocket/v1;
+            proxy_set_header Upgrade $http_upgrade;
+            proxy_set_header Connection "upgrade";
+        }
      }
 }

+ 1 - 1
package.json

@@ -15,7 +15,7 @@
     "testc": "cross-env NODE_ENV=test nyc mocha-webpack --webpack-config node_modules/icore-icp/build/webpack.test.conf.js --require node_modules/icore-icp/test/setup.js node_modules/icore-icp/test/**/*.spec.js"
   },
   "dependencies": {
-    "icore-icp": "^1.2.2-at.1.7" 
+    "icore-icp": "^1.2.2-at.1.7"
   },
   "devDependencies": {
     "@vue/test-utils": "^1.0.0-beta.24",

+ 3609 - 0
src/assets/css/style.css

@@ -0,0 +1,3609 @@
+/*
+ * common css
+ */
+/* icons */
+/* html, body {
+  background-color: rgb(71, 154, 231);
+} */
+/* html {
+  font-size: 10px;
+} */
+.mainVueIndex .el-tabs__content {
+    overflow: auto !important;
+}
+.xl-icon-size {
+  font-size: 18px;
+  color: #70baf2;
+  cursor: pointer;
+  margin-right: 10px;
+  margin-top: 2px;
+}
+
+.ytg-menu-level1>li>div:hover>.xs-menu-icons {
+  width: 26px;
+  height: 26px;
+  transform: scale(0.8);
+  background: url(../img/menu/menu_b.png) 0 0 no-repeat;
+  /* width: 20px; height: 20px */
+}
+
+.ytg-menu-level1>li>div>.xs-menu-icons {
+  display: inline-block;
+  width: 26px;
+  height: 26px;
+  cursor: pointer;
+  transform: scale(0.8);
+  background: url(../img/menu/menu_w.png) 0 0 no-repeat;
+  -webkit-transition: background-position .3s;
+  transition: background-position .3s;
+}
+
+.xs-nav-icons {
+  display: inline-block;
+  width: 26px;
+  height: 26px;
+  cursor: pointer;
+  background: url(../img/nav/nav_c.png) 0 0 no-repeat;
+  -webkit-transition: background-position .3s;
+  transition: background-position .3s;
+  -webkit-transform: scale(0.45);
+  transform: scale(0.45);
+}
+
+.xs-fuc-icons {
+  display: inline-block;
+  width: 17px;
+  height: 17px;
+  /* padding-left: 20px; */
+  cursor: pointer;
+  background: url(../img/func/func_w.png) 0 0 no-repeat;
+  -webkit-transition: background-position .3s;
+  transition: background-position .3s;
+}
+
+.xs-fuc-icons-add {
+  background-position: -27px -23px;
+}
+
+.xs-icons {
+  display: inline-block;
+  width: 20px;
+  height: 20px;
+  cursor: pointer;
+  background: url(../img/icons.png) 0 0 no-repeat;
+  -webkit-transition: background-position .3s;
+  transition: background-position .3s;
+}
+
+.xs-icons-add {
+  background-position: -168px -24px;
+}
+
+.xs-icons-user {
+  background-position: -408px 0;
+  width: 34px;
+  height: 34px;
+}
+
+.xs-icons-right-arrow {
+  background-position: -144px -97px;
+  width: 16px;
+  height: 14px;
+}
+
+.xs-icons-see {
+  background-position: -408px -48px;
+}
+
+.xs-icons-see-reverse {
+  background-position: -408px -72px;
+}
+
+.xs-icons-slm {
+  background-position: -48px 0;
+}
+
+.sl-menu-a:hover .xs-icons-slm {
+  background-position: -48px -24px;
+}
+
+.sl-menu-sed .xs-icons-slm {
+  background-position: -48px -24px;
+}
+
+.ytg-menu-level1>li>div>.xs-icons-menu1,
+.ytg-menu-level1>li>div:hover>.xs-icons-menu1 {
+  background-position: -25px -24px;
+}
+
+.sl-menu-a:hover .xs-icons-menu1 {
+  background-position: 0 -144px;
+}
+
+.sl-menu-sed .xs-icons-menu1 {
+  background-position: 0 -144px;
+}
+
+.ytg-menu-level1>li>div>.xs-icons-menu2,
+.ytg-menu-level1>li>div:hover>.xs-icons-menu2 {
+  background-position: -73px -24px;
+}
+
+.sl-menu-a:hover .xs-icons-menu2 {
+  background-position: -24px -144px;
+}
+
+.sl-menu-sed .xs-icons-menu2 {
+  background-position: -24px -144px;
+}
+
+.ytg-menu-level1>li>div>.xs-icons-menu3,
+.ytg-menu-level1>li>div:hover>.xs-icons-menu3 {
+  background-position: -120px -24px;
+}
+
+.sl-menu-a:hover .xs-icons-menu3 {
+  background-position: -48px -144px;
+}
+
+.sl-menu-sed .xs-icons-menu3 {
+  background-position: -48px -144px;
+}
+
+.ytg-menu-level1>li>div>.xs-icons-menu4,
+.ytg-menu-level1>li>div:hover>.xs-icons-menu4 {
+  background-position: -168px -24px;
+}
+
+.sl-menu-a:hover .xs-icons-menu4 {
+  background-position: -72px -144px;
+}
+
+.sl-menu-sed .xs-icons-menu4 {
+  background-position: -72px -144px;
+}
+
+.ytg-menu-level1>li>div>.xs-icons-menu5,
+.ytg-menu-level1>li>div:hover>.xs-icons-menu5 {
+  background-position: -25px -70px;
+}
+
+.sl-menu-a:hover .xs-icons-menu5 {
+  background-position: -96px -144px;
+}
+
+.sl-menu-sed .xs-icons-menu5 {
+  background-position: -96px -144px;
+}
+
+.ytg-menu-level1>li>div>.xs-icons-menu6,
+.ytg-menu-level1>li>div:hover>.xs-icons-menu6 {
+  background-position: -73px -70px;
+}
+
+.sl-menu-a:hover .xs-icons-menu6 {
+  background-position: -120px -144px;
+}
+
+.sl-menu-sed .xs-icons-menu6 {
+  background-position: -120px -144px;
+}
+
+.ytg-menu-level1>li>div>.xs-icons-menu7,
+.ytg-menu-level1>li>div:hover>.xs-icons-menu7 {
+  background-position: -120px -70px;
+}
+
+.sl-menu-a:hover .xs-icons-menu7 {
+  background-position: -144px -144px;
+}
+
+.sl-menu-sed .xs-icons-menu7 {
+  background-position: -144px -144px;
+}
+
+.ytg-menu-level1>li>div>.xs-icons-menu8,
+.ytg-menu-level1>li>div:hover>.xs-icons-menu8 {
+  background-position: -168px -70px;
+}
+
+.sl-menu-a:hover .xs-icons-menu8 {
+  background-position: -168px -144px;
+}
+
+.sl-menu-sed .xs-icons-menu8 {
+  background-position: -168px -144px;
+}
+
+.ytg-menu-level1>li>div>.xs-icons-menu9,
+.ytg-menu-level1>li>div:hover>.xs-icons-menu9 {
+  background-position: -25px -119px;
+}
+
+.sl-menu-a:hover .xs-icons-menu9 {
+  background-position: -192px -144px;
+}
+
+.sl-menu-sed .xs-icons-menu9 {
+  background-position: -192px -144px;
+}
+
+.ytg-menu-level1>li>div>.xs-icons-menu10,
+.ytg-menu-level1>li>div:hover>.xs-icons-menu10 {
+  background-position: -73px -119px;
+}
+
+.sl-menu-a:hover .xs-icons-menu10 {
+  background-position: -216px -144px;
+}
+
+.sl-menu-sed .xs-icons-menu10 {
+  background-position: -216px -144px;
+}
+
+.ytg-menu-level1>li>div>.xs-icons-menu11,
+.ytg-menu-level1>li>div:hover>.xs-icons-menu11 {
+  background-position: -120px -119px;
+}
+
+.sl-menu-a:hover .xs-icons-menu11 {
+  background-position: -240px -144px;
+}
+
+.sl-menu-sed .xs-icons-menu11 {
+  background-position: -240px -144px;
+}
+
+.ytg-menu-level1>li>div>.xs-icons-menu12,
+.ytg-menu-level1>li>div:hover>.xs-icons-menu12 {
+  background-position: -168px -119px;
+}
+
+.sl-menu-a:hover .xs-icons-menu12 {
+  background-position: -264px -144px;
+}
+
+.sl-menu-sed .xs-icons-menu12 {
+  background-position: -264px -144px;
+}
+
+.ytg-menu-level1>li>div>.xs-icons-menu13,
+.ytg-menu-level1>li>div:hover>.xs-icons-menu13 {
+  background-position: -25px -168px;
+}
+
+.sl-menu-a:hover .xs-icons-menu13 {
+  background-position: -288px -144px;
+}
+
+.sl-menu-sed .xs-icons-menu13 {
+  background-position: -288px -144px;
+}
+
+.ytg-menu-level1>li>div>.xs-icons-menu14,
+.ytg-menu-level1>li>div:hover>.xs-icons-menu14 {
+  background-position: -73px -168px;
+}
+
+.sl-menu-a:hover .xs-icons-menu14 {
+  background-position: -312px -144px;
+}
+
+.sl-menu-sed .xs-icons-menu14 {
+  background-position: -312px -144px;
+}
+
+.ytg-menu-level1>li>div>.xs-icons-menu15,
+.ytg-menu-level1>li>div:hover>.xs-icons-menu15 {
+  background-position: -120px -168px;
+}
+
+.sl-menu-a:hover .xs-icons-menu15 {
+  background-position: -336px -144px;
+}
+
+.sl-menu-sed .xs-icons-menu15 {
+  background-position: -336px -144px;
+}
+
+.ytg-menu-level1>li>div>.xs-icons-menu16,
+.ytg-menu-level1>li>div:hover>.xs-icons-menu16 {
+  background-position: -168px -168px;
+}
+
+.sl-menu-a:hover .xs-icons-menu16 {
+  background-position: -360px -144px;
+}
+
+.sl-menu-sed .xs-icons-menu16 {
+  background-position: -360px -144px;
+}
+
+.ytg-menu-level1>li>div>.xs-icons-menu17,
+.ytg-menu-level1>li>div:hover>.xs-icons-menu17 {
+  background-position: -25px -217px;
+}
+
+.sl-menu-a:hover .xs-icons-menu17 {
+  background-position: -384px -144px;
+}
+
+.sl-menu-sed .xs-icons-menu17 {
+  background-position: -384px -144px;
+}
+
+.ytg-menu-level1>li>div>.xs-icons-menu18,
+.ytg-menu-level1>li>div:hover>.xs-icons-menu18 {
+  background-position: -73px -217px;
+}
+
+.sl-menu-a:hover .xs-icons-menu18 {
+  background-position: -408px -144px;
+}
+
+.sl-menu-sed .xs-icons-menu18 {
+  background-position: -408px -144px;
+}
+
+.ytg-menu-level1>li>div>.xs-icons-menu19,
+.ytg-menu-level1>li>div:hover>.xs-icons-menu19 {
+  background-position: -120px -217px;
+}
+
+.sl-menu-a:hover .xs-icons-menu19 {
+  background-position: -432px -144px;
+}
+
+.sl-menu-sed .xs-icons-menu19 {
+  background-position: -432px -144px;
+}
+
+.el-breadcrumb__item__inner:hover {
+  color: #70baf2;
+  cursor: default;
+}
+
+.appendColor .el-input-group__append,
+.appendColor .el-input-group__prepend {
+  background-color: #f5f7fa;
+  color: #909399;
+  vertical-align: middle;
+  display: table-cell;
+  position: relative;
+  border: 1px solid #dcdfe6;
+  border-radius: 4px;
+  padding: 0 0px;
+  width: 1px;
+  white-space: nowrap;
+}
+
+
+.st-icons {
+  display: inline-block;
+  width: 20px;
+  height: 20px;
+  cursor: pointer;
+  background: url(../img/spirit00.png) 0 0 no-repeat;
+  -webkit-transition: background-position .3s;
+  transition: background-position .3s;
+}
+
+.st-icons-user {
+  background-position: -264px -48px;
+}
+
+.st-icons-pwd {
+  background-position: -288px -48px;
+}
+
+.st-icons-out {
+  background-position: -312px -48px;
+}
+
+.st-icons1 {
+  display: inline-block;
+  width: 20px;
+  height: 20px;
+  cursor: pointer;
+  background: url(../img/icons1.png) 0 0 no-repeat;
+  -webkit-transition: background-position .3s;
+  transition: background-position .3s;
+}
+
+.st-icons-success {
+  background-position: -288px -216px;
+}
+
+.st-icons-del {
+  background-position: -312px -216px;
+}
+
+.ytg-icons {
+  display: inline-block;
+  width: 20px;
+  height: 20px;
+  background: url(../img/ytgico.png) 0 0 no-repeat;
+}
+
+.ytg-additional-liBtn {
+  background-position: -144px -72px;
+  width: 17px;
+  height: 17px;
+}
+
+.ytg-cust-logo {
+  background-position: 0 -144px;
+  width: 40px;
+  height: 40px;
+}
+
+/*表格最后一项保留右边框*/
+.table-lastTh-border .has-gutter th:nth-last-of-type(2) {
+  border-right: 1px solid #ccc;
+}
+
+/*新增*/
+.ytg-add-red {
+  background-position: -96px -72px;
+  width: 20px;
+  height: 20px;
+  cursor: pointer;
+}
+
+/*编辑*/
+.ytg-edit-red {
+  background-position: -72px -72px;
+  width: 20px;
+  height: 20px;
+  cursor: pointer;
+}
+
+/*启用*/
+.ytg-startU-red {
+  background-position: -192px -72px;
+  width: 20px;
+  height: 20px;
+  cursor: pointer;
+}
+
+/*停用*/
+.ytg-stopU-red {
+  background-position: -216px -72px;
+  width: 20px;
+  height: 20px;
+  cursor: pointer;
+}
+
+/*返回*/
+.ytg-return {
+  background-position: -120px -120px;
+  width: 20px;
+  height: 20px;
+  cursor: pointer;
+}
+
+/** 客户管理 ***/
+.xs-yt-search {
+  float: right
+}
+
+.returnText {
+  position: relative;
+  top: 0;
+}
+
+.xs-yt-add {
+  position: relative;
+  top: 5px;
+}
+
+.xs-yt-form .el-form-item__content:first-child {
+  margin-left: 0px !important;
+  width: 100%
+}
+
+.xs-yt-form .el-form-item__button:last-child {
+  text-align: right;
+}
+
+.xs-yt-form .el-select {
+  display: block;
+}
+
+/* 修改系统斑马线的颜色 */
+.el-table--striped .el-table__body tr.el-table__row--striped td {
+  background: #ccf1ff
+}
+
+/*用于解决复合型输入框内容为空时,标签和输入框会错位的bug*/
+.ytg-append-form .el-input__inner {
+  display: inline-block;
+}
+
+.yt-cst-child-content {
+  padding-top: 20px;
+}
+.ctr-tec-table1 .select-row {
+  background: rgb(255, 255, 120) !important;
+}
+.el-table tr.select-row td {
+  background: rgb(255, 255, 120) !important;
+}
+.el-table .warning-row {
+  background: rgb(255, 255, 0) !important;
+}
+
+.el-table tr.warning-row td {
+  background: rgb(255, 255, 0) !important;
+}
+
+.el-table .success-row {
+  background: #00FF00 !important;
+}
+
+.el-table .solution-row {
+  background: rgb(250, 128, 19) !important;
+}
+
+/* 改变复选框右边距,以前没有右边距,似乎是element-ui样式变了,优特钢也出现类似情况,影响页面展示
+2019-03-05 */
+.el-checkbox {
+  margin-right: 0;
+}
+/*.yt-table-no-srcoll .el-table__body-wrapper{
+  overflow: hidden;
+}*/
+
+.userLoginTitle .el-dialog__title {
+  font-size: 20px;
+}
+
+.yt-cst-table-top {}
+
+.xs-yt-ctc-edit {
+  border-top: 1px solid #cccccc;
+  margin-top: 30px;
+}
+
+.del-scroll .el-table__body-wrapper {
+  overflow-x: hidden;
+}
+
+.span-text {
+  position: relative;
+  top: 0px;
+  display: inline-block;
+  height: 20px;
+  line-height: 20px;
+  padding: 0 10px;
+  border-left: 3px solid #70baf2;
+}
+
+.yt-table-page {
+  margin: 5px 0 0;
+  text-align: right;
+}
+
+.yt-cst-bi-upload .el-upload {
+  display: flex !important;
+}
+
+.table-expand .el-table__expanded-cell[class*=cell] {
+  padding: 15px !important;
+}
+
+/* 表格表头居中*/
+.th-center th {
+  text-align: center !important;
+}
+
+/*弹窗的四个按钮样式*/
+.yt-modal-btn {
+  width: 120px;
+  position: absolute;
+  top: 30px;
+}
+
+.yt-modal-btn span {
+  margin-right: 6px
+}
+
+.el-icon-edit-outline {
+  cursor: pointer;
+}
+
+.yt-base-top-content {
+  height: 100%;
+  padding: 50px 20px 42px 20px;
+  position: relative;
+}
+
+.yt-base-top-search {
+  position: absolute;
+  top: 0;
+  right: 0;
+  width: 100%;
+  padding: 10px 20px 0px 20px;
+}
+
+.yt-base-top-table {
+  height: 100%;
+
+}
+
+/** 物流成分 材质 结果按钮 **/
+.out-edit .el-input-group__append {
+  background: #409EFF;
+  color: white;
+  border-color: #409EFF
+}
+
+.yt-base-top-page {
+  position: absolute;
+  bottom: 0;
+  left: 0;
+  z-index: 1000;
+  width: 100%;
+  padding-right: 20px;
+  text-align: right;
+}
+
+
+.yt-base-bottom-edit {
+  position: absolute;
+  bottom: 0;
+  left: 0;
+  z-index: 1000;
+  width: 100%;
+  max-height: 205px;
+  overflow: auto;
+  padding: 0 20px 5px 20px;
+  border-top: 1px solid #ccc;
+  background-color: #fff;
+  box-shadow: 0 0 10px #ccc;
+}
+
+.yt-base-editArea {
+  height: 23px;
+  line-height: 23px;
+}
+
+.yt-base-editArea h2 {
+  border-left: 3px solid #70baf2;
+  padding-left: 5px;
+}
+
+.yt-base-edit-form {
+  margin-top: 0;
+}
+
+.yt-content {
+  padding-top: 10px
+}
+
+
+/* 技术要求输入下拉框 */
+/*ytg-s-m-mm-msc: 冶金规范管理Msc表格*/
+.ctr-tec-table .el-input__inner,
+.ytg-s-m-mm-msc .el-input__inner {
+  background: #FEFEC0;
+}
+
+.ctr-tec-table1 .el-input__inner,
+.ytg-s-m-mm-msc .el-input__inner {
+  background: #FEFEC0;
+}
+.ctr-tec-table1 .el-input__inner {
+  padding: 1px !important;
+}
+/* 物流管理 */
+.yt-alc {
+  padding: 10px 20px;
+}
+
+.yt-summary .el-table__body-wrapper {
+  overflow: hidden !important;
+}
+
+.yt-summary .el-table__footer-wrapper {
+  overflow: auto !important;
+}
+
+.el-tabs__active-bar {
+  background-color: #70baf2;
+}
+
+.el-tabs__item:hover {
+  color: #70baf2;
+  cursor: pointer;
+}
+
+.el-tabs__item.is-active {
+  color: #70baf2;
+}
+
+.sl-header-li-lgbc .el-breadcrumb__inner {
+  color: white
+}
+
+.sl-header-li-lgbc .el-breadcrumb__item:last-child .el-breadcrumb__inner {
+  color: white
+}
+
+.sl-header-li-lgbc .el-breadcrumb__separator {
+  color: white
+}
+
+.el-breadcrumb__inner:hover {
+  color: white;
+  cursor: text;
+}
+
+/* 输入按钮颜色变化 */
+.el-input-group__append {
+  background: white;
+}
+
+/*点击树节点使字体变红*/
+.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
+  color: #70baf2;
+}
+
+/*树节点下边框*/
+.el-tree-node__label {
+  display: block;
+  width: 100%;
+  border-bottom: 1px solid #ccc;
+  font-size: 12px;
+}
+
+.el-tree-node__content {
+  height: 32px;
+  line-height: 31px;
+}
+
+/*树控件的字体颜色改为跟body一个颜色*/
+.el-tree {
+  color: #1f2f3d
+}
+
+.el-button {
+  color: #111;
+}
+
+.el-button--primary {
+  color: #fff;
+}
+
+.el-button--success {
+  background-color: #61f06e;
+  border-color: #61f06e;
+}
+.el-button--success:hover {
+  background: #61f06e;
+  border-color: #61f06e;
+}
+.el-button--success:focus {
+  background: #61f06e;
+  border-color: #61f06e;
+}
+
+.el-button--text {
+  color: #409EFF;
+  cursor: pointer;
+}
+
+.el-checkbox+.el-checkbox {
+  margin-left: 20px;
+}
+
+.xg-zhb-short-design .el-checkbox+.el-checkbox {
+  margin-left: 0px
+}
+
+.xg-zhb-short-design .el-button+.el-button {
+  margin-left: 0px;
+}
+
+.xg-zhb-short-design .el-button--small {
+  padding: 7px 13px 6px 15px;
+}
+
+.el-checkbox__label {
+  padding-left: 5px;
+}
+
+.el-table th>.cell.highlight {
+  color: #ffffff
+}
+
+.el-dropdown {
+  font-size: 12px;
+  color: #409EFF;
+  cursor: pointer;
+}
+
+.el-dropdown-menu__item {
+  font-size: 12px;
+  white-space: nowrap;
+  color: #000;
+}
+
+.el-dialog__wrapper {
+  position: absolute;
+}
+
+.el-dialog__title {
+  font-size: 14px;
+  font-weight: bold;
+}
+
+.el-dialog--center .el-dialog__body {
+  padding-top: 10px;
+  padding-bottom: 20px;
+}
+
+.el-dialog--center .el-dialog__header {
+  padding-top: 15px;
+  padding-bottom: 5px;
+}
+
+.el-dialog__body {
+  padding: 10px 20px;
+  font-size: 12px;
+}
+
+.el-date-editor .el-range-separator {
+  width: 20px;
+  font-size: 12px;
+  padding: 0;
+  text-align: center;
+}
+
+.el-table .cell {
+  padding: 0 5px !important;
+  line-height: 20px;
+}
+
+.el-picker-panel {
+  color: #000;
+}
+
+.el-picker-panel__shortcut {
+  color: #000;
+}
+
+.el-radio {
+  color: #000;
+}
+
+.el-radio__label {
+  font-size: 12px;
+}
+
+.el-message-box {
+  padding-bottom: 20px;
+}
+
+.el-message-box__wrapper {
+  position: absolute;
+}
+
+.el-dialog__footer {
+  padding-bottom: 20px;
+  padding-top: 0;
+}
+
+.el-table__empty-block {}
+
+.el-table__empty-text {
+  left: 30px;
+  top: 15px;
+  transform: translate(0, 0);
+  color: #666;
+}
+
+.el-table__body tr.current-row>td {
+  color: #000 !important;
+  background-color: #d3ddf5 !important;
+  font-weight: bold !important;
+}
+
+.ytg-ws-collapse .el-collapse-item__header {
+  height: 40px;
+  line-height: 40px;
+  padding-left: 2px;
+}
+
+.ytg-ws-collapse .el-collapse-item__arrow {
+  line-height: 40px;
+}
+
+.ytg-ws-collapse .el-collapse-item__content {
+  padding-bottom: 10px;
+}
+
+.el-range-editor--small .el-range-input {
+  font-size: 12px;
+}
+
+.el-switch,
+.el-switch__label,
+.el-switch__label * {
+  font-size: 12px;
+}
+
+.el-message-box__title {
+  color: #000;
+}
+
+.el-message-box__content {
+  color: #000;
+}
+
+/* form */
+.search-form .el-select .el-input__inner {
+  height: 28px !important;
+}
+
+/*删掉了这里的important,会影响表格内输入控件的样式*/
+.el-input--small .el-input__inner {
+  height: 28px;
+  line-height: 28px;
+}
+
+.el-range-editor--small.el-input__inner {
+  height: 28px;
+  line-height: 28px;
+}
+
+.el-form-item {
+  margin-bottom: 13px;
+}
+
+.el-form-item__error {
+  padding-top: 0;
+}
+
+.el-form-item--small .el-form-item__error {
+  padding-top: 0;
+}
+
+.el-form-item__content {
+  font-size: 12px;
+  line-height: 30px;
+}
+
+.el-input--small {
+  font-size: 12px;
+}
+
+.el-form-item__label {
+  font-size: 12px;
+  line-height: 30px;
+  color: #000;
+  padding-right: 8px;
+}
+
+.el-form-item--small .el-form-item__content,
+.el-form-item--small .el-form-item__label {
+  line-height: 28px;
+}
+
+.sui-search-form .el-form-item {
+  margin-bottom: 7px;
+}
+
+.sui-search-form2 .el-form-item {
+  margin-bottom: 5px;
+}
+
+.sui-search-form2 .el-input--small .el-input__inner {
+  border-radius: 0;
+}
+
+.sui-search-mform .el-form-item {
+  margin-bottom: 10px;
+}
+
+.sui-search-mform .el-input--small .el-input__inner {
+  padding: 0 5px;
+  border-radius: 0;
+}
+
+.sui-search-mform .el-form-item__label {
+  padding-right: 5px;
+}
+
+.sui-search-mform .el-checkbox__label {
+  padding-left: 2px;
+}
+
+.sui-search-mform .el-slider .el-input-number--small {
+  width: 100px;
+}
+
+.sui-search-mform .el-slider__runway.show-input {
+  margin-right: 110px;
+}
+
+.sui-search-mform .el-radio__label {
+  padding-left: 5px;
+}
+
+.el-tabs--border-card>.el-tabs__content {
+  padding: 10px;
+}
+
+.el-tabs--border-card {
+  box-shadow: none;
+}
+
+.el-select-dropdown__item {
+  font-size: 12px;
+  color: #000;
+}
+
+.ytg-table-el-cion {
+  font-size: 20px;
+  color: #409EFF;
+  cursor: pointer;
+  position: relative;
+  top: 3px;
+}
+
+.el-input__inner {
+  color: #000;
+}
+
+
+/* other */
+.el-loading-mask {
+  z-index: 100;
+}
+
+.el-tabs__item {
+  font-size: 12px;
+  height: 30px;
+  line-height: 30px;
+}
+
+.el-time-picker-no-icon .el-input__icon {
+  display: none;
+}
+
+.el-time-picker-is-icon .el-input__inner {
+  padding-left: 30px !important;
+}
+
+.sui-form-lh2 .el-form-item--small .el-form-item__content,
+.sui-form-lh2 .el-form-item--small .el-form-item__label {
+  line-height: 40px;
+}
+
+.el-input-number--small .el-input-number__decrease,
+.el-input-number--small .el-input-number__increase {
+  line-height: 28px;
+}
+
+/* layout */
+.ytg-lo-cl {
+  height: 100%;
+  padding: 10px 20px 20px 20px;
+  overflow: auto;
+}
+
+.ytg-lo-cr {
+  height: 100%;
+  position: relative;
+  overflow: auto;
+}
+
+/*详情页表格(有边框有底色)*/
+.ytg-table {
+  max-width: 100%;
+  width: 100%;
+  border-top: 1px solid #ccc;
+  border-left: 1px solid #ccc;
+}
+
+.ytg-table td {
+  padding: 12px 12px;
+  text-align: left;
+  border-color: #ccc;
+  color: #000;
+  border-right: 1px solid #ccc;
+  border-bottom: 1px solid #ccc;
+}
+
+.ytg-table-bgg {
+  background-color: #f5f5f5;
+  word-break: break-all
+}
+
+.ytg-table .ytg-table-tdl {
+  color: #666;
+  text-align: right;
+}
+
+.el-breadcrumb__inner,
+.el-breadcrumb__inner a {
+  font-weight: normal;
+}
+
+.el-pager li {
+  min-width: 20px;
+  padding: 0 5px;
+}
+
+.el-pagination__jump {
+  margin-left: 10px;
+}
+
+.el-pagination button {
+  padding: 0 4px;
+}
+
+.el-pagination .btn-next {
+  padding-left: 6px;
+}
+
+.el-pagination .btn-prev {
+  padding-right: 6px;
+}
+
+/*图标的大小*/
+.elIconStyle {
+  color: #70baf2;
+  font-size: 20px;
+  cursor: pointer;
+}
+
+.el-return-IconStyle {
+  font-size: 15px;
+  cursor: pointer;
+}
+
+.ytg-line-title {
+  border-left: 3px solid #ff4949;
+  height: 20px;
+  line-height: 20px;
+  padding: 0px 10px;
+}
+
+.ytg-text-title {
+  text-align: center;
+  font-size: 13px;
+  position: relative;
+}
+
+.ytg-go-bak {
+  position: relative;
+  height: 20px;
+  line-height: 20px;
+  vertical-align: middle;
+  padding-left: 23px;
+  padding-top: 2px;
+  cursor: pointer;
+  color: #20a0ff;
+}
+
+.ytg-go-bak>.ytg-return {
+  position: absolute;
+  top: 0;
+  left: 0;
+}
+
+/*有效显示绿色,无效显示红色*/
+.effective {
+  color: green;
+}
+
+.invalid {
+  color: red;
+}
+
+/* 管理页面基本布局 */
+.ytg-ps {
+  min-width: 1300px;
+  height: 100%;
+  position: relative;
+}
+
+.ytg-ps-title {
+  height: 25px;
+  line-height: 25px;
+  border-left: 3px solid #70baf2;
+  padding-left: 5px;
+  position: relative;
+}
+
+.ytg-ps-title2 {
+  /* height: 25px; line-height: 25px; */
+  border-left: 3px solid #70baf2;
+  padding: 2px 5px 2px 5px;
+  position: relative;
+}
+
+.ytg-ps-title3 {
+  /* height: 25px; line-height: 25px; */
+  border-left: 3px solid #70baf2;
+  padding: 8px 5px 8px 5px;
+  position: relative;
+}
+
+.ytg-ps-title2>span {
+  margin-left: 10px;
+}
+
+.ytg-ps-title3>span {
+  margin-left: 10px;
+}
+
+.el-button--small {
+  padding: 7px 15px 6px 15px;
+}
+
+/*.ytg-ps-title .el-button--small {
+  padding: 7px 10px;
+}*/
+.ytg-ps-title-btns {
+  margin-right: 20px;
+  vertical-align: top;
+  position: absolute;
+  bottom: 2px;
+  right: 0;
+}
+
+.ytg-ps-title-btns>.el-button {
+  vertical-align: top;
+}
+
+.ytg-ps-title-btns>.el-input-number {
+  vertical-align: top;
+}
+
+.ytg-ps-title-btns>.el-radio {
+  vertical-align: top;
+  top: 7px;
+}
+
+.ytg-ps-ops {
+  position: absolute;
+  top: 0;
+  left: 0;
+  padding: 10px 20px 0 20px;
+  height: 50px;
+  width: 100%;
+  background-color: #f5f7fa;
+  border-bottom: 1px solid #ddd;
+}
+
+.el-form--inline .el-form-item {
+  margin-right: 5px;
+}
+
+.el-button+.el-button {
+  margin-left: 3px;
+}
+
+.ytg-ps-ops>.el-button+.el-button {
+  margin-left: 5px;
+  padding: 8px 10px;
+}
+
+.ytg-ps-content {
+  height: 100%;
+  padding-top: 10px;
+}
+
+.ytg-search-more-content {
+  height: 0px;
+  overflow: hidden;
+  transition: height .3s ease-out;
+}
+
+.ytg-search-more-content-auto {
+  height: auto;
+}
+
+.ytg-search-more-icon {
+  position: relative;
+  top: 1px;
+  font-size: 14px;
+  -webkit-transition: transform .3s;
+  transition: transform .3s;
+}
+
+.ytg-search-more-icon2 {
+  -webkit-transform: rotate(180deg);
+  transform: rotate(180deg);
+}
+
+/* login commnon css */
+.xs-lg-form {
+  padding: 0.5rem 2rem;
+}
+
+.xs-lg-form .el-form-item {
+  margin-bottom: 0.5rem;
+}
+
+.xs-lg-form .el-form-item__error {
+  padding-top: 4px;
+  padding-left: 10px;
+}
+
+.xs-lg-form .el-input__inner {
+  border: 1px solid #fff;
+  height: 2.5rem;
+  line-height: 2.5rem;
+  color: #000;
+  background: transparent;
+  border-radius: 0;
+  position: relative;
+  font-size: 1.2rem;
+}
+
+.xs-lg-form .el-input--prefix .el-input__inner {
+  padding-left: 3rem;
+  background: transparent;
+  color: #000;
+  height: 2.5rem;
+  line-height: 2.5rem;
+  border: 1px solid #fff;
+}
+
+.xs-lg-form .xs-lg-form-date .el-input__prefix {
+  left: 18px;
+  top: -2px;
+  font-size: 20px;
+}
+
+.xs-lg-form .el-input__icon {
+  color: #ddd;
+  font-weight: none;
+  width: 1.25rem;
+  line-height: 2.5rem;
+  /* display: none; */
+}
+
+.xs-lg-form .el-select .el-input.is-focus .el-input__inner {
+  border-color: #fff;
+  line-height: 2rem;
+  font-size: 1rem;
+}
+
+.xs-lg-form .el-select .el-input .el-select__caret {
+  color: #fff;
+  line-height: 2.5rem;
+  font-size: 1rem;
+}
+
+/*复制OA的router-link样式*/
+/* tabs */
+.st-tabs {
+  text-align: center;
+  padding: 15px 0;
+  border: 1px #ccc solid;
+}
+
+.st-tabs-li {
+  display: inline-block;
+  margin: 0 10px;
+  padding: 0 24px;
+  height: 34px;
+  line-height: 34px;
+  vertical-align: middle;
+  font-size: 14px;
+  color: #333;
+  text-align: center;
+  border: 1px solid #ccc;
+  background-color: #fff;
+  border-radius: 4px;
+  cursor: pointer;
+}
+
+.st-tabs-li:hover {
+  background-color: #f1f1f1;
+  text-decoration: none;
+  color: #666;
+}
+
+.st-tabs-li:focus {
+  text-decoration: none;
+}
+
+.st-tabs-li.router-link-active {
+  border-color: #4086ff;
+  background-color: #4086ff;
+  color: #fff;
+  cursor: default;
+}
+
+.st-tabs-li.router-link-active:hover {
+  background-color: #3D74FF;
+}
+
+/*资产管理模块样式-复制OA的样式*/
+.line-border .el-input__inner {
+  border: none
+}
+
+.line-border .el-textarea__inner {
+  border: none
+}
+
+.line-border .el-form-item__error {
+  margin-top: -8px;
+}
+
+.line-border .el-form-item {
+  margin: 0px;
+  width: 100%;
+}
+
+.wLine .line-border .el-form-item {
+  margin: 0px;
+  width: 100%
+}
+
+/** 质量模块**/
+.chen-formula .el-form-item__label {
+  width: 160px !important;
+}
+
+/**/
+/* 文件列表显示样式 */
+.st-filelist-ul {
+  padding: 20px;
+  overflow: hidden;
+}
+
+.st-filelist-ul>li {
+  position: relative;
+  padding: 15px 0;
+  margin-bottom: 20px;
+  border: 1px solid #d9d9d9;
+}
+
+.st-filelist-ul>li:last-child {
+  margin-bottom: 0px;
+}
+
+.st-filelist-text {
+  height: 30px;
+  line-height: 30px;
+  vertical-align: middle;
+  padding: 0 60px;
+  text-align: left;
+  overflow: hidden;
+}
+
+.st-ellipsis {
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+  word-break: keep-all;
+}
+
+.st-filelist-icon-img {
+  position: absolute;
+  top: 14px;
+  left: 20px;
+  width: 30px;
+  height: 30px;
+  text-align: center;
+  line-height: 30px;
+  vertical-align: middle;
+  cursor: pointer;
+}
+
+.st-filelist-icon-img>img {
+  max-width: 100%;
+  max-height: 100%;
+  vertical-align: middle;
+}
+
+.st-filelist-icon-download {
+  position: absolute;
+  top: 14px;
+  right: 20px;
+  cursor: pointer;
+}
+
+.st-icons-download {
+  background-position: -120px -168px;
+  width: 30px;
+  height: 30px;
+}
+
+.st-icons-file {
+  background-position: -72px -168px;
+  width: 30px;
+  height: 30px;
+}
+
+.st-filelist-icon-file {
+  position: absolute;
+  top: 14px;
+  left: 20px;
+  cursor: default;
+}
+
+.oa-asset-am-page {
+  padding: 10px 20px 20px 0;
+  overflow: hidden;
+  text-align: right;
+}
+
+.oa-asset-am-page2 {
+  float: right;
+  margin-top: 20px;
+}
+
+.st-table {
+  max-width: 100%;
+  width: 100%;
+  border-top: 1px solid #ccc;
+  border-left: 1px solid #ccc;
+}
+
+.st-table td {
+  padding: 12px 12px;
+  text-align: left;
+  border-color: #ccc;
+  color: #000;
+  border-right: 1px solid #ccc;
+  border-bottom: 1px solid #ccc;
+}
+
+.st-table-bgg {
+  background-color: #f5f5f5;
+  word-break: break-all
+}
+
+.st-table .st-table-tdl {
+  color: #666;
+  text-align: right;
+}
+
+.st-table-form .st-table-tdl {
+  background-color: #f5f5f5;
+}
+
+.st-icons-email-addc {
+  background-position: -168px -212px;
+  width: 20px;
+  height: 25px;
+}
+
+/*下拉框*/
+.oa-search-header-form-s {
+  width: 180px;
+}
+
+.st-icons-addo {
+  background-position: -48px -48px;
+}
+
+.st-slider-title-x2 {
+  position: absolute;
+  top: 24px;
+  right: 30px;
+  cursor: pointer;
+  margin-right: 0 !important;
+}
+
+.st-slider-title-x2:hover {
+  animation: circle 2s linear 0s infinite;
+}
+
+.st-icons-x {
+  background-position: 0 -72px;
+  width: 16px;
+  height: 16px;
+}
+
+.st-icons-x:hover {
+  animation: circle 3s linear infinite;
+}
+
+.st-slider-title-x {
+  position: absolute;
+  top: 24px;
+  right: 30px;
+  cursor: pointer;
+  margin-right: 0 !important;
+}
+
+.sui-slider {
+  position: absolute;
+}
+
+.st-slider-title-x:hover {
+  animation: circle 2s linear 0s infinite;
+}
+
+.sui-slider-title-text {
+  display: inline-block;
+  padding-left: 5px;
+}
+
+.oa-asset-am-button {
+  margin-top: 20px;
+  overflow: hidden;
+}
+
+/* 合同行修改 */
+.ct-line .el-input__inner {
+  background: #f2e6b6;
+}
+
+/* 合同打印页面的单选按钮样式 */
+.printRadio .el-radio__label {
+  padding-left: 0;
+}
+
+/*产品规范新增按钮*/
+.stdAddBtn {
+  margin-left: 10px;
+}
+
+.appendColor .el-input .el-input-group__append {
+  background-color: #f5f7fa;
+}
+
+/*tab页选中之后的样式,非路由,路由有路由的class*/
+.ytg-tab-check {
+  border-color: #4086ff !important;
+  background-color: #4086ff !important;
+  color: #fff !important;
+  cursor: default !important;
+}
+
+.el-table .warning-row {
+  background: oldlace;
+}
+
+.ytg-s-mm-process .el-tabs__content {
+  overflow: visible;
+}
+
+/*冶金规范管理页面,交付标准和制成那一块不要有太多的层级,就是表格的左、下、右边框重合*/
+.ytg-s-mm-process .el-tabs__content {
+  padding: 0px;
+  margin: 10px -1px -1px -1px;
+}
+
+.el-table .caret-wrapper {
+  height: 20px;
+  width: 20px;
+}
+
+.el-table .sort-caret.ascending {
+  top: -2px;
+  font-size: 16px;
+  border-bottom-color: #fff;
+}
+
+.el-table .ascending .sort-caret.ascending {
+  border-bottom-color: #000;
+}
+
+.el-table .sort-caret.descending {
+  bottom: 1px;
+  font-size: 16px;
+  border-top-color: #fff;
+}
+
+.el-table .descending .sort-caret.descending {
+  border-top-color: #000;
+}
+
+.el-input.is-disabled .el-input__inner {
+  background-color: #dfdfdf;
+  border-color: #ccc;
+  color: #333 !important;
+}
+
+.el-input__inner {
+  border-color: #ccc;
+}
+
+.el-radio__inner,
+.el-checkbox__inner {
+  border-color: #ccc;
+}
+
+/* .el-select .el-input .el-select__caret {
+  color: #fff;
+  line-height: 35px;
+  font-size: 20px;
+} */
+.el-checkbox__label {
+  font-size: 12px;
+}
+
+/*根据设计要求做出以下修改:表格内的编辑控件高度调整为20px,效果为打钩状态和不打钩状态下表格的行高一致*/
+/*去掉表格内编辑控件的圆角*/
+.ctr-tec-table .el-input--small .el-input__inner {
+  height: 20px;
+}
+
+.ctr-tec-table .el-input__inner {
+  border-radius: 0;
+}
+
+.ctr-tec-table .el-input-group>.el-input__inner {
+  display: inline-block;
+}
+
+.ctr-tec-table1 .el-input--small .el-input__inner {
+  height: 20px;
+}
+
+.ctr-tec-table1 .el-input__inner {
+  border-radius: 0;
+  height: 20px !important;
+}
+
+.ctr-tec-table1 .el-input-group>.el-input__inner {
+  display: inline-block;
+}
+
+/*数字输入组件 el-input 在 size='small' 时行高为30,会撑开td的高度导致同一个页面内的表格行高不一致,这里调整为20px*/
+.el-input-number--small {
+  line-height: 20px;
+}
+
+.el-table th>.cell {
+  padding: 0 !important;
+}
+
+.el-pagination button,
+.el-pagination span:not([class*=suffix]),
+.el-pager li {
+  height: 22px;
+  line-height: 22px;
+}
+
+.el-pagination .el-select .el-input .el-input__inner {
+  height: 22px !important;
+  font-size: 12px;
+}
+
+.el-pagination__editor.el-input .el-input__inner {
+  height: 22px;
+  font-size: 12px;
+}
+
+.el-pagination__total {
+  margin-right: 5px;
+}
+
+.el-pagination__jump {
+  margin-left: 5px;
+}
+
+.el-pagination button {
+  min-width: 25px;
+}
+
+.el-table__fixed-right {
+  bottom: 1px !important;
+}
+
+.el-table--border.el-loading-parent--relative {
+  border-top: 1px solid #ccc;
+  border-left: 1px solid #ccc;
+}
+
+.el-range-editor--small .el-range__close-icon,
+.el-range-editor--small .el-range__icon {
+  line-height: 20px;
+}
+
+.el-range-editor--small .el-range-separator {
+  line-height: 20px;
+}
+
+.el-input--small .el-input__icon {
+  line-height: 22px;
+}
+
+.bottom .el-tabs__header {
+  margin-bottom: 5px;
+}
+
+.xtg-right-table .el-button--small {
+  margin-top: 2px;
+  margin-left: 14px;
+}
+
+.xtg-search-left .el-form-item {
+  margin-bottom: 4px;
+}
+
+/* .xtg-button .el-button {
+  margin-left: 5px;
+} */
+.xtg-cutter .el-select {
+  margin: 0;
+  width: 80px;
+}
+
+.xtg-cutter .el-icon-time {
+  display: none;
+}
+
+.xtg-cutter .el-date-editor.el-input {
+  width: 80px;
+}
+
+.xtg-cutter .el-date-editor .el-input__inner {
+  width: 80px;
+  height: 20px;
+  padding: 0;
+  text-align: center;
+}
+
+.xtg-cutter .el-date-editor i {
+  display: none;
+}
+
+.xtg-cutter-data {
+  height: 25px;
+  padding-bottom: 29px;
+  border-bottom: 1px solid #ccc;
+}
+
+.xtg-cutter-data .el-form-item__content,
+.xtg-cutter-data .el-input--mini .el-input__inner,
+.xtg-cutter-data .el-form-item__label,
+.xtg-cutter-data .el-form-item__content {
+  height: 25px;
+  line-height: 25px;
+}
+
+.xtg-cutter-data .el-form-item {
+  margin-left: 40px;
+}
+
+/* CSS for miniui */
+.mini-table-sum {
+  color: #666;
+}
+
+.mini-textbox {
+  width: auto;
+
+}
+
+.mini-textbox-input {}
+
+.mini-grid-filterCell {
+  padding: 2px 2px 2px 2px;
+}
+
+.mini-grid-summaryCell {
+  border-right: 1px solid #ccc;
+  text-align: right;
+}
+
+.mini-textbox .el-icon-circle-close-outline {
+  display: none;
+  position: absolute;
+  right: 2px;
+  top: 50%;
+  margin-top: -8px;
+  font-size: 16px;
+  color: #999;
+  cursor: pointer;
+}
+
+.mini-textbox:hover .el-icon-circle-close-outline {
+  display: block;
+}
+
+.mini-panel-border {
+  border-color: #ccc;
+}
+
+.mini-grid-headerCell {
+  background: #f5f7fa;
+  border-color: #ccc;
+}
+
+.mini-grid-headerCell-inner {
+  text-align: center;
+}
+
+.mini-grid-cell-inner,
+.mini-grid-headerCell-inner {
+  font-family: 'Avenir', Helvetica, Arial, sans-serif;
+}
+
+.mini-textbox-border {
+  border-color: #ccc;
+}
+
+.mini-textbox-focus .mini-textbox-border {
+  border-color: #ccc;
+}
+
+html body .mini-grid-row-selected {
+  font-weight: bold;
+}
+
+.mini-grid-summaryRow {
+  background-color: #f5f7fa;
+}
+
+/*质量设计产品规范描述用*/
+.design-psc-select {
+  position: absolute;
+  background: #f5f7fa;
+  /*padding-left: 645px;*/
+  z-index: 1;
+}
+
+.design-psc-select .el-input__inner {
+  -webkit-border-radius: 0;
+  -moz-border-radius: 0;
+  border-radius: 0;
+  height: 30px;
+}
+
+/* 采购模块供应商信息 */
+.ytg-cg-gys-edit .el-form-item {
+  margin-bottom: 0;
+}
+
+.ytg-cg-gys-edit .el-date-editor .el-input__inner {
+  padding-left: 15px;
+  padding-right: 0px;
+}
+
+.ytg-cg-gys-edit .el-date-editor .el-input__icon {
+  display: none;
+}
+
+/* 采购模块电子签名文件上传 */
+.ytg-cg-edit-up .el-upload-list {
+  margin: -66px 0 0 0;
+}
+
+.ytg-cg-edit-up .el-upload--text,
+.ytg-cg-edit-up .upload-demo {
+  height: 30px;
+}
+
+.el-table .xtg-cj-bc {
+  background-color: rgba(255, 255, 111, 0.829);
+}
+
+/* 采购模块合同编制 */
+.ytg-sc-ht-title {
+  width: 25px;
+  text-align: center;
+  border-top: 3px solid #70baf2;
+  /* padding-left: 5px; */
+  position: relative;
+  font-size: 16px;
+  cursor: pointer;
+}
+
+.xtg-cg-ht-add .el-button--small {
+  padding: 6px 0;
+}
+
+.xtg-cg-ht-add .el-button--small span {
+  display: block;
+  width: 25px;
+  font-size: 15px
+}
+
+.xtg-cg-line-edit .el-form--inline .el-form-item {
+  margin: 0 24px 0 30px
+}
+
+.xs-s-mm-process .el-tabs__content {
+  overflow: visible;
+}
+
+.xs-s-mm-process .el-tabs__header {
+  margin: 0 0 2px;
+}
+
+/* 车间 探伤 编辑区 */
+.xs-j-flaw-edit .el-form-item__content,
+.xs-j-flaw-edit .el-form-item__label,
+.xs-j-flaw-edit .el-input__icon {
+  line-height: 26px;
+}
+
+.xs-j-flaw-edit .el-input__inner {
+  height: 26px;
+}
+
+.xs-j-flaw-edit .el-form-item {
+  margin-bottom: 0;
+}
+
+/* 原中厚板移动过来的样式 */
+
+/*
+ * xinsteel.sales css
+ */
+/* icons */
+.xl-icon-size {
+  font-size: 18px;
+  color: #ff474e;
+  cursor: pointer;
+  margin-right: 10px;
+  margin-top: -2px;
+}
+
+/* .xs-icons {
+  display: inline-block;
+  width: 20px; height: 20px;
+  cursor: pointer;
+  background: url(../img/spirit_xyzhb.png) 0 0 no-repeat;
+  transition: background-position 0.3s;
+} */
+.xs-icons-default-person {
+  background-position: -405px 0;
+  width: 48px;
+  height: 47px;
+}
+
+.xs-icons-see {
+  background-position: -96px -51px;
+  width: 20px;
+  height: 14px;
+}
+
+.xs-icons-see-reverse {
+  background-position: -120px -53px;
+  width: 20px;
+  height: 10px;
+}
+
+.xs-icons-add {
+  background-position: -168px -24px;
+}
+
+.xs-icons-user {
+  background-position: -288px -24px;
+}
+
+.xs-icons-add1 {
+  background-position: -312px -24px;
+  width: 20px;
+  height: 18px;
+}
+
+.xs-icons-del1 {
+  background-position: -335px -24px;
+  width: 20px;
+  height: 18px;
+}
+
+.xs-icons-expand {
+  background-position: -311px -24px;
+  width: 18px;
+  height: 17px;
+}
+
+.xs-icons-expanded {
+  background-position: -335px -24px;
+  width: 18px;
+  height: 17px;
+}
+
+.sui-icons-delete {
+  cursor: pointer;
+  color: #48576a
+}
+
+.sui-icons-delete:hover {
+  color: #999;
+}
+
+/* .xs-icons-blue {
+  display: inline-block;
+  width: 20px; height: 20px;
+  cursor: pointer;
+  background: url(../img/iconsBlue.png) 0 0 no-repeat;
+  -webkit-transition: background-position .3s;
+  transition: background-position .3s;
+} */
+.xs-icons-blue-right-arrow {
+  background-position: -144px -97px;
+  width: 16px;
+  height: 14px;
+}
+
+.sui-menu .xs-icons {
+  -webkit-transition: all .3s linear;
+  transition: all .3s linear;
+}
+
+.xs-icons-ctt {
+  background-position: 0 0;
+}
+
+.sui-menu-li:hover .xs-icons-ctt {
+  background-position: 0 -24px;
+}
+
+.router-link-active .xs-icons-ctt {
+  background-position: 0 -24px;
+}
+
+.sl-menu-a:hover .xs-icons-ctt {
+  background-position: 0 -24px;
+}
+
+.sl-menu-sed .xs-icons-ctt {
+  background-position: 0 -24px;
+}
+
+.xs-icons-vhc {
+  background-position: -24px 0;
+}
+
+.sui-menu-li:hover .xs-icons-vhc {
+  background-position: -24px -24px;
+}
+
+.router-link-active .xs-icons-vhc {
+  background-position: -24px -24px;
+}
+
+.sl-menu-a:hover .xs-icons-vhc {
+  background-position: -24px -24px;
+}
+
+.sl-menu-sed .xs-icons-vhc {
+  background-position: -24px -24px;
+}
+
+.xs-icons-slm {
+  background-position: -48px 0;
+}
+
+.sui-menu-li:hover .xs-icons-slm {
+  background-position: -48px -24px;
+}
+
+.router-link-active .xs-icons-slm {
+  background-position: -48px -24px;
+}
+
+.sl-menu-a:hover .xs-icons-slm {
+  background-position: -48px -24px;
+}
+
+.sl-menu-sed .xs-icons-slm {
+  background-position: -48px -24px;
+}
+
+.xs-icons-cpt {
+  background-position: -72px 0;
+}
+
+.sui-menu-li:hover .xs-icons-cpt {
+  background-position: -72px -24px;
+}
+
+.router-link-active .xs-icons-cpt {
+  background-position: -72px -24px;
+}
+
+.sl-menu-a:hover .xs-icons-cpt {
+  background-position: -72px -24px;
+}
+
+.sl-menu-sed .xs-icons-cpt {
+  background-position: -72px -24px;
+}
+
+.xs-icons-bcf {
+  background-position: -96px 0;
+}
+
+.sui-menu-li:hover .xs-icons-bcf {
+  background-position: -96px -24px;
+}
+
+.router-link-active .xs-icons-bcf {
+  background-position: -96px -24px;
+}
+
+.sl-menu-a:hover .xs-icons-bcf {
+  background-position: -96px -24px;
+}
+
+.sl-menu-sed .xs-icons-bcf {
+  background-position: -96px -24px;
+}
+
+.xs-icons-ctm {
+  background-position: -120px 0;
+}
+
+.sui-menu-li:hover .xs-icons-ctm {
+  background-position: -120px -24px;
+}
+
+.router-link-active .xs-icons-ctm {
+  background-position: -120px -24px;
+}
+
+.sl-menu-a:hover .xs-icons-ctm {
+  background-position: -120px -24px;
+}
+
+.sl-menu-sed .xs-icons-ctm {
+  background-position: -120px -24px;
+}
+
+.xs-icons-plb {
+  background-position: -144px 0;
+}
+
+.sui-menu-li:hover .xs-icons-plb {
+  background-position: -144px -24px;
+}
+
+.router-link-active .xs-icons-plb {
+  background-position: -144px -24px;
+}
+
+.sl-menu-a:hover .xs-icons-plb {
+  background-position: -144px -24px;
+}
+
+.sl-menu-sed .xs-icons-plb {
+  background-position: -144px -24px;
+}
+
+.xs-icons-wl {
+  background-position: -24px -3px;
+}
+
+.router-link-active .xs-icons-wl {
+  background-position: -24px -27px;
+}
+
+.sui-menu-li:hover .xs-icons-wl {
+  background-position: -24px -27px;
+}
+
+.sl-menu-a:hover .xs-icons-wl {
+  background-position: -24px -27px;
+}
+
+.sl-menu-sed .xs-icons-wl {
+  background-position: -24px -27px;
+}
+
+.xs-dialog-m500 .el-dialog {
+  max-width: 500px;
+}
+
+.xs-dialog-m600 .el-dialog {
+  max-width: 600px;
+}
+
+.xs-dialog-m700 .el-dialog {
+  max-width: 700px;
+}
+
+.xs-dialog-m800 .el-dialog {
+  max-width: 800px;
+}
+
+.router-link-active .xs-icons-plb {
+  background-position: -144px -24px;
+}
+
+.xs-comp-content {
+  padding-top: 10px;
+  position: relative;
+}
+
+.xs-comp-content-add-btn {
+  position: absolute;
+  top: -35px;
+  left: 20px;
+}
+
+.xs-content-title {
+  /*display: inline-block;*/
+  margin-bottom: 10px;
+  padding-left: 8px;
+  height: 24px;
+  line-height: 24px;
+  vertical-align: middle;
+  border-left: 3px solid #70baf2;
+  font-size: 12px;
+  position: relative;
+}
+
+.xs-content-title-btn {
+  position: absolute;
+  right: 0;
+  top: 2px;
+}
+
+.xs-tabs .el-tabs__content {
+  overflow: visible;
+}
+
+.xs-edit-table .el-input__inner {
+  background: #FEFEC0;
+  border-radius: 0;
+  height: 20px;
+}
+
+/* 定义的表格名称样式 */
+.xs-define-title {
+  float: left;
+  width: 120px;
+  padding-left: 8px;
+  margin: 10px 0;
+  height: 24px;
+  display: inline-block;
+  border-left: 3px solid #70baf2;
+}
+
+.xs-define-title-span {
+  line-height: 24px
+}
+
+.xs-define-title-add {
+  margin-left: 10px;
+  vertical-align: middle;
+  height: 24px;
+}
+
+.xs-define-title-search {
+  margin-left: 120px;
+}
+
+.el-button--danger {
+  color: #fff;
+  /* background-color: #66a2ff;
+  border-color: #66a2ff; */
+}
+
+.el-table__body tr.current-row>td {
+  color: #3279e8 !important;
+}
+
+/*面包屑*/
+.el-breadcrumb__inner,
+.el-breadcrumb__inner a {
+  font-weight: normal;
+}
+
+.sl-header-li-lgbc .el-breadcrumb__inner {
+  color: white;
+}
+
+.sl-header-li-lgbc .el-breadcrumb__inner {
+  color: white
+}
+
+.sl-header-li-lgbc .el-breadcrumb__item:last-child .el-breadcrumb__inner {
+  color: white
+}
+
+.sl-header-li-lgbc .el-breadcrumb__separator {
+  color: white
+}
+
+.el-breadcrumb__inner:hover {
+  color: white;
+  cursor: text;
+}
+
+/* end */
+
+/* 表格标题及按钮样式 */
+.ytg-ps {
+  min-width: 1300px;
+  height: 100%;
+  position: relative;
+}
+
+.ytg-ps-title {
+  height: 25px;
+  line-height: 25px;
+  border-left: 3px solid #70baf2;
+  padding-left: 5px;
+  position: relative;
+}
+
+.ytg-ps-title-btns {
+  vertical-align: top;
+  position: absolute;
+  bottom: 2px;
+  right: 0;
+}
+
+/* end */
+
+/* login common css */
+/* .xs-lg-form {
+  padding: 20px 40px;
+}
+.xs-lg-form .el-form-item {
+  margin-bottom: 5px;
+} */
+/* .xs-lg-form .zhb-login-pawd.el-form-item {
+  margin-bottom: 0.75rem;
+} */
+
+/* .xs-lg-form .el-form-item__error { padding-top: 2px; padding-left: 10px; } */
+/* .xs-lg-form .el-input__inner {
+  border: 0; border-bottom: 1px solid #e3e3e3;
+  font: 400 14px Arial;
+  border-radius: 0;
+  position: relative;
+  padding-left: 0;
+} */
+.xs-edit-form .el-form-item {
+  margin-bottom: 15px;
+}
+
+.xs-edit-form .el-form-item__error {
+  padding-top: 1px;
+  margin-top: 0;
+}
+
+/* .xs-lg-form .el-form-item__error {
+  padding-top: 1px;
+} */
+
+/* end */
+
+/*用于解决复合型输入框内容为空时,标签和输入框会错位的bug*/
+.xs-append-form .el-input__inner {
+  display: inline-block;
+}
+
+/* end */
+
+/*编辑区标题*/
+.xs-edit-title {
+  text-align: left;
+  margin-bottom: 10px;
+  padding-left: 5px;
+  vertical-align: middle;
+  border-left: 3px solid #70baf2;
+  position: relative;
+  border-bottom: 1px solid #ccc;
+}
+
+.xs-page-tr {
+  padding: 10px 0 0 0;
+  text-align: right;
+  overflow: hidden;
+}
+
+.xs-testarea {
+  position: relative;
+  background-color: #eef1f6;
+  border: 1px solid #d1dbe5;
+  color: #bbb;
+  cursor: not-allowed;
+  display: inline-table;
+  border-radius: 4px;
+}
+
+.xs-testarea-content {
+  min-height: 36px;
+  position: relative;
+  width: 100%;
+  padding: 0 56px 0 10px;
+  color: #bbb;
+}
+
+.xs-textarea-append {
+  position: absolute;
+  right: 0;
+  top: 0;
+  height: 100%;
+  border-color: #bfcbd9;
+  color: #97A8BE;
+}
+
+.xs-textarea-append:hover {
+  border-color: #bfcbd9;
+  color: #97A8BE;
+}
+
+/*树*/
+.el-tree-node__content {
+  position: relative;
+  overflow: hidden;
+  text-overflow: ellipsis;
+}
+
+.el-form-item {
+  margin-bottom: 15px;
+}
+
+/* .el-form-item__error { padding-top: 0; margin-top: -7px; } */
+/*.el-input--small { width: 200px; }*/
+/*.el-input--small {width: auto;}*/
+/*也不知道是哪两个人,就这个100%和200px重复写了好多次,你覆盖我的我就在下面再写一次重新覆盖你,也是倔强!!!*/
+/*下面的全部删掉,要改这个样式请再前面加上前缀,不要修改这种全局的样式,修改之前先搜索一下*/
+.el-date-editor.el-input {
+  width: 200px;
+}
+
+/*.el-table { font-size: 12px; }*/
+/* table */
+.el-table th {
+  padding: 1px 0;
+  background-color: #45A4F9 !important;
+}
+
+.el-table td {
+  padding: 3px 0;
+}
+
+.el-table td .el-button--text {
+  padding: 2px 0;
+  margin-left: 6px;
+}
+
+.el-table {
+  color: #000;
+  font-size: 12px;
+}
+
+.el-table thead {
+  color: #FFF;
+}
+
+.el-table--border td,
+.el-table--border th {
+  border-color: #ccc;
+}
+
+.el-table--border th {
+  text-align: center !important;
+}
+
+.el-table--border,
+.el-table--group {
+  border-color: #ccc;
+}
+
+.el-table td,
+.el-table th.is-leaf {
+  border-color: #ccc;
+}
+
+.el-table__fixed,
+.el-table__fixed-right {
+  box-shadow: 0 0 10px rgba(0, 0, 0, .3);
+}
+
+.el-table--border::after,
+.el-table--group::after,
+.el-table::before {
+  background-color: #ccc;
+}
+
+.el-table--border .has-gutter td:nth-last-of-type(2),
+.el-table--border .has-gutter th:nth-last-of-type(2) {
+  border-right: 1px solid #ccc;
+}
+
+.el-table__row.current-row {
+  color: #20a0ff;
+}
+
+.el-table-column-span {
+  color: #000 !important;
+  background-color: #fff !important;
+}
+
+.el-table__column-filter-trigger {
+  line-height: normal;
+}
+
+.el-table-td-ops {
+  position: relative;
+  width: 100%;
+  padding-right: 36px;
+  overflow: hidden;
+}
+
+.el-table-td-btn {
+  position: absolute;
+  right: 0;
+  top: 2px;
+}
+
+.el-table__fixed-right-patch {
+  background-color: #f5f7fa;
+}
+
+.el-table__column-filter-trigger i {
+  -webkit-transform: scale(1);
+  transform: scale(1);
+  position: relative;
+  top: 1px;
+  left: 1px;
+  color: #FFF;
+}
+
+.el-table .cell {
+  padding: 0 5px !important;
+  line-height: 20px;
+}
+
+.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
+  background: #f0f5ff;
+}
+
+/*改变字体大小*/
+.el-table {
+  font-size: 12px;
+}
+
+.el-input__inner {
+  font-size: 12px;
+}
+
+.el-form-item__label {
+  font-size: 12px;
+  line-height: 32px;
+}
+
+.el-button,
+.el-textarea__inner {
+  font-size: 12px;
+}
+
+.el-dialog__title {
+  font-size: 14px;
+}
+
+/*.el-date-picker { z-index: 30000 !important; }*/
+/*.el-select-dropdown { z-index: 30000 !important; }*/
+
+/*对话框*/
+.el-dialog--defineLarge {
+  width: 1000px;
+}
+
+.el-dialog--defineSmall {
+  width: 400px;
+}
+
+.el-dialog--define65 {
+  width: 65%;
+}
+
+.el-dialog__header {
+  padding: 20px;
+  text-align: center;
+}
+
+.buttonTopCls .el-dialog__header {
+  padding-bottom: 0px;
+  text-align: center;
+}
+/*ul*/
+.xs-li {
+  white-space: nowrap;
+  text-overflow: ellipsis;
+  overflow: hidden;
+  line-height: 36px;
+  height: 36px;
+  border-bottom: 1px solid #ccc;
+  cursor: pointer;
+}
+
+.xs-li:hover {
+  background: #f0f5ff;
+}
+
+.xs-li-active {
+  background: #f0f5ff;
+}
+
+.yt-base-top-page {
+  position: absolute;
+  bottom: 0;
+  left: 0;
+  z-index: 1000;
+  width: 100%;
+  padding-right: 20px;
+  text-align: right;
+}
+
+/* 多条件下拉样式 */
+.ytg-search-more-icon {
+  position: relative;
+  top: 1px;
+  font-size: 14px;
+  -webkit-transition: transform .3s;
+  transition: transform .3s;
+}
+
+.ytg-search-more-icon2 {
+  -webkit-transform: rotate(180deg);
+  transform: rotate(180deg);
+}
+
+/* 分页样式 */
+.yt-table-page {
+  margin: 5px 0 0;
+  text-align: right;
+}
+
+/* 物流管理 */
+.yt-alc {
+  padding: 10px 20px;
+}
+
+.ytg-lo-cr {
+  height: 100%;
+  position: relative;
+  overflow: auto;
+}
+
+/* 基础布局样式 */
+.yt-base-bottom-edit {
+  position: absolute;
+  bottom: 0;
+  z-index: 1000;
+  width: 100%;
+  overflow: auto;
+  padding: 0 20px 5px 20px;
+  border-top: 1px solid #ccc;
+  background-color: #fff;
+  box-shadow: 0 0 10px #ccc;
+}
+
+/* xs-form-inline */
+.xs-form-inline {}
+
+.xs-form-inline-c1 {
+  width: 100%;
+}
+
+.xs-form-inline-c2 {
+  width: 50%;
+}
+
+
+.xs-pl-button-right {
+  float: right;
+  margin-left: 0 !important;
+  margin-right: 10px;
+}
+
+.xs-pl-button-right1 {
+  float: right;
+  margin-left: 0 !important;
+  margin-right: 0;
+}
+
+/*表格行内编辑样式*/
+/*选择框*/
+.el-checkbox_noEdit {
+  cursor: default
+}
+
+.el-checkbox_noEdit .el-checkbox__input_noEdit {
+  cursor: default
+}
+
+.el-checkbox__inner_no_noEdit:hover {
+  border: 1px solid #bfcbd9;
+}
+
+.el-checkbox__inner_yes_noEdit:hover {
+  border-color: #0190fe;
+}
+
+/* 客户管理*/
+
+.xs-xtm-child-left {
+  width: 15%;
+  height: 100%;
+  float: left;
+  background: #f0f5ff;
+}
+
+.xs-xtm-child-right {
+  width: 85%;
+  height: 100%;
+  float: right;
+  overflow-y: auto;
+  padding-right: 20px;
+}
+
+
+/** 更改原表单样式 **/
+.xs-xtm-form .el-cascader-menus {
+  /*z-index: 20019 !important;*/
+  left: 170px;
+}
+
+.xs-xtm-form .el-form-item__content:only-child {
+  margin: 0 !important;
+}
+
+.xs-xtm-form .el-select {
+  display: block !important;
+}
+
+.xs-xtm-form .el-input {
+  width: 100%;
+}
+
+.xs-xtm-form .el-cascader {
+  display: block !important;
+}
+
+/* end */
+
+/* 中厚板之前elementUi版本过低,修改了弹出框跟对话框的z-index,现在版本升级后请使用 .xs-message 和 .xs-dialog*/
+.el-message-box__wrapper {
+  /*z-index: 21503 !important;*/
+}
+
+.el-message {
+  /*z-index: 21505 !important;*/
+}
+
+.el-dialog__wrapper {
+  /*z-index: 21504 !important;*/
+}
+
+.el-tooltip__popper {
+  /*z-index: 21504 !important;*/
+}
+
+/* end */
+
+.xs-xtm-icon-add {
+  float: right;
+  margin-top: 10px;
+}
+
+.v-modal {
+  position: absolute;
+}
+
+/*poptip*/
+.tip {
+  display: none;
+  width: 300px;
+  padding: 20px;
+  z-index: 20000;
+  background: #fff;
+  -webkit-animation: msgbox-fade-out .3s, msgbox-fade-in .3s;
+  animation: msgbox-fade-out .3s, msgbox-fade-in .3s;
+}
+
+.tooltip-content {
+  width: 260px;
+  word-break: break-all;
+}
+
+.poptip-arrow {
+  position: absolute;
+  overflow: hidden;
+  font-style: normal;
+  font-family: simsun;
+  font-size: 12px;
+  text-shadow: 0 0 2px #ccc;
+}
+
+.poptip-arrow em,
+.poptip-arrow i {
+  position: absolute;
+  left: 0;
+  top: 0;
+  font-style: normal;
+}
+
+.poptip-arrow em {
+  color: #d1dbe5;
+}
+
+.poptip-arrow i {
+  color: #fff;
+  text-shadow: none;
+}
+
+.poptip-arrow-left,
+.poptip-arrow-right {
+  height: 12px;
+  width: 6px;
+  top: 12px;
+  margin-top: -6px;
+}
+
+.poptip-arrow-left {
+  left: -6px;
+}
+
+.poptip-arrow-left em {
+  left: 1px;
+}
+
+.poptip-arrow-left i {
+  left: 2px;
+}
+
+.poptip-arrow-right {
+  right: -6px;
+}
+
+.poptip-arrow-right em {
+  left: -6px;
+}
+
+.poptip-arrow-right i {
+  left: -7px;
+}
+
+.ytg-search-more-content {
+  height: 0;
+  overflow: hidden;
+  transition: height .3s ease-out;
+}
+
+.ytg-search-more-content-auto {
+  height: auto;
+}
+
+/* 改变单元格背景色 */
+.plan_ht_time {
+  background-color: #ecf5ff;
+}
+
+.xs-ctt-mt-fm input {
+  padding: 0 10px;
+  /* background: red */
+}
+
+.xg-ytg-produce .el-table__expanded-cell[class*=cell] {
+  padding: 5px 30px;
+}
+
+.xs-qt-table .el-table .cell {
+  padding: 0 8px !important
+}
+
+.xs-qt-table.el-table .cell {
+  padding: 0 8px !important
+}
+
+.xs-c-p-p-lrb-edit .el-form-item__content,
+.xs-c-p-p-lrb-edit .el-form-item__label {
+  line-height: 26px;
+}
+
+.xs-c-p-p-lrb-edit .el-form-item {
+  margin-bottom: 0;
+}
+
+.xs-s-mm-process .el-tabs__content {
+  overflow: visible;
+}
+
+/*
+ * xinsteel.sales css
+ */
+.xs-lg-form .el-input--prefix .el-input__inner {
+  padding-left: 60px
+}
+
+.xs-lg-form .xs-lg-form-date .el-input__prefix {
+  left: 0.9rem;
+  top: 0;
+  font-size: 1rem;
+}
+
+/*
+ * xinsteel.sales css
+ */
+/*复制OA的router-link样式*/
+/* tabs */
+.st-tabs {
+  text-align: center;
+  padding: 15px 0;
+  border: 1px #ccc solid;
+}
+
+.st-tabs-li {
+  display: inline-block;
+  margin: 0 10px;
+  padding: 0 24px;
+  height: 34px;
+  line-height: 34px;
+  vertical-align: middle;
+  font-size: 14px;
+  color: #333;
+  text-align: center;
+  border: 1px solid #ccc;
+  background-color: #fff;
+  border-radius: 4px;
+  cursor: pointer;
+}
+
+.st-tabs-li:hover {
+  background-color: #f1f1f1;
+  text-decoration: none;
+  color: #666;
+}
+
+.st-tabs-li:focus {
+  text-decoration: none;
+}
+
+.st-tabs-li.router-link-active {
+  border-color: #4086ff;
+  background-color: #4086ff;
+  color: #fff;
+  cursor: default;
+}
+
+.st-tabs-li.router-link-active:hover {
+  background-color: #3D74FF;
+}
+
+/* 车间管理组批页面移动按钮 */
+.ytg-xd-button .el-button--mini {
+  padding: 5px 15px
+}
+
+/*根据设计要求做出以下修改:表格内的编辑控件高度调整为20px,效果为打钩状态和不打钩状态下表格的行高一致*/
+/*去掉表格内编辑控件的圆角*/
+.ctr-tec-table .el-input--small .el-input__inner {
+  height: 20px;
+}
+
+.ctr-tec-table .el-input__inner {
+  border-radius: 0;
+}
+
+.ctr-tec-table .el-input-group>.el-input__inner {
+  display: inline-block;
+}
+
+/* 去掉表格内编辑时间小图标 */
+.ctr-tec-table .el-input__icon {
+  display: none;
+}
+
+.ctr-tec-table .el-input__inner {
+  padding-left: 14px;
+}
+
+.ctr-tec-table1 .el-input__inner {
+  padding-left: 14px;
+}
+
+/* 技术要求输入下拉框 */
+/*ytg-s-m-mm-msc: 冶金规范管理Msc表格*/
+.ctr-tec-table .el-input__inner,
+.ytg-s-m-mm-msc .el-input__inner {
+  background: #FEFEC0;
+}
+
+.ctr-tec-table1 .el-input__inner,
+.ytg-s-m-mm-msc .el-input__inner {
+  background: #FEFEC0;
+}
+
+/*规范管理模块用的分页器样式*/
+.std-page {
+  padding: 20px 20px 0 20px;
+  text-align: right;
+}
+
+.el-form-item__content {
+  line-height: 28px;
+}
+
+/* 车间 探伤 编辑区 */
+.xs-j-flaw-edit .el-form-item__content,
+.xs-j-flaw-edit .el-form-item__label,
+.xs-j-flaw-edit .el-input__icon {
+  line-height: 26px;
+}
+
+.xs-j-flaw-edit .el-input__inner {
+  height: 26px;
+}
+
+.xs-j-flaw-edit .el-form-item {
+  margin-bottom: 0;
+}
+
+.ytg-s-mm-process .el-tabs__content {
+  overflow: visible;
+}
+
+/*冶金规范管理页面,交付标准和制成那一块不要有太多的层级,就是表格的左、下、右边框重合*/
+.ytg-s-mm-process .el-tabs__content {
+  padding: 0px;
+  margin: 10px -1px -1px -1px;
+}
+
+/* 加热炉入炉,出炉,吊销 */
+.xs-edit-table .el-input--suffix .el-input__inner {
+  padding-left: 10px;
+  padding-right: 10px;
+}
+.xg-heat-fur .el-input__icon {
+  line-height: 20px;
+  text-align: right;
+}
+
+.xs-edit-table .el-input__prefix .el-input__icon {
+  display: none;
+  /* line-height: 25px; */
+}
+
+/* 组批 */
+.el-table .xg-zhb-combine td {
+  background-color: skyblue !important;
+}
+
+/* 表格列高度 */
+/* .el-table .cell {
+  line-height: 12px !important;
+} */
+/* 计划模块表头样式 */
+.xs-s-mm-process .el-table thead.is-group th {
+  background-color: skyblue;
+}
+
+.xg-zhb-plan-edit .el-checkbox+.el-checkbox {
+  margin-left: 12px;
+}
+.xg-zhb-plan-long-edit .el-checkbox {
+  margin-right: 0
+}
+.xg-zhb-plan-long-edit .el-checkbox+.el-checkbox {
+  margin-left: 12px;
+}
+
+.xg-zhb-dialog .el-checkbox:first-child {
+  margin-left: 20px;
+}
+
+/* 生产订单管理行变色 */
+.xs-ctt-s .xg-zhb-prod-table td {
+  background-color: rgb(249, 255, 169) !important;
+}
+
+.xg-ytg-produce .el-table tr .cell {
+  padding: 0 2px !important;
+  line-height: 12px;
+  white-space: nowrap;
+  text-overflow:ellipsis;
+}
+
+/* .xg-ytg-produce thead {
+  line-height: 12px;
+} */
+
+/* .xg-ytg-produce .el-table th {
+  margin-left: 1px;
+} */
+.xg-ytg-produce .el-table td {
+  padding: 1px 0;
+}
+
+.xg-ytg-produce .el-checkbox__inner {
+  width: 12px;
+  height: 12px;
+}
+
+.xg-ytg-produce .el-checkbox__inner::after {
+  left: 3px;
+  top: 0;
+}
+
+.xg-ytg-produce .xg-ytg-line-hei.el-table td {
+  padding: 5px 0;
+}
+
+/* 计划,车间模块所有编辑区的高度调整 */
+.xg-ytg-produce .el-button--small {
+  padding: 3px 5px 4px 5px;
+}
+
+.xg-ytg-produce .el-input--small .el-input__inner {
+  height: 21px !important;
+  line-height: 21px;
+  padding: 0 5px;
+}
+
+.xg-ytg-produce .el-input-number--small .el-input-number__decrease,
+.xg-ytg-produce .el-input-number--small .el-input-number__increase {
+  line-height: 19px;
+}
+
+.xg-ytg-produce .el-form--inline .el-form-item {
+  margin-right: 0px;
+}
+
+.xg-ytg-produce .el-form-item {
+  margin-bottom: 0px;
+}
+
+.xg-ytg-produce .el-form-item__label {
+  padding-right: 4px
+}
+
+.xg-ytg-produce .el-icon-date,
+.xg-ytg-produce .el-icon-time {
+  display: none;
+}
+.xg-table-footer .el-table__footer tr {
+  height: 24px;
+}
+
+/* .xg-ytg-line-hei {
+  margin-left: 30px
+} */
+/* 轧制计划编制 */
+.ctr-tec-table.xg-zhb-heat .el-input__inner {
+  padding: 0 0 0 2px;
+}
+
+/* element-bigdata-table 表头对齐 颜XX */
+.vue-element-bigdata-table.el-table--scrollable-y:not(.el-table--scrollable-x) col[name="gutter"] {
+  width: 0 !important
+}
+
+.vue-element-bigdata-table.el-table--scrollable-y:not(.el-table--scrollable-x) th.gutter {
+  width: 0 !important
+}
+
+/* 短尺设计侧边划出框样式 */
+.zhb_slider .el-input--small .el-input__icon {
+  display: none
+}
+
+.zhb_slider .el-input--prefix .el-input__inner {
+  padding-left: 3px;
+  padding-right: 3px;
+}
+
+.zhb_slider .el-form-item {
+  margin-bottom: 2px;
+}
+
+.xs-qt-table .el-checkbox__inner {
+  transition: none;
+}
+
+.theCont .el-tabs__header {
+  margin: 0px;
+}
+
+.theCont .el-form-item {
+  margin-bottom: 0px;
+}
+
+.tableHear .el-table thead.is-group th {
+  background: #5BABE3;
+}
+
+.head .el-table__expanded-cell {
+  padding: 22px 20px 1px 20px;
+}
+
+/* .xg-ytg-tab-wid .el-table__body-wrapper, .xg-ytg-tab-wid .el-table__footer-wrapper, .xg-ytg-tab-wid .el-table__header-wrapper {
+  width: 80%;
+} */
+/* .xg-ytg-tab-wid.el-table {
+  width: 45%;
+} */
+.sl-content-main .el-tabs__header {
+  margin: 0
+}
+
+.design .el-tabs__nav {
+  transform: translateX(757px) ! important;
+}
+
+.td-overflow-tooltip {
+  white-space: nowrap;
+  overflow: hidden;
+  text-overflow: ellipsis;
+  text-align: center;
+  width: 140px;
+  /* position: relative; */
+  cursor: pointer;
+}
+
+.td-overflow-tooltip-box {
+  /* width: 150px; */
+  background: #333;
+  color: #fff;
+  position: absolute;
+  top: -46px;
+  left: 0;
+  z-index: 999;
+  display: none;
+  padding: 10px;
+  border-radius: 2px;
+  font-size: 12px;
+  /* white-space: normal; */
+}
+
+/* 原生表格自定义高亮当前行 */
+.zhb-highlighet-row td {
+  color: #3279e8;
+  background-color: #d3ddf5;
+  font-weight: bold;
+}
+
+.head-wrapper::-webkit-scrollbar-thumb:horizontal {
+  height: 0px;
+}
+
+.head-wrapper::-webkit-scrollbar {
+  height: 0px;
+}
+
+.origin-ul ul {
+  list-style: none;
+  display: none;
+  position: absolute;
+  border-radius: 3px;
+  background: #fff;
+  /* width: calc(100% - 8px); */
+  min-width: 130px;
+  border: 1px solid #cccccc;
+  z-index: 999;
+  max-height: 200px;
+  overflow: scroll;
+}
+
+.origin-ul ul li {
+  text-align: left;
+  padding: 3px 10px;
+  color: #000;
+  font-weight: 100;
+}
+
+.origin-ul ul li:hover {
+  background: skyblue;
+  color: #fff;
+  cursor: pointer;
+}
+
+.origin input,
+.origin select {
+  background: #FEFEC0;
+  width: 100%;
+  padding-left: 4px;
+  font-weight: 500;
+  color: #000;
+}
+
+.origin select {
+  appearance: none;
+  -moz-appearance: none;
+  -webkit-appearance: none;
+}
+
+.origin input {
+  /* border: none; */
+  outline: none;
+  border: 1px solid #aaa;
+  padding-top: 1px;
+  padding-bottom: 1px;
+}
+
+.origin-ul ul::-webkit-scrollbar {
+  /*滚动条整体样式*/
+  width: 8px;
+  /*高宽分别对应横竖滚动条的尺寸*/
+  height: 8px;
+}
+
+.origin-ul ul::-webkit-scrollbar-thumb {
+  /*滚动条里面小方块*/
+  border-radius: 2px;
+  background-color: #CCC;
+  background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
+}
+
+.origin-ul ul::-webkit-scrollbar-track {
+  /*滚动条里面轨道*/
+  /* -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.2); */
+  /*border-radius: 10px;*/
+  background: #FFF;
+}
+
+/* 计划,车间模块所有编辑区的高度调整 */
+.zhb-plan-box .el-button--small {
+  padding: 3px 5px 4px 5px;
+}
+
+.zhb-plan-box .el-input--small .el-input__inner {
+  height: 21px;
+  line-height: 21px;
+}
+
+.el-menu-item {
+  font-size: 12px !important;
+  height: 32px !important;
+  line-height: 32px !important;
+}
+
+.el-submenu__title {
+  font-size: 12px !important;
+  height: 42px !important;
+  line-height: 42px !important;
+}
+
+/* .el-table--striped .el-table__body tr.el-table__row--striped td {
+  background: #dcdfe6;
+} */
+.sl-menu.el-menu {
+  background-color: rgb(168, 230, 219);
+  /* color: #fff; */
+}
+
+.ytg-menu-level1>li>div.el-submenu__title {
+  padding-left: 26px !important;
+}
+
+/* 第一级菜单背景色 */
+.sl-menu.ytg-menu-level1 {
+  /* background-color: #45A4F9; */
+  background-color: #409EFF;
+  /* color: #fff */
+}
+
+.sl-menu.ytg-menu-level1>li>div.el-submenu__title {
+  color: #fff;
+}
+
+.sl-menu.ytg-menu-level1>li>div.el-submenu__title>i {
+  color: #fff;
+}
+
+/* 第二级菜单背景色 */
+.sl-menu.ytg-menu-level1>li>ul {
+  background-color: #fff;
+}
+
+/* 第二级打开菜单背景色 */
+.sl-menu.ytg-menu-level1>li>ul>li.is-opened {
+  background-color: #fff;
+}
+
+/* 第三级菜单背景色 */
+.sl-menu.ytg-menu-level1>li>ul>li>ul {
+  background-color: #fff;
+}
+
+/* 鼠标移入菜单背景色 */
+.sl-menu .el-submenu__title:hover,
+.sl-menu .el-menu-item:hover,
+.sl-menu.ytg-menu-level1>li>div.el-submenu__title:hover,
+.sl-menu.ytg-menu-level1>li>div.el-submenu__title:hover>i {
+  background-color: #ccf1ff;
+  color: #000;
+}
+
+/* 选中菜单背景色 */
+.ytg-menu-level1 .el-menu-item.is-active {
+  background-color: #fff;
+}
+
+/* 选中菜单背景色 */
+.ytg-menu-level1 .el-menu-item.is-active:hover {
+    background-color: #ccf1ff;
+    color: #000;
+}
+
+/* 短尺坯设计导入文件列表隐藏 */
+.zhb-plan-short-design .el-upload-list.el-upload-list--text {
+  display: none
+}
+
+input:-webkit-autofill {
+  -webkit-text-fill-color: #000 !important;
+  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
+  background-color: transparent !important;
+  background-image: none !important;
+  transition: background-color 50000s ease-in-out 0s !important;
+}
+
+/* input {
+  background-color:transparent !important;
+} */
+/* 长尺充当时间控件样式 */
+.zhb-ems-long-feed .el-input--small .el-input__inner {
+  padding-right: 0;
+}
+
+.zhb-ems-long-feed .el-input--prefix .el-input__inner {
+  padding-left: 20px;
+}
+
+.zhb-ems-long-feed .el-input__prefix {
+  left: 0
+}
+
+/* 长尺坯设计选中坯料变色 */
+.el-table--striped .el-table__body tr.el-table__row--striped.zhb-long-row-bgcolor td {
+  background-color: red;
+}
+
+.el-table__body tr.zhb-long-row-bgcolor>td {
+  background-color: red
+}
+
+/** 动态的给el-form-item添加红* **/
+.wBeforeItem label.el-form-item__label::before {
+  content: '*';
+  color: red;
+  margin-right: 4px;
+}
+
+/** 扩展行的div内的padding **/
+.WextendTr .el-table__expanded-cell[class*=cell] {
+  padding: 5px auto;
+}
+
+/* .WextendTr .el-table--border{
+  border-color: #fff;
+} */
+
+/*去掉 el-menu 的title*/
+.el-menu-item-group__title {
+  padding: 0 !important;
+}
+
+/* input-tooltip宽度调整(发运-可发量申报) 颜XX start*/
+.input-tooltip-item {
+  max-width: 50%;
+}
+/* input-tooltip宽度调整(发运-可发量申报) 颜XX end */
+/* 计划模块el-form-item宽度改变 */
+.xs-ct-bcm-edit .el-form-item, .xg-zhb-plan-edit .el-form-item {
+  width: 100%;
+}
+.xs-ct-bcm-edit .el-form-item__content {
+  width: calc(100% - 120px)
+}
+/* .xg-zhb-plan-edit .el-form-item__content {
+  width: calc(100% - 120px)
+} */
+.xg-zhb-trans-table .el-table__body tr.current-row>td {
+  color: #fff !important;
+  background-color: red !important;
+}
+/* el-tooltip 中pre样式修改,设置自动换行(合同头页面) 颜XX */
+pre.alpha_pre {
+  max-width: 880px;
+  white-space: pre-wrap;
+  word-wrap: break-word;
+}

+ 5 - 0
src/assets/css/xt/element.css

@@ -0,0 +1,5 @@
+.el-table__body tr.current-row>td {
+  /* color: #000 !important; */
+  background-color: #d3ddf5 !important;
+  font-weight: bold !important;
+}

+ 3 - 0
src/views/basicInformation/app.js

@@ -13,6 +13,9 @@ import store from '@/store/store.js';
 // router
 import router from './router/index.js';
 
+/* 引入自己写的全局样式 */
+import '~/assets/css/xt/element.css';
+
 // 导出Excel的方法
 import { PEhandleDownloadExcelForElTable } from '~/utils/personalExtension.js';
 Vue.prototype.PEhandleDownloadExcelForElTable = PEhandleDownloadExcelForElTable;

+ 26 - 4
src/views/basicInformation/components/measurementPlace.vue

@@ -820,7 +820,7 @@
                                         </el-select>
                                     </el-form-item>
                                 </el-col>
-                                <el-col :span="16">
+                                <el-col :span="8">
                                     <el-form-item
                                         label="数据来源"
                                         prop="sourceType"
@@ -831,6 +831,25 @@
                                         >
                                         </el-input>
                                     </el-form-item>
+                                </el-col>
+                                <el-col :span="8">
+                                    <el-form-item
+                                        label="转供工序"
+                                        prop="transfer"
+                                    >
+                                        <el-select
+                                            filterable clearable
+                                            style="width: 100%;"
+                                            v-model="dialog.editorBox.form.data.transfer"
+                                        >
+                                            <el-option
+                                                v-for="item of nameObj.workprocid.arr"
+                                                :key="item.id"
+                                                :value="item.id"
+                                                :label="item.name"
+                                            ></el-option>
+                                        </el-select>
+                                    </el-form-item>
                                 </el-col>
                             </el-row>
                         </el-form>
@@ -1323,7 +1342,8 @@ export default {
                             isschedule: '0',
                             costid: '',
                             sourceType: '',
-                            mintimegranid: 'DAY'
+                            mintimegranid: 'DAY',
+                            transfer: ''
                         },
                         rules: {
                             // itemid: [
@@ -1753,7 +1773,8 @@ export default {
                                 parentid: item.parentid,
                                 recTime: item.recTime,
                                 useflag: item.useflag,
-                                status: item.status,
+                                status: item.status,
+                                transfer: item.transfer,
                                 // 扩展
                                 tagid: item.tagid,
                                 tagname: item.tagname,
@@ -1938,7 +1959,8 @@ export default {
                 parentid: that.dialog.editorBox.form1.data.parentid,
                 recTime: that.dialog.editorBox.form1.data.recTime,
                 useflag: that.dialog.editorBox.form1.data.useflag,
-                status: that.dialog.editorBox.form1.data.status,
+                status: that.dialog.editorBox.form1.data.status,
+                transfer: that.dialog.editorBox.form1.data.transfer,
                 // 扩展
                 tagid: that.dialog.editorBox.form1.data.tagid,
                 tagname: that.dialog.editorBox.form1.data.tagname,

+ 3 - 0
src/views/energyAnalysis/app.js

@@ -13,6 +13,9 @@ import store from '@/store/store.js';
 // router
 import router from './router/index.js';
 
+/* 引入自己写的全局样式 */
+import '~/assets/css/xt/element.css';
+
 // 导出Excel的方法
 import { PEhandleDownloadExcelForElTable } from '~/utils/personalExtension.js';
 Vue.prototype.PEhandleDownloadExcelForElTable = PEhandleDownloadExcelForElTable;

+ 5 - 5
src/views/energyAnalysis/components/indexManagement/indexDataMaintain.vue

@@ -370,14 +370,14 @@
                                 sortable
                                 prop="itemname"
                                 label="项目名称"
-                                width="290px"
+                                width="260px"
                                 :show-overflow-tooltip="true"
                             ></el-table-column>
                             <el-table-column
                                 sortable
                                 prop="workprocid"
                                 label="工序名称"
-                                width="170px"
+                                width="100px"
                                 :show-overflow-tooltip="true"
                             >
                                 <template slot-scope="scope">
@@ -417,7 +417,7 @@
                                 sortable
                                 prop="correctvalue"
                                 label="修正值"
-                                width="135px"
+                                width="100px"
                                 :show-overflow-tooltip="true"
                             >
                                 <template slot-scope="scope">
@@ -439,7 +439,7 @@
                                 sortable
                                 prop="apportvalue"
                                 label="最终值"
-                                width="135px"
+                                width="100px"
                                 :show-overflow-tooltip="true"
                             >
                                 <template slot-scope="scope">
@@ -501,7 +501,7 @@
                                 sortable
                                 prop="code"
                                 label="序号"
-                                width="100px"
+                                width="70px"
                                 :show-overflow-tooltip="true"
                             >
                                 <template slot-scope="scope">

+ 59 - 10
src/views/energyAnalysis/components/indexManagement/indexMaintain.vue

@@ -224,7 +224,9 @@
                                         <el-select
                                             filterable clearable
                                             v-model="filterForm.data.energyid"
-                                            placeholder=""
+                                            placeholder=""
+                                            multiple
+                                            collapse-tags
                                             style="width: 100%;"
                                         >
                                             <el-option
@@ -381,6 +383,13 @@
                                 label="项目描述"
                                 min-width="100px"
                                 :show-overflow-tooltip="true"
+                            ></el-table-column>
+                            <el-table-column
+                                sortable
+                                prop="seqno"
+                                label="序号"
+                                min-width="64px"
+                                :show-overflow-tooltip="true"
                             ></el-table-column>
                             <el-table-column
                                 class-name="gn-TableDownloadExcel-none"
@@ -502,7 +511,7 @@
                                     sortable
                                     prop="itemname"
                                     label="项目名称"
-                                    width="296px"
+                                    width="260px"
                                     :show-overflow-tooltip="true"
                                 >
                                     <template slot-scope="scope">
@@ -524,7 +533,7 @@
                                     sortable
                                     prop="workprocid"
                                     label="工序"
-                                    width="115px"
+                                    width="105px"
                                     :show-overflow-tooltip="true"
                                 >
                                     <template slot-scope="scope">
@@ -717,6 +726,27 @@
                                         </el-form-item>
                                         <span v-else>{{scope.row.itemdesc}}</span>
                                     </template>
+                                </el-table-column>
+                                <el-table-column
+                                    sortable
+                                    prop="seqno"
+                                    label="序号"
+                                    min-width="64px"
+                                    :show-overflow-tooltip="true"
+                                >
+                                    <template slot-scope="scope">
+                                        <el-form-item
+                                            v-if="scope.row.isSelection"
+                                            :prop="scope.row.itemid + '.seqno'"
+                                            :rules="dialog.editorBox.form2.rules.seqno"
+                                        >
+                                            <el-input @keydown.native="keyDown" :id="scope.$index + scope.column.id"
+                                                clearable style="width: 100%;"
+                                                v-model.trim="tableFormDataObj[scope.row.itemid].seqno"
+                                            ></el-input>
+                                        </el-form-item>
+                                        <span v-else>{{scope.row.seqno}}</span>
+                                    </template>
                                 </el-table-column>
                                 <el-table-column
                                     sortable
@@ -888,6 +918,15 @@
                                 >
                                 </el-input>
                             </el-form-item>
+                        </el-col>
+                        <el-col :span="12"  v-if="dialog.editorBox.type !== 'add'">
+                            <el-form-item label="序号" prop="itemdesc" :rules="dialog.editorBox.form2.rules.seqno">
+                                <el-input clearable
+                                    style="width: 100%;"
+                                    v-model="dialog.editorBox.form1.data.seqno"
+                                >
+                                </el-input>
+                            </el-form-item>
                         </el-col>
                     </el-row>
                 </el-form>
@@ -1377,6 +1416,9 @@ export default {
                             bz: [],
                             useflag: [
                                 { required: true, message: '该项不能为空', trigger: 'change' }
+                            ],
+                            seqno: [
+                                { validator: zCheckNumber2, trigger: 'change' }
                             ]
                         }
                     }
@@ -1726,7 +1768,8 @@ export default {
                                     name: item.ITEMNAME,
                                     desc: item.ITEMDESC,
                                     level: node.level + 1,
-                                    indextype: item.INDEXTYPE
+                                    indextype: item.INDEXTYPE,
+                                    seqno: item.SEQNO
                                 })
                             }
                             return resolve(arr);
@@ -1752,7 +1795,7 @@ export default {
                     type2: that.filterForm.data.type2,
                     type3: that.filterForm.data.type3,
                     type4: that.filterForm.data.type4,
-                    energyid: that.filterForm.data.energyid,
+                    energyid: that.filterForm.data.energyid.join(','),
                     workprocid: that.filterForm.data.workprocid.join(','),
                     factoryid: that.filterForm.data.factoryid,
                     version: that.filterForm.data.version,
@@ -1790,9 +1833,11 @@ export default {
                                     mintimegranid: item.mintimegranid,
                                     warnvalue: item.warnvalue,
                                     useflag: item.useflag,
-                                    propertyid: item.useflag
+                                    propertyid: item.useflag,
+                                    seqno: item.seqno,
                                 })
-                            }
+                            }
+                            console.log('测试');
                             that.table.table2.data = arr;
                             that.table.table2.total = res.data.total;
                         } else {
@@ -1937,7 +1982,8 @@ export default {
                 itemname: that.dialog.editorBox.form1.data.itemname,
                 indextype: that.dialog.editorBox.form1.data.indextype,
                 itemdesc: that.dialog.editorBox.form1.data.itemdesc,
-                parentid: that.filterForm.node.level === 2 ? that.filterForm.node.id : null
+                parentid: that.filterForm.node.level === 2 ? that.filterForm.node.id : null,
+                seqno: that.dialog.editorBox.form1.data.seqno
                 // itemflag: that.filterForm.node.level
             };
             if (that.table.type === 1) {
@@ -1974,7 +2020,8 @@ export default {
                         id: that.dialog.editorBox.form2.data.workprocid,
                         name: that.nameObj.workprocid.obj[that.dialog.editorBox.form2.data.workprocid]
                     },
-                    itemflag: that.filterForm.node.level
+                    itemflag: that.filterForm.node.level,
+                    seqno: that.dialog.editorBox.form2.data.seqno
                 }
             }
             that.$refs[formName].validate((valid) => {
@@ -2083,7 +2130,9 @@ export default {
                                 itemdesc: that.tableFormDataObj[key].itemdesc,
                                 bz: that.tableFormDataObj[key].bz,
                                 mintimegranid: that.tableFormDataObj[key].mintimegranid,
-                                useflag: that.tableFormDataObj[key].useflag
+                                useflag: that.tableFormDataObj[key].useflag,
+                                seqno: that.tableFormDataObj[key].seqno,
+                                code: that.tableFormDataObj[key].seqno
                             });
                         }
                         that.loading = true;

+ 7 - 7
src/views/energyAnalysis/components/indexManagement/indexTypeMaintain.vue

@@ -119,13 +119,6 @@
                         :show-overflow-tooltip="true"
                     ></el-table-column>
                     <el-table-column
-                    sortable
-                        prop="indexcode"
-                        label="指标类型序号"
-                        min-width="100px"
-                        :show-overflow-tooltip="true"
-                    ></el-table-column>
-                    <el-table-column
                     sortable
                         prop="indexname"
                         label="指标类型名称"
@@ -138,6 +131,13 @@
                         label="指标类型描述"
                         min-width="100px"
                         :show-overflow-tooltip="true"
+                    ></el-table-column>
+                    <el-table-column
+                    sortable
+                        prop="indexcode"
+                        label="指标类型序号"
+                        min-width="64px"
+                        :show-overflow-tooltip="true"
                     ></el-table-column>
                     <el-table-column
                         class-name="gn-TableDownloadExcel-none"

+ 3 - 0
src/views/energyBalance/app.js

@@ -13,6 +13,9 @@ import store from '@/store/store.js';
 // router
 import router from './router/index.js';
 
+/* 引入自己写的全局样式 */
+import '~/assets/css/xt/element.css';
+
 // 关闭生产模式下给出的提示
 Vue.config.productionTip = false;
 

+ 3 - 0
src/views/energyOperationSupport/app.js

@@ -16,6 +16,9 @@ import router from './router/index.js';
 // 关闭生产模式下给出的提示
 Vue.config.productionTip = false;
 
+/* 引入自己写的全局样式 */
+import '~/assets/css/xt/element.css';
+
 /* eslint-disable no-new */
 new Vue({
   el: '#app',

+ 3 - 0
src/views/energyPerformance/app.js

@@ -16,6 +16,9 @@ import router from './router/index.js';
 // 关闭生产模式下给出的提示
 Vue.config.productionTip = false;
 
+/* 引入自己写的全局样式 */
+import '~/assets/css/xt/element.css';
+
 /* eslint-disable no-new */
 new Vue({
   el: '#app',

+ 105 - 11
src/views/energyPerformance/components/supplyAnddemand/ProjectData.vue

@@ -263,7 +263,9 @@
                         size="mini"
                         highlight-current-row
                         @selection-change="handleSelectionChange"
-                        show-summary
+                        show-summary
+                        @cell-click="cellClick"
+                        :row-class-name="tableRowClassName"
                         :summary-method="getSummaries">
                         <el-table-column
                             sortable
@@ -394,14 +396,16 @@
                         >
                             <template slot-scope="scope">
                                 <el-form-item
-                                    v-if="scope.row.isSelection"
-                                    :rules="tableFormRules.numbers"
+                                    v-if="scope.row.isSelection"
+                                    :prop="scope.row.itemid + '-' + scope.row.clock + '-' + scope.row.timegranid + '.correctvalue'"
+                                    :rules="tableFormRules.correctvalue"
                                 >
                                     <el-input clearable
                                         style="width: 100%;"
                                         v-model="tableFormDataObj[scope.row.itemid + '-' + scope.row.clock + '-' + scope.row.timegranid].correctvalue"
                                         refcous="true"
-                                        @change="getApportvalue(scope.row.itemid + '-' + scope.row.clock + '-' + scope.row.timegranid)"
+                                        @change="getApportvalue(scope.row.itemid + '-' + scope.row.clock + '-' + scope.row.timegranid)"
+                                        @keydown.native="keyDown" :id="scope.$index + scope.column.id"
                                     ></el-input>
                                     <template slot="error" slot-scope="scope">
                                         <p class="error" :title="scope.error">{{ scope.error }}</p>
@@ -419,13 +423,16 @@
                         >
                             <template slot-scope="scope">
                                 <el-form-item
-                                    v-if="scope.row.isSelection"
+                                    v-if="scope.row.isSelection"
+                                    :prop="scope.row.itemid + '-' + scope.row.clock + '-' + scope.row.timegranid + '.apportvalue'"
+                                    :rules="tableFormRules.apportvalue"
                                 >
                                     <el-input clearable
                                         style="width: 100%;"
                                         v-model="tableFormDataObj[scope.row.itemid + '-' + scope.row.clock + '-' + scope.row.timegranid].apportvalue"
                                         refcous="true"
-                                        @change="getCorrectvalue(scope.row.itemid + '-' + scope.row.clock + '-' + scope.row.timegranid)"
+                                        @change="getCorrectvalue(scope.row.itemid + '-' + scope.row.clock + '-' + scope.row.timegranid)"
+                                        @keydown.native="keyDown" :id="scope.$index + scope.column.id"
                                     ></el-input>
                                     <template slot="error" slot-scope="scope">
                                         <p class="error" :title="scope.error">{{ scope.error }}</p>
@@ -660,6 +667,14 @@ export default {
                 numbers: [
                     // { required: true, message: '该项不能为空', trigger: 'change' },
                     { validator: zCheckNumber1, trigger: 'change' }
+                ],
+                correctvalue: [
+                    // { required: true, message: '该项不能为空', trigger: 'change' },
+                    { validator: zCheckNumber1, trigger: 'change' }
+                ],
+                apportvalue: [
+                    // { required: true, message: '该项不能为空', trigger: 'change' },
+                    { validator: zCheckNumber1, trigger: 'change' }
                 ]
             },
             pageNum: 1,
@@ -735,7 +750,12 @@ export default {
                         }
                     }
                 }
-            }
+            },
+            rowIndex: '',
+            columnId: '',
+            seqArr: [],
+            focusTarget: null,
+            editSetFlag: '',
         }
     },
     created () {
@@ -936,7 +956,8 @@ export default {
             })
                 .then(function (res) {
                     if (res.code === '0') {
-                        let arr = [];
+                        let arr = [];
+                        let i = 0;
                         for (let item of res.data.list) {
                             arr.push({
                                 itemid: item.ITEMID,
@@ -961,9 +982,11 @@ export default {
                                 seqno: item.SEQNO,
                                 updateUser: item.USERID,
                                 updateTime: item.UPTIME,
-                                fid: item.FID
+                                fid: item.FID,
+                                seq: i
                                 // 修改时间
-                            })
+                            })
+                            i ++;
                         }
                         that.tableData = arr;
                         that.total = res.data.total;
@@ -1124,7 +1147,12 @@ export default {
         // 表格中多选按钮的相关方法
         handleSelectionChange (val) {
             let that = this;
-            let tableFormDataObj = {};
+            let tableFormDataObj = {};
+            let arr = [];
+            for (let item of val) {
+                arr.push(item.seq);
+            }
+            this.seqArr = arr.sort(sortNumber);
             for (let item of that.tableData) {
                 item.isSelection = false;
             }
@@ -1246,8 +1274,74 @@ export default {
                         that.$message.error(res.message);
                     }
                 });
+        },
+        tableRowClassName ({row, rowIndex}) {
+            // 把每一行的索引放进row
+            row.index = rowIndex;
+        },
+        cellClick (row, column, cell, event) {
+            let _this = this;
+            this.rowIndex = row.index;
+            this.columnId = column.id;
+            _this.editSetFlag = row.index + column.id;
+            _this.focusTarget = event.target;
+            while (_this.focusTarget.tagName !== 'TD') {
+                _this.focusTarget = _this.focusTarget.parentElement;
+            }
+            _this.$nextTick(() => {
+                let target = this.focusTarget;
+                $(target).find('input').focus();
+            });
+        },
+        keyDown (event1) {
+            let tdTarget = event1.target;
+            let _this = this;
+            while (tdTarget.tagName !== 'TD') {
+                tdTarget = tdTarget.parentElement;
+            }
+            // 如果按下键盘下键或者回车键
+            if (event.keyCode === 40 || event.keyCode === 13) {
+                let index = parseInt(this.rowIndex);
+                if (index !== this.seqArr[this.seqArr.length - 1]) {
+                    for (let i = 0; i < this.seqArr.length; i++) {
+                        if (index === this.seqArr[i]) {
+                        index = this.seqArr[i + 1];
+                        break;
+                        }
+                    }
+                }
+                this.editSetFlag = index + this.columnId;
+                let id = '#' + this.editSetFlag;
+                this.$nextTick(() => {
+                    $(id).click();
+                });
+            } else if (event.keyCode === 38) { // 键盘上键
+                let index = parseInt(this.rowIndex);
+                if (index !== this.seqArr[0]) {
+                    for (let i = 0; i < this.seqArr.length; i++) {
+                        if (index === this.seqArr[i]) {
+                        index = this.seqArr[i - 1];
+                        break;
+                        }
+                    }
+                }
+                this.editSetFlag = index + this.columnId;
+                let id = '#' + this.editSetFlag;
+                this.$nextTick(() => {
+                    $(id).click();
+                });
+            } else if (event.keyCode === 37) { // 键盘左键
+                $(tdTarget).prev().click();
+                $(tdTarget).prev().find('input').select();
+            } else if (event.keyCode === 39) { // 键盘右键
+                $(tdTarget).next().click();
+                $(tdTarget).next().find('input').select();
+            }
         }
     }
+}
+function sortNumber (a, b) {
+  return a - b
 }
 </script>
 

+ 3 - 0
src/views/energyPlan/app.js

@@ -16,6 +16,9 @@ import router from './router/index.js';
 // 关闭生产模式下给出的提示
 Vue.config.productionTip = false;
 
+/* 引入自己写的全局样式 */
+import '~/assets/css/xt/element.css';
+
 /* eslint-disable no-new */
 new Vue({
   el: '#app',

+ 3 - 0
src/views/energyQuality/app.js

@@ -16,6 +16,9 @@ import router from './router/index.js';
 // 关闭生产模式下给出的提示
 Vue.config.productionTip = false;
 
+/* 引入自己写的全局样式 */
+import '~/assets/css/xt/element.css';
+
 /* eslint-disable no-new */
 new Vue({
   el: '#app',

+ 3 - 0
src/views/energyScheduling/app.js

@@ -16,6 +16,9 @@ import router from './router/index.js';
 // 关闭生产模式下给出的提示
 Vue.config.productionTip = false;
 
+/* 引入自己写的全局样式 */
+import '~/assets/css/xt/element.css';
+
 /* eslint-disable no-new */
 new Vue({
   el: '#app',

+ 3 - 0
src/views/systemInterface/app.js

@@ -16,6 +16,9 @@ import router from './router/index.js';
 // 关闭生产模式下给出的提示
 Vue.config.productionTip = false;
 
+/* 引入自己写的全局样式 */
+import '~/assets/css/xt/element.css';
+
 /* eslint-disable no-new */
 new Vue({
   el: '#app',