vue2-client 1.15.119 → 1.15.121
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/XReport/print.js +186 -186
- package/src/base-client/components/common/XTable/XTableWrapper.vue +3 -0
- 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/XHisEditor/XHisEditor.vue +2 -51
- package/src/base-client/components/his/XImportExcelButton/XFrontImportExcel.vue +2 -4
- package/src/base-client/components/his/XTextCard/XTextCard.vue +207 -207
- package/src/base-client/components/his/threeTestOrders/editor.vue +111 -111
- package/src/utils/map-utils.js +47 -47
- 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 -144
package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807135334.vue
DELETED
@@ -1,366 +0,0 @@
|
|
1
|
-
<template>
|
2
|
-
<div v-if="pattern == 'schedule'">
|
3
|
-
<a-table
|
4
|
-
:columns="columns"
|
5
|
-
:data-source="data"
|
6
|
-
:rowSelection="rowSelection"
|
7
|
-
:scroll="{ y: '70vh' }">
|
8
|
-
<span slot="time" class="time-title">
|
9
|
-
<span v-for="(item, index) in configData.timePeriod" :key="index">{{ item }}</span>
|
10
|
-
</span>
|
11
|
-
<div v-for="(item, index) in weekDays" :key="index" :slot="item.key" class="week_last_next_btn">
|
12
|
-
<a-button slot="lastWeek" icon="left" size="large" @click="handleLastWeek" v-if="item.title == '周一'" />
|
13
|
-
<div class="time-title">
|
14
|
-
<span>{{ item.title }}</span>
|
15
|
-
<span>{{ currentWeekDates[index].toLocaleDateString() }}</span>
|
16
|
-
</div>
|
17
|
-
<a-button slot="nextWeek" icon="right" size="large" @click="handleNextWeek" v-if="item.title == '周日'"/>
|
18
|
-
</div>
|
19
|
-
<template :slot="day.key" slot-scope="text, record" v-for="day in shiftTable">
|
20
|
-
<div class="time-title" :key="day.key">
|
21
|
-
<a-button v-for="(item, index) in record[day.key]" :key="index" @click="handleShiftChange(day.key, index, record)">{{ item === 1 || item === '1' ? '坐诊' : '休息' }}</a-button>
|
22
|
-
</div>
|
23
|
-
</template>
|
24
|
-
<template slot="sk_limit" slot-scope="text, record">
|
25
|
-
<a-input-number id="inputNumber" v-model="record.sk_limit" :min="configData.sk_limitMin" :max="configData.sk_limitMax" />
|
26
|
-
</template>
|
27
|
-
</a-table>
|
28
|
-
</div>
|
29
|
-
<div v-else-if="pattern == 'form'">
|
30
|
-
<a-table
|
31
|
-
:columns="columns"
|
32
|
-
:data-source="data"
|
33
|
-
:row-selection="rowSelection"
|
34
|
-
bordered
|
35
|
-
>
|
36
|
-
<!-- 为输入框类型的列添加模板 -->
|
37
|
-
<template v-for="col in inputColumns" :slot="col.dataIndex" slot-scope="text, record">
|
38
|
-
<a-input
|
39
|
-
:key="col.dataIndex"
|
40
|
-
:value="record[col.dataIndex]"
|
41
|
-
:placeholder="`请输入${col.title}`"
|
42
|
-
@input="(val) => handleInputChange(record, col.dataIndex, val)"
|
43
|
-
/>
|
44
|
-
</template>
|
45
|
-
</a-table>
|
46
|
-
</div>
|
47
|
-
</template>
|
48
|
-
<script>
|
49
|
-
import { getConfigByName, runLogic } from '@vue2-client/services/api/common'
|
50
|
-
|
51
|
-
export default {
|
52
|
-
data () {
|
53
|
-
return {
|
54
|
-
// 模式
|
55
|
-
pattern: 'schedule',
|
56
|
-
data: [],
|
57
|
-
// 列配置
|
58
|
-
columns: [],
|
59
|
-
// 列名
|
60
|
-
columnNames: [],
|
61
|
-
// 选中的行键值集合
|
62
|
-
selectedRows: [],
|
63
|
-
// 选中的行信息集合
|
64
|
-
selectedRowKeys: [],
|
65
|
-
// 原始数据备份
|
66
|
-
originalData: [],
|
67
|
-
// 配置参数
|
68
|
-
configData: {},
|
69
|
-
// 当前显示的周次日期
|
70
|
-
currentWeekDates: [],
|
71
|
-
weekDays: [...['周一', '周二', '周三', '周四', '周五', '周六', '周日'].map((title, index) => {
|
72
|
-
const key = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'][index]
|
73
|
-
return { title, key }
|
74
|
-
})],
|
75
|
-
// 排班时间表
|
76
|
-
shiftTable: [...['周一', '周二', '周三', '周四', '周五', '周六', '周日'].map((title, index) => {
|
77
|
-
const key = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'][index]
|
78
|
-
return {
|
79
|
-
key, dataIndex: key, scopedSlots: { customRender: key }, slots: { title: key }, align: 'center', width: key === 'Monday' || key === 'Sunday' ? 170 : 120
|
80
|
-
}
|
81
|
-
}),
|
82
|
-
{
|
83
|
-
title: '排班数',
|
84
|
-
key: 'sk_limit',
|
85
|
-
dataIndex: 'sk_limit',
|
86
|
-
scopedSlots: { customRender: 'sk_limit' },
|
87
|
-
align: 'center'
|
88
|
-
}
|
89
|
-
]
|
90
|
-
}
|
91
|
-
},
|
92
|
-
props: {
|
93
|
-
// 配置名
|
94
|
-
queryParamsName: {
|
95
|
-
type: String,
|
96
|
-
default: ''
|
97
|
-
},
|
98
|
-
// 服务名
|
99
|
-
serviceName: {
|
100
|
-
type: String,
|
101
|
-
default: 'af-his'
|
102
|
-
}
|
103
|
-
},
|
104
|
-
computed: {
|
105
|
-
rowSelection () {
|
106
|
-
return {
|
107
|
-
selectedRowKeys: this.selectedRowKeys,
|
108
|
-
onChange: (selectedRowKeys, selectedRows) => {
|
109
|
-
this.onSelectChange(selectedRowKeys, selectedRows)
|
110
|
-
}
|
111
|
-
}
|
112
|
-
},
|
113
|
-
inputColumns () {
|
114
|
-
return this.columns.filter(col => col.type === 'input')
|
115
|
-
}
|
116
|
-
},
|
117
|
-
mounted () {
|
118
|
-
this.initWeekDates()
|
119
|
-
},
|
120
|
-
methods: {
|
121
|
-
handleShiftChange (day, index, record) {
|
122
|
-
// 找到当前记录在data中的索引
|
123
|
-
const dataIndex = this.data.findIndex(item => item.id === record.id)
|
124
|
-
if (dataIndex === -1) return
|
125
|
-
// 获取当前状态
|
126
|
-
const currentValue = record[day][index]
|
127
|
-
const newValue = currentValue === 1 || currentValue === '1' ? 0 : 1
|
128
|
-
// 更新按钮显示
|
129
|
-
this.$set(record[day], index, newValue)
|
130
|
-
// 同步更新data中的数据
|
131
|
-
this.$set(this.data[dataIndex][day], index, newValue)
|
132
|
-
},
|
133
|
-
onSelectChange (selectedRowKeys, selectedRows) {
|
134
|
-
this.selectedRowKeys = selectedRowKeys
|
135
|
-
this.selectedRows = selectedRows
|
136
|
-
},
|
137
|
-
// 获取选中的行数据
|
138
|
-
getSelectedRowData () {
|
139
|
-
return this.selectedRows
|
140
|
-
},
|
141
|
-
// 获取全部数据
|
142
|
-
getAllTable () {
|
143
|
-
return this.data
|
144
|
-
},
|
145
|
-
// 初始化数据
|
146
|
-
async init (queryParamsName) {
|
147
|
-
getConfigByName(queryParamsName, this.serviceName, result => {
|
148
|
-
this.configData = result
|
149
|
-
runLogic(result.dataSource, {}, this.serviceName).then(res => {
|
150
|
-
this.columns = []
|
151
|
-
this.columns = JSON.parse(JSON.stringify(this.configData.columns))
|
152
|
-
// 为有row属性的列添加自定义渲染函数
|
153
|
-
this.columns.forEach(col => {
|
154
|
-
if (col.row && col.row > 1) {
|
155
|
-
col.customRender = (value, row, index) => {
|
156
|
-
return this.renderRowSpanContent(value, row, index, col)
|
157
|
-
}
|
158
|
-
}
|
159
|
-
// 为有type属性的列添加输入框渲染
|
160
|
-
if (col.type === 'input') {
|
161
|
-
col.customRender = (value, row, index) => {
|
162
|
-
return this.renderInputContent(value, row, index, col)
|
163
|
-
}
|
164
|
-
}
|
165
|
-
})
|
166
|
-
this.pattern = result.pattern
|
167
|
-
if (this.pattern == 'schedule') {
|
168
|
-
for (let i = 0; i < this.shiftTable.length; i++) {
|
169
|
-
this.columns.push(this.shiftTable[i])
|
170
|
-
}
|
171
|
-
if (res && Array.isArray(res)) {
|
172
|
-
const weekDays = ['monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', 'sunday']
|
173
|
-
const shifts = ['am', 'pm', 'evening']
|
174
|
-
let key = 0
|
175
|
-
this.data = res.map(item => {
|
176
|
-
const scheduleData = {
|
177
|
-
key: key++
|
178
|
-
}
|
179
|
-
this.configData.columnsName.forEach(columnName => { scheduleData[columnName] = item[columnName] })
|
180
|
-
weekDays.forEach(day => {
|
181
|
-
scheduleData[day.charAt(0).toUpperCase() + day.slice(1)] = shifts.map(shift => item[`f_${day}_${shift}`] === '1' ? 1 : 0)
|
182
|
-
})
|
183
|
-
return scheduleData
|
184
|
-
})
|
185
|
-
// 保存原始数据
|
186
|
-
this.originalData = JSON.parse(JSON.stringify(this.data))
|
187
|
-
}
|
188
|
-
} else if (this.pattern == 'form') {
|
189
|
-
// 处理form模式下的行复制逻辑
|
190
|
-
this.processFormData(res)
|
191
|
-
}
|
192
|
-
})
|
193
|
-
})
|
194
|
-
},
|
195
|
-
// 查询数据函数
|
196
|
-
filterTableData (filters) {
|
197
|
-
if (!filters || Object.keys(filters).length === 0) {
|
198
|
-
// 如果没有过滤条件,恢复原始数据
|
199
|
-
this.data = JSON.parse(JSON.stringify(this.originalData))
|
200
|
-
return
|
201
|
-
}
|
202
|
-
// 从原始数据开始过滤
|
203
|
-
this.data = this.originalData.filter(item => {
|
204
|
-
// 检查每一项是否满足所有过滤条件
|
205
|
-
return Object.entries(filters).every(([key, value]) => {
|
206
|
-
// 如果过滤值是字符串,进行模糊匹配
|
207
|
-
if (typeof value === 'string') {
|
208
|
-
return item[key] && item[key].toString().toLowerCase().includes(value.toLowerCase())
|
209
|
-
}
|
210
|
-
// 如果过滤值是数字,进行精确匹配
|
211
|
-
return item[key] === value
|
212
|
-
})
|
213
|
-
})
|
214
|
-
},
|
215
|
-
// 初始化周次日期
|
216
|
-
initWeekDates () {
|
217
|
-
const today = new Date()
|
218
|
-
const currentDay = today.getDay() || 7 // 将周日的0转换为7
|
219
|
-
const monday = new Date(today)
|
220
|
-
monday.setDate(today.getDate() - currentDay + 1) // 设置为本周一
|
221
|
-
|
222
|
-
this.currentWeekDates = Array.from({ length: 7 }, (_, index) => {
|
223
|
-
const date = new Date(monday)
|
224
|
-
date.setDate(monday.getDate() + index)
|
225
|
-
return date
|
226
|
-
})
|
227
|
-
},
|
228
|
-
// 切换到上一周
|
229
|
-
handleLastWeek () {
|
230
|
-
const monday = new Date(this.currentWeekDates[0])
|
231
|
-
monday.setDate(monday.getDate() - 7)
|
232
|
-
this.updateWeekDates(monday)
|
233
|
-
},
|
234
|
-
// 切换到下一周
|
235
|
-
handleNextWeek () {
|
236
|
-
const monday = new Date(this.currentWeekDates[0])
|
237
|
-
monday.setDate(monday.getDate() + 7)
|
238
|
-
this.updateWeekDates(monday)
|
239
|
-
},
|
240
|
-
// 更新周次日期
|
241
|
-
updateWeekDates (monday) {
|
242
|
-
this.currentWeekDates = Array.from({ length: 7 }, (_, index) => {
|
243
|
-
const date = new Date(monday)
|
244
|
-
date.setDate(monday.getDate() + index)
|
245
|
-
return date
|
246
|
-
})
|
247
|
-
},
|
248
|
-
onSelect (record, selected, selectedRows, nativeEvent) {
|
249
|
-
console.log('选择的行:', record)
|
250
|
-
console.log('是否选中:', selected)
|
251
|
-
console.log('所有选中的行:', selectedRows)
|
252
|
-
},
|
253
|
-
onSelectAll (selected, selectedRows, changeRows) {
|
254
|
-
console.log('全选状态:', selected)
|
255
|
-
console.log('所有选中的行:', selectedRows)
|
256
|
-
console.log('变化的行:', changeRows)
|
257
|
-
},
|
258
|
-
// 处理form模式下的数据,处理row属性和行复制
|
259
|
-
processFormData (originalData) {
|
260
|
-
if (!originalData || !Array.isArray(originalData)) {
|
261
|
-
this.data = []
|
262
|
-
return
|
263
|
-
}
|
264
|
-
// 查找有row属性的列
|
265
|
-
const rowColumns = this.columns.filter(col => col.row && col.row > 1)
|
266
|
-
|
267
|
-
if (rowColumns.length === 0) {
|
268
|
-
// 没有需要处理的列,直接使用原始数据
|
269
|
-
this.data = originalData
|
270
|
-
return
|
271
|
-
}
|
272
|
-
// 处理数据,为每个有row属性的列复制行
|
273
|
-
const processedData = []
|
274
|
-
originalData.forEach((item, originalIndex) => {
|
275
|
-
// 找到当前行对应的row值(取第一个有row属性的列)
|
276
|
-
const firstRowColumn = rowColumns.find(col => col.dataIndex === item[col.indexCol])
|
277
|
-
const rowCount = firstRowColumn ? firstRowColumn.row : 1
|
278
|
-
|
279
|
-
// 复制行
|
280
|
-
for (let i = 0; i < rowCount; i++) {
|
281
|
-
const newRow = {
|
282
|
-
...item,
|
283
|
-
key: `${originalIndex}_${i}`,
|
284
|
-
_originalIndex: originalIndex,
|
285
|
-
_rowIndex: i
|
286
|
-
}
|
287
|
-
processedData.push(newRow)
|
288
|
-
}
|
289
|
-
})
|
290
|
-
this.data = processedData
|
291
|
-
},
|
292
|
-
// 渲染行合并内容
|
293
|
-
renderRowSpanContent (value, row, index, column) {
|
294
|
-
// 如果是第一行,显示内容并设置rowSpan
|
295
|
-
if (row._rowIndex === 0) {
|
296
|
-
return {
|
297
|
-
children: value,
|
298
|
-
attrs: {
|
299
|
-
rowSpan: column.row
|
300
|
-
}
|
301
|
-
}
|
302
|
-
}
|
303
|
-
// 其他行隐藏单元格
|
304
|
-
return {
|
305
|
-
children: value,
|
306
|
-
attrs: {
|
307
|
-
rowSpan: 0
|
308
|
-
}
|
309
|
-
}
|
310
|
-
},
|
311
|
-
// 渲染输入框内容
|
312
|
-
renderInputContent (value, row, index, column) {
|
313
|
-
return {
|
314
|
-
children: h => {
|
315
|
-
return h('a-input', {
|
316
|
-
props: {
|
317
|
-
value: value,
|
318
|
-
placeholder: `请输入${column.title}`
|
319
|
-
},
|
320
|
-
on: {
|
321
|
-
input: (val) => {
|
322
|
-
this.handleInputChange(row, column.dataIndex, val)
|
323
|
-
}
|
324
|
-
}
|
325
|
-
})
|
326
|
-
}
|
327
|
-
}
|
328
|
-
},
|
329
|
-
// 处理输入框值变化
|
330
|
-
handleInputChange (row, dataIndex, value) {
|
331
|
-
// 更新数据
|
332
|
-
this.$set(row, dataIndex, value)
|
333
|
-
console.log('输入框值变化:', { row, dataIndex, value })
|
334
|
-
}
|
335
|
-
},
|
336
|
-
watch: {
|
337
|
-
queryParamsName: {
|
338
|
-
handler (newValue) {
|
339
|
-
this.init(newValue)
|
340
|
-
},
|
341
|
-
deep: true,
|
342
|
-
immediate: true
|
343
|
-
}
|
344
|
-
}
|
345
|
-
}
|
346
|
-
</script>
|
347
|
-
|
348
|
-
<style scoped>
|
349
|
-
.time-title {
|
350
|
-
display: flex !important;
|
351
|
-
flex-direction: column !important;
|
352
|
-
align-items: center !important;
|
353
|
-
}
|
354
|
-
.week_last_next_btn {
|
355
|
-
display: flex;
|
356
|
-
flex-direction: row;
|
357
|
-
align-items: center;
|
358
|
-
justify-content: center;
|
359
|
-
gap: 16px;
|
360
|
-
}
|
361
|
-
::v-deep .ant-table-thead > tr > th,
|
362
|
-
::v-deep .ant-table-tbody > tr > td {
|
363
|
-
padding: 8px 16px !important;
|
364
|
-
overflow-wrap: break-word;
|
365
|
-
}
|
366
|
-
</style>
|