baigl #393

Merged
baigl merged 10 commits from baigl into main 2024-11-08 09:58:38 +08:00
1 changed files with 1 additions and 20 deletions
Showing only changes of commit 1cc0bf965e - Show all commits

View File

@ -5,20 +5,6 @@
<el-segmented v-model="tabActive" block :options="tabOptions" size="large" />
</div>
<div v-if="tabActive === '已批改'">
<div class="demo-date-picker">
<div class="block">
<el-date-picker
v-model="EndDate"
type="date"
format="YYYY-MM-DD"
value-format="YYYY-MM-DD"
placeholder="请选择截止日期"
size="large"
:disabled-date="disabledDate"
@change="changeEndDate"
/>
</div>
</div>
<div class="demo-date-picker">
<el-date-picker
v-model="startEndDate"
@ -89,7 +75,6 @@ const userStore = useUserStore().user
const tabOptions = ref(['待批改', '已批改'])
const tabActive = ref('待批改')
const dataList = ref([])
const EndDate = ref(getCurrentTime('YYYY-MM-DD'))
// 23
const startEndDate = ref([
getTheOtherDay(3),
@ -125,11 +110,7 @@ const doneDataList = computed(() => {
const disabledDate = (time) => {
return time.getTime() > Date.now()
}
//
const changeEndDate = (val) => {
console.log('截止日期改变', val)
getData() //
}
const changeStartEndDate = (val) => {
console.log('起止日期改变', val)
getData() //