提交代码
This commit is contained in:
parent
049a415936
commit
5dd9d8b251
|
|
@ -160,6 +160,7 @@ export default {
|
|||
releaseOpen: false,
|
||||
// 查询参数
|
||||
queryParams: {
|
||||
time:[],
|
||||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
datasetName: null,
|
||||
|
|
@ -184,6 +185,12 @@ export default {
|
|||
/**获取数据 **/
|
||||
getList(){
|
||||
this.loading =true
|
||||
if ( this.queryParams.time.length>0){
|
||||
this.queryParams.startTime = parseTime(this.queryParams.time[0])
|
||||
this.queryParams.endTime = parseTime(this.queryParams.time[1])
|
||||
}
|
||||
|
||||
console.log(this.queryParams)
|
||||
list(this.queryParams).then(response => {
|
||||
console.log(response);
|
||||
this.list = response.rows;
|
||||
|
|
|
|||
Loading…
Reference in New Issue