vue2-client 1.15.123 → 1.15.125
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 +1 -1
- package/src/base-client/components/common/HIS/HButtons/HButtons.vue +749 -0
- package/src/base-client/components/common/HIS/HButtons/index.js +3 -0
- package/src/base-client/components/common/HIS/HFormTable/HFormTable.vue +155 -0
- package/src/base-client/components/common/HIS/HFormTable/index.js +3 -0
- package/src/base-client/components/common/HIS/HTab/HTab.vue +100 -0
- package/src/base-client/components/common/HIS/HTab/index.js +3 -0
- package/src/base-client/components/common/HIS/demo.vue +46 -0
- package/src/base-client/components/common/XCollapse/XCollapse.vue +2 -1
- package/src/base-client/components/common/XConversation/XConversation.vue +0 -6
- package/src/base-client/components/common/XReportGrid/XReport.vue +0 -11
- package/src/base-client/components/common/XReportGrid/XReportDesign.vue +36 -51
- package/src/base-client/components/common/XReportGrid/XReportTrGroup.vue +133 -48
- package/src/base-client/components/common/XTab/XTab.vue +12 -6
- package/src/base-client/components/his/XChart/XChart.vue +282 -282
- package/src/base-client/components/his/XChart/dome.vue +19 -19
- package/src/base-client/components/his/XHDescriptions/XHDescriptions.vue +0 -1
- package/src/base-client/components/his/XImageReport/ImagePreview.vue +393 -0
- package/src/base-client/components/his/XImageReport/XImageReport copy.vue +361 -0
- package/src/base-client/components/his/XImageReport/XImageReport.vue +200 -0
- package/src/base-client/components/his/XImageReport/XImageReportDemo.vue +29 -0
- package/src/base-client/components/his/XQuestionnaire/XQuestionnaire.vue +1 -1
- package/src/base-client/components/his/XTextCard/XTextCard.vue +207 -207
- package/src/base-client/components/his/threeTestOrders/editor.vue +111 -111
- package/src/components/STable/index.js +11 -4
- package/src/router/async/router.map.js +2 -1
- package/.history/public/his/editor/editor_20250606134713.html +0 -51
- package/.history/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox_20250527173925.vue +0 -509
- package/.history/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox_20250527174316.vue +0 -524
- package/.history/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox_20250527174419.vue +0 -524
- package/.history/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox_20250527174422.vue +0 -524
- package/.history/src/base-client/components/common/XAddReport/XAddReport_20250611172825.vue +0 -207
- package/.history/src/base-client/components/common/XAddReport/XAddReport_20250611172945.vue +0 -211
- package/.history/src/base-client/components/common/XAddReport/XAddReport_20250611172949.vue +0 -212
- package/.history/src/base-client/components/common/XAddReport/XAddReport_20250611173010.vue +0 -212
- package/.history/src/base-client/components/common/XForm/XFormItem_20250508134122.vue +0 -1320
- package/.history/src/base-client/components/common/XForm/XFormItem_20250527171604.vue +0 -1332
- package/.history/src/base-client/components/common/XForm/XFormItem_20250527171613.vue +0 -1331
- package/.history/src/base-client/components/common/XForm/XFormItem_20250527171703.vue +0 -1331
- package/.history/src/base-client/components/common/XForm/XFormItem_20250527171720.vue +0 -1331
- package/.history/src/base-client/components/common/XForm/XFormItem_20250527174327.vue +0 -1339
- package/.history/src/base-client/components/common/XReportGrid/XReportTrGroup_20250612092804.vue +0 -731
- package/.history/src/base-client/components/common/XReportGrid/XReportTrGroup_20250612112546.vue +0 -748
- package/.history/src/base-client/components/common/XReportGrid/XReportTrGroup_20250612113808.vue +0 -748
- package/.history/src/base-client/components/common/XReportGrid/XReport_20250612115237.vue +0 -1071
- package/.history/src/base-client/components/common/XReportGrid/XReport_20250612115346.vue +0 -1078
- package/.history/src/base-client/components/common/XReportGrid/XReport_20250612115350.vue +0 -1077
- package/.history/src/base-client/components/common/XReportGrid/XReport_20250612115415.vue +0 -1077
- package/.history/src/base-client/components/common/XReportGrid/XReport_20250612115429.vue +0 -1077
- package/.history/src/base-client/components/his/XChart/XChart_20250812134005.vue +0 -160
- package/.history/src/base-client/components/his/XChart/XChart_20250812134010.vue +0 -160
- package/.history/src/base-client/components/his/XChart/XChart_20250812134019.vue +0 -160
- package/.history/src/base-client/components/his/XChart/XChart_20250812134037.vue +0 -160
- package/.history/src/base-client/components/his/XChart/XChart_20250812134112.vue +0 -160
- package/.history/src/base-client/components/his/XChart/XChart_20250812134114.vue +0 -160
- package/.history/src/base-client/components/his/XChart/XChart_20250812134828.vue +0 -148
- package/.history/src/base-client/components/his/XChart/XChart_20250812134838.vue +0 -155
- package/.history/src/base-client/components/his/XChart/XChart_20250812134846.vue +0 -155
- package/.history/src/base-client/components/his/XChart/XChart_20250812134917.vue +0 -155
- package/.history/src/base-client/components/his/XChart/XChart_20250812151145.vue +0 -149
- package/.history/src/base-client/components/his/XChart/XChart_20250812151810.vue +0 -153
- package/.history/src/base-client/components/his/XChart/XChart_20250812151822.vue +0 -153
- package/.history/src/base-client/components/his/XChart/XChart_20250812151910.vue +0 -153
- package/.history/src/base-client/components/his/XChart/XChart_20250812152858.vue +0 -258
- package/.history/src/base-client/components/his/XChart/XChart_20250812152902.vue +0 -258
- package/.history/src/base-client/components/his/XChart/XChart_20250812152907.vue +0 -258
- package/.history/src/base-client/components/his/XChart/XChart_20250812152919.vue +0 -258
- package/.history/src/base-client/components/his/XChart/XChart_20250812153141.vue +0 -269
- package/.history/src/base-client/components/his/XChart/XChart_20250812153149.vue +0 -276
- package/.history/src/base-client/components/his/XChart/XChart_20250812153153.vue +0 -276
- package/.history/src/base-client/components/his/XChart/XChart_20250812153155.vue +0 -276
- package/.history/src/base-client/components/his/XChart/XChart_20250812153157.vue +0 -276
- package/.history/src/base-client/components/his/XChart/XChart_20250812153158.vue +0 -276
- package/.history/src/base-client/components/his/XChart/XChart_20250812153200.vue +0 -276
- package/.history/src/base-client/components/his/XChart/XChart_20250812153210.vue +0 -276
- package/.history/src/base-client/components/his/XChart/XChart_20250812153918.vue +0 -275
- package/.history/src/base-client/components/his/XChart/XChart_20250812154157.vue +0 -280
- package/.history/src/base-client/components/his/XChart/XChart_20250812154212.vue +0 -280
- package/.history/src/base-client/components/his/XChart/XChart_20250812154250.vue +0 -280
- package/.history/src/base-client/components/his/XChart/XChart_20250812154252.vue +0 -280
- package/.history/src/base-client/components/his/XChart/XChart_20250812154444.vue +0 -280
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611091619.vue +0 -442
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611092547.vue +0 -442
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611092552.vue +0 -442
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611092744.vue +0 -475
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611092955.vue +0 -475
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611092957.vue +0 -475
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611095652.vue +0 -477
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611095701.vue +0 -477
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611095704.vue +0 -477
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611100005.vue +0 -473
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611100011.vue +0 -473
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611100014.vue +0 -473
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611100833.vue +0 -473
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611100853.vue +0 -473
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611100940.vue +0 -473
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101011.vue +0 -473
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101013.vue +0 -473
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101014.vue +0 -473
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101159.vue +0 -473
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101238.vue +0 -474
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101240.vue +0 -474
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101242.vue +0 -474
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101404.vue +0 -472
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101410.vue +0 -472
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101459.vue +0 -472
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101500.vue +0 -472
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101502.vue +0 -472
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101504.vue +0 -472
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101610.vue +0 -501
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101700.vue +0 -501
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101702.vue +0 -501
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101741.vue +0 -504
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101749.vue +0 -504
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101759.vue +0 -504
- package/.history/src/base-client/components/his/XHisEditor/dome_20250611091349.vue +0 -131
- package/.history/src/base-client/components/his/XHisEditor/dome_20250611105854.vue +0 -160
- package/.history/src/base-client/components/his/XHisEditor/dome_20250611105902.vue +0 -160
- package/.history/src/base-client/components/his/XHisEditor/dome_20250611105924.vue +0 -160
- package/.history/src/base-client/components/his/XHisEditor/dome_20250611105932.vue +0 -158
- package/.history/src/base-client/components/his/XList/XList_20250609135848.vue +0 -173
- package/.history/src/base-client/components/his/XList/XList_20250609141026.vue +0 -222
- package/.history/src/base-client/components/his/XList/XList_20250609141035.vue +0 -229
- package/.history/src/base-client/components/his/XList/XList_20250609141103.vue +0 -229
- package/.history/src/base-client/components/his/XList/XList_20250609141105.vue +0 -229
- package/.history/src/base-client/components/his/XList/XList_20250609141334.vue +0 -241
- package/.history/src/base-client/components/his/XList/XList_20250609141404.vue +0 -241
- package/.history/src/base-client/components/his/XList/XList_20250609141406.vue +0 -241
- package/.history/src/base-client/components/his/XList/XList_20250609141801.vue +0 -245
- package/.history/src/base-client/components/his/XList/XList_20250609142033.vue +0 -245
- package/.history/src/base-client/components/his/XList/XList_20250609142038.vue +0 -245
- package/.history/src/base-client/components/his/XList/XList_20250609142435.vue +0 -255
- package/.history/src/base-client/components/his/XList/XList_20250609142503.vue +0 -255
- package/.history/src/base-client/components/his/XList/XList_20250609142504.vue +0 -255
- package/.history/src/base-client/components/his/XList/XList_20250609143012.vue +0 -270
- package/.history/src/base-client/components/his/XList/XList_20250609143044.vue +0 -270
- package/.history/src/base-client/components/his/XList/XList_20250609143046.vue +0 -270
- package/.history/src/base-client/components/his/XList/XList_20250609143210.vue +0 -270
- package/.history/src/base-client/components/his/XList/XList_20250609144339.vue +0 -294
- package/.history/src/base-client/components/his/XList/XList_20250609144410.vue +0 -294
- package/.history/src/base-client/components/his/XList/XList_20250609144412.vue +0 -294
- package/.history/src/base-client/components/his/XList/XList_20250609144647.vue +0 -303
- package/.history/src/base-client/components/his/XList/XList_20250609144716.vue +0 -303
- package/.history/src/base-client/components/his/XList/XList_20250609144729.vue +0 -303
- package/.history/src/base-client/components/his/XList/XList_20250609151232.vue +0 -288
- package/.history/src/base-client/components/his/XList/XList_20250609151247.vue +0 -288
- package/.history/src/base-client/components/his/XList/XList_20250609151252.vue +0 -288
- package/.history/src/base-client/components/his/XList/XList_20250609161220.vue +0 -317
- package/.history/src/base-client/components/his/XList/XList_20250609161258.vue +0 -306
- package/.history/src/base-client/components/his/XList/XList_20250609161319.vue +0 -306
- package/.history/src/base-client/components/his/XList/XList_20250609161320.vue +0 -306
- package/.history/src/base-client/components/his/XList/XList_20250704142024.vue +0 -495
- package/.history/src/base-client/components/his/XList/XList_20250704142033.vue +0 -495
- package/.history/src/base-client/components/his/XList/XList_20250704142040.vue +0 -494
- package/.history/src/base-client/components/his/XList/XList_20250704142211.vue +0 -494
- package/.history/src/base-client/components/his/XList/XList_20250704142214.vue +0 -494
- package/.history/src/base-client/components/his/XList/XList_20250704143010.vue +0 -495
- package/.history/src/base-client/components/his/XList/XList_20250704143203.vue +0 -495
- package/.history/src/base-client/components/his/XList/XList_20250707095101.vue +0 -492
- package/.history/src/base-client/components/his/XList/XList_20250707100152.vue +0 -492
- package/.history/src/base-client/components/his/XList/XList_20250707100200.vue +0 -485
- package/.history/src/base-client/components/his/XList/XList_20250707100208.vue +0 -485
- package/.history/src/base-client/components/his/XList/XList_20250707100259.vue +0 -488
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807134604.vue +0 -263
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807134615.vue +0 -302
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807134621.vue +0 -301
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807134634.vue +0 -311
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807134644.vue +0 -330
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807134653.vue +0 -330
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807134836.vue +0 -330
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807135247.vue +0 -330
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807135303.vue +0 -354
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807135316.vue +0 -363
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807135323.vue +0 -363
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807135334.vue +0 -366
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807135342.vue +0 -364
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807135349.vue +0 -364
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807135351.vue +0 -346
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807135354.vue +0 -346
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807135401.vue +0 -346
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807135406.vue +0 -346
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807135424.vue +0 -346
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807143043.vue +0 -254
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807155506.vue +0 -329
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807155535.vue +0 -330
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807155543.vue +0 -330
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807155926.vue +0 -304
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807155928.vue +0 -304
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807172548.vue +0 -298
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807172609.vue +0 -298
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807172623.vue +0 -298
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807172631.vue +0 -298
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807172701.vue +0 -298
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807172704.vue +0 -298
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807175937.vue +0 -290
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807175942.vue +0 -290
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807180210.vue +0 -290
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807180424.vue +0 -290
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807180448.vue +0 -290
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807180915.vue +0 -262
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807180917.vue +0 -262
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250808101106.vue +0 -283
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250808101112.vue +0 -289
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250808101118.vue +0 -289
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250808101129.vue +0 -294
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250808101137.vue +0 -318
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250808101145.vue +0 -320
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250808101154.vue +0 -320
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250808101211.vue +0 -320
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250808101236.vue +0 -320
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250808101239.vue +0 -320
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250811114001.vue +0 -342
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250811114005.vue +0 -342
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250811114014.vue +0 -345
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250811114020.vue +0 -345
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250811114028.vue +0 -345
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250811114108.vue +0 -345
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250811114115.vue +0 -345
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250811114333.vue +0 -346
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250811114339.vue +0 -350
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250811114344.vue +0 -355
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250811114351.vue +0 -355
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250811114408.vue +0 -355
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250811114410.vue +0 -355
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250813154330.vue +0 -389
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250813154338.vue +0 -389
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250813154402.vue +0 -389
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250813154425.vue +0 -389
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250813154428.vue +0 -389
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250813171922.vue +0 -391
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250813171957.vue +0 -391
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250813172004.vue +0 -391
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250813172012.vue +0 -391
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250813172241.vue +0 -391
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250813172242.vue +0 -391
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807103845.vue +0 -142
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807103852.vue +0 -142
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807103857.vue +0 -142
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807103859.vue +0 -142
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807103907.vue +0 -142
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807103910.vue +0 -142
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807103911.vue +0 -142
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807103913.vue +0 -142
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807103916.vue +0 -142
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807103931.vue +0 -142
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807145127.vue +0 -85
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807145136.vue +0 -81
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807145142.vue +0 -81
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807145145.vue +0 -81
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807145148.vue +0 -81
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807145151.vue +0 -81
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807145155.vue +0 -81
- package/Users/objecrt/af-vue2-client/src/base-client/components/his/XShiftSchedule/XShiftSchedule.vue +0 -213
- package/src/base-client/components/TreeList/TreeList.vue +0 -91
- package/src/base-client/components/TreeList/TreeNode.vue +0 -81
- package/src/base-client/components/common/XCardSet/XTiltle.vue +0 -191
- package/src/base-client/components/his/XHisEditor/dome.vue +0 -145
@@ -0,0 +1,393 @@
|
|
1
|
+
<template>
|
2
|
+
<transition name="fade">
|
3
|
+
<div
|
4
|
+
v-if="visible"
|
5
|
+
class="preview-modal"
|
6
|
+
@click.self="closePreview"
|
7
|
+
ref="previewContainer"
|
8
|
+
>
|
9
|
+
|
10
|
+
<a-row>
|
11
|
+
<a-col :span="4">
|
12
|
+
</a-col>
|
13
|
+
<a-col :span="16" class="preview-toolbar" style="padding-bottom: 0px; border-bottom: solid #0057FE;">
|
14
|
+
<a-button type="primary" style="background-color: #0057FE; color:white ;">影像胶片</a-button>
|
15
|
+
</a-col>
|
16
|
+
<a-col :span="4">
|
17
|
+
<!-- 顶部功能区 -->
|
18
|
+
<div class="preview-toolbar">
|
19
|
+
<button @click="zoomIn" title="放大">+</button>
|
20
|
+
<button @click="zoomOut" title="缩小">-</button>
|
21
|
+
<button @click="rotateLeft" title="左旋转">↺</button>
|
22
|
+
<button @click="rotateRight" title="右旋转">↻</button>
|
23
|
+
<button @click="resetTransform" title="重置">↻</button>
|
24
|
+
<button @click="closePreview" title="关闭" class="close-btn">×</button>
|
25
|
+
</div>
|
26
|
+
</a-col>
|
27
|
+
</a-row>
|
28
|
+
<!-- 主图片区域 -->
|
29
|
+
<div
|
30
|
+
class="preview-content"
|
31
|
+
@mousedown="startDrag"
|
32
|
+
@mousemove="onDrag"
|
33
|
+
@mouseup="stopDrag"
|
34
|
+
@touchstart="handleTouchStart"
|
35
|
+
@touchmove="handleTouchMove"
|
36
|
+
@touchend="stopDrag"
|
37
|
+
>
|
38
|
+
<div v-if="isLoading" class="loading-indicator">加载中...</div>
|
39
|
+
<img
|
40
|
+
:src="currentImage"
|
41
|
+
:style="imageStyle"
|
42
|
+
class="preview-image"
|
43
|
+
@wheel.prevent="handleWheel"
|
44
|
+
@load="isLoading = false"
|
45
|
+
@error="handleImageError"
|
46
|
+
/>
|
47
|
+
</div>
|
48
|
+
|
49
|
+
<!-- 底部缩略图导航 -->
|
50
|
+
<div class="thumbnail-navigation">
|
51
|
+
<div
|
52
|
+
v-for="(img, index) in imgList"
|
53
|
+
:key="index"
|
54
|
+
:class="['thumbnail-nav-item', { active: currentIndex === index }]"
|
55
|
+
@click="switchImage(index)"
|
56
|
+
>
|
57
|
+
<img :src="img" class="thumbnail-nav-image" alt="缩略图" v-lazy="img" />
|
58
|
+
</div>
|
59
|
+
</div>
|
60
|
+
<div class="thumbnail-description">
|
61
|
+
<p>当前查看第<span class="thumbnail-description-sapn">{{ currentIndex + 1 }}</span>张胶片,共<span class="thumbnail-description-sapn">{{ imgList.length }}</span>张胶片</p>
|
62
|
+
</div>
|
63
|
+
</div>
|
64
|
+
</transition>
|
65
|
+
</template>
|
66
|
+
|
67
|
+
<script>
|
68
|
+
|
69
|
+
export default {
|
70
|
+
name: 'ImagePreview',
|
71
|
+
props: {
|
72
|
+
visible: { type: Boolean, default: false },
|
73
|
+
imgList: { type: Array, default: () => [] },
|
74
|
+
initialIndex: { type: Number, default: 0 }
|
75
|
+
},
|
76
|
+
data () {
|
77
|
+
return {
|
78
|
+
currentIndex: this.initialIndex,
|
79
|
+
scale: 1,
|
80
|
+
rotate: 0,
|
81
|
+
position: { x: 0, y: 0 },
|
82
|
+
isDragging: false,
|
83
|
+
startDragPosition: { x: 0, y: 0 },
|
84
|
+
touchStartX: 0,
|
85
|
+
touchStartY: 0,
|
86
|
+
initialDistance: null,
|
87
|
+
isLoading: true,
|
88
|
+
maxDragX: 0,
|
89
|
+
maxDragY: 0
|
90
|
+
}
|
91
|
+
},
|
92
|
+
computed: {
|
93
|
+
currentImage () {
|
94
|
+
return this.imgList[this.currentIndex] || ''
|
95
|
+
},
|
96
|
+
imageStyle () {
|
97
|
+
return {
|
98
|
+
transform: `scale(${this.scale}) rotate(${this.rotate}deg) translate(${this.position.x}px, ${this.position.y}px)`,
|
99
|
+
transition: this.isDragging ? 'none' : 'transform 0.3s ease',
|
100
|
+
cursor: this.isDragging ? 'grabbing' : 'grab'
|
101
|
+
}
|
102
|
+
}
|
103
|
+
},
|
104
|
+
watch: {
|
105
|
+
visible (newVal) {
|
106
|
+
if (newVal) {
|
107
|
+
document.body.style.overflow = 'hidden'
|
108
|
+
document.addEventListener('keydown', this.handleKeyDown)
|
109
|
+
// 计算最大拖拽边界
|
110
|
+
this.$nextTick(() => {
|
111
|
+
const container = this.$refs.previewContainer
|
112
|
+
if (container) {
|
113
|
+
this.maxDragX = (container.clientWidth * this.scale - container.clientWidth) / 2
|
114
|
+
this.maxDragY = (container.clientHeight * this.scale - container.clientHeight) / 2
|
115
|
+
}
|
116
|
+
})
|
117
|
+
} else {
|
118
|
+
document.body.style.overflow = ''
|
119
|
+
document.removeEventListener('keydown', this.handleKeyDown)
|
120
|
+
}
|
121
|
+
},
|
122
|
+
scale (newScale) {
|
123
|
+
// 缩放时更新拖拽边界
|
124
|
+
this.$nextTick(() => {
|
125
|
+
const container = this.$refs.previewContainer
|
126
|
+
if (container) {
|
127
|
+
this.maxDragX = (container.clientWidth * newScale - container.clientWidth) / 2
|
128
|
+
this.maxDragY = (container.clientHeight * newScale - container.clientHeight) / 2
|
129
|
+
// 确保图片位置在边界内
|
130
|
+
this.position.x = Math.max(-this.maxDragX, Math.min(this.maxDragX, this.position.x))
|
131
|
+
this.position.y = Math.max(-this.maxDragY, Math.min(this.maxDragY, this.position.y))
|
132
|
+
}
|
133
|
+
})
|
134
|
+
}
|
135
|
+
},
|
136
|
+
methods: {
|
137
|
+
// 变换控制
|
138
|
+
zoomIn () {
|
139
|
+
this.scale = Math.min(5, this.scale + 0.2)
|
140
|
+
},
|
141
|
+
zoomOut () {
|
142
|
+
this.scale = Math.max(0.2, this.scale - 0.2)
|
143
|
+
},
|
144
|
+
rotateLeft () {
|
145
|
+
this.rotate -= 90
|
146
|
+
},
|
147
|
+
rotateRight () {
|
148
|
+
this.rotate += 90
|
149
|
+
},
|
150
|
+
resetTransform () {
|
151
|
+
this.scale = 1
|
152
|
+
this.rotate = 0
|
153
|
+
this.position = { x: 0, y: 0 }
|
154
|
+
},
|
155
|
+
|
156
|
+
// 图片导航
|
157
|
+
switchImage (index) {
|
158
|
+
this.currentIndex = index
|
159
|
+
this.resetTransform()
|
160
|
+
this.isLoading = true // 切换图片时显示加载状态
|
161
|
+
},
|
162
|
+
prevImage () {
|
163
|
+
this.currentIndex = (this.currentIndex - 1 + this.imgList.length) % this.imgList.length
|
164
|
+
this.resetTransform()
|
165
|
+
},
|
166
|
+
nextImage () {
|
167
|
+
this.currentIndex = (this.currentIndex + 1) % this.imgList.length
|
168
|
+
this.resetTransform()
|
169
|
+
},
|
170
|
+
|
171
|
+
// 拖拽控制
|
172
|
+
startDrag (e) {
|
173
|
+
this.isDragging = true
|
174
|
+
const clientX = e.clientX || e.touches?.[0]?.clientX
|
175
|
+
const clientY = e.clientY || e.touches?.[0]?.clientY
|
176
|
+
this.startDragPosition = {
|
177
|
+
x: clientX - this.position.x,
|
178
|
+
y: clientY - this.position.y
|
179
|
+
}
|
180
|
+
},
|
181
|
+
onDrag (e) {
|
182
|
+
if (!this.isDragging || e.touches?.length > 1) return
|
183
|
+
const clientX = e.clientX || e.touches?.[0]?.clientX
|
184
|
+
const clientY = e.clientY || e.touches?.[0]?.clientY
|
185
|
+
if (clientX === undefined || clientY === undefined) return
|
186
|
+
const newX = clientX - this.startDragPosition.x
|
187
|
+
const newY = clientY - this.startDragPosition.y
|
188
|
+
// 限制拖拽边界
|
189
|
+
this.position = {
|
190
|
+
x: Math.max(-this.maxDragX, Math.min(this.maxDragX, newX)),
|
191
|
+
y: Math.max(-this.maxDragY, Math.min(this.maxDragY, newY))
|
192
|
+
}
|
193
|
+
},
|
194
|
+
stopDrag () {
|
195
|
+
this.isDragging = false
|
196
|
+
this.initialDistance = null // 重置双指距离
|
197
|
+
},
|
198
|
+
|
199
|
+
// 触摸支持
|
200
|
+
handleTouchStart (e) {
|
201
|
+
if (e.touches.length === 1) {
|
202
|
+
this.touchStartX = e.touches[0].clientX
|
203
|
+
this.touchStartY = e.touches[0].clientY
|
204
|
+
this.startDrag(e)
|
205
|
+
} else if (e.touches.length === 2) {
|
206
|
+
// 双指触摸开始,记录初始距离
|
207
|
+
this.initialDistance = Math.hypot(
|
208
|
+
e.touches[1].clientX - e.touches[0].clientX,
|
209
|
+
e.touches[1].clientY - e.touches[0].clientY
|
210
|
+
)
|
211
|
+
}
|
212
|
+
},
|
213
|
+
handleTouchMove (e) {
|
214
|
+
if (e.touches.length === 1) {
|
215
|
+
// 单指拖动
|
216
|
+
this.onDrag(e)
|
217
|
+
} else if (e.touches.length === 2 && this.initialDistance) {
|
218
|
+
// 双指缩放
|
219
|
+
e.preventDefault()
|
220
|
+
const currentDistance = Math.hypot(
|
221
|
+
e.touches[1].clientX - e.touches[0].clientX,
|
222
|
+
e.touches[1].clientY - e.touches[0].clientY
|
223
|
+
)
|
224
|
+
const scaleFactor = currentDistance / this.initialDistance
|
225
|
+
this.scale = Math.max(0.2, Math.min(5, this.scale * scaleFactor))
|
226
|
+
this.initialDistance = currentDistance // 更新距离基准
|
227
|
+
}
|
228
|
+
},
|
229
|
+
|
230
|
+
// 键盘支持
|
231
|
+
handleKeyDown (e) {
|
232
|
+
switch (e.key) {
|
233
|
+
case 'Escape': this.closePreview(); break
|
234
|
+
case 'ArrowLeft':
|
235
|
+
e.shiftKey ? this.rotateLeft() : this.prevImage()
|
236
|
+
break
|
237
|
+
case 'ArrowRight':
|
238
|
+
e.shiftKey ? this.rotateRight() : this.nextImage()
|
239
|
+
break
|
240
|
+
case '+': this.zoomIn(); break
|
241
|
+
case '-': this.zoomOut(); break
|
242
|
+
case 'r': this.resetTransform(); break
|
243
|
+
}
|
244
|
+
},
|
245
|
+
|
246
|
+
// 滚轮缩放
|
247
|
+
handleWheel (e) {
|
248
|
+
e.preventDefault()
|
249
|
+
const delta = e.deltaY > 0 ? -0.1 : 0.1
|
250
|
+
this.scale = Math.max(0.2, Math.min(5, this.scale + delta))
|
251
|
+
},
|
252
|
+
|
253
|
+
// 图片加载失败处理
|
254
|
+
handleImageError () {
|
255
|
+
console.error('图片加载失败:', this.currentImage)
|
256
|
+
this.isLoading = false
|
257
|
+
},
|
258
|
+
|
259
|
+
// 关闭预览
|
260
|
+
closePreview () {
|
261
|
+
this.$emit('close')
|
262
|
+
}
|
263
|
+
},
|
264
|
+
beforeUnmount () {
|
265
|
+
document.removeEventListener('keydown', this.handleKeyDown)
|
266
|
+
}
|
267
|
+
}
|
268
|
+
</script>
|
269
|
+
|
270
|
+
<style scoped>
|
271
|
+
/* 过渡动画 */
|
272
|
+
.fade-enter-active, .fade-leave-active {
|
273
|
+
transition: opacity 0.3s;
|
274
|
+
}
|
275
|
+
.fade-enter, .fade-leave-to {
|
276
|
+
opacity: 0;
|
277
|
+
}
|
278
|
+
|
279
|
+
/* 预览模态框 */
|
280
|
+
.preview-modal {
|
281
|
+
position: fixed;
|
282
|
+
top: 0;
|
283
|
+
left: 0;
|
284
|
+
width: 100%;
|
285
|
+
height: 100%;
|
286
|
+
background-color: rgba(0, 0, 0, 0.9);
|
287
|
+
z-index: 1000;
|
288
|
+
display: flex;
|
289
|
+
flex-direction: column;
|
290
|
+
touch-action: none; /* 禁用浏览器默认触摸行为 */
|
291
|
+
}
|
292
|
+
|
293
|
+
/* 顶部工具栏 */
|
294
|
+
.preview-toolbar {
|
295
|
+
padding: 15px;
|
296
|
+
display: flex;
|
297
|
+
justify-content: center;
|
298
|
+
gap: 4px;
|
299
|
+
z-index: 1001;
|
300
|
+
flex-wrap: wrap;
|
301
|
+
}
|
302
|
+
.preview-toolbar button {
|
303
|
+
padding: 2px 10px;
|
304
|
+
min-width: 24px;
|
305
|
+
min-height: 24px;
|
306
|
+
margin: 0px;
|
307
|
+
background: #E5E9F0;
|
308
|
+
color: #5D5C5C;
|
309
|
+
border: none;
|
310
|
+
border-radius: 4px;
|
311
|
+
cursor: pointer;
|
312
|
+
font-size: 18px;
|
313
|
+
transition: background 0.3s;
|
314
|
+
}
|
315
|
+
.preview-toolbar button:hover {
|
316
|
+
color: #3362DA;
|
317
|
+
}
|
318
|
+
.close-btn {
|
319
|
+
color: #94979E !important;
|
320
|
+
}
|
321
|
+
|
322
|
+
/* 主图片区域 */
|
323
|
+
.preview-content {
|
324
|
+
flex: 1;
|
325
|
+
display: flex;
|
326
|
+
justify-content: center;
|
327
|
+
align-items: center;
|
328
|
+
overflow: hidden;
|
329
|
+
position: relative;
|
330
|
+
}
|
331
|
+
.preview-image {
|
332
|
+
max-width: 95%;
|
333
|
+
max-height: 80vh;
|
334
|
+
object-fit: contain;
|
335
|
+
transform-origin: center center;
|
336
|
+
will-change: transform; /* 优化动画性能 */
|
337
|
+
}
|
338
|
+
.loading-indicator {
|
339
|
+
position: absolute;
|
340
|
+
color: white;
|
341
|
+
font-size: 1.2rem;
|
342
|
+
z-index: 10;
|
343
|
+
}
|
344
|
+
|
345
|
+
/* 底部缩略图导航 */
|
346
|
+
.thumbnail-navigation {
|
347
|
+
display: flex;
|
348
|
+
justify-content: center;
|
349
|
+
padding: 15px 0;
|
350
|
+
overflow-x: auto;
|
351
|
+
gap: 10px;
|
352
|
+
}
|
353
|
+
.thumbnail-nav-item {
|
354
|
+
width: 60px;
|
355
|
+
height: 60px;
|
356
|
+
border: 2px solid transparent;
|
357
|
+
border-radius: 4px;
|
358
|
+
overflow: hidden;
|
359
|
+
cursor: pointer;
|
360
|
+
opacity: 0.6;
|
361
|
+
transition: all 0.3s;
|
362
|
+
flex-shrink: 0;
|
363
|
+
}
|
364
|
+
.thumbnail-nav-item:hover, .thumbnail-nav-item.active {
|
365
|
+
opacity: 1;
|
366
|
+
border-color: #1890ff;
|
367
|
+
}
|
368
|
+
.thumbnail-nav-image {
|
369
|
+
width: 100%;
|
370
|
+
height: 100%;
|
371
|
+
object-fit: cover;
|
372
|
+
}
|
373
|
+
/* 底部描述 */
|
374
|
+
.thumbnail-description {
|
375
|
+
color: #9E9E9E;
|
376
|
+
margin: auto;
|
377
|
+
}
|
378
|
+
.thumbnail-description-sapn {
|
379
|
+
color: #3362DA;
|
380
|
+
}
|
381
|
+
|
382
|
+
/* 移动端优化 */
|
383
|
+
@media (max-width: 768px) {
|
384
|
+
.preview-toolbar {
|
385
|
+
padding: 10px;
|
386
|
+
gap: 8px;
|
387
|
+
}
|
388
|
+
.preview-toolbar button {
|
389
|
+
padding: 10px 16px;
|
390
|
+
font-size: 16px;
|
391
|
+
}
|
392
|
+
}
|
393
|
+
</style>
|