vue2-client 1.14.84 → 1.14.86

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.
Files changed (134) hide show
  1. package/docs/Logic/345/207/275/346/225/260/344/275/277/347/224/250/347/233/270/345/205/263.md +0 -1
  2. package/docs//345/207/275/346/225/260/344/275/277/347/224/250/347/233/270/345/205/263.md +2 -4
  3. package/package.json +1 -1
  4. package/src/base-client/components/common/XFormTable/XFormTable.vue +7 -0
  5. package/src/base-client/components/his/XQuestionnaire/XQuestionnaire.vue +20 -7
  6. package/src/base-client/components/his/XQuestionnaire/XQuestionnaireDemo.vue +10 -1
  7. package/src/base-client/components/his/XQuestionnaire/XQuestionnaireItem.vue +0 -3
  8. package/src/base-client/components/his/XTextCard/XTextCard.vue +207 -207
  9. package/src/base-client/components/his/XTreeRows/TreeNode.vue +100 -100
  10. package/src/base-client/components/his/XTreeRows/XTreeRows.vue +197 -197
  11. package/src/base-client/components/his/threeTestOrders/editor.vue +111 -111
  12. package/src/base-client/components/layout/XPageView/RenderRow.vue +57 -31
  13. package/src/base-client/components/layout/XPageView/XErrorView.vue +14 -3
  14. package/src/base-client/components/layout/XPageView/XPageView.vue +138 -71
  15. package/src/base-client/components/layout/XPageView/index.js +1 -3
  16. package/src/base-client/components/layout/XPageView/index.md +65 -26
  17. package/src/pages/WorkflowDetail/WorkFlowDemo2.vue +90 -0
  18. package/src/pages/WorkflowDetail/WorkflowPageDetail/WorkFlowHandle.vue +13 -1
  19. package/src/pages/XPageViewExample/index.vue +41 -8
  20. package/src/pages/addressSelect/addressDemo.vue +24 -24
  21. package/src/pages/addressSelect/index.vue +6 -12
  22. package/src/router/async/router.map.js +4 -2
  23. package/.history/public/his/editor/editor_20250606134713.html +0 -51
  24. package/.history/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox_20250527173925.vue +0 -509
  25. package/.history/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox_20250527174316.vue +0 -524
  26. package/.history/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox_20250527174419.vue +0 -524
  27. package/.history/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox_20250527174422.vue +0 -524
  28. package/.history/src/base-client/components/common/XAddReport/XAddReport_20250611172825.vue +0 -207
  29. package/.history/src/base-client/components/common/XAddReport/XAddReport_20250611172945.vue +0 -211
  30. package/.history/src/base-client/components/common/XAddReport/XAddReport_20250611172949.vue +0 -212
  31. package/.history/src/base-client/components/common/XAddReport/XAddReport_20250611173010.vue +0 -212
  32. package/.history/src/base-client/components/common/XForm/XFormItem_20250508134122.vue +0 -1320
  33. package/.history/src/base-client/components/common/XForm/XFormItem_20250527171604.vue +0 -1332
  34. package/.history/src/base-client/components/common/XForm/XFormItem_20250527171613.vue +0 -1331
  35. package/.history/src/base-client/components/common/XForm/XFormItem_20250527171703.vue +0 -1331
  36. package/.history/src/base-client/components/common/XForm/XFormItem_20250527171720.vue +0 -1331
  37. package/.history/src/base-client/components/common/XForm/XFormItem_20250527174327.vue +0 -1339
  38. package/.history/src/base-client/components/common/XReportGrid/XReportTrGroup_20250612092804.vue +0 -731
  39. package/.history/src/base-client/components/common/XReportGrid/XReportTrGroup_20250612112546.vue +0 -748
  40. package/.history/src/base-client/components/common/XReportGrid/XReportTrGroup_20250612113808.vue +0 -748
  41. package/.history/src/base-client/components/common/XReportGrid/XReport_20250612115237.vue +0 -1071
  42. package/.history/src/base-client/components/common/XReportGrid/XReport_20250612115346.vue +0 -1078
  43. package/.history/src/base-client/components/common/XReportGrid/XReport_20250612115350.vue +0 -1077
  44. package/.history/src/base-client/components/common/XReportGrid/XReport_20250612115415.vue +0 -1077
  45. package/.history/src/base-client/components/common/XReportGrid/XReport_20250612115429.vue +0 -1077
  46. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611091619.vue +0 -442
  47. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611092547.vue +0 -442
  48. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611092552.vue +0 -442
  49. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611092744.vue +0 -475
  50. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611092955.vue +0 -475
  51. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611092957.vue +0 -475
  52. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611095652.vue +0 -477
  53. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611095701.vue +0 -477
  54. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611095704.vue +0 -477
  55. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611100005.vue +0 -473
  56. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611100011.vue +0 -473
  57. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611100014.vue +0 -473
  58. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611100833.vue +0 -473
  59. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611100853.vue +0 -473
  60. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611100940.vue +0 -473
  61. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101011.vue +0 -473
  62. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101013.vue +0 -473
  63. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101014.vue +0 -473
  64. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101159.vue +0 -473
  65. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101238.vue +0 -474
  66. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101240.vue +0 -474
  67. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101242.vue +0 -474
  68. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101404.vue +0 -472
  69. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101410.vue +0 -472
  70. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101459.vue +0 -472
  71. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101500.vue +0 -472
  72. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101502.vue +0 -472
  73. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101504.vue +0 -472
  74. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101610.vue +0 -501
  75. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101700.vue +0 -501
  76. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101702.vue +0 -501
  77. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101741.vue +0 -504
  78. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101749.vue +0 -504
  79. package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101759.vue +0 -504
  80. package/.history/src/base-client/components/his/XHisEditor/dome_20250611091349.vue +0 -131
  81. package/.history/src/base-client/components/his/XHisEditor/dome_20250611105854.vue +0 -160
  82. package/.history/src/base-client/components/his/XHisEditor/dome_20250611105902.vue +0 -160
  83. package/.history/src/base-client/components/his/XHisEditor/dome_20250611105924.vue +0 -160
  84. package/.history/src/base-client/components/his/XHisEditor/dome_20250611105932.vue +0 -158
  85. package/.history/src/base-client/components/his/XList/XList_20250609135848.vue +0 -173
  86. package/.history/src/base-client/components/his/XList/XList_20250609141026.vue +0 -222
  87. package/.history/src/base-client/components/his/XList/XList_20250609141035.vue +0 -229
  88. package/.history/src/base-client/components/his/XList/XList_20250609141103.vue +0 -229
  89. package/.history/src/base-client/components/his/XList/XList_20250609141105.vue +0 -229
  90. package/.history/src/base-client/components/his/XList/XList_20250609141334.vue +0 -241
  91. package/.history/src/base-client/components/his/XList/XList_20250609141404.vue +0 -241
  92. package/.history/src/base-client/components/his/XList/XList_20250609141406.vue +0 -241
  93. package/.history/src/base-client/components/his/XList/XList_20250609141801.vue +0 -245
  94. package/.history/src/base-client/components/his/XList/XList_20250609142033.vue +0 -245
  95. package/.history/src/base-client/components/his/XList/XList_20250609142038.vue +0 -245
  96. package/.history/src/base-client/components/his/XList/XList_20250609142435.vue +0 -255
  97. package/.history/src/base-client/components/his/XList/XList_20250609142503.vue +0 -255
  98. package/.history/src/base-client/components/his/XList/XList_20250609142504.vue +0 -255
  99. package/.history/src/base-client/components/his/XList/XList_20250609143012.vue +0 -270
  100. package/.history/src/base-client/components/his/XList/XList_20250609143044.vue +0 -270
  101. package/.history/src/base-client/components/his/XList/XList_20250609143046.vue +0 -270
  102. package/.history/src/base-client/components/his/XList/XList_20250609143210.vue +0 -270
  103. package/.history/src/base-client/components/his/XList/XList_20250609144339.vue +0 -294
  104. package/.history/src/base-client/components/his/XList/XList_20250609144410.vue +0 -294
  105. package/.history/src/base-client/components/his/XList/XList_20250609144412.vue +0 -294
  106. package/.history/src/base-client/components/his/XList/XList_20250609144647.vue +0 -303
  107. package/.history/src/base-client/components/his/XList/XList_20250609144716.vue +0 -303
  108. package/.history/src/base-client/components/his/XList/XList_20250609144729.vue +0 -303
  109. package/.history/src/base-client/components/his/XList/XList_20250609151232.vue +0 -288
  110. package/.history/src/base-client/components/his/XList/XList_20250609151247.vue +0 -288
  111. package/.history/src/base-client/components/his/XList/XList_20250609151252.vue +0 -288
  112. package/.history/src/base-client/components/his/XList/XList_20250609161220.vue +0 -317
  113. package/.history/src/base-client/components/his/XList/XList_20250609161258.vue +0 -306
  114. package/.history/src/base-client/components/his/XList/XList_20250609161319.vue +0 -306
  115. package/.history/src/base-client/components/his/XList/XList_20250609161320.vue +0 -306
  116. package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250609151519.vue +0 -222
  117. package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250612155514.vue +0 -183
  118. package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250612155556.vue +0 -183
  119. package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250612155600.vue +0 -183
  120. package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250612181609.vue +0 -206
  121. package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250612181629.vue +0 -209
  122. package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250613095553.vue +0 -242
  123. package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250613095610.vue +0 -242
  124. package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250613095612.vue +0 -242
  125. package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250613100041.vue +0 -251
  126. package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250613100047.vue +0 -251
  127. package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250613100054.vue +0 -250
  128. package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250613100105.vue +0 -250
  129. package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250613100107.vue +0 -250
  130. package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250613100114.vue +0 -250
  131. package/Users/objecrt/af-vue2-client/src/base-client/components/his/XShiftSchedule/XShiftSchedule.vue +0 -36
  132. package/src/base-client/components/TreeList/TreeList.vue +0 -91
  133. package/src/base-client/components/TreeList/TreeNode.vue +0 -81
  134. package/src/base-client/components/common/XCardSet/XTiltle.vue +0 -191
