Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
shenmuApp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhanglw
shenmuApp
Commits
192a8edf
Commit
192a8edf
authored
Nov 03, 2023
by
zhanglw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
‘时间改变重新请求查询接口
; ;
parent
19350d64
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
logData.nvue
shenmu/pages/tabBar/monitor/logData.nvue
+3
-2
No files found.
shenmu/pages/tabBar/monitor/logData.nvue
View file @
192a8edf
<template>
<template>
<view class="uni-container">
<view class="uni-container">
<view style="background-color: white;">
<view style="background-color: white;">
<uni-datetime-picker v-model="dateRange" type="daterange" change="dateRangeHander" />
<uni-datetime-picker v-model="dateRange" type="daterange"
@
change="dateRangeHander" />
<uni-data-select v-model="query.item" :localdata="itemList" :clear="false" @input="loadData"
<uni-data-select v-model="query.item" :localdata="itemList" :clear="false" @input="loadData"
style="text-align: center"></uni-data-select>
style="text-align: center"></uni-data-select>
<uni-search-bar v-model="query.name" class="uni-mt-10 margin0" radius="5" placeholder="输入设备名查询"
<uni-search-bar v-model="query.name" class="uni-mt-10 margin0" radius="5" placeholder="输入设备名查询"
...
@@ -164,7 +164,8 @@
...
@@ -164,7 +164,8 @@
this.loadData()
this.loadData()
},
},
methods: {
methods: {
dateRangeHander(){
dateRangeHander(e){
this.dateRange = e
this.loadData()
this.loadData()
},
},
getDate(date) {
getDate(date) {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment