eoss-ui 0.6.36 → 0.6.38

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.
@@ -38,6 +38,18 @@
38
38
  th {
39
39
  padding: 6px 0;
40
40
  text-align: center;
41
+ &.is-right {
42
+ text-align: right;
43
+ .cell {
44
+ justify-content: flex-end;
45
+ }
46
+ }
47
+ &.is-left {
48
+ text-align: left;
49
+ .cell {
50
+ justify-content: flex-start;
51
+ }
52
+ }
41
53
  .cell {
42
54
  justify-content: center;
43
55
  }
@@ -55,6 +67,11 @@
55
67
  justify-content: flex-end;
56
68
  }
57
69
  }
70
+ &.is-left {
71
+ .cell {
72
+ justify-content: flex-start;
73
+ }
74
+ }
58
75
  }
59
76
  .es-table-handle-box {
60
77
  text-align: center;
@@ -541,7 +541,8 @@ export default {
541
541
  return true;
542
542
  },
543
543
  isSort() {
544
- return this.dragSort && !this.isDisabled && this.isReadonly;
544
+ // return this.dragSort && !this.isDisabled && this.isReadonly;
545
+ return this.dragSort && !this.isDisabled;
545
546
  },
546
547
  datas() {
547
548
  if (this.data) {
@@ -1226,10 +1227,20 @@ export default {
1226
1227
  method: this.method,
1227
1228
  url: this.dochubConfig.sortDocumentsUrl || uploadSort,
1228
1229
  data: {
1229
- ids: ids
1230
+ ids: ids,
1231
+ documentIds: ids,
1232
+ ownId: this.ownId,
1233
+ code: this.code,
1234
+ bucketCode: this.code,
1235
+ businessId: this.ownId
1230
1236
  },
1231
1237
  params: {
1232
- ids: ids
1238
+ ids: ids,
1239
+ documentIds: ids,
1240
+ ownId: this.ownId,
1241
+ code: this.code,
1242
+ bucketCode: this.code,
1243
+ businessId: this.ownId
1233
1244
  }
1234
1245
  })
1235
1246
  .then((res) => {
package/src/index.js CHANGED
@@ -121,7 +121,7 @@ if (typeof window !== 'undefined' && window.Vue) {
121
121
  }
122
122
 
123
123
  export default {
124
- version: '0.6.36',
124
+ version: '0.6.38',
125
125
  install,
126
126
  Button,
127
127
  ButtonGroup,