Commit da76829e by Lin

feat: BI事项管理筛选栏交互及数据联调

1 parent 5ca63077
......@@ -200,10 +200,10 @@
},
{
label: "创建日期",
name: "reportDate",
name: "createdDate",
type: "datePicker",
isClear: true,
pickerOptions: "rangePickertwoMonthOptionsWithCurrentLimit"
pickerOptions: "rangePickerOptions"
},
{
label: "创建人",
......@@ -220,11 +220,10 @@
currentPage: 1
},
searchForm: {
customerStatus: "",
sellerMerchantId: "",
merchantId: "",
createdDate: [new Date().getTime() - 3600 * 1000 * 24 * 90, new Date()],
reportDate: []
auditStatus: "",
merchantIds: "",
createdDate: [],
createName: ""
},
searchFormSearch: {},
getListApi: getReportList,
......@@ -500,17 +499,6 @@
beforeSearchFn(type = 1) {
return new Promise((resolve, reject) => {
this.searchFormSearch = deepClone(this.searchForm)
if (this.searchForm?.reportDate?.length) {
const [searchStartDate, searchEndDate] = this.searchForm.reportDate
this.searchFormSearch.reportStartDate = Util.dateFormate(
searchStartDate,
"YYYY-MM-DD"
)
this.searchFormSearch.reportEndDate = Util.dateFormate(
searchEndDate,
"YYYY-MM-DD"
)
}
if (this.searchForm?.createdDate?.length) {
const [searchStartDate, searchEndDate] = this.searchForm.createdDate
this.searchFormSearch.createdStartDate = Util.dateFormate(
......@@ -522,7 +510,6 @@
"YYYY-MM-DD HH:mm"
)
}
delete this.searchFormSearch.reportDate
delete this.searchFormSearch.createdDate
resolve()
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!