列表样式
This commit is contained in:
@ -311,7 +311,7 @@
|
|||||||
today.setHours(0, 0, 0, 0); // 清除时分秒,确保比较时不考虑时间部分
|
today.setHours(0, 0, 0, 0); // 清除时分秒,确保比较时不考虑时间部分
|
||||||
// 获取明天的日期
|
// 获取明天的日期
|
||||||
const tomorrow = new Date();
|
const tomorrow = new Date();
|
||||||
tomorrow.setDate(tomorrow.getDate() + ( 2));
|
tomorrow.setDate(tomorrow.getDate() + (pageType.value?1: 2));
|
||||||
tomorrow.setHours(0, 0, 0, 0); // 清除时分秒
|
tomorrow.setHours(0, 0, 0, 0); // 清除时分秒
|
||||||
// 当前日期小于今天或大于明天,则禁用
|
// 当前日期小于今天或大于明天,则禁用
|
||||||
return current < today || current > tomorrow;
|
return current < today || current > tomorrow;
|
||||||
@ -327,7 +327,7 @@
|
|||||||
watch(
|
watch(
|
||||||
() => props.formObj,
|
() => props.formObj,
|
||||||
(val) => {
|
(val) => {
|
||||||
if (val && !pageType.value) {
|
if (val) {
|
||||||
formState.value = val
|
formState.value = val
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<PageWrapper dense fixedHeight contentFullHeight contentClass="flex Demandtyle">
|
<PageWrapper dense fixedHeight contentFullHeight contentClass="flex" class="Demandtyle">
|
||||||
<BasicTable @register="registerTable" ref="tableRef" @row-dbClick="dbClickRow">
|
<BasicTable @register="registerTable" ref="tableRef" @row-dbClick="dbClickRow">
|
||||||
|
|
||||||
<template #toolbar>
|
<template #toolbar>
|
||||||
@ -552,9 +552,12 @@
|
|||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
.Demandtyle .cusSearchForm .advanceRow> div:nth-of-type(3){
|
.Demandtyle .advanceRow> div:nth-of-type(3){
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
// .Demandtyle .cusSearchForm .advanceRow> div:nth-of-type(2){
|
||||||
|
// display: none;
|
||||||
|
// }
|
||||||
</style>
|
</style>
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
:deep(.ant-table-selection-col) {
|
:deep(.ant-table-selection-col) {
|
||||||
|
|||||||
Reference in New Issue
Block a user