vue2-client 1.13.23 → 1.13.25
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 +107 -107
- package/src/base-client/components/common/XDescriptions/XDescriptions.vue +174 -174
- package/src/base-client/components/common/XDescriptions/XDescriptionsGroup.vue +314 -314
- package/src/base-client/components/common/XReportGrid/XReportDemo.vue +44 -44
- package/src/base-client/components/common/XSimpleDescriptions/XSimpleDescriptions.vue +166 -166
- package/src/base-client/components/his/XSelect/XSelect.vue +72 -72
- package/src/base-client/components/his/XTimeSelect/XTimeSelect.vue +131 -131
- package/src/base-client/components/his/XTitle/XTitle.vue +62 -62
- package/src/base-client/components/layout/XPageView/XPageView.vue +155 -155
- package/src/base-client/plugins/AppData.js +126 -126
- package/src/config/CreateQueryConfig.js +325 -325
- package/src/pages/ReportGrid/index.vue +76 -76
- package/src/pages/WorkflowDetail/WorkflowPageDetail/WorkFlowHandle.vue +876 -876
- package/src/pages/XTreeOneProExample/index.vue +67 -67
- package/src/router/async/router.map.js +119 -127
- package/src/services/api/common.js +1 -1
- package/src/base-client/components/common/XCollapse/XCollapseDemo.vue +0 -15
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="test" v-if="showReport">
|
|
3
|
-
<XReport
|
|
4
|
-
@updateImg="updateImg"
|
|
5
|
-
ref="main"
|
|
6
|
-
:use-oss-for-img="false"
|
|
7
|
-
config-name="outpatientWait"
|
|
8
|
-
server-name="af-his"
|
|
9
|
-
:show-img-in-cell="true"
|
|
10
|
-
:display-only="displayOnly"
|
|
11
|
-
:edit-mode="false"
|
|
12
|
-
:show-save-button="false"
|
|
13
|
-
:dont-format="true"/>
|
|
14
|
-
</div>
|
|
15
|
-
</template>
|
|
16
|
-
|
|
17
|
-
<script>
|
|
18
|
-
import XReport from '@vue2-client/base-client/components/common/XReportGrid/XReport'
|
|
19
|
-
// eslint-disable-next-line no-unused-vars
|
|
20
|
-
import { exportHTMLNodeToPDF } from '@vue2-client/utils/htmlToPDFApi'
|
|
21
|
-
|
|
22
|
-
export default {
|
|
23
|
-
name: 'Example',
|
|
24
|
-
components: {
|
|
25
|
-
XReport
|
|
26
|
-
},
|
|
27
|
-
mounted () {
|
|
28
|
-
console.log(this.$route)
|
|
29
|
-
},
|
|
30
|
-
data () {
|
|
31
|
-
return {
|
|
32
|
-
test: {
|
|
33
|
-
title: {
|
|
34
|
-
type: 'titleKey',
|
|
35
|
-
value: 'f_type'
|
|
36
|
-
},
|
|
37
|
-
designMode: 'json',
|
|
38
|
-
},
|
|
39
|
-
total: 1,
|
|
40
|
-
registerMap: [],
|
|
41
|
-
displayOnly: true,
|
|
42
|
-
showReport: true
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
methods: {
|
|
46
|
-
updateImg (data) {
|
|
47
|
-
console.warn('demo', data)
|
|
48
|
-
},
|
|
49
|
-
testExport () {
|
|
50
|
-
this.showReport = false
|
|
51
|
-
this.displayOnly = true
|
|
52
|
-
this.$nextTick(() => {
|
|
53
|
-
this.showReport = true
|
|
54
|
-
setTimeout(() => {
|
|
55
|
-
exportHTMLNodeToPDF('123', '#test')
|
|
56
|
-
this.showReport = false
|
|
57
|
-
this.displayOnly = false
|
|
58
|
-
this.$nextTick(() => {
|
|
59
|
-
this.showReport = true
|
|
60
|
-
})
|
|
61
|
-
}, 500)
|
|
62
|
-
})
|
|
63
|
-
},
|
|
64
|
-
testSave () {
|
|
65
|
-
const result = []
|
|
66
|
-
this.registerMap.forEach(item => {
|
|
67
|
-
result.push(item.exportData())
|
|
68
|
-
})
|
|
69
|
-
console.warn('save', result)
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
</script>
|
|
74
|
-
<style scoped>
|
|
75
|
-
|
|
76
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div id="test" v-if="showReport">
|
|
3
|
+
<XReport
|
|
4
|
+
@updateImg="updateImg"
|
|
5
|
+
ref="main"
|
|
6
|
+
:use-oss-for-img="false"
|
|
7
|
+
config-name="outpatientWait"
|
|
8
|
+
server-name="af-his"
|
|
9
|
+
:show-img-in-cell="true"
|
|
10
|
+
:display-only="displayOnly"
|
|
11
|
+
:edit-mode="false"
|
|
12
|
+
:show-save-button="false"
|
|
13
|
+
:dont-format="true"/>
|
|
14
|
+
</div>
|
|
15
|
+
</template>
|
|
16
|
+
|
|
17
|
+
<script>
|
|
18
|
+
import XReport from '@vue2-client/base-client/components/common/XReportGrid/XReport'
|
|
19
|
+
// eslint-disable-next-line no-unused-vars
|
|
20
|
+
import { exportHTMLNodeToPDF } from '@vue2-client/utils/htmlToPDFApi'
|
|
21
|
+
|
|
22
|
+
export default {
|
|
23
|
+
name: 'Example',
|
|
24
|
+
components: {
|
|
25
|
+
XReport
|
|
26
|
+
},
|
|
27
|
+
mounted () {
|
|
28
|
+
console.log(this.$route)
|
|
29
|
+
},
|
|
30
|
+
data () {
|
|
31
|
+
return {
|
|
32
|
+
test: {
|
|
33
|
+
title: {
|
|
34
|
+
type: 'titleKey',
|
|
35
|
+
value: 'f_type'
|
|
36
|
+
},
|
|
37
|
+
designMode: 'json',
|
|
38
|
+
},
|
|
39
|
+
total: 1,
|
|
40
|
+
registerMap: [],
|
|
41
|
+
displayOnly: true,
|
|
42
|
+
showReport: true
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
methods: {
|
|
46
|
+
updateImg (data) {
|
|
47
|
+
console.warn('demo', data)
|
|
48
|
+
},
|
|
49
|
+
testExport () {
|
|
50
|
+
this.showReport = false
|
|
51
|
+
this.displayOnly = true
|
|
52
|
+
this.$nextTick(() => {
|
|
53
|
+
this.showReport = true
|
|
54
|
+
setTimeout(() => {
|
|
55
|
+
exportHTMLNodeToPDF('123', '#test')
|
|
56
|
+
this.showReport = false
|
|
57
|
+
this.displayOnly = false
|
|
58
|
+
this.$nextTick(() => {
|
|
59
|
+
this.showReport = true
|
|
60
|
+
})
|
|
61
|
+
}, 500)
|
|
62
|
+
})
|
|
63
|
+
},
|
|
64
|
+
testSave () {
|
|
65
|
+
const result = []
|
|
66
|
+
this.registerMap.forEach(item => {
|
|
67
|
+
result.push(item.exportData())
|
|
68
|
+
})
|
|
69
|
+
console.warn('save', result)
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
</script>
|
|
74
|
+
<style scoped>
|
|
75
|
+
|
|
76
|
+
</style>
|