|
|
@@ -0,0 +1,83 @@
|
|
|
+<template>
|
|
|
+ <!-- 现货合同: 履约中-->
|
|
|
+ <div class="spot-contract-performance">
|
|
|
+ 客户信息: 履约中
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script lang="ts">
|
|
|
+import { defineComponent, ref } from 'vue';
|
|
|
+import { QueryCustomInfo } from '@/goServiceAPI/ermcp/customInfo/index';
|
|
|
+import { QueryCustomInfoType } from '@/goServiceAPI/ermcp/customInfo/interface';
|
|
|
+import { message } from 'ant-design-vue';
|
|
|
+import { initData } from '@/setup/methods/index';
|
|
|
+
|
|
|
+// 查询客户资料列表
|
|
|
+function getCustomList() {
|
|
|
+ // const filteredInfo = ref();
|
|
|
+ // const sortedInfo = ref();
|
|
|
+ // const columns = computed(() => {
|
|
|
+ // const filtered = filteredInfo.value || {};
|
|
|
+ // const sorted = sortedInfo.value || {};
|
|
|
+ // return [
|
|
|
+ // {
|
|
|
+ // title: '序号',
|
|
|
+ // dataIndex: 'index',
|
|
|
+ // key: 'index',
|
|
|
+ // align: 'center',
|
|
|
+ // width: 50,
|
|
|
+ // customRender: (param: any) => `${param.index + 1}`,
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: 'Age',
|
|
|
+ // dataIndex: 'age',
|
|
|
+ // key: 'age',
|
|
|
+ // sorter: (a: DataItem, b: DataItem) => a.age - b.age,
|
|
|
+ // sortOrder: sorted.columnKey === 'age' && sorted.order,
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // title: 'Address',
|
|
|
+ // dataIndex: 'address',
|
|
|
+ // key: 'address',
|
|
|
+ // filters: [
|
|
|
+ // { text: 'London', value: 'London' },
|
|
|
+ // { text: 'New York', value: 'New York' },
|
|
|
+ // ],
|
|
|
+ // filteredValue: filtered.address || null,
|
|
|
+ // onFilter: (value: string, record: DataItem) => record.address.includes(value),
|
|
|
+ // sorter: (a: DataItem, b: DataItem) => a.address.length - b.address.length,
|
|
|
+ // sortOrder: sorted.columnKey === 'address' && sorted.order,
|
|
|
+ // ellipsis: true,
|
|
|
+ // },
|
|
|
+ // ];
|
|
|
+ // });
|
|
|
+ const customList = ref<QueryCustomInfoType[]>([]);
|
|
|
+ function actionQuery() {
|
|
|
+ QueryCustomInfo(4)
|
|
|
+ .then((res) => {
|
|
|
+ console.log('L', res);
|
|
|
+ })
|
|
|
+ .catch((err) => message.error(err));
|
|
|
+ }
|
|
|
+
|
|
|
+ return { customList, actionQuery };
|
|
|
+}
|
|
|
+
|
|
|
+export default defineComponent({
|
|
|
+ name: 'spot-contract-performance',
|
|
|
+ components: {},
|
|
|
+ setup() {
|
|
|
+ const { customList, actionQuery } = getCustomList();
|
|
|
+ initData(() => {
|
|
|
+ actionQuery();
|
|
|
+ // 加载数据在这里
|
|
|
+ });
|
|
|
+ return { customList };
|
|
|
+ },
|
|
|
+});
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="less">
|
|
|
+.spot-contract-performance {
|
|
|
+}
|
|
|
+</style>;
|