|
@@ -36,18 +36,7 @@
|
|
<a-range-picker
|
|
<a-range-picker
|
|
v-model:value="pickerFilter"
|
|
v-model:value="pickerFilter"
|
|
@change="switchDate"
|
|
@change="switchDate"
|
|
- :ranges="{
|
|
|
|
- 本日: [moment(), moment()],
|
|
|
|
- 近7日: [moment().subtract(7, 'd'), moment()],
|
|
|
|
- 近14日: [moment().subtract(14, 'd'), moment()],
|
|
|
|
- 近30日: [moment().subtract(30, 'd'), moment()],
|
|
|
|
- 近3月: [
|
|
|
|
- moment()
|
|
|
|
- .subtract(3, 'month')
|
|
|
|
- .startOf('month'),
|
|
|
|
- moment().startOf('month'),
|
|
|
|
- ],
|
|
|
|
- }"
|
|
|
|
|
|
+ :ranges="rangePick"
|
|
format="YYYY/MM/DD"
|
|
format="YYYY/MM/DD"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
@@ -111,6 +100,8 @@ import ToolBar from "@/components/tool-bar/index.vue";
|
|
import PutData from "@/views/put/put-log.vue";
|
|
import PutData from "@/views/put/put-log.vue";
|
|
import EditableCell from "@/components/edit-cell/index.vue";
|
|
import EditableCell from "@/components/edit-cell/index.vue";
|
|
import usePagination from "@/hooks/usePagination";
|
|
import usePagination from "@/hooks/usePagination";
|
|
|
|
+import {picker} from "@/helper/config/range";
|
|
|
|
+
|
|
import {
|
|
import {
|
|
TableColumnOfPutAdPlan,
|
|
TableColumnOfPutAdPlan,
|
|
ALLCloumnList,
|
|
ALLCloumnList,
|
|
@@ -151,6 +142,7 @@ const PutAdPlan = defineComponent({
|
|
optionList: opList,
|
|
optionList: opList,
|
|
defaultColumns: TableColumnOfPutAdPlan,
|
|
defaultColumns: TableColumnOfPutAdPlan,
|
|
fields: {},
|
|
fields: {},
|
|
|
|
+ rangePick:picker
|
|
});
|
|
});
|
|
getAddStatus().then((res) => {
|
|
getAddStatus().then((res) => {
|
|
state.optionList = res.data;
|
|
state.optionList = res.data;
|