| | |
| | | }; |
| | | // 日期选择 |
| | | const changeselect = () => { |
| | | params.value.start_date = taskData.value.length ? `${taskData.value[0]} 00:00:00` : null; |
| | | params.value.end_date = taskData.value.length ? `${taskData.value[1]} 23:59:59` : null; |
| | | params.value.start_date = taskData.value?.length ? `${taskData.value[0]} 00:00:00` : null; |
| | | params.value.end_date = taskData.value?.length ? `${taskData.value[1]} 23:59:59` : null; |
| | | }; |
| | | // 处理日期清空 |
| | | const handleDateClear = () => { |
| | |
| | | getList(); |
| | | }; |
| | | const handleSearch = () => { |
| | | // console.log('taskData',taskData.value); |
| | | if(taskData.value === null){ |
| | | params.value.start_date = null; // 重置开始日期参数 |
| | | params.value.end_date = null; // 重置结束日期参数 |
| | | } |
| | | |
| | | getList(); |
| | | |
| | | }; |
| | |
| | | activeItem.value = null; |
| | | params.value.current =1 |
| | | params.value.size=15 |
| | | params.value.name='' |
| | | }; |
| | | // 分页大小改变 |
| | | const handleSizeChange = val => { |
| | |
| | | &:hover { |
| | | background: url('/src/assets/images/ht-sfbg-hover.png') no-repeat center; |
| | | background-size: 100% 100%; |
| | | cursor: pointer; |
| | | } |
| | | &.active-bg { |
| | | background: url('/src/assets/images/ht-sfbg-click.png') no-repeat center; |