This commit is contained in:
yuping
2023-06-12 12:25:05 +08:00
23 changed files with 20 additions and 46 deletions

View File

@@ -947,9 +947,9 @@
<a-range-picker
style="width: 440px; height: 40px; border-radius: 8px"
:show-time="{ format: 'HH:mm' }"
:disabled-date="disabledDate"
format="YYYY-MM-DD HH:mm"
v-model:value="xjkkinputV3"
@change="timeChange"
separator="至"
:placeholder="[' 开始时间', ' 结束时间']"
/>
@@ -2816,6 +2816,10 @@ export default defineComponent({
codeType: null, //二维码类型
});
function timeChange(time, timeStr) {
state.duration || (state.duration = dayjs(timeStr[1]).diff(dayjs(timeStr[0]),'minute'))
}
function findClassFullName(list, classify, name = "") {
return (
(list &&
@@ -5016,6 +5020,7 @@ export default defineComponent({
logW,
logT,
qrcodeVisible,
timeChange
};
},
});