|
|
@@ -73,7 +73,6 @@ import { formatDate } from '@/filters'
|
|
|
import { useOperation } from '@/hooks/operation'
|
|
|
import { useUserStore } from '@/stores'
|
|
|
import { getReportTypeList, ReportType, getQuarterList } from '@/constants/report'
|
|
|
-import { queryCommonFlag } from '@/services/api/account'
|
|
|
import AppTable from '@pc/components/base/table/index.vue'
|
|
|
import AppPagination from '@pc/components/base/pagination/index.vue'
|
|
|
import AppOperation from '@pc/components/base/operation/index.vue'
|
|
|
@@ -94,6 +93,7 @@ const { componentMap, componentId, record, openComponent, closeComponent, getFil
|
|
|
|
|
|
const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(investorReportQuery, {
|
|
|
params: {
|
|
|
+ cycletype: 0,
|
|
|
pageNum: 1,
|
|
|
pageSize: 20,
|
|
|
orgztypes: userStore.userInfo.orgztypes
|
|
|
@@ -103,13 +103,6 @@ const { dataList, total, pageSize, pageIndex, loading, run } = useRequest(invest
|
|
|
}
|
|
|
})
|
|
|
|
|
|
-useRequest(queryCommonFlag, {
|
|
|
- onSuccess: (res) => {
|
|
|
- queryParams.reckondate = formatDate(res.data.tradedate, 'YYYY-MM-DD')
|
|
|
- queryParams.reckondateend = formatDate(res.data.tradedate, 'YYYY-MM-DD')
|
|
|
- }
|
|
|
-})
|
|
|
-
|
|
|
// 日期类型
|
|
|
const dateType = computed(() => {
|
|
|
switch (queryParams.cycletype) {
|
|
|
@@ -157,7 +150,7 @@ const onTypeChange = (value: ReportType) => {
|
|
|
}
|
|
|
|
|
|
const tableColumns = shallowRef<Model.TableColumn[]>([
|
|
|
- { field: 'reckondate', label: '日期' },
|
|
|
+ { field: 'reckondate', label: '日期', formatValue:((val) => formatDate(val)) },
|
|
|
{ field: 'loginids', label: '登录账号' },
|
|
|
{ field: 'accountid', label: '资金账户' },
|
|
|
{ field: 'accountname', label: '账户名称' },
|