vue2-client 1.16.68 → 1.16.70

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 (331) hide show
  1. package/.claude/settings.local.json +20 -20
  2. package/.cursorrules +19 -19
  3. package/.env.apply +19 -19
  4. package/.env.gaslink +19 -19
  5. package/.env.his +19 -19
  6. package/.env.liuli +20 -20
  7. package/.env.scada +19 -19
  8. package/.eslintrc.js +90 -90
  9. package/CHANGELOG.md +824 -824
  10. package/CLAUDE.md +97 -97
  11. package/Components.md +60 -60
  12. package/docs/LowCode/lowcode.md +155 -155
  13. package/docs/LowCode/lowcodeForDeveloper.md +230 -230
  14. package/docs/index.md +30 -30
  15. package/index.js +31 -31
  16. package/jest-transform-stub.js +8 -8
  17. package/jest.setup.js +7 -7
  18. package/jsconfig.json +19 -19
  19. package/package.json +1 -1
  20. package/public/his/editor/editor.html +51 -51
  21. package/public/his/editor/mock/bind_data.html +779 -779
  22. package/public/his/editor/mock/data_table.html +40 -40
  23. package/public/his/editor/mock/sign.html +75 -75
  24. package/public/his/editor/vender/JsBarcode.all.js +3669 -3669
  25. package/public/his/editor/vender/date97/My97DatePicker.htm +65 -65
  26. package/public/his/editor/vender/date97/WdatePicker.js +677 -677
  27. package/public/his/editor/vender/date97/calendar.js +4 -4
  28. package/public/his/editor/vender/date97/lang/en.js +13 -13
  29. package/public/his/editor/vender/date97/lang/zh-cn.js +13 -13
  30. package/public/his/editor/vender/date97/lang/zh-tw.js +13 -13
  31. package/public/his/editor/vender/date97/skin/WdatePicker.css +10 -10
  32. package/public/his/editor/vender/date97/skin/default/datepicker.css +328 -328
  33. package/public/his/editor/vender/date97/skin/ext/datepicker.css +308 -308
  34. package/public/his/editor/vender/date97/skin/whyGreen/datepicker.css +255 -255
  35. package/public/his/editor/vender/diff.js +1627 -1627
  36. package/public/his/editor/vender/editor.js +1 -1
  37. package/public/his/editor/vender/fabric.js +31187 -31187
  38. package/public/his/editor/vender/jquery/jquery.base64.js +190 -190
  39. package/public/his/editor/vender/jquery/jquery.js +10872 -10872
  40. package/public/his/editor/vender/jquery/jquery.print.js +255 -255
  41. package/public/his/editor/vender/jquery/zTreeStyle/zTreeStyle.css +96 -96
  42. package/public/his/editor/vender/mui/mui.min.css +4 -4
  43. package/public/his/editor/vender/mui/mui.min.js +5 -5
  44. package/public/his/editor/vender/mui/mui.picker.min.css +6 -6
  45. package/public/his/editor/vender/mui/mui.picker.min.js +6 -6
  46. package/public/his/editor/vender/qrcode.js +7 -7
  47. package/public/his/editor/vender/requirejs/require.js +2145 -2145
  48. package/public/his/editor/vender/signature/jSignature.CompressorSVG.js +518 -518
  49. package/public/his/editor/vender/signature/jSignature.UndoButton.js +164 -164
  50. package/public/his/editor/vender/signature/jSignature.js +1486 -1486
  51. package/public/his/editor/vender/validator.js +5094 -5094
  52. package/public/his/editor/vender/weui/weui.css +5659 -5659
  53. package/public/his/editor/vender/weui/weui.min.css +4 -4
  54. package/public/his/editor/vender/weui/weui.min.js +11 -11
  55. package/src/assets/img/querySlotDemo.svg +15 -15
  56. package/src/assets/svg/badtwo.svg +1 -1
  57. package/src/assets/svg/goodtwo.svg +1 -1
  58. package/src/base-client/components/AI/AskAiBtn.vue +136 -136
  59. package/src/base-client/components/AI/demo.vue +31 -31
  60. package/src/base-client/components/common/AddressSearchCombobox/IcMapIcon.vue +16 -16
  61. package/src/base-client/components/common/AddressSearchCombobox/demo.vue +36 -36
  62. package/src/base-client/components/common/AddressSearchCombobox/ic_map.svg +6 -6
  63. package/src/base-client/components/common/AmapMarker/AmapPointRendering.vue +120 -120
  64. package/src/base-client/components/common/CitySelect/index.js +3 -3
  65. package/src/base-client/components/common/CitySelect/index.md +109 -109
  66. package/src/base-client/components/common/CreateQuery/CreateQuery.vue +669 -669
  67. package/src/base-client/components/common/CreateQuery/CreateQueryItem.vue +1014 -1014
  68. package/src/base-client/components/common/CreateQuery/index.js +3 -3
  69. package/src/base-client/components/common/CreateQuery/index.md +42 -42
  70. package/src/base-client/components/common/CreateSimpleFormQuery/CreateSimpleFormQuery.vue +452 -452
  71. package/src/base-client/components/common/CreateSimpleFormQuery/CreateSimpleFormQueryItem.vue +511 -511
  72. package/src/base-client/components/common/CreateSimpleFormQuery/index.js +3 -3
  73. package/src/base-client/components/common/CreateSimpleFormQuery/index.md +42 -42
  74. package/src/base-client/components/common/FormGroupEdit/index.js +3 -3
  75. package/src/base-client/components/common/FormGroupEdit/index.md +43 -43
  76. package/src/base-client/components/common/FormGroupQuery/FormGroupQuery.vue +166 -166
  77. package/src/base-client/components/common/FormGroupQuery/index.js +3 -3
  78. package/src/base-client/components/common/FormGroupQuery/index.md +43 -43
  79. package/src/base-client/components/common/HIS/HTab/HTab.vue +23 -20
  80. package/src/base-client/components/common/HIS/demo.vue +61 -61
  81. package/src/base-client/components/common/JSONToTree/jsontotree.vue +271 -271
  82. package/src/base-client/components/common/LowCodeComponent/LowCodeEditorModal.vue +108 -108
  83. package/src/base-client/components/common/LowCodeComponent/LowCodeEditorPanel.vue +413 -413
  84. package/src/base-client/components/common/LowCodeComponent/LowCodePageOrganization.vue +502 -502
  85. package/src/base-client/components/common/LowCodeComponent/LowCodeRender.vue +728 -728
  86. package/src/base-client/components/common/LowCodeComponent/LowCodeRenderEnter.vue +29 -29
  87. package/src/base-client/components/common/LowCodeComponent/LowCodeUIStore.vue +219 -219
  88. package/src/base-client/components/common/LowCodeComponent/modal/lowCodeAddPageModal.vue +117 -117
  89. package/src/base-client/components/common/LowCodeComponent/modal/lowCodeCustomJSModal.vue +80 -80
  90. package/src/base-client/components/common/LowCodeComponent/modal/lowCodeEventEditorModal.vue +398 -398
  91. package/src/base-client/components/common/LowCodeComponent/modal/lowCodeLifeCycleModal.vue +65 -65
  92. package/src/base-client/components/common/LowCodeComponent/modal/lowCodeLogicCallbackModal.vue +64 -64
  93. package/src/base-client/components/common/LowCodeComponent/modal/lowCodeLogicParamModal.vue +73 -73
  94. package/src/base-client/components/common/LowCodeComponent/modal/lowCodeRunFunctionParamModal.vue +76 -76
  95. package/src/base-client/components/common/PersonSetting/PersonSetting.vue +208 -208
  96. package/src/base-client/components/common/PersonSetting/index.js +3 -3
  97. package/src/base-client/components/common/Recording/Recording.vue +243 -243
  98. package/src/base-client/components/common/Recording/index.js +3 -3
  99. package/src/base-client/components/common/Tree/Tree.vue +149 -149
  100. package/src/base-client/components/common/Tree/index.js +2 -2
  101. package/src/base-client/components/common/Upload/Upload.vue +334 -334
  102. package/src/base-client/components/common/Upload/index.js +3 -3
  103. package/src/base-client/components/common/XAddForm/XAddForm.vue +113 -113
  104. package/src/base-client/components/common/XAddNativeForm/index.md +146 -146
  105. package/src/base-client/components/common/XAddNativeFormOA/XAddNativeFormOA.vue +303 -303
  106. package/src/base-client/components/common/XAddNativeFormOA/index.js +3 -3
  107. package/src/base-client/components/common/XAddNativeFormOA/index.md +146 -146
  108. package/src/base-client/components/common/XAddReport/index.js +3 -3
  109. package/src/base-client/components/common/XAddReport/index.md +56 -56
  110. package/src/base-client/components/common/XBadge/XBadge.vue +94 -94
  111. package/src/base-client/components/common/XButtons/XButtonDemo.vue +28 -28
  112. package/src/base-client/components/common/XButtons/index.js +3 -3
  113. package/src/base-client/components/common/XButtons/index.md +61 -61
  114. package/src/base-client/components/common/XCalendar/XCalendar.vue +64 -34
  115. package/src/base-client/components/common/XCard/XCard.vue +64 -64
  116. package/src/base-client/components/common/XCheckList/XCheckList.vue +106 -106
  117. package/src/base-client/components/common/XCheckList/XCheckListDemo.vue +41 -41
  118. package/src/base-client/components/common/XCollapse/XCollapse.vue +118 -7
  119. package/src/base-client/components/common/XDataCard/index.js +3 -3
  120. package/src/base-client/components/common/XDataCard/index.md +1 -1
  121. package/src/base-client/components/common/XDataDrawer/XDataDrawer.vue +180 -180
  122. package/src/base-client/components/common/XDataDrawer/index.js +3 -3
  123. package/src/base-client/components/common/XDataDrawer/index.md +41 -41
  124. package/src/base-client/components/common/XDatePicker/demo.vue +153 -153
  125. package/src/base-client/components/common/XDescriptions/XDescriptions.vue +174 -174
  126. package/src/base-client/components/common/XDescriptions/index.js +3 -3
  127. package/src/base-client/components/common/XDescriptions/index.md +83 -83
  128. package/src/base-client/components/common/XDetailsView/XDetailsView.vue +238 -238
  129. package/src/base-client/components/common/XDetailsView/index.js +3 -3
  130. package/src/base-client/components/common/XForm/XStatusButton.vue +54 -54
  131. package/src/base-client/components/common/XForm/index.md +178 -178
  132. package/src/base-client/components/common/XForm/itemComponent/XClickChangeBtn/index.vue +49 -49
  133. package/src/base-client/components/common/XFormGroup/index.js +3 -3
  134. package/src/base-client/components/common/XFormGroup/index.md +38 -38
  135. package/src/base-client/components/common/XFormGroupDetails/XFormGroupDetails.vue +72 -72
  136. package/src/base-client/components/common/XFormGroupDetails/index.js +3 -3
  137. package/src/base-client/components/common/XFormTable/index.md +92 -92
  138. package/src/base-client/components/common/XInput/XInput.vue +24 -1
  139. package/src/base-client/components/common/XLabelSelect/XLabelSelect.vue +110 -110
  140. package/src/base-client/components/common/XLabelSelect/XLabelSelectDemo.vue +35 -35
  141. package/src/base-client/components/common/XLicensePlate/XLicensePlate.vue +193 -193
  142. package/src/base-client/components/common/XLicensePlate/XLicensePlateDemo.vue +48 -48
  143. package/src/base-client/components/common/XPrint/OpenInvoice.vue +21 -21
  144. package/src/base-client/components/common/XPrint/PrintHtml.js +98 -98
  145. package/src/base-client/components/common/XPrint/css/hiPrintCss.js +359 -359
  146. package/src/base-client/components/common/XPrint/css/lodopCss.js +26 -26
  147. package/src/base-client/components/common/XPrint/css/print-lock.css +351 -351
  148. package/src/base-client/components/common/XPrint/index.vue +97 -97
  149. package/src/base-client/components/common/XReport/XReportDesign.vue +463 -463
  150. package/src/base-client/components/common/XReport/XReportJsonRender.vue +381 -381
  151. package/src/base-client/components/common/XReport/index.js +3 -3
  152. package/src/base-client/components/common/XReport/print.js +186 -186
  153. package/src/base-client/components/common/XReportDrawer/index.js +3 -3
  154. package/src/base-client/components/common/XReportGrid/XReportTrGroup.vue +19 -8
  155. package/src/base-client/components/common/XReportGrid/index.js +3 -3
  156. package/src/base-client/components/common/XReportGrid/index.md +44 -44
  157. package/src/base-client/components/common/XReportSlot/XReportSlot.vue +110 -110
  158. package/src/base-client/components/common/XReportSlot/index.js +3 -3
  159. package/src/base-client/components/common/XReportSlot/index.md +48 -48
  160. package/src/base-client/components/common/XSimpleDescriptions/index.js +3 -3
  161. package/src/base-client/components/common/XSimpleDescriptions/index.md +7 -7
  162. package/src/base-client/components/common/XStepView/XStepView.vue +252 -252
  163. package/src/base-client/components/common/XStepView/index.js +3 -3
  164. package/src/base-client/components/common/XStepView/index.md +31 -31
  165. package/src/base-client/components/common/XTab/XTabDemo.vue +22 -22
  166. package/src/base-client/components/common/XTab/index.js +3 -3
  167. package/src/base-client/components/common/XTable/CustomFuncCel.vue +51 -51
  168. package/src/base-client/components/common/XTable/TableCellRenderer.vue +161 -161
  169. package/src/base-client/components/common/XTable/index.md +255 -255
  170. package/src/base-client/components/common/XTagGroup/index.vue +52 -52
  171. package/src/base-client/components/common/XTree/XTree.vue +424 -424
  172. package/src/base-client/components/common/XTree/index.js +3 -3
  173. package/src/base-client/components/common/XTree/index.md +36 -36
  174. package/src/base-client/components/common/XTreeOne/XTreeOne.vue +113 -113
  175. package/src/base-client/components/common/XTreeOne/XTreeOnePro.vue +128 -128
  176. package/src/base-client/components/common/richTextModal/index.vue +56 -56
  177. package/src/base-client/components/common/richTextModal/richDemo.vue +48 -48
  178. package/src/base-client/components/his/XCharge/XChargeDemo.vue +145 -145
  179. package/src/base-client/components/his/XHisEditor/index.js +3 -3
  180. package/src/base-client/components/his/XRadio/XRadio.vue +166 -11
  181. package/src/base-client/components/his/XSimpleTable/XSimpleTable.vue +40 -0
  182. package/src/base-client/components/his/XTreeRows/XTreeRows.vue +36 -2
  183. package/src/base-client/components/index.js +51 -51
  184. package/src/base-client/components/layout/XTreeView/XTreeView.vue +130 -130
  185. package/src/base-client/components/layout/XTreeView/index.js +3 -3
  186. package/src/base-client/components/layout/XTreeView/index.md +46 -46
  187. package/src/base-client/components/system/DictionaryDetailsView/DictionaryDetailsView.vue +232 -232
  188. package/src/base-client/components/system/QueryParamsDetailsView/QueryParamsDetailsView.vue +281 -281
  189. package/src/base-client/plugins/Config.js +19 -19
  190. package/src/base-client/plugins/GetLoginInfoService.js +183 -183
  191. package/src/base-client/plugins/Recording.js +258 -258
  192. package/src/base-client/plugins/index.js +23 -23
  193. package/src/base-client/plugins/tabs-page-plugin.js +39 -39
  194. package/src/components/Charts/Bar.vue +62 -62
  195. package/src/components/Charts/ChartCard.vue +134 -134
  196. package/src/components/Charts/Liquid.vue +67 -67
  197. package/src/components/Charts/MiniArea.vue +39 -39
  198. package/src/components/Charts/MiniBar.vue +39 -39
  199. package/src/components/Charts/MiniProgress.vue +75 -75
  200. package/src/components/Charts/MiniSmoothArea.vue +40 -40
  201. package/src/components/Charts/Radar.vue +68 -68
  202. package/src/components/Charts/RankList.vue +77 -77
  203. package/src/components/Charts/TagCloud.vue +113 -113
  204. package/src/components/Charts/TransferBar.vue +64 -64
  205. package/src/components/Charts/Trend.vue +82 -82
  206. package/src/components/Charts/chart.less +12 -12
  207. package/src/components/Charts/smooth.area.less +13 -13
  208. package/src/components/CodeMirror/inedx.vue +118 -118
  209. package/src/components/CodeMirror/setting.js +40 -40
  210. package/src/components/NumberInfo/NumberInfo.vue +54 -54
  211. package/src/components/NumberInfo/index.js +3 -3
  212. package/src/components/NumberInfo/index.less +54 -54
  213. package/src/components/NumberInfo/index.md +43 -43
  214. package/src/components/card/ChartCard.vue +79 -79
  215. package/src/components/chart/Bar.vue +60 -60
  216. package/src/components/chart/MiniArea.vue +67 -67
  217. package/src/components/chart/MiniBar.vue +59 -59
  218. package/src/components/chart/MiniProgress.vue +57 -57
  219. package/src/components/chart/Radar.vue +80 -80
  220. package/src/components/chart/RankingList.vue +60 -60
  221. package/src/components/chart/Trend.vue +79 -79
  222. package/src/components/chart/index.less +9 -9
  223. package/src/components/checkbox/ColorCheckbox.vue +157 -157
  224. package/src/components/checkbox/ImgCheckbox.vue +117 -117
  225. package/src/components/checkbox/ImgCheckboxGroup.vue +76 -76
  226. package/src/components/checkbox/index.js +9 -9
  227. package/src/components/exception/ExceptionPage.vue +70 -70
  228. package/src/components/g2Charts/constants.js +202 -202
  229. package/src/components/g2Charts/demo.vue +808 -808
  230. package/src/components/g2Charts/designer.vue +228 -228
  231. package/src/components/g2Charts/designerBaseConfig.vue +61 -61
  232. package/src/components/g2Charts/designerDataConfig.vue +259 -259
  233. package/src/components/g2Charts/designerStyleConfig.vue +16 -16
  234. package/src/components/g2Charts/index.vue +397 -397
  235. package/src/components/index.js +36 -36
  236. package/src/components/input/IInput.vue +66 -66
  237. package/src/components/menu/SideMenu.vue +75 -75
  238. package/src/components/menu/menu.js +273 -273
  239. package/src/components/setting/Setting.vue +234 -234
  240. package/src/components/tool/AStepItem.vue +60 -60
  241. package/src/config/default/antd.config.js +89 -89
  242. package/src/config/default/setting.config.js +55 -55
  243. package/src/font-style/font.css +60 -60
  244. package/src/layouts/CommonLayout.vue +56 -56
  245. package/src/layouts/PageLayout.vue +151 -151
  246. package/src/layouts/SinglePageView.vue +136 -136
  247. package/src/layouts/header/AdminHeader.vue +132 -132
  248. package/src/layouts/header/HeaderNotice.vue +177 -177
  249. package/src/layouts/header/InstitutionDetail.vue +181 -181
  250. package/src/layouts/tabs/TabsHead.vue +189 -189
  251. package/src/lib.js +1 -1
  252. package/src/mock/extend/index.js +84 -84
  253. package/src/mock/goods/index.js +108 -108
  254. package/src/pages/DefaultExample/index.vue +77 -77
  255. package/src/pages/DynamicStatistics/ChartSelector.vue +331 -331
  256. package/src/pages/DynamicStatistics/DataTabs.vue +83 -83
  257. package/src/pages/DynamicStatistics/DynamicTable.vue +128 -128
  258. package/src/pages/DynamicStatistics/EvaluationArea.vue +69 -69
  259. package/src/pages/DynamicStatistics/FavoriteList.vue +50 -50
  260. package/src/pages/DynamicStatistics/QuestionHistoryAndFavorites.vue +591 -591
  261. package/src/pages/DynamicStatistics/SearchBar.vue +192 -192
  262. package/src/pages/DynamicStatistics/index.vue +282 -282
  263. package/src/pages/Example/childIndex.vue +15 -15
  264. package/src/pages/Example/index.vue +30 -30
  265. package/src/pages/NewDynamicStatistics/ChartSelector.vue +331 -331
  266. package/src/pages/NewDynamicStatistics/DataTabs.vue +122 -122
  267. package/src/pages/NewDynamicStatistics/DynamicTable.vue +128 -128
  268. package/src/pages/NewDynamicStatistics/EvaluationArea.vue +69 -69
  269. package/src/pages/NewDynamicStatistics/FavoriteList.vue +50 -50
  270. package/src/pages/NewDynamicStatistics/QuestionHistoryAndFavorites.vue +289 -289
  271. package/src/pages/NewDynamicStatistics/SearchBar.vue +193 -193
  272. package/src/pages/NewDynamicStatistics/index.vue +258 -258
  273. package/src/pages/Recording/index.vue +77 -77
  274. package/src/pages/ServiceReview/index.vue +284 -284
  275. package/src/pages/SubExample/index.vue +26 -26
  276. package/src/pages/WorkflowDetail/WorkflowDetail.vue +5 -0
  277. package/src/pages/WorkflowDetail/WorkflowPageDetail/TrimTextTail.vue +23 -23
  278. package/src/pages/WorkflowDetail/WorkflowPageDetail/WorkFlowHandle.vue +3 -0
  279. package/src/pages/XReportView/index.vue +64 -64
  280. package/src/pages/dashboard/workplace/WorkPlace.vue +141 -141
  281. package/src/pages/login/Login.vue +379 -379
  282. package/src/pages/login/LoginV3.vue +389 -389
  283. package/src/pages/lowCode/lowCodeEditor.vue +1219 -1219
  284. package/src/pages/lowCode/lowCodeRenderPage.vue +43 -43
  285. package/src/pages/report/ReportTable.js +124 -124
  286. package/src/pages/resourceManage/orgListManage.vue +98 -98
  287. package/src/pages/system/dictionary/index.vue +44 -44
  288. package/src/pages/system/monitor/loginInfor/index.vue +37 -37
  289. package/src/pages/system/monitor/operLog/index.vue +37 -37
  290. package/src/pages/system/settings/modifyPassword.vue +117 -117
  291. package/src/pages/system/ticket/index.vue +480 -480
  292. package/src/pages/system/ticket/submitTicketSuccess.vue +484 -484
  293. package/src/pages/userInfoDetailManage/ChangeMeterRecordQuery/index.vue +64 -64
  294. package/src/pages/userInfoDetailManage/InfoChangeRecordQuery/index.vue +64 -64
  295. package/src/pages/userInfoDetailManage/InstructRecordQuery/index.vue +64 -64
  296. package/src/pages/userInfoDetailManage/MeterParamRecordQuery/index.vue +64 -64
  297. package/src/pages/userInfoDetailManage/TransferRecordQuery/index.vue +66 -66
  298. package/src/pages/userInfoDetailManage/WatchCollectionRecordQuery/index.vue +64 -64
  299. package/src/plugins/EventLogPlugin.js +33 -33
  300. package/src/plugins/FindParentsData.js +17 -17
  301. package/src/router/async/config.async.js +35 -35
  302. package/src/router/index.js +27 -27
  303. package/src/services/DataModel.js +30 -30
  304. package/src/services/LodopFuncs.js +137 -137
  305. package/src/services/api/TicketDetailsViewApi.js +46 -46
  306. package/src/services/api/cas.js +79 -79
  307. package/src/services/api/entity.js +18 -18
  308. package/src/services/api/index.js +17 -17
  309. package/src/store/modules/account.js +115 -115
  310. package/src/store/modules/index.js +5 -5
  311. package/src/store/modules/lowCode.js +33 -33
  312. package/src/store/modules/setting.js +119 -119
  313. package/src/theme/default/style.less +58 -58
  314. package/src/utils/authority-utils.js +85 -85
  315. package/src/utils/errorCode.js +6 -6
  316. package/src/utils/formatter.js +74 -74
  317. package/src/utils/htmlToPDF.js +108 -108
  318. package/src/utils/htmlToPDFApi.js +5 -5
  319. package/src/utils/login.js +188 -188
  320. package/src/utils/lowcode/lowcodeComponentMixin.js +120 -120
  321. package/src/utils/lowcode/lowcodeLog.js +29 -29
  322. package/src/utils/lowcode/lowcodeUtils.js +373 -373
  323. package/src/utils/lowcode/registerComponentForEditor.js +1 -1
  324. package/src/utils/lowcode/registerComponentForRender.js +11 -11
  325. package/src/utils/map-utils.js +47 -47
  326. package/src/utils/reg.js +95 -95
  327. package/src/utils/runEvalFunction.js +14 -14
  328. package/src/utils/theme-color-replacer-extend.js +92 -92
  329. package/src/utils/util.js +329 -329
  330. package/src/utils/waterMark.js +31 -31
  331. package//350/277/201/347/247/273/346/227/245/345/277/227.md +15 -15
