* 获取多选状态
(fullDate)
| 278 | * 获取多选状态 |
| 279 | */ |
| 280 | setMultiple(fullDate) { |
| 281 | let { |
| 282 | before, |
| 283 | after |
| 284 | } = this.multipleStatus |
| 285 | |
| 286 | if (!this.range) return |
| 287 | if (before && after) { |
| 288 | this.multipleStatus.before = '' |
| 289 | this.multipleStatus.after = '' |
| 290 | this.multipleStatus.data = [] |
| 291 | } else { |
| 292 | if (!before) { |
| 293 | this.multipleStatus.before = fullDate |
| 294 | } else { |
| 295 | this.multipleStatus.after = fullDate |
| 296 | if (this.dateCompare(this.multipleStatus.before, this.multipleStatus.after)) { |
| 297 | this.multipleStatus.data = this.geDateAll(this.multipleStatus.before, this.multipleStatus.after); |
| 298 | } else { |
| 299 | this.multipleStatus.data = this.geDateAll(this.multipleStatus.after, this.multipleStatus.before); |
| 300 | } |
| 301 | } |
| 302 | } |
| 303 | this._getWeek(fullDate) |
| 304 | } |
| 305 | |
| 306 | /** |
| 307 | * 获取每周数据 |
nothing calls this directly
no test coverage detected