doway-coms 3.0.4 → 3.0.6

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.4",
3
+ "version": "3.0.6",
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,
@@ -3115,12 +3115,6 @@ export default {
3115
3115
  },
3116
3116
  async cellClick({ row, column }) {
3117
3117
  this.$emit('cellClick', { row, column })
3118
-
3119
- if(column.field==='operation'){
3120
- //点击操作栏按钮无需开启编辑,要不然数据多的情况下,连续点击删除按钮会照成卡顿
3121
- return
3122
- }
3123
-
3124
3118
  //判断是否可以跳转
3125
3119
  // if (
3126
3120
  // this.gridEdit != true ||
@@ -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 {Modal as VxeModal} from 'vxe-table'
36
36
  export default {
37
37
  name: 'BasePrintPreview',
38
38
  components:{
@@ -203,7 +203,7 @@ import { replaceParamString, replaceParam } from '../../utils/common'
203
203
  import request from '../../utils/request'
204
204
  import { Input, Button, Row, Col, Checkbox } from 'ant-design-vue'
205
205
  import { ValidationProvider } from 'vee-validate'
206
- import { VxePulldown } from 'vxe-pc-ui'
206
+ import { Pulldown } from 'vxe-table'
207
207
  import { Tooltip } from 'ant-design-vue'
208
208
  export default {
209
209
  name: 'BasePulldown',
@@ -214,7 +214,7 @@ export default {
214
214
  'a-col': Col,
215
215
  'a-checkbox': Checkbox,
216
216
  'a-checkbox-group': Checkbox.Group,
217
- VxePulldown,
217
+ VxePulldown: Pulldown,
218
218
  ValidationProvider,
219
219
  Tooltip,
220
220
  },
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 =