@@ -1,41 +1,41 @@
1
- <template>
2
- <div>
3
- <x-check-list ref="xCheckList"></x-check-list>
4
- </div>
5
- </template>
6
-
7
- <script>
8
- import XCheckList from './XCheckList.vue'
9
-
10
- export default {
11
- name: 'XCheckListDemo',
12
- components: {
13
- XCheckList
14
- },
15
- data () {
16
- return {}
17
- },
18
- mounted () {
19
- // 模拟接口返回的配置数据
20
- const mockResponse = {
21
- leftItems: [
22
- { value: 'left1', label: '左项1' },
23
- { value: 'left2', label: '左项2' },
24
- { value: 'left3', label: '左项3' }
25
- ],
26
- rightItems: [
27
- { value: 'right1', label: '右项1' },
28
- { value: 'right2', label: '右项2' },
29
- { value: 'right3', label: '右项3' }
30
- ]
31
- }
32
-
33
- // 模拟接口回调
34
- this.$refs.xCheckList.init({
35
- leftItems: mockResponse.leftItems,
36
- rightItems: mockResponse.rightItems
37
- })
38
- },
39
- methods: {}
40
- }
41
- </script>
1
+ <template>
2
+ <div>
3
+ <x-check-list ref="xCheckList"></x-check-list>
4
+ </div>
5
+ </template>
6
+
7
+ <script>
8
+ import XCheckList from './XCheckList.vue'
9
+
10
+ export default {
11
+ name: 'XCheckListDemo',
12
+ components: {
13
+ XCheckList
14
+ },
15
+ data () {
16
+ return {}
17
+ },
18
+ mounted () {
19
+ // 模拟接口返回的配置数据
20
+ const mockResponse = {
21
+ leftItems: [
22
+ { value: 'left1', label: '左项1' },
23
+ { value: 'left2', label: '左项2' },
24
+ { value: 'left3', label: '左项3' }
25
+ ],
26
+ rightItems: [
27
+ { value: 'right1', label: '右项1' },
28
+ { value: 'right2', label: '右项2' },
29
+ { value: 'right3', label: '右项3' }
30
+ ]
31
+ }
32
+
33
+ // 模拟接口回调
34
+ this.$refs.xCheckList.init({
35
+ leftItems: mockResponse.leftItems,
36
+ rightItems: mockResponse.rightItems
37
+ })
38
+ },
39
+ methods: {}
40
+ }
41
+ </script>
@@ -33,7 +33,7 @@
33
33
  class="info-item"
