doway-coms 1.6.41 → 1.6.43

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": "doway-coms",
3
- "version": "1.6.41",
3
+ "version": "1.6.43",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -1263,6 +1263,9 @@ export default {
1263
1263
  // expList = vm.getExpTags(filterList)
1264
1264
  // return expList
1265
1265
  },
1266
+ getSorts() {
1267
+ return this.defaultSort.map(item=> [item.field,item.order]);
1268
+ },
1266
1269
  filterChange({ column, property, values, datas, filterList, $event }) {
1267
1270
  let vm = this;
1268
1271
  //如果不是远程筛选 就不emit了
@@ -1709,7 +1712,7 @@ export default {
1709
1712
  tableCollectColumn,
1710
1713
  (p) => p.field === loopCol.field
1711
1714
  ).item;
1712
- tempCol.visible = loopCol.visible;
1715
+ tempCol.visible = loopCol.params.show;
1713
1716
  tempCol.width = loopCol.width;
1714
1717
  // tempCol.width = colWidth;
1715
1718
  //设置顺序
@@ -24,7 +24,7 @@
24
24
  v-if="!status.notButton"
25
25
  class="status-primary"
26
26
  :class="
27
- status.value === formRow.status
27
+ status.value === (workFlowStatus?workFlowStatus:formRow.status)
28
28
  ? 'current-status'
29
29
  : 'inactive-status'
30
30
  "
@@ -80,6 +80,11 @@
80
80
  },
81
81
  deep: true
82
82
  },
83
+ workFlowStatus: {
84
+ // 对象信息
85
+ type: String,
86
+ default: ''
87
+ },
83
88
  objectName: {
84
89
  // 对象信息
85
90
  type: String,