Commit 12c37bf9 authored by liuzhaoh's avatar liuzhaoh

调整页面参数调整

parent 4822f61a
......@@ -1197,7 +1197,10 @@ const disposeWorkSheetDetail = (obj)=> {
// 其他页面跳转当前页面,携带参数初始化
const getInitParams = () => {
if (route.query) {
const { suspendStartTime, suspendEndTime } = route.query;
const { deviceName, suspendStartTime, suspendEndTime } = route.query;
if (deviceName) {
formInline.value.keyword = deviceName;
}
if (suspendStartTime) {
formInline.value.createTime[0] = suspendStartTime;
}
......
......@@ -131,7 +131,7 @@ const form = reactive({
dusterNo: "",
dateValue: [
moment(new Date(new Date().getTime() - 24 * 60 * 60 * 1000 * 10)).format("YYYY-MM-DD") + ' 00:00:00',
moment(new Date()).format("YYYY-MM-DD") + ' 00:00:00',
moment(new Date()).format("YYYY-MM-DD") + ' 23:59:59',
],
});
const startVal = ref(null);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment