优化网站导航模块
This commit is contained in:
@@ -111,7 +111,7 @@
|
||||
showSorterTooltip: false
|
||||
},
|
||||
{
|
||||
title: '用户',
|
||||
title: '手机号',
|
||||
dataIndex: 'mobile',
|
||||
sorter: true,
|
||||
showSorterTooltip: false
|
||||
|
||||
@@ -52,12 +52,10 @@
|
||||
} from '@ant-design/icons-vue';
|
||||
import useSearch from '@/utils/use-search';
|
||||
import { ref, watch } from 'vue';
|
||||
import { countOrderGoods } from '@/api/apps/statistics';
|
||||
// import { countOrderGoods } from '@/api/apps/statistics';
|
||||
import { message } from 'ant-design-vue';
|
||||
import { utils, writeFile } from 'xlsx';
|
||||
import { Organization } from '@/api/system/organization/model';
|
||||
import { BcExportParam } from '@/api/apps/bc/export/model';
|
||||
import { RechargeOrder } from '@/api/user/recharge/export/model';
|
||||
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
@@ -69,7 +67,7 @@
|
||||
);
|
||||
|
||||
const emit = defineEmits<{
|
||||
(e: 'search', where?: BcExportParam): void;
|
||||
(e: 'search', where?: any): void;
|
||||
(e: 'add'): void;
|
||||
(e: 'remove'): void;
|
||||
(e: 'done'): void;
|
||||
@@ -77,7 +75,7 @@
|
||||
}>();
|
||||
|
||||
// 表单数据
|
||||
const { where, resetFields } = useSearch<BcExportParam>({
|
||||
const { where, resetFields } = useSearch<any>({
|
||||
exportId: undefined,
|
||||
keywords: undefined,
|
||||
organizationName: '',
|
||||
@@ -133,24 +131,24 @@
|
||||
return false;
|
||||
}
|
||||
loading.value = true;
|
||||
countOrderGoods(where)
|
||||
.then((data) => {
|
||||
console.log('data>>>', data);
|
||||
if (data) {
|
||||
post.value = data.post;
|
||||
sign.value = data.sign;
|
||||
noSign.value = data.noSign;
|
||||
} else {
|
||||
post.value = 0;
|
||||
sign.value = 0;
|
||||
noSign.value = 0;
|
||||
}
|
||||
loading.value = false;
|
||||
})
|
||||
.catch((err) => {
|
||||
message.error(err.message);
|
||||
loading.value = false;
|
||||
});
|
||||
// countOrderGoods(where)
|
||||
// .then((data) => {
|
||||
// console.log('data>>>', data);
|
||||
// if (data) {
|
||||
// post.value = data.post;
|
||||
// sign.value = data.sign;
|
||||
// noSign.value = data.noSign;
|
||||
// } else {
|
||||
// post.value = 0;
|
||||
// sign.value = 0;
|
||||
// noSign.value = 0;
|
||||
// }
|
||||
// loading.value = false;
|
||||
// })
|
||||
// .catch((err) => {
|
||||
// message.error(err.message);
|
||||
// loading.value = false;
|
||||
// });
|
||||
};
|
||||
|
||||
// 导出
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
DatasourceFunction,
|
||||
ColumnItem
|
||||
} from 'ele-admin-pro/es/ele-pro-table/types';
|
||||
import Search from './components/search.vue';
|
||||
// import Search from './components/search.vue';
|
||||
// import OrderInfo from './components/order-info.vue';
|
||||
import {
|
||||
pageRechargeOrder,
|
||||
|
||||
Reference in New Issue
Block a user