doway-coms 3.0.7 → 3.0.9

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": "3.0.7",
3
+ "version": "3.0.9",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -25,7 +25,7 @@
25
25
  "vue-router": "3.6.5",
26
26
  "vuedraggable": "^2.24.3",
27
27
  "vuex": "3.6.2",
28
- "vxe-table": "3.11.0",
28
+ "vxe-table": "3.11.33",
29
29
  "vxe-pc-ui":"3.3.83",
30
30
  "xe-clipboard": "1.10.2",
31
31
  "xe-utils": "3.5.4"
@@ -83,18 +83,17 @@
83
83
 
84
84
  <script>
85
85
  import { notification, Upload, Tree, Icon, Popconfirm, Input } from "ant-design-vue";
86
- import { Checkbox, Modal } from "vxe-table";
86
+ import { VxeCheckbox, VxeModal } from "vxe-pc-ui";
87
87
  import { attachGetAttachUrlApi, attachSearchApi } from "../../utils/api";
88
88
  import XEUtils from 'xe-utils'
89
89
  import { Splitpanes, Pane } from 'splitpanes'
90
90
  import 'splitpanes/dist/splitpanes.css'
91
-
92
91
  export default {
93
92
  name: "BaseFileGroup",
94
93
  components: {
95
- VxeCheckbox: Checkbox,
94
+ VxeCheckbox,
96
95
  "a-upload": Upload,
97
- VxeModal: Modal,
96
+ VxeModal: VxeModal,
98
97
  Splitpanes, Pane,
99
98
  'a-tree': Tree,
100
99
  'a-icon': Icon,
@@ -1223,7 +1223,7 @@ export default {
1223
1223
  type:Object,
1224
1224
  default:()=>{
1225
1225
  return {
1226
- enabled:true,gt:0
1226
+ enabled:true,gt:0,mode:'default'
1227
1227
  }
1228
1228
  }
1229
1229
  }
@@ -1880,6 +1880,7 @@ export default {
1880
1880
  title: originCol.title,
1881
1881
  tooltip: originCol.tooltip,
1882
1882
  visible: true,
1883
+ editRender:{} //一定要设置,要不然筛选就不会出来,升级3.11后出现的问题
1883
1884
  }
1884
1885
 
1885
1886
  if (XEUtils.has(originCol, 'showOverflow')) {
@@ -1897,6 +1898,9 @@ export default {
1897
1898
  if (originCol.treeNode === true) {
1898
1899
  colInfo['treeNode'] = true
1899
1900
  }
1901
+ if (originCol.dragSort === true) {
1902
+ colInfo['dragSort'] = true
1903
+ }
1900
1904
  if (originCol.isMerge === true) {
1901
1905
  //合并行
1902
1906
  this.mergeFields.push(originCol.field)
@@ -2078,11 +2082,11 @@ export default {
2078
2082
  }
2079
2083
 
2080
2084
  //可以编辑
2081
- colInfo.editRender = {
2082
- // autofocus: tempAutoSelect,
2083
- // autoselect:tempAutoSelect,
2084
- // name:'$input' //originCol.controlType + '_edit',
2085
- }
2085
+ // colInfo.editRender = {
2086
+ // // autofocus: tempAutoSelect,
2087
+ // // autoselect:tempAutoSelect,
2088
+ // // name:'$input' //originCol.controlType + '_edit',
2089
+ // }
2086
2090
  //编辑插槽
2087
2091
  customSlot['edit'] = originCol.controlType + '_edit'
2088
2092
  // colInfo['editRender'] = {
@@ -13,7 +13,7 @@
13
13
  <!-- @change="onPageChange"-->
14
14
  <!-- :show-total="total => `总共 ${totalRows} 条`"-->
15
15
  <!-- />-->
16
- <Pager
16
+ <VxePager
17
17
  background
18
18
  :current-page="currentPage"
19
19
  :page-size="pageSize"
@@ -28,12 +28,12 @@
28
28
  </template>
29
29
  <script>
30
30
  import { Pagination } from 'ant-design-vue'
31
- import { Pager } from "vxe-table";
31
+ import { VxePager } from "vxe-pc-ui";
32
32
 
33
33
  export default {
34
34
  components: {
35
35
  Pagination,
36
- Pager
36
+ VxePager
37
37
  },
38
38
  name: 'BasePagination',
39
39
  data() {