| | |
| | | { day: 7, time_range: [{ start: "00:00", end: "24:00" }] } |
| | | ] |
| | | |
| | | |
| | | export default class VideoManageData { |
| | | public SepTasks: Array<object> = []; |
| | | public TimeRules: Array<object> = []; |
| | |
| | | // this.getAllSeparateTasks(); |
| | | this.getTimeRule(); |
| | | this.getDictionary(); |
| | | this.getTagList(); |
| | | // this.getTagList(); |
| | | } |
| | | |
| | | public async getTimeRule() { |
| | | let rsp: any = await getAllTimeRule(); |
| | | console.log(rsp); |
| | | |
| | | if (rsp && rsp.success) { |
| | | this.TimeRules = rsp.data; |
| | | this.TimeRuleSum = rsp.data.length |
| | | this.TimeRules = rsp.data.timeRules; |
| | | this.TimeRuleSum = this.TimeRules.length |
| | | } |
| | | |
| | | // 添加一条默认规则 |