n20-common-lib 2.5.13 → 2.5.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n20-common-lib",
3
- "version": "2.5.13",
3
+ "version": "2.5.15",
4
4
  "private": false,
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -1,7 +1,7 @@
1
1
  $--s: 1024px;
2
2
  $--m: 1600px;
3
3
  $--l: 1920px;
4
- $--input-max: 300px;
4
+ $--input-max: 224px;
5
5
 
6
6
  .el-form-item[span],
7
7
  .el-form-item[span-s],
@@ -30,6 +30,7 @@ $--input-max: 300px;
30
30
 
31
31
  @media only screen and (max-width: $--l) {
32
32
  @for $i from 0 through 24 {
33
+
33
34
  .el-form-item[span-l='#{$i}'],
34
35
  .el-form-item[span-lg='#{$i}'] {
35
36
  width: (1 / 24 * $i * 100) * 1%;
@@ -108,10 +109,12 @@ $--input-max: 300px;
108
109
  .el-textarea__inner {
109
110
  padding-left: 10px;
110
111
  padding-right: 10px;
112
+
111
113
  &[oreadonly] {
112
114
  border-color: $--border-color-base;
113
115
  }
114
116
  }
117
+
115
118
  .el-input-number.is-without-controls .el-input__inner {
116
119
  padding-left: 10px;
117
120
  padding-right: 10px;
@@ -563,12 +566,14 @@ $--input-max: 300px;
563
566
  font-size: 16px;
564
567
  transition: all 0.3s;
565
568
  }
569
+
566
570
  &.has-value {
567
571
  &:hover {
568
572
  .el-range__icon {
569
573
  display: none;
570
574
  }
571
575
  }
576
+
572
577
  &.is-disabled {
573
578
  .el-range__icon {
574
579
  display: initial;
@@ -676,6 +681,7 @@ $--input-max: 300px;
676
681
  .el-input__suffix {
677
682
  font-size: 14px;
678
683
  }
684
+
679
685
  .el-icon-circle-close {
680
686
  pointer-events: all;
681
687
  cursor: pointer;
@@ -694,10 +700,12 @@ $--input-max: 300px;
694
700
  .el-select__input {
695
701
  margin-left: 10px;
696
702
  }
703
+
697
704
  .el-input__suffix {
698
705
  display: none;
699
706
  }
700
707
  }
708
+
701
709
  &.is-clearable {
702
710
  .el-select {
703
711
  .el-input__inner {
@@ -705,6 +713,7 @@ $--input-max: 300px;
705
713
  }
706
714
  }
707
715
  }
716
+
708
717
  .el-input__suffix {
709
718
  z-index: 1;
710
719
  }
@@ -728,6 +737,7 @@ $--input-max: 300px;
728
737
  /* 脱离form-item校验 */
729
738
  .rule-key__is-error {
730
739
  position: relative;
740
+
731
741
  .el-input__inner,
732
742
  .el-input__inner:focus,
733
743
  .el-textarea__inner,
@@ -735,6 +745,7 @@ $--input-max: 300px;
735
745
  border-color: $--color-danger;
736
746
  }
737
747
  }
748
+
738
749
  .rule-key__error_msg {
739
750
  color: $--color-danger;
740
751
  font-size: 12px;
@@ -750,8 +761,9 @@ $--input-max: 300px;
750
761
  }
751
762
 
752
763
  .n20-approval-Button {
764
+
753
765
  .el-form-item--small .el-form-item__content,
754
766
  .el-form-item--small .el-form-item__label {
755
767
  line-height: 1.5;
756
768
  }
757
- }
769
+ }
@@ -93,7 +93,7 @@ export default {
93
93
  data() {
94
94
  let headerH = 48
95
95
  let tabsH = 28
96
- let clientM = 4
96
+ let clientM = 8
97
97
 
98
98
  return {
99
99
  dnsKey: this.isTest || (process.env.NODE_ENV === 'production' && process.env.VUE_APP_KEEP_ALIVE === 'true'),
@@ -416,7 +416,7 @@ export default {
416
416
  methods: {
417
417
  getIsImgCode() {
418
418
  axios
419
- .get(`/bems/prod_1.0/uas/api/authorization/isimgcode`, null, { loading: false, onMsg: true })
419
+ .get(`/bems/prod_1.0/uas/api/authorization/isimgcode`, null, { loading: false, noMsg: true })
420
420
  .then(({ data }) => {
421
421
  this.isImageCode = data
422
422
  })