|  |  |  | 
|---|
|  |  |  | type="daterange" | 
|---|
|  |  |  | start-placeholder="开始日期" | 
|---|
|  |  |  | end-placeholder="结束日期" | 
|---|
|  |  |  | :default-time="['00:00:00', '23:59:59']"> | 
|---|
|  |  |  | value-format="yyyy-MM-dd" | 
|---|
|  |  |  | @change="dataChange" | 
|---|
|  |  |  | > | 
|---|
|  |  |  | </el-date-picker> | 
|---|
|  |  |  | <div style="width: 5px;"></div> | 
|---|
|  |  |  | <el-select v-model="searchForm.orgin" placeholder="请选择登录来源" clearable @change="getList"> | 
|---|
|  |  |  | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | methods: { | 
|---|
|  |  |  | dataChange(v) { | 
|---|
|  |  |  | console.log(v); | 
|---|
|  |  |  | this.searchForm.startDate = v[0] | 
|---|
|  |  |  | this.searchForm.endDate = v[1] | 
|---|
|  |  |  | this.getList() | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | getList() { | 
|---|
|  |  |  | getActivityLoginVOList(this.searchForm) | 
|---|
|  |  |  | .then(res => { | 
|---|
|  |  |  | 
|---|
|  |  |  | yAxis: {}, | 
|---|
|  |  |  | series: [ | 
|---|
|  |  |  | { | 
|---|
|  |  |  | name: '销量', | 
|---|
|  |  |  | name: '登录次数', | 
|---|
|  |  |  | type: 'line', | 
|---|
|  |  |  | data: num | 
|---|
|  |  |  | } | 
|---|