更新
This commit is contained in:
@ -88,12 +88,8 @@ import { reactive, ref, getCurrentInstance } from "vue";
|
||||
const { proxy } = getCurrentInstance();
|
||||
const { SGXTQTSQLX } = proxy.$dict("SGXTQTSQLX"); //获取字典数据
|
||||
const emits = defineEmits(['close'])
|
||||
const listQuery = ref({
|
||||
dateRange:timeSlotChange('天'),
|
||||
hskssj:timeSlotChange('天')[0]+' 00:00:00',
|
||||
hsjssj:timeSlotChange('天')[1]+' 23:59:59',
|
||||
});
|
||||
const active = ref(0);
|
||||
const listQuery = ref({});
|
||||
const active = ref(-1);
|
||||
const time = reactive([
|
||||
{ label: "今天", value: "10" },
|
||||
{ label: "本周", value: "20" },
|
||||
@ -154,11 +150,11 @@ const onSearch = (val) =>{
|
||||
loadDate()
|
||||
}
|
||||
const reset = (val) =>{
|
||||
active.value = 0;
|
||||
listQuery.value = {};
|
||||
listQuery.value.dateRange = timeSlotChange('天');
|
||||
listQuery.value.hskssj = timeSlotChange('天')[0] + ' 00:00:00';
|
||||
listQuery.value.hsjssj = timeSlotChange('天')[1] + ' 23:59:59';
|
||||
active.value = -1;
|
||||
listQuery.value.dateRange = '';
|
||||
listQuery.value.hskssj = '';
|
||||
listQuery.value.hsjssj = '';
|
||||
loadDate()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user