vue2-client 1.15.121 → 1.15.123
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 +56 -2
- package/src/base-client/components/his/XHisEditor/dome.vue +145 -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/router/async/router.map.js +1 -1
- package/src/utils/map-utils.js +47 -47
@@ -0,0 +1,276 @@
|
|
1
|
+
<template>
|
2
|
+
<div ref="main" :style="{width: config.width, height: config.height}">
|
3
|
+
</div>
|
4
|
+
</template>
|
5
|
+
|
6
|
+
<script>
|
7
|
+
import * as echarts from 'echarts'
|
8
|
+
import { getConfigByName, runLogic } from '@vue2-client/services/api/common'
|
9
|
+
|
10
|
+
export default {
|
11
|
+
name: 'XChart',
|
12
|
+
props: {
|
13
|
+
// 配置名
|
14
|
+
queryParamsName: {
|
15
|
+
type: String,
|
16
|
+
default: ''
|
17
|
+
},
|
18
|
+
// 服务名
|
19
|
+
serviceName: {
|
20
|
+
type: String,
|
21
|
+
default: 'af-his'
|
22
|
+
}
|
23
|
+
},
|
24
|
+
data () {
|
25
|
+
return {
|
26
|
+
data: [],
|
27
|
+
// 配置项
|
28
|
+
config: {},
|
29
|
+
// 标准值
|
30
|
+
standardValue: 0,
|
31
|
+
// 标准差
|
32
|
+
sd: 0
|
33
|
+
}
|
34
|
+
},
|
35
|
+
mounted () {},
|
36
|
+
methods: {
|
37
|
+
initDome (queryParamsName, parameter) {
|
38
|
+
getConfigByName(queryParamsName, 'af-his', async (res) => {
|
39
|
+
this.config = res
|
40
|
+
console.log('res', res)
|
41
|
+
runLogic(res.data, parameter, 'af-his').then(result => {
|
42
|
+
this.standardValue = result[0][this.config.standardValue]
|
43
|
+
this.sd = result[0].sd
|
44
|
+
const listData = result.map(item => [item.x, item.y])
|
45
|
+
this.data = listData
|
46
|
+
this.renderChart()
|
47
|
+
})
|
48
|
+
})
|
49
|
+
},
|
50
|
+
// 渲染图表
|
51
|
+
renderChart () {
|
52
|
+
const chartDom = this.$refs.main
|
53
|
+
const myChart = echarts.init(chartDom)
|
54
|
+
|
55
|
+
// 计算控制线
|
56
|
+
const centerLine = this.standardValue
|
57
|
+
const sd1Upper = centerLine + this.sd
|
58
|
+
const sd1Lower = centerLine - this.sd
|
59
|
+
const sd2Upper = centerLine + 2 * this.sd
|
60
|
+
const sd2Lower = centerLine - 2 * this.sd
|
61
|
+
const sd3Upper = centerLine + 3 * this.sd
|
62
|
+
const sd3Lower = centerLine - 3 * this.sd
|
63
|
+
|
64
|
+
// 计算y轴范围,让靶值居中
|
65
|
+
const dataMin = Math.min(...this.data.map(item => item[1]))
|
66
|
+
const dataMax = Math.max(...this.data.map(item => item[1]))
|
67
|
+
const range = Math.max(dataMax - centerLine, centerLine - dataMin, this.sd * 4)
|
68
|
+
const yMin = centerLine - range
|
69
|
+
const yMax = centerLine + range
|
70
|
+
|
71
|
+
const option = {
|
72
|
+
title: {
|
73
|
+
text: this.config.title,
|
74
|
+
subtext: this.config.subtext,
|
75
|
+
left: 'center',
|
76
|
+
textStyle: {
|
77
|
+
fontSize: 16,
|
78
|
+
fontWeight: 'bold'
|
79
|
+
},
|
80
|
+
subtextStyle: {
|
81
|
+
fontSize: 12,
|
82
|
+
color: '#666'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
legend: {
|
86
|
+
bottom: 10,
|
87
|
+
data: ['测量值', '中心线', '±1SD', '±2SD', '±3SD']
|
88
|
+
},
|
89
|
+
tooltip: {
|
90
|
+
trigger: 'axis',
|
91
|
+
axisPointer: {
|
92
|
+
type: 'cross'
|
93
|
+
},
|
94
|
+
formatter: function (params) {
|
95
|
+
let result = `第${params[0].data[0]}次测量<br/>`
|
96
|
+
params.forEach(param => {
|
97
|
+
if (param.seriesName === '测量值') {
|
98
|
+
result += `${param.seriesName}: ${param.data[1]}<br/>`
|
99
|
+
}
|
100
|
+
})
|
101
|
+
return result
|
102
|
+
}
|
103
|
+
},
|
104
|
+
grid: {
|
105
|
+
left: '10%',
|
106
|
+
right: '10%',
|
107
|
+
top: '15%',
|
108
|
+
bottom: '15%'
|
109
|
+
},
|
110
|
+
xAxis: {
|
111
|
+
type: 'category',
|
112
|
+
name: '测量次数',
|
113
|
+
nameLocation: 'middle',
|
114
|
+
nameGap: 30,
|
115
|
+
axisLine: {
|
116
|
+
lineStyle: {
|
117
|
+
color: '#333'
|
118
|
+
}
|
119
|
+
},
|
120
|
+
axisTick: {
|
121
|
+
show: true
|
122
|
+
},
|
123
|
+
splitLine: {
|
124
|
+
show: false
|
125
|
+
}
|
126
|
+
},
|
127
|
+
yAxis: {
|
128
|
+
type: 'value',
|
129
|
+
name: this.config.formatter,
|
130
|
+
nameLocation: 'middle',
|
131
|
+
nameGap: 50,
|
132
|
+
show: true,
|
133
|
+
axisLine: {
|
134
|
+
show: true,
|
135
|
+
lineStyle: {
|
136
|
+
color: '#333'
|
137
|
+
}
|
138
|
+
},
|
139
|
+
axisTick: {
|
140
|
+
show: true
|
141
|
+
},
|
142
|
+
axisLabel: {
|
143
|
+
show: true
|
144
|
+
},
|
145
|
+
min: Math.min(...this.data.map(item => item[1])) - this.sd * 2,
|
146
|
+
max: Math.max(...this.data.map(item => item[1])) + this.sd * 2,
|
147
|
+
splitLine: {
|
148
|
+
show: true,
|
149
|
+
lineStyle: {
|
150
|
+
type: 'dashed',
|
151
|
+
color: '#ddd'
|
152
|
+
}
|
153
|
+
}
|
154
|
+
},
|
155
|
+
series: [
|
156
|
+
{
|
157
|
+
name: '测量值',
|
158
|
+
type: 'line',
|
159
|
+
data: this.data,
|
160
|
+
symbol: 'circle',
|
161
|
+
symbolSize: 8,
|
162
|
+
lineStyle: {
|
163
|
+
color: '#1890ff',
|
164
|
+
width: 2
|
165
|
+
},
|
166
|
+
itemStyle: {
|
167
|
+
color: '#1890ff',
|
168
|
+
borderColor: '#fff',
|
169
|
+
borderWidth: 2
|
170
|
+
},
|
171
|
+
markLine: {
|
172
|
+
silent: true,
|
173
|
+
symbol: 'none',
|
174
|
+
lineStyle: {
|
175
|
+
color: '#52c41a',
|
176
|
+
width: 2,
|
177
|
+
type: 'solid'
|
178
|
+
},
|
179
|
+
data: [
|
180
|
+
{
|
181
|
+
yAxis: centerLine,
|
182
|
+
label: {
|
183
|
+
formatter: `中心线: ${centerLine}`,
|
184
|
+
position: 'insideEndTop'
|
185
|
+
}
|
186
|
+
},
|
187
|
+
{
|
188
|
+
yAxis: sd1Upper,
|
189
|
+
lineStyle: {
|
190
|
+
color: '#faad14',
|
191
|
+
type: 'dashed'
|
192
|
+
},
|
193
|
+
label: {
|
194
|
+
formatter: `+1SD: ${sd1Upper.toFixed(2)}`,
|
195
|
+
position: 'insideEndTop'
|
196
|
+
}
|
197
|
+
},
|
198
|
+
{
|
199
|
+
yAxis: sd1Lower,
|
200
|
+
lineStyle: {
|
201
|
+
color: '#faad14',
|
202
|
+
type: 'dashed'
|
203
|
+
},
|
204
|
+
label: {
|
205
|
+
formatter: `-1SD: ${sd1Lower.toFixed(2)}`,
|
206
|
+
position: 'insideEndBottom'
|
207
|
+
}
|
208
|
+
},
|
209
|
+
{
|
210
|
+
yAxis: sd2Upper,
|
211
|
+
lineStyle: {
|
212
|
+
color: '#ff7a45',
|
213
|
+
type: 'dashed'
|
214
|
+
},
|
215
|
+
label: {
|
216
|
+
formatter: `+2SD: ${sd2Upper.toFixed(2)}`,
|
217
|
+
position: 'insideEndTop'
|
218
|
+
}
|
219
|
+
},
|
220
|
+
{
|
221
|
+
yAxis: sd2Lower,
|
222
|
+
lineStyle: {
|
223
|
+
color: '#ff7a45',
|
224
|
+
type: 'dashed'
|
225
|
+
},
|
226
|
+
label: {
|
227
|
+
formatter: `-2SD: ${sd2Lower.toFixed(2)}`,
|
228
|
+
position: 'insideEndBottom'
|
229
|
+
}
|
230
|
+
},
|
231
|
+
{
|
232
|
+
yAxis: sd3Upper,
|
233
|
+
lineStyle: {
|
234
|
+
color: '#ff4d4f',
|
235
|
+
type: 'dashed'
|
236
|
+
},
|
237
|
+
label: {
|
238
|
+
formatter: `+3SD: ${sd3Upper.toFixed(2)}`,
|
239
|
+
position: 'insideEndTop'
|
240
|
+
}
|
241
|
+
},
|
242
|
+
{
|
243
|
+
yAxis: sd3Lower,
|
244
|
+
lineStyle: {
|
245
|
+
color: '#ff4d4f',
|
246
|
+
type: 'dashed'
|
247
|
+
},
|
248
|
+
label: {
|
249
|
+
formatter: `-3SD: ${sd3Lower.toFixed(2)}`,
|
250
|
+
position: 'insideEndBottom'
|
251
|
+
}
|
252
|
+
}
|
253
|
+
]
|
254
|
+
}
|
255
|
+
}
|
256
|
+
]
|
257
|
+
}
|
258
|
+
option && myChart.setOption(option)
|
259
|
+
}
|
260
|
+
},
|
261
|
+
watch: {
|
262
|
+
queryParamsName: {
|
263
|
+
deep: true,
|
264
|
+
immediate: true,
|
265
|
+
handler (val) {
|
266
|
+
console.log('queryParamsName', val)
|
267
|
+
this.initDome(val, {})
|
268
|
+
}
|
269
|
+
}
|
270
|
+
}
|
271
|
+
}
|
272
|
+
</script>
|
273
|
+
|
274
|
+
<style scoped lang="less">
|
275
|
+
|
276
|
+
</style>
|
@@ -0,0 +1,276 @@
|
|
1
|
+
<template>
|
2
|
+
<div ref="main" :style="{width: config.width, height: config.height}">
|
3
|
+
</div>
|
4
|
+
</template>
|
5
|
+
|
6
|
+
<script>
|
7
|
+
import * as echarts from 'echarts'
|
8
|
+
import { getConfigByName, runLogic } from '@vue2-client/services/api/common'
|
9
|
+
|
10
|
+
export default {
|
11
|
+
name: 'XChart',
|
12
|
+
props: {
|
13
|
+
// 配置名
|
14
|
+
queryParamsName: {
|
15
|
+
type: String,
|
16
|
+
default: ''
|
17
|
+
},
|
18
|
+
// 服务名
|
19
|
+
serviceName: {
|
20
|
+
type: String,
|
21
|
+
default: 'af-his'
|
22
|
+
}
|
23
|
+
},
|
24
|
+
data () {
|
25
|
+
return {
|
26
|
+
data: [],
|
27
|
+
// 配置项
|
28
|
+
config: {},
|
29
|
+
// 标准值
|
30
|
+
standardValue: 0,
|
31
|
+
// 标准差
|
32
|
+
sd: 0
|
33
|
+
}
|
34
|
+
},
|
35
|
+
mounted () {},
|
36
|
+
methods: {
|
37
|
+
initDome (queryParamsName, parameter) {
|
38
|
+
getConfigByName(queryParamsName, 'af-his', async (res) => {
|
39
|
+
this.config = res
|
40
|
+
console.log('res', res)
|
41
|
+
runLogic(res.data, parameter, 'af-his').then(result => {
|
42
|
+
this.standardValue = result[0][this.config.standardValue]
|
43
|
+
this.sd = result[0].sd
|
44
|
+
const listData = result.map(item => [item.x, item.y])
|
45
|
+
this.data = listData
|
46
|
+
this.renderChart()
|
47
|
+
})
|
48
|
+
})
|
49
|
+
},
|
50
|
+
// 渲染图表
|
51
|
+
renderChart () {
|
52
|
+
const chartDom = this.$refs.main
|
53
|
+
const myChart = echarts.init(chartDom)
|
54
|
+
|
55
|
+
// 计算控制线
|
56
|
+
const centerLine = this.standardValue
|
57
|
+
const sd1Upper = centerLine + this.sd
|
58
|
+
const sd1Lower = centerLine - this.sd
|
59
|
+
const sd2Upper = centerLine + 2 * this.sd
|
60
|
+
const sd2Lower = centerLine - 2 * this.sd
|
61
|
+
const sd3Upper = centerLine + 3 * this.sd
|
62
|
+
const sd3Lower = centerLine - 3 * this.sd
|
63
|
+
|
64
|
+
// 计算y轴范围,让靶值居中
|
65
|
+
const dataMin = Math.min(...this.data.map(item => item[1]))
|
66
|
+
const dataMax = Math.max(...this.data.map(item => item[1]))
|
67
|
+
const range = Math.max(dataMax - centerLine, centerLine - dataMin, this.sd * 4)
|
68
|
+
const yMin = centerLine - range
|
69
|
+
const yMax = centerLine + range
|
70
|
+
|
71
|
+
const option = {
|
72
|
+
title: {
|
73
|
+
text: this.config.title,
|
74
|
+
subtext: this.config.subtext,
|
75
|
+
left: 'center',
|
76
|
+
textStyle: {
|
77
|
+
fontSize: 16,
|
78
|
+
fontWeight: 'bold'
|
79
|
+
},
|
80
|
+
subtextStyle: {
|
81
|
+
fontSize: 12,
|
82
|
+
color: '#666'
|
83
|
+
}
|
84
|
+
},
|
85
|
+
legend: {
|
86
|
+
bottom: 10,
|
87
|
+
data: ['测量值', '中心线', '±1SD', '±2SD', '±3SD']
|
88
|
+
},
|
89
|
+
tooltip: {
|
90
|
+
trigger: 'axis',
|
91
|
+
axisPointer: {
|
92
|
+
type: 'cross'
|
93
|
+
},
|
94
|
+
formatter: function (params) {
|
95
|
+
let result = `第${params[0].data[0]}次测量<br/>`
|
96
|
+
params.forEach(param => {
|
97
|
+
if (param.seriesName === '测量值') {
|
98
|
+
result += `${param.seriesName}: ${param.data[1]}<br/>`
|
99
|
+
}
|
100
|
+
})
|
101
|
+
return result
|
102
|
+
}
|
103
|
+
},
|
104
|
+
grid: {
|
105
|
+
left: '10%',
|
106
|
+
right: '10%',
|
107
|
+
top: '15%',
|
108
|
+
bottom: '15%'
|
109
|
+
},
|
110
|
+
xAxis: {
|
111
|
+
type: 'category',
|
112
|
+
name: '测量次数',
|
113
|
+
nameLocation: 'middle',
|
114
|
+
nameGap: 30,
|
115
|
+
axisLine: {
|
116
|
+
lineStyle: {
|
117
|
+
color: '#333'
|
118
|
+
}
|
119
|
+
},
|
120
|
+
axisTick: {
|
121
|
+
show: true
|
122
|
+
},
|
123
|
+
splitLine: {
|
124
|
+
show: false
|
125
|
+
}
|
126
|
+
},
|
127
|
+
yAxis: {
|
128
|
+
type: 'value',
|
129
|
+
name: this.config.formatter,
|
130
|
+
nameLocation: 'middle',
|
131
|
+
nameGap: 50,
|
132
|
+
show: true,
|
133
|
+
axisLine: {
|
134
|
+
show: true,
|
135
|
+
lineStyle: {
|
136
|
+
color: '#333'
|
137
|
+
}
|
138
|
+
},
|
139
|
+
axisTick: {
|
140
|
+
show: true
|
141
|
+
},
|
142
|
+
axisLabel: {
|
143
|
+
show: true
|
144
|
+
},
|
145
|
+
min: yMin,
|
146
|
+
max: yMax,
|
147
|
+
splitLine: {
|
148
|
+
show: true,
|
149
|
+
lineStyle: {
|
150
|
+
type: 'dashed',
|
151
|
+
color: '#ddd'
|
152
|
+
}
|
153
|
+
}
|
154
|
+
},
|
155
|
+
series: [
|
156
|
+
{
|
157
|
+
name: '测量值',
|
158
|
+
type: 'line',
|
159
|
+
data: this.data,
|
160
|
+
symbol: 'circle',
|
161
|
+
symbolSize: 8,
|
162
|
+
lineStyle: {
|
163
|
+
color: '#1890ff',
|
164
|
+
width: 2
|
165
|
+
},
|
166
|
+
itemStyle: {
|
167
|
+
color: '#1890ff',
|
168
|
+
borderColor: '#fff',
|
169
|
+
borderWidth: 2
|
170
|
+
},
|
171
|
+
markLine: {
|
172
|
+
silent: true,
|
173
|
+
symbol: 'none',
|
174
|
+
lineStyle: {
|
175
|
+
color: '#52c41a',
|
176
|
+
width: 2,
|
177
|
+
type: 'solid'
|
178
|
+
},
|
179
|
+
data: [
|
180
|
+
{
|
181
|
+
yAxis: centerLine,
|
182
|
+
label: {
|
183
|
+
formatter: `中心线: ${centerLine}`,
|
184
|
+
position: 'insideEndTop'
|
185
|
+
}
|
186
|
+
},
|
187
|
+
{
|
188
|
+
yAxis: sd1Upper,
|
189
|
+
lineStyle: {
|
190
|
+
color: '#faad14',
|
191
|
+
type: 'dashed'
|
192
|
+
},
|
193
|
+
label: {
|
194
|
+
formatter: `+1SD: ${sd1Upper.toFixed(2)}`,
|
195
|
+
position: 'insideEndTop'
|
196
|
+
}
|
197
|
+
},
|
198
|
+
{
|
199
|
+
yAxis: sd1Lower,
|
200
|
+
lineStyle: {
|
201
|
+
color: '#faad14',
|
202
|
+
type: 'dashed'
|
203
|
+
},
|
204
|
+
label: {
|
205
|
+
formatter: `-1SD: ${sd1Lower.toFixed(2)}`,
|
206
|
+
position: 'insideEndBottom'
|
207
|
+
}
|
208
|
+
},
|
209
|
+
{
|
210
|
+
yAxis: sd2Upper,
|
211
|
+
lineStyle: {
|
212
|
+
color: '#ff7a45',
|
213
|
+
type: 'dashed'
|
214
|
+
},
|
215
|
+
label: {
|
216
|
+
formatter: `+2SD: ${sd2Upper.toFixed(2)}`,
|
217
|
+
position: 'insideEndTop'
|
218
|
+
}
|
219
|
+
},
|
220
|
+
{
|
221
|
+
yAxis: sd2Lower,
|
222
|
+
lineStyle: {
|
223
|
+
color: '#ff7a45',
|
224
|
+
type: 'dashed'
|
225
|
+
},
|
226
|
+
label: {
|
227
|
+
formatter: `-2SD: ${sd2Lower.toFixed(2)}`,
|
228
|
+
position: 'insideEndBottom'
|
229
|
+
}
|
230
|
+
},
|
231
|
+
{
|
232
|
+
yAxis: sd3Upper,
|
233
|
+
lineStyle: {
|
234
|
+
color: '#ff4d4f',
|
235
|
+
type: 'dashed'
|
236
|
+
},
|
237
|
+
label: {
|
238
|
+
formatter: `+3SD: ${sd3Upper.toFixed(2)}`,
|
239
|
+
position: 'insideEndTop'
|
240
|
+
}
|
241
|
+
},
|
242
|
+
{
|
243
|
+
yAxis: sd3Lower,
|
244
|
+
lineStyle: {
|
245
|
+
color: '#ff4d4f',
|
246
|
+
type: 'dashed'
|
247
|
+
},
|
248
|
+
label: {
|
249
|
+
formatter: `-3SD: ${sd3Lower.toFixed(2)}`,
|
250
|
+
position: 'insideEndBottom'
|
251
|
+
}
|
252
|
+
}
|
253
|
+
]
|
254
|
+
}
|
255
|
+
}
|
256
|
+
]
|
257
|
+
}
|
258
|
+
option && myChart.setOption(option)
|
259
|
+
}
|
260
|
+
},
|
261
|
+
watch: {
|
262
|
+
queryParamsName: {
|
263
|
+
deep: true,
|
264
|
+
immediate: true,
|
265
|
+
handler (val) {
|
266
|
+
console.log('queryParamsName', val)
|
267
|
+
this.initDome(val, {})
|
268
|
+
}
|
269
|
+
}
|
270
|
+
}
|
271
|
+
}
|
272
|
+
</script>
|
273
|
+
|
274
|
+
<style scoped lang="less">
|
275
|
+
|
276
|
+
</style>
|