From 330f626672f9f6e0f8ecd97ded451a48fce0ec3a Mon Sep 17 00:00:00 2001 From: ChenQiuYu Date: Wed, 21 May 2025 17:22:55 +0800 Subject: [PATCH] dev --- src/components/charge/ChargeQueue.vue | 6 +- src/components/charge/RecordsLog/Quick.vue | 136 +++++++++++++++++++++ src/components/common/Mask.vue | 16 +-- src/components/registration/Edit.vue | 23 +++- src/views/registration/index.vue | 2 +- 5 files changed, 166 insertions(+), 17 deletions(-) create mode 100644 src/components/charge/RecordsLog/Quick.vue diff --git a/src/components/charge/ChargeQueue.vue b/src/components/charge/ChargeQueue.vue index aec4581..c2ecf89 100644 --- a/src/components/charge/ChargeQueue.vue +++ b/src/components/charge/ChargeQueue.vue @@ -99,7 +99,7 @@ const ChargeQueueList = ref([]); const editRef = ref() const addChargeOrder = () => { nextTick(() => { - editRef.value?.init(null, null) + editRef.value?.init(null, null, true) }) } const clickFirst = () => { @@ -278,6 +278,7 @@ const selected = ref(false) width: 26px; height: 100%; margin-right: 10px; + .avatar { margin-top: 11px; width: 26px; @@ -297,7 +298,8 @@ const selected = ref(false) .item-time { width: 80px; } - .item-status{ + + .item-status { width: 40px; } diff --git a/src/components/charge/RecordsLog/Quick.vue b/src/components/charge/RecordsLog/Quick.vue new file mode 100644 index 0000000..e084d4d --- /dev/null +++ b/src/components/charge/RecordsLog/Quick.vue @@ -0,0 +1,136 @@ + + + + + \ No newline at end of file diff --git a/src/components/common/Mask.vue b/src/components/common/Mask.vue index a84fee7..9a95d3e 100644 --- a/src/components/common/Mask.vue +++ b/src/components/common/Mask.vue @@ -7,8 +7,8 @@ let _height = ref(0); let _isShow = ref(false); let _close = ref(true); let _showFooter = ref(false); -const width_rem=ref(); -const height_rem=ref(); +const width_rem = ref(); +const height_rem = ref(); const { width, height, @@ -35,11 +35,11 @@ watch( () => height, (newVal) => { _height.value = newVal == null ? 800 : Number(newVal); - height_rem.value =(_height.value/16).toFixed(2); - },{deep:true} + height_rem.value = (_height.value / 16).toFixed(2); + }, {deep: true} ); -width_rem.value=(_width.value/16).toFixed(2); -height_rem.value=(_height.value/16).toFixed(2); +width_rem.value = (_width.value / 16).toFixed(2); +height_rem.value = (_height.value / 16).toFixed(2); - +