@@ -1,212 +0,0 @@
1
- <template>
2
- <a-modal
3
- :confirm-loading="loading"
4
- :destroyOnClose="true"
5
- :visible="visible"
6
- width="80%"
7
- height="60%"
8
- okText="提交"
9
- :footer="showButtons ? undefined : null"
10
- @cancel="close"
11
- @ok="onSubmit"
12
- v-bind="attr">
13
- <div style="max-height: 70vh; overflow-y: auto;overflow-x: hidden;" v-if="showReport">
14
- <x-report
15
- @updateImg="updateImg"
16
- @selectRow="selectRow"
17
- ref="main"
18
- :env="env"
19
- :use-oss-for-img="false"
20
- :config-name="configName"
21
- :show-img-in-cell="true"
22
- :display-only="displayOnly"
23
- :edit-mode="false"
24
- :show-save-button="false"
25
- :dont-format="true"/>
26
- </div>
27
- </a-modal>
28
- </template>
29
- <script>
30
- import { mapState } from 'vuex'
31
- import { executeStrFunctionByContext } from '@vue2-client/utils/runEvalFunction'
32
- import { runLogic } from '@vue2-client/services/api/common'
33
- import { getMicroData, getWindow, isMicroAppEnv, microDispatch } from '@vue2-client/utils/microAppUtils'
34
- import { getRealKeyData } from '@vue2-client/utils/util'
35
-
36
- export default {
37
- name: 'XAddReport',
38
- components: {
39
- XReport: () => import('@vue2-client/base-client/components/common/XReportGrid/XReport.vue'),
40
- },
41
- props: {
42
- env: {
43
- type: String,
44
- default: 'prod'
45
- }
46
- },
47
- data () {
48
- return {
49
- // 业务类型
50
- businessType: '',
51
- showReport: true,
52
- configName: '',
53
- displayOnly: true,
54
- serverName: '',
55
- // 业务标题
56
- title: '',
57
- // 自定义标题
58
- resolvedTitle: '',
59
- // 新增或修改业务是否执行中
60
- loading: false,
61
- // 是否显示新增/修改模态框
62
- visible: false,
63
- // 选中的处理对象的id号
64
- selectedId: null,
65
- // 混入插槽组件的数据
66
- mixinData: {},
67
- // 打开窗口接收到的外部环境数据
68
- outEnv: {},
69
- // 外部传递来的 modal 参数
70
- attr: {},
71
- // 是否显示对话框按钮
72
- showButtons: true,
73
- }
74
- },
75
- provide () {
76
- return {
77
- getSelectedId: () => this.getSelectedId(),
78
- getSelectedData: () => {
79
- return this.selectedId
80
- },
81
- getMixinData: () => {
82
- return this.mixinData
83
- },
84
- getOutEnv: () => {
85
- return this.outEnv
86
- },
87
- isInAModal: () => {
88
- return true
89
- },
90
- currUser: this.currUser
91
- }
92
- },
93
- inject: ['getParentComponentByName', 'setGlobalData', 'getGlobalData'],
94
- computed: {
95
- businessTitle () {
96
- return this.businessType + this.title
97
- },
98
- ...mapState('account', { currUser: 'user' })
99
- },
100
- methods: {
101
- getWindow,
102
- isMicroAppEnv,
103
- microDispatch,
104
- getMicroData,
105
- runLogic,
106
- getRealKeyData,
107
- init (params) {
108
- console.log('params', params)
109
- const {
110
- configName = 'medicalRecordCover',
111
- serverName = process.env.VUE_APP_SYSTEM_NAME,
112
- displayOnly = true,
113
- selectedId = null,
114
- outEnv = {},
115
- mixinData = {},
116
- attr = {},
117
- showButtons = true,
118
- } = params
119
- this.configName = configName
120
- this.serverName = serverName
121
- this.displayOnly = displayOnly
122
- this.visible = true
123
- this.attr = attr
124
- this.showButtons = showButtons
125
- // 有选中项,给选中项赋值
126
- if (selectedId) {
127
- this.selectedId = selectedId
128
- }
129
- // 当有些组件需要外部传数据时 使用这个混入
130
- this.mixinData = mixinData
131
- // 把打开时的环境传递给打开窗口,以便js脚本中使用
132
- this.outEnv = outEnv
133
- },
134
- getSelectedId () {
135
- if (typeof this.selectedId === 'object') {
136
- if (this.selectedId.selectedId) {
137
- return this.selectedId.selectedId
138
- }
139
- if (Object.keys(this.selectedId) > 0) {
140
- return this.selectedId[Object.keys(this.selectedId)[0]]
141
- }
142
- } else {
143
- return this.selectedId
144
- }
145
- },
146
- selectRow (selectedRowKeys, selectedRows) {
147
- this.table_selectedRowKeys = selectedRowKeys
148
- this.table_selectedRows = selectedRows
149
- console.log('XAddReport')
150
- this.$emit('selectRow', selectedRowKeys, selectedRows)
151
- },
152
- close () {
153
- this.loading = false
154
- this.visible = false
155
- this.$emit('close')
156
- },
157
- getComponentByName (name) {
158
- const innerRef = this.getParentComponentByName(name)
159
- if (innerRef) {
160
- return innerRef
161
- } else {
162
- return this.$refs.main.getComponentByName(name)
163
- }
164
- },
165
- async onSubmit () {
166
- if (this.$refs.main?.config?.confirmFunction) {
167
- console.info('执行自定义确认逻辑')
168
- let func = this.$refs.main?.config?.confirmFunction
169
- if (func && func.startsWith('function')) {
170
- func = func.replace('function', 'async function')
171
- }
172
- const result = executeStrFunctionByContext(this, func, [])
173
- if (result instanceof Promise) {
174
- result.then((res) => {
175
- if (!res) {
176
- this.close()
177
- return
178
- }
179
- let messageType = 'success'
180
- // 如果传递了组件名字 自动调用刷新
181
- if (res?.name) {
182
- const waitRefreshRef = this.getComponentByName(res.name)
183
- if (waitRefreshRef) {
184
- waitRefreshRef.refresh()
185
- } else {
186
- console.warn(`未找到组件${res.name}无法刷新`)
187
- }
188
- }
189
- // 如果传递消息类型 自动调用消息
190
- if (res?.messageType) {
191
- messageType = res.messageType
192
- }
193
- // 如果传递了提示信息自动调用提示
194
- if (res?.message) {
195
- this.$message[messageType](res?.message)
196
- }
197
- this.close()
198
- })
199
- } else {
200
- this.close()
201
- }
202
- } else {
203
- console.warn('未配置modal确认按钮逻辑')
204
- this.close()
205
- }
206
- },
207
- updateImg (data) {
208
- console.log(data)
209
- }
210
- }
211
- }
212
- </script>