doway-coms 3.0.5 → 3.0.7

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.5",
3
+ "version": "3.0.7",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -25,8 +25,8 @@
25
25
  "vue-router": "3.6.5",
26
26
  "vuedraggable": "^2.24.3",
27
27
  "vuex": "3.6.2",
28
- "vxe-table": "3.12.9",
29
- "vxe-pc-ui": "3.3.83",
28
+ "vxe-table": "3.11.0",
29
+ "vxe-pc-ui":"3.3.83",
30
30
  "xe-clipboard": "1.10.2",
31
31
  "xe-utils": "3.5.4"
32
32
  },
@@ -83,7 +83,7 @@
83
83
 
84
84
  <script>
85
85
  import { notification, Upload, Tree, Icon, Popconfirm, Input } from "ant-design-vue";
86
- import { VxeCheckbox, VxeModal } from "vxe-pc-ui";
86
+ import { Checkbox, Modal } from "vxe-table";
87
87
  import { attachGetAttachUrlApi, attachSearchApi } from "../../utils/api";
88
88
  import XEUtils from 'xe-utils'
89
89
  import { Splitpanes, Pane } from 'splitpanes'
@@ -92,9 +92,9 @@ import 'splitpanes/dist/splitpanes.css'
92
92
  export default {
93
93
  name: "BaseFileGroup",
94
94
  components: {
95
- VxeCheckbox,
95
+ VxeCheckbox: Checkbox,
96
96
  "a-upload": Upload,
97
- VxeModal,
97
+ VxeModal: Modal,
98
98
  Splitpanes, Pane,
99
99
  'a-tree': Tree,
100
100
  'a-icon': Icon,
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div>
3
- <VxeModal
3
+ <vxe-modal
4
4
  v-model="showExport"
5
5
  :title="exportTitle"
6
6
  show-zoom
@@ -22,7 +22,7 @@
22
22
  <template #footer>
23
23
  <Button type="primary" size="small" @click="confirmExport">确认导出</Button>
24
24
  </template>
25
- </VxeModal>
25
+ </vxe-modal>
26
26
  </div>
27
27
  </template>
28
28
 
@@ -32,13 +32,12 @@ import XEUtils from 'xe-utils';
32
32
  import { controlType } from '../../utils/enum';
33
33
  import draggable from 'vuedraggable';
34
34
  import { Button } from 'ant-design-vue';
35
- import { VxeModal} from 'vxe-pc-ui'
35
+
36
36
  export default {
37
37
  name: 'commonExportCmp',
38
38
  components: {
39
39
  draggable,
40
- Button,
41
- VxeModal
40
+ Button
42
41
  },
43
42
  props: {
44
43
  objectService: {
@@ -1897,10 +1897,6 @@ export default {
1897
1897
  if (originCol.treeNode === true) {
1898
1898
  colInfo['treeNode'] = true
1899
1899
  }
1900
- if(originCol.dragSort===true){
1901
- //行拖拽
1902
- colInfo['dragSort'] = true
1903
- }
1904
1900
  if (originCol.isMerge === true) {
1905
1901
  //合并行
1906
1902
  this.mergeFields.push(originCol.field)
@@ -3119,12 +3115,6 @@ export default {
3119
3115
  },
3120
3116
  async cellClick({ row, column }) {
3121
3117
  this.$emit('cellClick', { row, column })
3122
-
3123
- if(column.field==='operation'){
3124
- //点击操作栏按钮无需开启编辑,要不然数据多的情况下,连续点击删除按钮会照成卡顿
3125
- return
3126
- }
3127
-
3128
3118
  //判断是否可以跳转
3129
3119
  // if (
3130
3120
  // this.gridEdit != true ||
@@ -28,12 +28,12 @@
28
28
  </template>
29
29
  <script>
30
30
  import { Pagination } from 'ant-design-vue'
31
- import { VxePager } from "vxe-pc-ui";
31
+ import { Pager } from "vxe-table";
32
32
 
33
33
  export default {
34
34
  components: {
35
35
  Pagination,
36
- VxePager
36
+ Pager
37
37
  },
38
38
  name: 'BasePagination',
39
39
  data() {
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div>
3
- <VxeModal
3
+ <vxe-modal
4
4
  ref="printModal"
5
5
  show-zoom
6
6
  append-to-body
@@ -28,11 +28,11 @@
28
28
  :src="url"
29
29
  >
30
30
  </iframe>
31
- </VxeModal>
31
+ </vxe-modal>
32
32
  </div>
33
33
  </template>
34
34
  <script>
35
- import { VxeModal} from 'vxe-pc-ui'
35
+ import {VxeModal} from 'vxe-pc-ui'
36
36
  export default {
37
37
  name: 'BasePrintPreview',
38
38
  components:{
package/packages/index.js CHANGED
@@ -68,8 +68,11 @@ const components = [
68
68
  import 'vxe-table/lib/style.css'
69
69
  import VXETable from 'vxe-table'
70
70
 
71
+
72
+ import VxeUI from 'vxe-pc-ui'
71
73
  import 'vxe-pc-ui/lib/style.css'
72
74
 
75
+
73
76
  const popupInterceptor = (params) => {
74
77
  // 比如点击了某个组件的弹出层面板之后,此时被激活单元格不应该被自动关闭,通过返回 false 可以阻止默认的行为。
75
78
  let parentElement =