doway-coms 1.1.71 → 1.1.73

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.1.71",
3
+ "version": "1.1.73",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -1307,7 +1307,7 @@
1307
1307
  }
1308
1308
  // console.debug(customSlot)
1309
1309
  colInfo.slots = customSlot
1310
- console.debug(colInfo)
1310
+ // console.debug(colInfo)
1311
1311
  return colInfo
1312
1312
  },
1313
1313
  validPrecision({ cellValue, column }) {
@@ -3,11 +3,13 @@
3
3
  append-to-body
4
4
  :maskClosable="false"
5
5
  :keyboard="false"
6
+ resize
6
7
  width="85%"
8
+ height="85%"
9
+ v-model="isShow"
10
+ show-zoom
7
11
  :closable="true"
8
12
  title="打印预览"
9
- v-if="isShow"
10
- :visible="isShow"
11
13
  wrap-class-name="full-modal"
12
14
  @cancel="closeModal"
13
15
  >
@@ -25,9 +27,12 @@
25
27
  </vxe-modal>
26
28
  </template>
27
29
  <script>
28
- import {request} from '../../utils/request'
30
+ import {Modal as VxeModal} from 'vxe-table'
29
31
  export default {
30
32
  name: 'BasePrintPreview',
33
+ components:{
34
+ VxeModal
35
+ },
31
36
  props: {},
32
37
  data() {
33
38
  return {
@@ -40,7 +45,6 @@ export default {
40
45
  },
41
46
  methods: {
42
47
  showPreview(url, data, isReplace) {
43
- alert('print url')
44
48
  this.isShow = true
45
49
  let ids = ''
46
50
  if (isReplace) {
@@ -49,6 +53,7 @@ export default {
49
53
  ids = JSON.stringify(data)
50
54
  }
51
55
  this.url = url + '?token=' + this.$store.getters.token + '&ids=' + ids
56
+ console.debug(VxeModal)
52
57
  },
53
58
  closeModal() {
54
59
  this.$emit('close')