bug
jiangping
2023-12-06 1f4e7d0f73a73e7350cf5a1df279d5f30904c5d5
platform_web/src/views/business/workbench.vue
@@ -18,7 +18,9 @@
            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">
@@ -90,6 +92,12 @@
      })
  },
  methods: {
    dataChange(v) {
      console.log(v);
      this.searchForm.startDate = v[0]
      this.searchForm.endDate = v[1]
      this.getList()
    },
    getList() {
      getActivityLoginVOList(this.searchForm)
        .then(res => {
@@ -122,7 +130,7 @@
        yAxis: {},
        series: [
          {
            name: '销量',
            name: '登录次数',
            type: 'line',
            data: num
          }