vue2-client 1.15.121 → 1.15.122
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/.history/public/his/editor/editor_20250606134713.html +51 -0
- package/.history/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox_20250527173925.vue +509 -0
- package/.history/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox_20250527174316.vue +524 -0
- package/.history/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox_20250527174419.vue +524 -0
- package/.history/src/base-client/components/common/AddressSearchCombobox/AddressSearchCombobox_20250527174422.vue +524 -0
- package/.history/src/base-client/components/common/XAddReport/XAddReport_20250611172825.vue +207 -0
- package/.history/src/base-client/components/common/XAddReport/XAddReport_20250611172945.vue +211 -0
- package/.history/src/base-client/components/common/XAddReport/XAddReport_20250611172949.vue +212 -0
- package/.history/src/base-client/components/common/XAddReport/XAddReport_20250611173010.vue +212 -0
- package/.history/src/base-client/components/common/XForm/XFormItem_20250508134122.vue +1320 -0
- package/.history/src/base-client/components/common/XForm/XFormItem_20250527171604.vue +1332 -0
- package/.history/src/base-client/components/common/XForm/XFormItem_20250527171613.vue +1331 -0
- package/.history/src/base-client/components/common/XForm/XFormItem_20250527171703.vue +1331 -0
- package/.history/src/base-client/components/common/XForm/XFormItem_20250527171720.vue +1331 -0
- package/.history/src/base-client/components/common/XForm/XFormItem_20250527174327.vue +1339 -0
- package/.history/src/base-client/components/common/XReportGrid/XReportTrGroup_20250612092804.vue +731 -0
- package/.history/src/base-client/components/common/XReportGrid/XReportTrGroup_20250612112546.vue +748 -0
- package/.history/src/base-client/components/common/XReportGrid/XReportTrGroup_20250612113808.vue +748 -0
- package/.history/src/base-client/components/common/XReportGrid/XReport_20250612115237.vue +1071 -0
- package/.history/src/base-client/components/common/XReportGrid/XReport_20250612115346.vue +1078 -0
- package/.history/src/base-client/components/common/XReportGrid/XReport_20250612115350.vue +1077 -0
- package/.history/src/base-client/components/common/XReportGrid/XReport_20250612115415.vue +1077 -0
- package/.history/src/base-client/components/common/XReportGrid/XReport_20250612115429.vue +1077 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812134005.vue +160 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812134010.vue +160 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812134019.vue +160 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812134037.vue +160 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812134112.vue +160 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812134114.vue +160 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812134828.vue +148 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812134838.vue +155 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812134846.vue +155 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812134917.vue +155 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812151145.vue +149 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812151810.vue +153 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812151822.vue +153 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812151910.vue +153 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812152858.vue +258 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812152902.vue +258 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812152907.vue +258 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812152919.vue +258 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812153141.vue +269 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812153149.vue +276 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812153153.vue +276 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812153155.vue +276 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812153157.vue +276 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812153158.vue +276 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812153200.vue +276 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812153210.vue +276 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812153918.vue +275 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812154157.vue +280 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812154212.vue +280 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812154250.vue +280 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812154252.vue +280 -0
- package/.history/src/base-client/components/his/XChart/XChart_20250812154444.vue +280 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611091619.vue +442 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611092547.vue +442 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611092552.vue +442 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611092744.vue +475 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611092955.vue +475 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611092957.vue +475 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611095652.vue +477 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611095701.vue +477 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611095704.vue +477 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611100005.vue +473 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611100011.vue +473 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611100014.vue +473 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611100833.vue +473 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611100853.vue +473 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611100940.vue +473 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101011.vue +473 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101013.vue +473 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101014.vue +473 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101159.vue +473 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101238.vue +474 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101240.vue +474 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101242.vue +474 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101404.vue +472 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101410.vue +472 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101459.vue +472 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101500.vue +472 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101502.vue +472 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101504.vue +472 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101610.vue +501 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101700.vue +501 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101702.vue +501 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101741.vue +504 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101749.vue +504 -0
- package/.history/src/base-client/components/his/XHisEditor/XHisEditor_20250611101759.vue +504 -0
- package/.history/src/base-client/components/his/XHisEditor/dome_20250611091349.vue +131 -0
- package/.history/src/base-client/components/his/XHisEditor/dome_20250611105854.vue +160 -0
- package/.history/src/base-client/components/his/XHisEditor/dome_20250611105902.vue +160 -0
- package/.history/src/base-client/components/his/XHisEditor/dome_20250611105924.vue +160 -0
- package/.history/src/base-client/components/his/XHisEditor/dome_20250611105932.vue +158 -0
- package/.history/src/base-client/components/his/XList/XList_20250609135848.vue +173 -0
- package/.history/src/base-client/components/his/XList/XList_20250609141026.vue +222 -0
- package/.history/src/base-client/components/his/XList/XList_20250609141035.vue +229 -0
- package/.history/src/base-client/components/his/XList/XList_20250609141103.vue +229 -0
- package/.history/src/base-client/components/his/XList/XList_20250609141105.vue +229 -0
- package/.history/src/base-client/components/his/XList/XList_20250609141334.vue +241 -0
- package/.history/src/base-client/components/his/XList/XList_20250609141404.vue +241 -0
- package/.history/src/base-client/components/his/XList/XList_20250609141406.vue +241 -0
- package/.history/src/base-client/components/his/XList/XList_20250609141801.vue +245 -0
- package/.history/src/base-client/components/his/XList/XList_20250609142033.vue +245 -0
- package/.history/src/base-client/components/his/XList/XList_20250609142038.vue +245 -0
- package/.history/src/base-client/components/his/XList/XList_20250609142435.vue +255 -0
- package/.history/src/base-client/components/his/XList/XList_20250609142503.vue +255 -0
- package/.history/src/base-client/components/his/XList/XList_20250609142504.vue +255 -0
- package/.history/src/base-client/components/his/XList/XList_20250609143012.vue +270 -0
- package/.history/src/base-client/components/his/XList/XList_20250609143044.vue +270 -0
- package/.history/src/base-client/components/his/XList/XList_20250609143046.vue +270 -0
- package/.history/src/base-client/components/his/XList/XList_20250609143210.vue +270 -0
- package/.history/src/base-client/components/his/XList/XList_20250609144339.vue +294 -0
- package/.history/src/base-client/components/his/XList/XList_20250609144410.vue +294 -0
- package/.history/src/base-client/components/his/XList/XList_20250609144412.vue +294 -0
- package/.history/src/base-client/components/his/XList/XList_20250609144647.vue +303 -0
- package/.history/src/base-client/components/his/XList/XList_20250609144716.vue +303 -0
- package/.history/src/base-client/components/his/XList/XList_20250609144729.vue +303 -0
- package/.history/src/base-client/components/his/XList/XList_20250609151232.vue +288 -0
- package/.history/src/base-client/components/his/XList/XList_20250609151247.vue +288 -0
- package/.history/src/base-client/components/his/XList/XList_20250609151252.vue +288 -0
- package/.history/src/base-client/components/his/XList/XList_20250609161220.vue +317 -0
- package/.history/src/base-client/components/his/XList/XList_20250609161258.vue +306 -0
- package/.history/src/base-client/components/his/XList/XList_20250609161319.vue +306 -0
- package/.history/src/base-client/components/his/XList/XList_20250609161320.vue +306 -0
- package/.history/src/base-client/components/his/XList/XList_20250704142024.vue +495 -0
- package/.history/src/base-client/components/his/XList/XList_20250704142033.vue +495 -0
- package/.history/src/base-client/components/his/XList/XList_20250704142040.vue +494 -0
- package/.history/src/base-client/components/his/XList/XList_20250704142211.vue +494 -0
- package/.history/src/base-client/components/his/XList/XList_20250704142214.vue +494 -0
- package/.history/src/base-client/components/his/XList/XList_20250704143010.vue +495 -0
- package/.history/src/base-client/components/his/XList/XList_20250704143203.vue +495 -0
- package/.history/src/base-client/components/his/XList/XList_20250707095101.vue +492 -0
- package/.history/src/base-client/components/his/XList/XList_20250707100152.vue +492 -0
- package/.history/src/base-client/components/his/XList/XList_20250707100200.vue +485 -0
- package/.history/src/base-client/components/his/XList/XList_20250707100208.vue +485 -0
- package/.history/src/base-client/components/his/XList/XList_20250707100259.vue +488 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807134604.vue +263 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807134615.vue +302 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807134621.vue +301 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807134634.vue +311 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807134644.vue +330 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807134653.vue +330 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807134836.vue +330 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807135247.vue +330 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807135303.vue +354 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807135316.vue +363 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807135323.vue +363 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807135334.vue +366 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807135342.vue +364 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807135349.vue +364 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807135351.vue +346 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807135354.vue +346 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807135401.vue +346 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807135406.vue +346 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807135424.vue +346 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807143043.vue +254 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807155506.vue +329 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807155535.vue +330 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807155543.vue +330 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807155926.vue +304 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807155928.vue +304 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807172548.vue +298 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807172609.vue +298 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807172623.vue +298 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807172631.vue +298 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807172701.vue +298 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807172704.vue +298 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807175937.vue +290 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807175942.vue +290 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807180210.vue +290 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807180424.vue +290 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807180448.vue +290 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807180915.vue +262 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250807180917.vue +262 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250808101106.vue +283 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250808101112.vue +289 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250808101118.vue +289 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250808101129.vue +294 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250808101137.vue +318 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250808101145.vue +320 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250808101154.vue +320 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250808101211.vue +320 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250808101236.vue +320 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250808101239.vue +320 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250811114001.vue +342 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250811114005.vue +342 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250811114014.vue +345 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250811114020.vue +345 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250811114028.vue +345 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250811114108.vue +345 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250811114115.vue +345 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250811114333.vue +346 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250811114339.vue +350 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250811114344.vue +355 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250811114351.vue +355 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250811114408.vue +355 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250811114410.vue +355 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250813154330.vue +389 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250813154338.vue +389 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250813154402.vue +389 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250813154425.vue +389 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250813154428.vue +389 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250813171922.vue +391 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250813171957.vue +391 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250813172004.vue +391 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250813172012.vue +391 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250813172241.vue +391 -0
- package/.history/src/base-client/components/his/XShiftSchedule/XShiftSchedule_20250813172242.vue +391 -0
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807103845.vue +142 -0
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807103852.vue +142 -0
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807103857.vue +142 -0
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807103859.vue +142 -0
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807103907.vue +142 -0
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807103910.vue +142 -0
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807103911.vue +142 -0
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807103913.vue +142 -0
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807103916.vue +142 -0
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807103931.vue +142 -0
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807145127.vue +85 -0
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807145136.vue +81 -0
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807145142.vue +81 -0
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807145145.vue +81 -0
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807145148.vue +81 -0
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807145151.vue +81 -0
- package/.history/src/base-client/components/his/XShiftSchedule/dome_20250807145155.vue +81 -0
- package/Users/objecrt/af-vue2-client/src/base-client/components/his/XShiftSchedule/XShiftSchedule.vue +213 -0
- package/package.json +1 -1
- package/src/base-client/components/TreeList/TreeList.vue +91 -0
- package/src/base-client/components/TreeList/TreeNode.vue +81 -0
- package/src/base-client/components/common/XCardSet/XTiltle.vue +191 -0
- package/src/base-client/components/common/XReport/print.js +186 -186
- 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 +51 -2
- package/src/base-client/components/his/XHisEditor/dome.vue +144 -0
- package/src/base-client/components/his/XImportExcelButton/XFrontImportExcel.vue +4 -2
- 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
@@ -0,0 +1,241 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="list-wrapper">
|
3
|
+
<a-list size="large" :data-source="data" itemLayout="horizontal" class="list-container" ref="listRef">
|
4
|
+
<a-list-item
|
5
|
+
slot="renderItem"
|
6
|
+
slot-scope="item, index"
|
7
|
+
class="list-item"
|
8
|
+
@click="handleClick(index)"
|
9
|
+
>
|
10
|
+
<div
|
11
|
+
class="list-item-content"
|
12
|
+
@mouseenter="handleMouseEnter(index)"
|
13
|
+
@mouseleave="handleMouseLeave"
|
14
|
+
>
|
15
|
+
<i
|
16
|
+
v-if="icon"
|
17
|
+
class="icon-menu"
|
18
|
+
:style="getIconStyle(item)"
|
19
|
+
></i>
|
20
|
+
<span
|
21
|
+
class="item-text">
|
22
|
+
{{ item.number }} {{ item.name }}
|
23
|
+
</span>
|
24
|
+
|
25
|
+
<div v-if="button" class="button-group">
|
26
|
+
<a-button
|
27
|
+
v-for="(name, idx) in buttonNames"
|
28
|
+
:key="idx"
|
29
|
+
type="link"
|
30
|
+
:class="['confirm-btn', buttonMode ? 'hover-btn' : '']"
|
31
|
+
@click.stop="click(index, idx)"
|
32
|
+
>
|
33
|
+
{{ name }}
|
34
|
+
</a-button>
|
35
|
+
</div>
|
36
|
+
|
37
|
+
<!-- 悬浮选项框 -->
|
38
|
+
<div v-if="hoveredIndex === index" class="hover-options">
|
39
|
+
<div class="hover-options-content">
|
40
|
+
<a-button type="link" @click.stop="handleOptionClick(index, 'view')">查看</a-button>
|
41
|
+
<a-button type="link" @click.stop="handleOptionClick(index, 'edit')">编辑</a-button>
|
42
|
+
<a-button type="link" @click.stop="handleOptionClick(index, 'delete')">删除</a-button>
|
43
|
+
</div>
|
44
|
+
</div>
|
45
|
+
</div>
|
46
|
+
</a-list-item>
|
47
|
+
</a-list>
|
48
|
+
</div>
|
49
|
+
</template>
|
50
|
+
|
51
|
+
<script>
|
52
|
+
|
53
|
+
import { getConfigByName, runLogic } from '@vue2-client/services/api/common'
|
54
|
+
|
55
|
+
export default {
|
56
|
+
name: 'XList',
|
57
|
+
props: {
|
58
|
+
queryParamsName: {
|
59
|
+
type: Object,
|
60
|
+
default: null
|
61
|
+
},
|
62
|
+
fixedQueryForm: {
|
63
|
+
type: Object,
|
64
|
+
default: { condition: '1=1' }
|
65
|
+
}
|
66
|
+
},
|
67
|
+
inject: ['getComponentByName'],
|
68
|
+
data () {
|
69
|
+
return {
|
70
|
+
data: [],
|
71
|
+
button: false,
|
72
|
+
icon: false,
|
73
|
+
buttonNames: [],
|
74
|
+
buttonMode: false,
|
75
|
+
hoveredIndex: -1
|
76
|
+
}
|
77
|
+
},
|
78
|
+
created () {
|
79
|
+
this.getData(this.queryParamsName, this.fixedQueryForm)
|
80
|
+
},
|
81
|
+
methods: {
|
82
|
+
async getData (config, param) {
|
83
|
+
const that = this
|
84
|
+
getConfigByName(config, 'af-his', res => {
|
85
|
+
that.button = res.button
|
86
|
+
that.icon = res.icon
|
87
|
+
that.buttonNames = res.buttonNames || []
|
88
|
+
that.buttonMode = res.buttonMode || false
|
89
|
+
runLogic(res.data, param, 'af-his').then(ress => {
|
90
|
+
that.data = ress
|
91
|
+
})
|
92
|
+
})
|
93
|
+
},
|
94
|
+
handleClick (index) {
|
95
|
+
this.$emit('listClick', this.data[index])
|
96
|
+
},
|
97
|
+
refreshList (param) {
|
98
|
+
this.getData(this.queryParamsName, param)
|
99
|
+
},
|
100
|
+
click (index, buttonIndex) {
|
101
|
+
this.$emit('click', { data: this.data[index], name: this.buttonNames[buttonIndex] })
|
102
|
+
},
|
103
|
+
getIconStyle (item) {
|
104
|
+
return item.picture
|
105
|
+
? { backgroundImage: `url(${item.picture})` }
|
106
|
+
: {}
|
107
|
+
},
|
108
|
+
filterData (par) {
|
109
|
+
runLogic(this.queryParamsName, par, 'af-his').then(res => {
|
110
|
+
this.data = res.data
|
111
|
+
})
|
112
|
+
},
|
113
|
+
handleMouseEnter (index) {
|
114
|
+
this.hoveredIndex = index
|
115
|
+
},
|
116
|
+
handleMouseLeave () {
|
117
|
+
this.hoveredIndex = -1
|
118
|
+
},
|
119
|
+
handleOptionClick (index, action) {
|
120
|
+
this.$emit('optionClick', { data: this.data[index], action })
|
121
|
+
}
|
122
|
+
},
|
123
|
+
watch: {
|
124
|
+
fixedQueryForm: {
|
125
|
+
deep: true,
|
126
|
+
handler (val) {
|
127
|
+
this.refreshList(val)
|
128
|
+
}
|
129
|
+
}
|
130
|
+
}
|
131
|
+
}
|
132
|
+
</script>
|
133
|
+
|
134
|
+
<style scoped>
|
135
|
+
.list-wrapper {
|
136
|
+
max-height: 240px;
|
137
|
+
overflow-y: auto;
|
138
|
+
padding-right: 2px;
|
139
|
+
}
|
140
|
+
|
141
|
+
.list-container {
|
142
|
+
width: 100%;
|
143
|
+
}
|
144
|
+
|
145
|
+
.list-item {
|
146
|
+
height: 35px;
|
147
|
+
border-radius: 6px;
|
148
|
+
background-color: #F4F4F4;
|
149
|
+
padding: 8px 15px;
|
150
|
+
font-size: 16px;
|
151
|
+
display: flex;
|
152
|
+
align-items: center;
|
153
|
+
width: 100%;
|
154
|
+
border: 1px solid #D9D9D9;
|
155
|
+
box-sizing: border-box;
|
156
|
+
margin-bottom: 8px !important;
|
157
|
+
position: relative;
|
158
|
+
}
|
159
|
+
|
160
|
+
.icon-menu {
|
161
|
+
display: inline-block;
|
162
|
+
width: 20px;
|
163
|
+
height: 20px;
|
164
|
+
background-color: #ccc;
|
165
|
+
margin-right: 8px;
|
166
|
+
}
|
167
|
+
|
168
|
+
.item-text {
|
169
|
+
flex: 1;
|
170
|
+
}
|
171
|
+
|
172
|
+
.confirm-btn {
|
173
|
+
margin-left: auto;
|
174
|
+
padding: 0 8px;
|
175
|
+
}
|
176
|
+
|
177
|
+
.confirm-btn.hover-btn {
|
178
|
+
opacity: 0;
|
179
|
+
transition: opacity 0.3s ease;
|
180
|
+
}
|
181
|
+
|
182
|
+
.button-group {
|
183
|
+
display: flex;
|
184
|
+
gap: 2px; /* 按钮之间的间距 */
|
185
|
+
}
|
186
|
+
|
187
|
+
.list-item:hover .confirm-btn.hover-btn {
|
188
|
+
opacity: 1;
|
189
|
+
}
|
190
|
+
|
191
|
+
/* 自定义滚动条样式 */
|
192
|
+
.list-wrapper::-webkit-scrollbar {
|
193
|
+
width: 6px;
|
194
|
+
}
|
195
|
+
|
196
|
+
.list-wrapper::-webkit-scrollbar-thumb {
|
197
|
+
background-color: #d9d9d9;
|
198
|
+
border-radius: 3px;
|
199
|
+
}
|
200
|
+
|
201
|
+
.list-wrapper::-webkit-scrollbar-track {
|
202
|
+
background-color: #f0f0f0;
|
203
|
+
}
|
204
|
+
|
205
|
+
.list-item-content {
|
206
|
+
position: relative;
|
207
|
+
width: 100%;
|
208
|
+
height: 100%;
|
209
|
+
display: flex;
|
210
|
+
align-items: center;
|
211
|
+
}
|
212
|
+
|
213
|
+
.hover-options {
|
214
|
+
position: absolute;
|
215
|
+
left: 0;
|
216
|
+
right: 0;
|
217
|
+
top: 100%;
|
218
|
+
background: white;
|
219
|
+
border: 1px solid #d9d9d9;
|
220
|
+
border-radius: 4px;
|
221
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
222
|
+
z-index: 1000;
|
223
|
+
margin-top: 4px;
|
224
|
+
}
|
225
|
+
|
226
|
+
.hover-options-content {
|
227
|
+
padding: 8px;
|
228
|
+
display: flex;
|
229
|
+
flex-direction: column;
|
230
|
+
gap: 4px;
|
231
|
+
}
|
232
|
+
|
233
|
+
.hover-options-content .ant-btn {
|
234
|
+
text-align: left;
|
235
|
+
padding: 4px 8px;
|
236
|
+
}
|
237
|
+
|
238
|
+
.hover-options-content .ant-btn:hover {
|
239
|
+
background-color: #f5f5f5;
|
240
|
+
}
|
241
|
+
</style>
|
@@ -0,0 +1,241 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="list-wrapper">
|
3
|
+
<a-list size="large" :data-source="data" itemLayout="horizontal" class="list-container" ref="listRef">
|
4
|
+
<a-list-item
|
5
|
+
slot="renderItem"
|
6
|
+
slot-scope="item, index"
|
7
|
+
class="list-item"
|
8
|
+
@click="handleClick(index)"
|
9
|
+
>
|
10
|
+
<div
|
11
|
+
class="list-item-content"
|
12
|
+
@mouseenter="handleMouseEnter(index)"
|
13
|
+
@mouseleave="handleMouseLeave"
|
14
|
+
>
|
15
|
+
<i
|
16
|
+
v-if="icon"
|
17
|
+
class="icon-menu"
|
18
|
+
:style="getIconStyle(item)"
|
19
|
+
></i>
|
20
|
+
<span
|
21
|
+
class="item-text">
|
22
|
+
{{ item.number }} {{ item.name }}
|
23
|
+
</span>
|
24
|
+
|
25
|
+
<div v-if="button" class="button-group">
|
26
|
+
<a-button
|
27
|
+
v-for="(name, idx) in buttonNames"
|
28
|
+
:key="idx"
|
29
|
+
type="link"
|
30
|
+
:class="['confirm-btn', buttonMode ? 'hover-btn' : '']"
|
31
|
+
@click.stop="click(index, idx)"
|
32
|
+
>
|
33
|
+
{{ name }}
|
34
|
+
</a-button>
|
35
|
+
</div>
|
36
|
+
|
37
|
+
<!-- 悬浮选项框 -->
|
38
|
+
<div v-if="hoveredIndex === index" class="hover-options">
|
39
|
+
<div class="hover-options-content">
|
40
|
+
<a-button type="link" @click.stop="handleOptionClick(index, 'view')">查看</a-button>
|
41
|
+
<a-button type="link" @click.stop="handleOptionClick(index, 'edit')">编辑</a-button>
|
42
|
+
<a-button type="link" @click.stop="handleOptionClick(index, 'delete')">删除</a-button>
|
43
|
+
</div>
|
44
|
+
</div>
|
45
|
+
</div>
|
46
|
+
</a-list-item>
|
47
|
+
</a-list>
|
48
|
+
</div>
|
49
|
+
</template>
|
50
|
+
|
51
|
+
<script>
|
52
|
+
|
53
|
+
import { getConfigByName, runLogic } from '@vue2-client/services/api/common'
|
54
|
+
|
55
|
+
export default {
|
56
|
+
name: 'XList',
|
57
|
+
props: {
|
58
|
+
queryParamsName: {
|
59
|
+
type: Object,
|
60
|
+
default: null
|
61
|
+
},
|
62
|
+
fixedQueryForm: {
|
63
|
+
type: Object,
|
64
|
+
default: { condition: '1=1' }
|
65
|
+
}
|
66
|
+
},
|
67
|
+
inject: ['getComponentByName'],
|
68
|
+
data () {
|
69
|
+
return {
|
70
|
+
data: [],
|
71
|
+
button: false,
|
72
|
+
icon: false,
|
73
|
+
buttonNames: [],
|
74
|
+
buttonMode: false,
|
75
|
+
hoveredIndex: -1
|
76
|
+
}
|
77
|
+
},
|
78
|
+
created () {
|
79
|
+
this.getData(this.queryParamsName, this.fixedQueryForm)
|
80
|
+
},
|
81
|
+
methods: {
|
82
|
+
async getData (config, param) {
|
83
|
+
const that = this
|
84
|
+
getConfigByName(config, 'af-his', res => {
|
85
|
+
that.button = res.button
|
86
|
+
that.icon = res.icon
|
87
|
+
that.buttonNames = res.buttonNames || []
|
88
|
+
that.buttonMode = res.buttonMode || false
|
89
|
+
runLogic(res.data, param, 'af-his').then(ress => {
|
90
|
+
that.data = ress
|
91
|
+
})
|
92
|
+
})
|
93
|
+
},
|
94
|
+
handleClick (index) {
|
95
|
+
this.$emit('listClick', this.data[index])
|
96
|
+
},
|
97
|
+
refreshList (param) {
|
98
|
+
this.getData(this.queryParamsName, param)
|
99
|
+
},
|
100
|
+
click (index, buttonIndex) {
|
101
|
+
this.$emit('click', { data: this.data[index], name: this.buttonNames[buttonIndex] })
|
102
|
+
},
|
103
|
+
getIconStyle (item) {
|
104
|
+
return item.picture
|
105
|
+
? { backgroundImage: `url(${item.picture})` }
|
106
|
+
: {}
|
107
|
+
},
|
108
|
+
filterData (par) {
|
109
|
+
runLogic(this.queryParamsName, par, 'af-his').then(res => {
|
110
|
+
this.data = res.data
|
111
|
+
})
|
112
|
+
},
|
113
|
+
handleMouseEnter (index) {
|
114
|
+
this.hoveredIndex = index
|
115
|
+
},
|
116
|
+
handleMouseLeave () {
|
117
|
+
this.hoveredIndex = -1
|
118
|
+
},
|
119
|
+
handleOptionClick (index, action) {
|
120
|
+
this.$emit('optionClick', { data: this.data[index], action })
|
121
|
+
}
|
122
|
+
},
|
123
|
+
watch: {
|
124
|
+
fixedQueryForm: {
|
125
|
+
deep: true,
|
126
|
+
handler (val) {
|
127
|
+
this.refreshList(val)
|
128
|
+
}
|
129
|
+
}
|
130
|
+
}
|
131
|
+
}
|
132
|
+
</script>
|
133
|
+
|
134
|
+
<style scoped>
|
135
|
+
.list-wrapper {
|
136
|
+
max-height: 240px;
|
137
|
+
overflow-y: auto;
|
138
|
+
padding-right: 2px;
|
139
|
+
}
|
140
|
+
|
141
|
+
.list-container {
|
142
|
+
width: 100%;
|
143
|
+
}
|
144
|
+
|
145
|
+
.list-item {
|
146
|
+
height: 35px;
|
147
|
+
border-radius: 6px;
|
148
|
+
background-color: #F4F4F4;
|
149
|
+
padding: 8px 15px;
|
150
|
+
font-size: 16px;
|
151
|
+
display: flex;
|
152
|
+
align-items: center;
|
153
|
+
width: 100%;
|
154
|
+
border: 1px solid #D9D9D9;
|
155
|
+
box-sizing: border-box;
|
156
|
+
margin-bottom: 8px !important;
|
157
|
+
position: relative;
|
158
|
+
}
|
159
|
+
|
160
|
+
.icon-menu {
|
161
|
+
display: inline-block;
|
162
|
+
width: 20px;
|
163
|
+
height: 20px;
|
164
|
+
background-color: #ccc;
|
165
|
+
margin-right: 8px;
|
166
|
+
}
|
167
|
+
|
168
|
+
.item-text {
|
169
|
+
flex: 1;
|
170
|
+
}
|
171
|
+
|
172
|
+
.confirm-btn {
|
173
|
+
margin-left: auto;
|
174
|
+
padding: 0 8px;
|
175
|
+
}
|
176
|
+
|
177
|
+
.confirm-btn.hover-btn {
|
178
|
+
opacity: 0;
|
179
|
+
transition: opacity 0.3s ease;
|
180
|
+
}
|
181
|
+
|
182
|
+
.button-group {
|
183
|
+
display: flex;
|
184
|
+
gap: 2px; /* 按钮之间的间距 */
|
185
|
+
}
|
186
|
+
|
187
|
+
.list-item:hover .confirm-btn.hover-btn {
|
188
|
+
opacity: 1;
|
189
|
+
}
|
190
|
+
|
191
|
+
/* 自定义滚动条样式 */
|
192
|
+
.list-wrapper::-webkit-scrollbar {
|
193
|
+
width: 6px;
|
194
|
+
}
|
195
|
+
|
196
|
+
.list-wrapper::-webkit-scrollbar-thumb {
|
197
|
+
background-color: #d9d9d9;
|
198
|
+
border-radius: 3px;
|
199
|
+
}
|
200
|
+
|
201
|
+
.list-wrapper::-webkit-scrollbar-track {
|
202
|
+
background-color: #f0f0f0;
|
203
|
+
}
|
204
|
+
|
205
|
+
.list-item-content {
|
206
|
+
position: relative;
|
207
|
+
width: 100%;
|
208
|
+
height: 100%;
|
209
|
+
display: flex;
|
210
|
+
align-items: center;
|
211
|
+
}
|
212
|
+
|
213
|
+
.hover-options {
|
214
|
+
position: absolute;
|
215
|
+
left: 0;
|
216
|
+
right: 0;
|
217
|
+
top: 100%;
|
218
|
+
background: white;
|
219
|
+
border: 1px solid #d9d9d9;
|
220
|
+
border-radius: 4px;
|
221
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
222
|
+
z-index: 1000;
|
223
|
+
margin-top: 4px;
|
224
|
+
}
|
225
|
+
|
226
|
+
.hover-options-content {
|
227
|
+
padding: 8px;
|
228
|
+
display: flex;
|
229
|
+
flex-direction: column;
|
230
|
+
gap: 4px;
|
231
|
+
}
|
232
|
+
|
233
|
+
.hover-options-content .ant-btn {
|
234
|
+
text-align: left;
|
235
|
+
padding: 4px 8px;
|
236
|
+
}
|
237
|
+
|
238
|
+
.hover-options-content .ant-btn:hover {
|
239
|
+
background-color: #f5f5f5;
|
240
|
+
}
|
241
|
+
</style>
|
@@ -0,0 +1,245 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="list-wrapper">
|
3
|
+
<a-list size="large" :data-source="data" itemLayout="horizontal" class="list-container" ref="listRef">
|
4
|
+
<a-list-item
|
5
|
+
slot="renderItem"
|
6
|
+
slot-scope="item, index"
|
7
|
+
class="list-item"
|
8
|
+
@click="handleClick(index)"
|
9
|
+
>
|
10
|
+
<div
|
11
|
+
class="list-item-content"
|
12
|
+
@mouseenter="enableHoverOptions && handleMouseEnter(index)"
|
13
|
+
@mouseleave="enableHoverOptions && handleMouseLeave"
|
14
|
+
>
|
15
|
+
<i
|
16
|
+
v-if="icon"
|
17
|
+
class="icon-menu"
|
18
|
+
:style="getIconStyle(item)"
|
19
|
+
></i>
|
20
|
+
<span
|
21
|
+
class="item-text">
|
22
|
+
{{ item.number }} {{ item.name }}
|
23
|
+
</span>
|
24
|
+
|
25
|
+
<div v-if="button" class="button-group">
|
26
|
+
<a-button
|
27
|
+
v-for="(name, idx) in buttonNames"
|
28
|
+
:key="idx"
|
29
|
+
type="link"
|
30
|
+
:class="['confirm-btn', buttonMode ? 'hover-btn' : '']"
|
31
|
+
@click.stop="click(index, idx)"
|
32
|
+
>
|
33
|
+
{{ name }}
|
34
|
+
</a-button>
|
35
|
+
</div>
|
36
|
+
|
37
|
+
<!-- 悬浮选项框 -->
|
38
|
+
<div v-if="enableHoverOptions && hoveredIndex === index" class="hover-options">
|
39
|
+
<div class="hover-options-content">
|
40
|
+
<a-button type="link" @click.stop="handleOptionClick(index, 'view')">查看</a-button>
|
41
|
+
<a-button type="link" @click.stop="handleOptionClick(index, 'edit')">编辑</a-button>
|
42
|
+
<a-button type="link" @click.stop="handleOptionClick(index, 'delete')">删除</a-button>
|
43
|
+
</div>
|
44
|
+
</div>
|
45
|
+
</div>
|
46
|
+
</a-list-item>
|
47
|
+
</a-list>
|
48
|
+
</div>
|
49
|
+
</template>
|
50
|
+
|
51
|
+
<script>
|
52
|
+
|
53
|
+
import { getConfigByName, runLogic } from '@vue2-client/services/api/common'
|
54
|
+
|
55
|
+
export default {
|
56
|
+
name: 'XList',
|
57
|
+
props: {
|
58
|
+
queryParamsName: {
|
59
|
+
type: Object,
|
60
|
+
default: null
|
61
|
+
},
|
62
|
+
fixedQueryForm: {
|
63
|
+
type: Object,
|
64
|
+
default: { condition: '1=1' }
|
65
|
+
},
|
66
|
+
enableHoverOptions: {
|
67
|
+
type: Boolean,
|
68
|
+
default: false
|
69
|
+
}
|
70
|
+
},
|
71
|
+
inject: ['getComponentByName'],
|
72
|
+
data () {
|
73
|
+
return {
|
74
|
+
data: [],
|
75
|
+
button: false,
|
76
|
+
icon: false,
|
77
|
+
buttonNames: [],
|
78
|
+
buttonMode: false,
|
79
|
+
hoveredIndex: -1
|
80
|
+
}
|
81
|
+
},
|
82
|
+
created () {
|
83
|
+
this.getData(this.queryParamsName, this.fixedQueryForm)
|
84
|
+
},
|
85
|
+
methods: {
|
86
|
+
async getData (config, param) {
|
87
|
+
const that = this
|
88
|
+
getConfigByName(config, 'af-his', res => {
|
89
|
+
that.button = res.button
|
90
|
+
that.icon = res.icon
|
91
|
+
that.buttonNames = res.buttonNames || []
|
92
|
+
that.buttonMode = res.buttonMode || false
|
93
|
+
runLogic(res.data, param, 'af-his').then(ress => {
|
94
|
+
that.data = ress
|
95
|
+
})
|
96
|
+
})
|
97
|
+
},
|
98
|
+
handleClick (index) {
|
99
|
+
this.$emit('listClick', this.data[index])
|
100
|
+
},
|
101
|
+
refreshList (param) {
|
102
|
+
this.getData(this.queryParamsName, param)
|
103
|
+
},
|
104
|
+
click (index, buttonIndex) {
|
105
|
+
this.$emit('click', { data: this.data[index], name: this.buttonNames[buttonIndex] })
|
106
|
+
},
|
107
|
+
getIconStyle (item) {
|
108
|
+
return item.picture
|
109
|
+
? { backgroundImage: `url(${item.picture})` }
|
110
|
+
: {}
|
111
|
+
},
|
112
|
+
filterData (par) {
|
113
|
+
runLogic(this.queryParamsName, par, 'af-his').then(res => {
|
114
|
+
this.data = res.data
|
115
|
+
})
|
116
|
+
},
|
117
|
+
handleMouseEnter (index) {
|
118
|
+
this.hoveredIndex = index
|
119
|
+
},
|
120
|
+
handleMouseLeave () {
|
121
|
+
this.hoveredIndex = -1
|
122
|
+
},
|
123
|
+
handleOptionClick (index, action) {
|
124
|
+
this.$emit('optionClick', { data: this.data[index], action })
|
125
|
+
}
|
126
|
+
},
|
127
|
+
watch: {
|
128
|
+
fixedQueryForm: {
|
129
|
+
deep: true,
|
130
|
+
handler (val) {
|
131
|
+
this.refreshList(val)
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
}
|
136
|
+
</script>
|
137
|
+
|
138
|
+
<style scoped>
|
139
|
+
.list-wrapper {
|
140
|
+
max-height: 240px;
|
141
|
+
overflow-y: auto;
|
142
|
+
padding-right: 2px;
|
143
|
+
}
|
144
|
+
|
145
|
+
.list-container {
|
146
|
+
width: 100%;
|
147
|
+
}
|
148
|
+
|
149
|
+
.list-item {
|
150
|
+
height: 35px;
|
151
|
+
border-radius: 6px;
|
152
|
+
background-color: #F4F4F4;
|
153
|
+
padding: 8px 15px;
|
154
|
+
font-size: 16px;
|
155
|
+
display: flex;
|
156
|
+
align-items: center;
|
157
|
+
width: 100%;
|
158
|
+
border: 1px solid #D9D9D9;
|
159
|
+
box-sizing: border-box;
|
160
|
+
margin-bottom: 8px !important;
|
161
|
+
position: relative;
|
162
|
+
}
|
163
|
+
|
164
|
+
.icon-menu {
|
165
|
+
display: inline-block;
|
166
|
+
width: 20px;
|
167
|
+
height: 20px;
|
168
|
+
background-color: #ccc;
|
169
|
+
margin-right: 8px;
|
170
|
+
}
|
171
|
+
|
172
|
+
.item-text {
|
173
|
+
flex: 1;
|
174
|
+
}
|
175
|
+
|
176
|
+
.confirm-btn {
|
177
|
+
margin-left: auto;
|
178
|
+
padding: 0 8px;
|
179
|
+
}
|
180
|
+
|
181
|
+
.confirm-btn.hover-btn {
|
182
|
+
opacity: 0;
|
183
|
+
transition: opacity 0.3s ease;
|
184
|
+
}
|
185
|
+
|
186
|
+
.button-group {
|
187
|
+
display: flex;
|
188
|
+
gap: 2px; /* 按钮之间的间距 */
|
189
|
+
}
|
190
|
+
|
191
|
+
.list-item:hover .confirm-btn.hover-btn {
|
192
|
+
opacity: 1;
|
193
|
+
}
|
194
|
+
|
195
|
+
/* 自定义滚动条样式 */
|
196
|
+
.list-wrapper::-webkit-scrollbar {
|
197
|
+
width: 6px;
|
198
|
+
}
|
199
|
+
|
200
|
+
.list-wrapper::-webkit-scrollbar-thumb {
|
201
|
+
background-color: #d9d9d9;
|
202
|
+
border-radius: 3px;
|
203
|
+
}
|
204
|
+
|
205
|
+
.list-wrapper::-webkit-scrollbar-track {
|
206
|
+
background-color: #f0f0f0;
|
207
|
+
}
|
208
|
+
|
209
|
+
.list-item-content {
|
210
|
+
position: relative;
|
211
|
+
width: 100%;
|
212
|
+
height: 100%;
|
213
|
+
display: flex;
|
214
|
+
align-items: center;
|
215
|
+
}
|
216
|
+
|
217
|
+
.hover-options {
|
218
|
+
position: absolute;
|
219
|
+
left: 0;
|
220
|
+
right: 0;
|
221
|
+
top: 100%;
|
222
|
+
background: white;
|
223
|
+
border: 1px solid #d9d9d9;
|
224
|
+
border-radius: 4px;
|
225
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
226
|
+
z-index: 1000;
|
227
|
+
margin-top: 4px;
|
228
|
+
}
|
229
|
+
|
230
|
+
.hover-options-content {
|
231
|
+
padding: 8px;
|
232
|
+
display: flex;
|
233
|
+
flex-direction: column;
|
234
|
+
gap: 4px;
|
235
|
+
}
|
236
|
+
|
237
|
+
.hover-options-content .ant-btn {
|
238
|
+
text-align: left;
|
239
|
+
padding: 4px 8px;
|
240
|
+
}
|
241
|
+
|
242
|
+
.hover-options-content .ant-btn:hover {
|
243
|
+
background-color: #f5f5f5;
|
244
|
+
}
|
245
|
+
</style>
|