Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
components: {
AGridContent: GridContent,
ACard: Card,
ARow: Row,
ACol: Col,
AChartCard: ChartCard,
AField: Field,
ATooltip: Tooltip,
AIcon: Icon,
ATrend: Trend,
AMiniProgress: MiniProgress,
// AMiniBar: MiniBar,
// AMiniArea: MiniArea,
ATabs: Tabs,
ATabPane: Tabs.TabPane,
ARangePicker: DatePicker.RangePicker,
ANumberInfo: NumberInfo
},
methods: {
yuan,
numeral
}
};
<style lang="less"></style>
ACard: Card,
ACardGrid: Card.Grid,
ACardMeta: Card.Meta,
AList: List,
AButton: Button,
AForm: Form,
AFormItem: Form.Item,
AIcon: Icon,
ATable: Table,
ADescriptionItem: DescriptionItem,
ADivider: Divider,
ADropdown: Dropdown,
AInput: Input,
ASelect: Select,
AOption: Select.Option,
ARangePicker: DatePicker.RangePicker,
},
methods: {
toggleForm() {
this.expandForm = !this.expandForm;
},
onSelectChange (selectedRowKeys) {
console.log('selectedRowKeys changed: ', selectedRowKeys);
this.selectedRowKeys = selectedRowKeys
},
handleTableChange(pagination, filters, sorter) {
const pager = { ...this.users.pagination };
pager.current = pagination.current;
this.users.pagination = pager;
this.$options.asyncData(
{ store: this.$store, route: this.$route },
{
Input, Select, Form, TimePicker, DatePicker, Cascader, Row, Col, Button, Modal, Checkbox, Radio,
} from 'ant-design-vue';
import { FilterFormList, tableList } from '@/interface';
import './MFilter.less';
@Component({
components: {
'a-input': Input,
'a-option': Select.Option,
'a-select': Select,
'a-form': Form,
'a-form-item': Form.Item,
'a-time-picker': TimePicker,
'a-date-picker': DatePicker,
'a-range-picker': DatePicker.RangePicker,
'a-cascader': Cascader,
'a-row': Row,
'a-col': Col,
'a-button': Button,
'a-modal': Modal,
'a-radio-group': Radio.Group,
'a-radio-button': Radio.Button,
'a-checkbox-group': Checkbox.Group,
'a-checkbox': Checkbox,
},
props: {
Form,
},
})
class MFilterClass extends Vue {