|
@@ -10,6 +10,7 @@
|
|
|
type="date"
|
|
|
placeholder="请选择日期"
|
|
|
value-format="YYYY-MM-DD"
|
|
|
+ :disabled-date="pickerOptions"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="频道">
|
|
@@ -30,9 +31,6 @@
|
|
|
<el-button type="primary" @click="getData">查询</el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
- </el-card>
|
|
|
- <br />
|
|
|
- <el-card>
|
|
|
<div style="padding: 0 100px">
|
|
|
<div style="position: relative;">
|
|
|
<video
|
|
@@ -165,6 +163,13 @@ export default {
|
|
|
},
|
|
|
computed: {},
|
|
|
methods: {
|
|
|
+ pickerOptions(d) {
|
|
|
+ let startDate = new Date("2022/04/11").getTime(),
|
|
|
+ nowDate = d.getTime();
|
|
|
+ startDate = startDate - (startDate % 86400000);
|
|
|
+ nowDate = nowDate - (nowDate % 86400000);
|
|
|
+ return nowDate < startDate;
|
|
|
+ },
|
|
|
getData() {
|
|
|
if (!this.load) this.load = ElLoading.default.service();
|
|
|
let item = {},
|