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