eoss-ui 0.5.17 → 0.5.18

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": "eoss-ui",
3
- "version": "0.5.17",
3
+ "version": "0.5.18",
4
4
  "description": "eoss内部业务组件",
5
5
  "main": "lib/eoss-ui.common.js",
6
6
  "files": [
@@ -96,7 +96,7 @@
96
96
  "cp-cli": "^1.0.2",
97
97
  "cross-env": "^3.1.3",
98
98
  "css-loader": "^2.1.0",
99
- "eoss-element": "^0.2.75",
99
+ "eoss-element": "^0.2.76",
100
100
  "es6-promise": "^4.0.5",
101
101
  "eslint": "4.18.2",
102
102
  "eslint-config-elemefe": "0.1.1",
@@ -372,20 +372,6 @@
372
372
  </template>
373
373
  </el-form-item>
374
374
  </template>
375
- <es-button-group
376
- v-else-if="type === 'handle' && !scope.row.hideHandle"
377
- v-bind="
378
- exclAttribute({
379
- data: config,
380
- attrs: ['contents', 'events', 'type', 'width', 'template', 'title']
381
- })
382
- "
383
- stop
384
- :contents="contents || events"
385
- :data="scope.row"
386
- @handleClick="handleClick"
387
- v-model="btnWidth"
388
- ></es-button-group>
389
375
  <expand-dom
390
376
  v-else-if="render"
391
377
  :column="config"
@@ -400,6 +386,20 @@
400
386
  <span v-else :style="styles ? styles[scope.row[prop]] : {}">{{
401
387
  format(scope.row)
402
388
  }}</span>
389
+ <es-button-group
390
+ v-if="type === 'handle' && !scope.row.hideHandle"
391
+ v-bind="
392
+ exclAttribute({
393
+ data: config,
394
+ attrs: ['contents', 'events', 'type', 'width', 'template', 'title']
395
+ })
396
+ "
397
+ stop
398
+ :contents="contents || events"
399
+ :data="scope.row"
400
+ @handleClick="handleClick"
401
+ v-model="btnWidth"
402
+ ></es-button-group>
403
403
  </template>
404
404
  </el-table-column>
405
405
  </template>
@@ -541,6 +541,7 @@ export default {
541
541
  this.labelClassName ? this.labelClassName : '',
542
542
  this.required ? 'es-required' : ''
543
543
  ].join(' '),
544
+ showOverflowTooltip: this.showOverflowTooltip,
544
545
  prop: this.field || this.prop,
545
546
  field: this.field,
546
547
  ...this.$attrs
@@ -604,8 +604,7 @@ export default {
604
604
  handleSuccess() {
605
605
  if (this.closeDialog && this.esDialog) {
606
606
  this.esDialog.handleClose();
607
- }
608
- if (util.win.top.opener) {
607
+ }else if (util.win.top.opener) {
609
608
  util.win.top.close();
610
609
  }
611
610
  if (this.events && this.events.success) {
@@ -54,6 +54,11 @@ $end: -51;
54
54
  text-overflow: ellipsis;
55
55
  white-space: nowrap;
56
56
  overflow: hidden;
57
+ // .cell, span{
58
+ // text-overflow: ellipsis;
59
+ // white-space: nowrap;
60
+ // overflow: hidden;
61
+ // }
57
62
  }
58
63
  @for $i from 2 through 6 {
59
64
  .es-text-ellipsis-row#{$i} {
package/src/index.js CHANGED
@@ -117,7 +117,7 @@ if (typeof window !== 'undefined' && window.Vue) {
117
117
  }
118
118
 
119
119
  export default {
120
- version: '0.5.17',
120
+ version: '0.5.18',
121
121
  install,
122
122
  Button,
123
123
  ButtonGroup,