34
34
  :style="config.title2Style">
35
35
  <!-- 根据showTitle是否显示键名 -->
36
- <span v-if="item.showTitle">{{ item.key }};</span>
36
+ <span v-if="item.showTitle">{{ item.key }}:</span>
37
37
  <span>{{ item.value }}</span>
38
38
  </span>
39
39
  </template>
@@ -191,7 +191,9 @@ export default {
191
191
  const attrs = this.$attrs || {}
192
192
  const classes = {}
193
193
  const booleanStyleKeys = [
194
- 'style1'
194
+ 'style1',
195
+ 'check-result',
196
+ 'medical-entry'
195
197
  ]
196
198
  booleanStyleKeys.forEach(key => {
197
199
  const val = attrs[key]
@@ -477,10 +479,13 @@ export default {
477
479
  display: inline-flex;
478
480
  align-items: center;
479
481
  justify-content: center;
480
- height: 100%;
481
- line-height: 1;
482
+ width: 19.47px;
483
+ height: 20px;
484
+ line-height: 20px;
482
485
  vertical-align: middle;
483
- margin-top: -20px; /* 微调偏移量(根据实际情况调整) */
486
+ color: #313131; /* 仅设置图标颜色,不设置背景 */
487
+ margin-top: 0; /* 去除向上偏移 */
488
+ margin-right: 47px; /* 与下拉箭头保持 20px 距离 */
484
489
  }
485
490
 
486
491
  :deep(.ant-collapse-extra) {
@@ -645,6 +650,75 @@ export default {
645
650
 
646
651
  // 基于根容器类进行样式整合:x-collapse-wrapper.xcollapse-style1
647
652
  .x-collapse-wrapper {
653
+ // 检查结果样式
654
+ &.xcollapse-check-result {
655
+ height: auto; /* 允许根据内容自适应高度,避免滚动被限制 */
656
+ min-height: 600px;
657
+ // 让每个面板成为独立卡片:去掉 antd 默认的分隔线,增加间距与圆角
658
+ :deep(.ant-collapse) {
659
+ background: transparent;
660
+ border: 0;
661
+ }
662
+
663
+ :deep(.ant-collapse > .ant-collapse-item) {
664
+ width: 562px;
665
+ min-height: auto;
666
+ height: auto;
667
+ margin-bottom:10px;
668
+ background: #FFFFFF; // 独立白底
669
+ box-sizing: border-box;
670
+ border: 1px solid #E5E9F0; // 每个面板自身边框
671
+ }
672
+
673
+ :deep(.ant-collapse > .ant-collapse-item:first-child) { margin-top: 0; }
674
+ :deep(.ant-collapse > .ant-collapse-item:last-child) { margin-bottom: 0; }
675
+
676
+ :deep(.ant-collapse-content > .ant-collapse-content-box) {
677
+ background: #FFFFFF;
678
+ padding: 0px !important;
679
+ }
680
+
681
+ // 表头:恢复合适的上下内边距,去掉顶部额外空白
682
+ :deep(.ant-collapse-header) {
683
+ background: #FFFFFF;
684
+ padding: 0px 0px !important;
685
+ height: 39px !important;
686
+ border-bottom: none !important; // 移除标题处下边线,避免与外边框连为一体
687
+ border: 1px solid #E5E9F0; // 每个面板自身边框
688
+ }
689
+
690
+ /* 将右侧留白转移到标题与第一项之间 */
691
+ .header-content { padding-right: 0; }
692
+ .header-content .info-item:first-of-type { margin-left: 24px !important; }
693
+ .header-content .time-item:first-of-type { margin-left: 24px !important; }
694
+
695
+ .info-item {
696
+ height: 20px;
697
+ opacity: 1;
698
+ font-family: "Source Han Sans";
699
+ font-size: 14px;
700
+ font-weight: 400;
701
+ line-height: 20px;
702
+ text-align: right;
703
+ letter-spacing: 0em;
704
+ font-feature-settings: "kern" on;
705
+ color: #313131 !important;
706
+ }
707
+
708
+ .header-text {
709
+ height: 23px;
710
+ opacity: 1;
711
+ font-family: "Source Han Sans";
712
+ font-size: 16px;
713
+ font-weight: 700;
714
+ line-height: 23px;
715
+ letter-spacing: 0em;
716
+ padding-right: 40px;
717
+ font-feature-settings: "kern" on;
718
+ color: #313131 !important;
719
+ }
720
+ }
721
+ // 历史病历样式
648
722
  &.xcollapse-style1 {
649
723
  height: auto; /* 允许根据内容自适应高度,避免滚动被限制 */
650
724
  min-height: 600px;
@@ -692,7 +766,7 @@ export default {
692
766
  }
693
767
 
694
768
  :deep(.ant-collapse > .ant-collapse-item) {
695
- width: 564px;
769
+ width: 562px;
696
770
  min-height: auto;
697
771
  height: auto;
698
772
  margin-bottom:10px;
@@ -706,7 +780,7 @@ export default {
706
780
 
707
781
  :deep(.ant-collapse-content > .ant-collapse-content-box) {
708
782
  background: #FFFFFF;
709
- padding: 0px !important; /* 自定义边距:上9px 右12px 下10px 左11px */
783
+ padding: 0px !important;
710
784
  }
711
785
 
712
786
  // 表头:恢复合适的上下内边距,去掉顶部额外空白
@@ -718,5 +792,42 @@ export default {
718
792
  border: 1px solid #E5E9F0; // 每个面板自身边框
719
793
  }
720
794
  }
795
+
796
+ // 医学词条样式
797
+ &.xcollapse-medical-entry {
798
+ height: auto;
799
+ min-height: 600px;
800
+ :deep(.ant-collapse) { background: transparent; border: 0; }
801
+ :deep(.ant-collapse > .ant-collapse-item) {
802
+ width: 564px;
803
+ min-height: auto;
804
+ height: auto;
805
+ margin-bottom: 14px;
806
+ background: #FFFFFF;
807
+ box-sizing: border-box;
808
+ border: 1px solid #E5E9F0;
809
+ }
810
+ :deep(.ant-collapse > .ant-collapse-item:first-child) { margin-top: 0; }
811
+ :deep(.ant-collapse > .ant-collapse-item:last-child) { margin-bottom: 0; }
812
+ :deep(.ant-collapse-content > .ant-collapse-content-box) { background: #FFFFFF; padding: 0px !important; }
813
+ :deep(.ant-collapse-header) {
814
+ background: #FFFFFF;
815
+ padding: 0px 0px !important;
816
+ height: 39px !important;
817
+ border-bottom: none !important;
818
+ border: 1px solid #E5E9F0;
819
+ }
820
+ .header-text {
821
+ font-family: "Source Han Sans";
822
+ font-size: 16px;
823
+ font-weight: 700;
824
+ line-height: 23px;
825
+ letter-spacing: 0em;
826
+ color: #313131;
827
+ margin-top: 7px;
828
+ margin-bottom: 7px;
829
+ margin-right: 0 !important;
830
+ }
831
+ }
721
832
  }
722
833
  </style>
@@ -1,3 +1,3 @@
1
- import XDataCard from './XDataCard.vue'
2
-
3
- export default XDataCard
1
+ import XDataCard from './XDataCard.vue'
2
+
3
+ export default XDataCard
@@ -1 +1 @@
1
- # XDataCard
1
+ # XDataCard
@@ -1,180 +1,180 @@
1
- <template>
2
- <a-drawer
3
- :visible="visible"
4
- :width="isMobile ? screenWidth : screenWidth * 0.85"
5
- placement="right"
6
- :title="title"
7
- @close="onClose"
8
- >
9
- <a-spin :spinning="loading">
10
- <a-page-header :title="getPageHeaderTitle">
11
- <div class="row">
12
- <div class="content">
13
- <slot name="contentDescriptions" :datas="details"></slot>
14
- </div>
15
- <div class="extra">
16
- <a-row class="status-list" v-for="(item,index) in extraStatusList" :key="'extraStatus' + index">
17
- <a-col :sm="24" :xs="12">
18
- <div class="text">{{ item.text }}</div>
19
- <div class="heading">
20
- <x-badge :is-external-text="true" :value="item.key" :badge-key="item.keyMap ? item.keyMap : 'none'"/>
21
- </div>
22
- </a-col>
23
- </a-row>
24
- </div>
25
- </div>
26
- <!-- actions -->
27
- <template #extra>
28
- <a-button-group style="margin-right: 4px;">
29
- <a-button :loading="loading" type="dashed" @click="initView('1')">刷新</a-button>
30
- </a-button-group>
31
- <a-button-group style="margin-right: 4px;">
32
- <slot name="extraActions" :datas="details"></slot>
33
- </a-button-group>
34
- </template>
35
- <template #footer>
36
- <slot name="footerContent" :datas="details"></slot>
37
- </template>
38
- </a-page-header>
39
- </a-spin>
40
- </a-drawer>
41
- </template>
42
-
43
- <script>
44
- import { mapState } from 'vuex'
45
- import XBadge from '@vue2-client/base-client/components/common/XBadge/XBadge'
46
-
47
- export default {
48
- name: 'InstructDetailsView',
49
- components: {
50
- XBadge
51
- },
52
- data () {
53
- return {
54
- // 页面宽度
55
- screenWidth: document.documentElement.clientWidth,
56
- // Tab页签
57
- tabActiveKey: '1',
58
- // 数据详情
59
- details: {},
60
- // 加载状态
61
- loading: true
62
- }
63
- },
64
- mounted () {
65
- this.initView('1')
66
- },
67
- computed: {
68
- ...mapState('account', { currUser: 'user' }),
69
- ...mapState('setting', ['isMobile'])
70
- },
71
- props: {
72
- title: {
73
- type: String,
74
- required: true
75
- },
76
- extraStatusList: {
77
- type: Array,
78
- default: () => {
79
- return []
80
- }
81
- },
82
- visible: {
83
- type: Boolean,
84
- default: false
85
- }
86
- },
87
- methods: {
88
- // 初始化组件
89
- initView (tabActiveKey) {
90
- this.tabActiveKey = tabActiveKey || '1'
91
- this.getDatas()
92
- },
93
- // 获取详情信息
94
- getDatas () {
95
- this.loading = true
96
- this.$emit('load').then(res => {
97
- this.details = res
98
- }, err => {
99
- console.error(err)
100
- }).finally(() => {
101
- this.loading = false
102
- })
103
- },
104
- // 获取页头标题
105
- getPageHeaderTitle () {
106
- this.$emit('getPageHeaderTitle', this.details)
107
- },
108
- // 关闭抽屉时回调
109
- onClose () {
110
- this.$emit('update:visible', false)
111
- }
112
- },
113
- watch: {
114
- 'visible' (val) {
115
- if (val) {
116
- this.initView('1')
117
- }
118
- }
119
- }
120
- }
121
- </script>
122
-
123
- <style lang="less" scoped>
124
- .detail-layout {
125
- margin-left: 44px;
126
- }
127
- .text {
128
- color: rgba(0, 0, 0, .45);
129
- }
130
-
131
- .heading {
132
- color: rgba(0, 0, 0, .85);
133
- font-size: 20px;
134
- }
135
-
136
- .no-data {
137
- color: rgba(0, 0, 0, .25);
138
- text-align: center;
139
- line-height: 64px;
140
- font-size: 16px;
141
-
142
- i {
143
- font-size: 24px;
144
- margin-right: 16px;
145
- position: relative;
146
- top: 3px;
147
- }
148
- }
149
-
150
- .mobile {
151
- .detail-layout {
152
- margin-left: unset;
153
- }
154
- .text {
155
-
156
- }
157
- .status-list {
158
- text-align: left;
159
- }
160
- }
161
-
162
- .row {
163
- display: flex;
164
-
165
- .content {
166
- -webkit-box-flex: 1;
167
- flex: auto;
168
- -ms-flex: auto;
169
- }
170
-
171
- .extra {
172
- flex: 0 1 auto;
173
- -webkit-box-flex: 0;
174
- -ms-flex: 0 1 auto;
175
- min-width: 242px;
176
- margin-left: 88px;
177
- text-align: right;
178
- }
179
- }
180
- </style>
1
+ <template>
2
+ <a-drawer
3
+ :visible="visible"
4
+ :width="isMobile ? screenWidth : screenWidth * 0.85"
5
+ placement="right"
6
+ :title="title"
7
+ @close="onClose"
8
+ >
9
+ <a-spin :spinning="loading">
10
+ <a-page-header :title="getPageHeaderTitle">
11
+ <div class="row">
12
+ <div class="content">
13
+ <slot name="contentDescriptions" :datas="details"></slot>
14
+ </div>
15
+ <div class="extra">
16
+ <a-row class="status-list" v-for="(item,index) in extraStatusList" :key="'extraStatus' + index">
17
+ <a-col :sm="24" :xs="12">
18
+ <div class="text">{{ item.text }}</div>
19
+ <div class="heading">
20
+ <x-badge :is-external-text="true" :value="item.key" :badge-key="item.keyMap ? item.keyMap : 'none'"/>
21
+ </div>
22
+ </a-col>
23
+ </a-row>
24
+ </div>
25
+ </div>
26
+ <!-- actions -->
27
+ <template #extra>
28
+ <a-button-group style="margin-right: 4px;">
29
+ <a-button :loading="loading" type="dashed" @click="initView('1')">刷新</a-button>
30
+ </a-button-group>
31
+ <a-button-group style="margin-right: 4px;">
32
+ <slot name="extraActions" :datas="details"></slot>
33
+ </a-button-group>
34
+ </template>
35
+ <template #footer>
36
+ <slot name="footerContent" :datas="details"></slot>
37
+ </template>
38
+ </a-page-header>
39
+ </a-spin>
40
+ </a-drawer>
41
+ </template>
42
+
43
+ <script>
44
+ import { mapState } from 'vuex'
45
+ import XBadge from '@vue2-client/base-client/components/common/XBadge/XBadge'
46
+
47
+ export default {
48
+ name: 'InstructDetailsView',
49
+ components: {
50
+ XBadge
51
+ },
52
+ data () {
53
+ return {
54
+ // 页面宽度
55
+ screenWidth: document.documentElement.clientWidth,
56
+ // Tab页签
57
+ tabActiveKey: '1',
58
+ // 数据详情
59
+ details: {},
60
+ // 加载状态
61
+ loading: true
62
+ }
63
+ },
64
+ mounted () {
65
+ this.initView('1')
66
+ },
67
+ computed: {
68
+ ...mapState('account', { currUser: 'user' }),
69
+ ...mapState('setting', ['isMobile'])
70
+ },
71
+ props: {
72
+ title: {
73
+ type: String,
74
+ required: true
75
+ },
76
+ extraStatusList: {
77
+ type: Array,
78
+ default: () => {
79
+ return []
80
+ }
81
+ },
82
+ visible: {
83
+ type: Boolean,
84
+ default: false
85
+ }
86
+ },
87
+ methods: {
88
+ // 初始化组件
89
+ initView (tabActiveKey) {
90
+ this.tabActiveKey = tabActiveKey || '1'
91
+ this.getDatas()
92
+ },
93
+ // 获取详情信息
94
+ getDatas () {
95
+ this.loading = true
96
+ this.$emit('load').then(res => {
97
+ this.details = res
98
+ }, err => {
99
+ console.error(err)
100
+ }).finally(() => {
101
+ this.loading = false
102
+ })
103
+ },
104
+ // 获取页头标题
105
+ getPageHeaderTitle () {
106
+ this.$emit('getPageHeaderTitle', this.details)
107
+ },
108
+ // 关闭抽屉时回调
109
+ onClose () {
110
+ this.$emit('update:visible', false)
111
+ }
112
+ },
113
+ watch: {
114
+ 'visible' (val) {
115
+ if (val) {
116
+ this.initView('1')
117
+ }
118
+ }
119
+ }
120
+ }
121
+ </script>
122
+
123
+ <style lang="less" scoped>
124
+ .detail-layout {
125
+ margin-left: 44px;
126
+ }
127
+ .text {
128
+ color: rgba(0, 0, 0, .45);
129
+ }
130
+
131
+ .heading {
132
+ color: rgba(0, 0, 0, .85);
133
+ font-size: 20px;
134
+ }
135
+
136
+ .no-data {
137
+ color: rgba(0, 0, 0, .25);
138
+ text-align: center;
139
+ line-height: 64px;
140
+ font-size: 16px;
141
+
142
+ i {
143
+ font-size: 24px;
144
+ margin-right: 16px;
145
+ position: relative;
146
+ top: 3px;
147
+ }
148
+ }
149
+
150
+ .mobile {
151
+ .detail-layout {
152
+ margin-left: unset;
153
+ }
154
+ .text {
155
+
156
+ }
157
+ .status-list {
158
+ text-align: left;
159
+ }
160
+ }
161
+
162
+ .row {
163
+ display: flex;
164
+
165
+ .content {
166
+ -webkit-box-flex: 1;
167
+ flex: auto;
168
+ -ms-flex: auto;
169
+ }
170
+
171
+ .extra {
172
+ flex: 0 1 auto;
173
+ -webkit-box-flex: 0;
174
+ -ms-flex: 0 1 auto;
175
+ min-width: 242px;
176
+ margin-left: 88px;
177
+ text-align: right;
178
+ }
179
+ }
180
+ </style>
@@ -1,3 +1,3 @@
1
- import XDataDrawer from './XDataDrawer'
2
-
3
- export default XDataDrawer
1
+ import XDataDrawer from './XDataDrawer'
2
+
3
+ export default XDataDrawer