feat(credit): 添加信用模块通用工具栏并优化表格组件
- 新增 CreditSearchToolbar2.vue 组件,提供导出、批量删除、搜索功能 - 在所有信用相关页面中新增主体企业字段显示 - 更新表格组件配置,移除不必要的列宽设置 - 替换旧版搜索工具栏为新的统一工具栏组件 - 在信用客户和用户组件中注释掉导入按钮功能 - 为信用工商登记页面添加横向滚动支持 - 在执行债务人页面新增修正主体企业归属按钮 - 配置开发环境API地址为默认启用状态
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
VITE_APP_NAME=后台管理(开发环境)
|
VITE_APP_NAME=后台管理(开发环境)
|
||||||
#VITE_API_URL=http://127.0.0.1:9200/api
|
VITE_API_URL=http://127.0.0.1:9200/api
|
||||||
#VITE_SERVER_API_URL=http://127.0.0.1:8000/api
|
#VITE_SERVER_API_URL=http://127.0.0.1:8000/api
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
86
src/views/credit/components/CreditSearchToolbar2.vue
Normal file
86
src/views/credit/components/CreditSearchToolbar2.vue
Normal file
@@ -0,0 +1,86 @@
|
|||||||
|
<!-- 信用模块通用工具栏 -->
|
||||||
|
<template>
|
||||||
|
<a-space :size="10" style="flex-wrap: wrap">
|
||||||
|
<a-button class="ele-btn-icon" @click="exportData">
|
||||||
|
<template #icon>
|
||||||
|
<CloudDownloadOutlined />
|
||||||
|
</template>
|
||||||
|
<span>导出</span>
|
||||||
|
</a-button>
|
||||||
|
<a-button
|
||||||
|
danger
|
||||||
|
class="ele-btn-icon"
|
||||||
|
:disabled="!selection?.length"
|
||||||
|
@click="remove"
|
||||||
|
>
|
||||||
|
<template #icon>
|
||||||
|
<DeleteOutlined />
|
||||||
|
</template>
|
||||||
|
<span>批量删除</span>
|
||||||
|
</a-button>
|
||||||
|
<a-input-search
|
||||||
|
allow-clear
|
||||||
|
v-model:value="keywords"
|
||||||
|
placeholder="请输入关键词"
|
||||||
|
style="width: 220px"
|
||||||
|
@search="handleSearch"
|
||||||
|
@pressEnter="handleSearch"
|
||||||
|
/>
|
||||||
|
</a-space>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script lang="ts" setup>
|
||||||
|
import { computed, ref } from 'vue';
|
||||||
|
import {
|
||||||
|
PlusOutlined,
|
||||||
|
CloudUploadOutlined,
|
||||||
|
CloudDownloadOutlined,
|
||||||
|
DeleteOutlined
|
||||||
|
} from '@ant-design/icons-vue';
|
||||||
|
|
||||||
|
const props = withDefaults(
|
||||||
|
defineProps<{
|
||||||
|
selection?: any[];
|
||||||
|
}>(),
|
||||||
|
{
|
||||||
|
selection: () => []
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
const emit = defineEmits<{
|
||||||
|
(e: 'search', where?: { keywords?: string }): void;
|
||||||
|
(e: 'add'): void;
|
||||||
|
(e: 'remove'): void;
|
||||||
|
(e: 'batchMove'): void;
|
||||||
|
(e: 'importData'): void;
|
||||||
|
(e: 'exportData'): void;
|
||||||
|
}>();
|
||||||
|
|
||||||
|
const keywords = ref('');
|
||||||
|
const selection = computed(() => props.selection || []);
|
||||||
|
|
||||||
|
// 新增
|
||||||
|
const add = () => {
|
||||||
|
emit('add');
|
||||||
|
};
|
||||||
|
|
||||||
|
// 搜索
|
||||||
|
const handleSearch = () => {
|
||||||
|
emit('search', { keywords: keywords.value });
|
||||||
|
};
|
||||||
|
|
||||||
|
// 导入
|
||||||
|
const openImport = () => {
|
||||||
|
emit('importData');
|
||||||
|
};
|
||||||
|
|
||||||
|
// 导出
|
||||||
|
const exportData = () => {
|
||||||
|
emit('exportData');
|
||||||
|
};
|
||||||
|
|
||||||
|
// 批量删除
|
||||||
|
const remove = () => {
|
||||||
|
emit('remove');
|
||||||
|
};
|
||||||
|
</script>
|
||||||
@@ -32,6 +32,9 @@
|
|||||||
</a-space>
|
</a-space>
|
||||||
</template>
|
</template>
|
||||||
<template #bodyCell="{ column, record }">
|
<template #bodyCell="{ column, record }">
|
||||||
|
<template v-if="column.key === 'companyName'">
|
||||||
|
{{ record.companyName || '-' }}
|
||||||
|
</template>
|
||||||
<template v-if="column.key === 'image'">
|
<template v-if="column.key === 'image'">
|
||||||
<a-image :src="record.image" :width="50" />
|
<a-image :src="record.image" :width="50" />
|
||||||
</template>
|
</template>
|
||||||
@@ -160,6 +163,11 @@
|
|||||||
key: 'id',
|
key: 'id',
|
||||||
width: 90
|
width: 90
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '主体企业',
|
||||||
|
dataIndex: 'companyName',
|
||||||
|
key: 'companyName'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '决定文书/许可编号',
|
title: '决定文书/许可编号',
|
||||||
dataIndex: 'code',
|
dataIndex: 'code',
|
||||||
|
|||||||
@@ -32,6 +32,9 @@
|
|||||||
|
|
||||||
</template>
|
</template>
|
||||||
<template #bodyCell="{ column, record }">
|
<template #bodyCell="{ column, record }">
|
||||||
|
<template v-if="column.key === 'companyName'">
|
||||||
|
{{ record.companyName || '-' }}
|
||||||
|
</template>
|
||||||
<template v-if="column.key === 'image'">
|
<template v-if="column.key === 'image'">
|
||||||
<a-image :src="record.image" :width="50" />
|
<a-image :src="record.image" :width="50" />
|
||||||
</template>
|
</template>
|
||||||
@@ -154,6 +157,11 @@
|
|||||||
key: 'id',
|
key: 'id',
|
||||||
width: 90
|
width: 90
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '主体企业',
|
||||||
|
dataIndex: 'companyName',
|
||||||
|
key: 'companyName'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '案号',
|
title: '案号',
|
||||||
dataIndex: 'code',
|
dataIndex: 'code',
|
||||||
|
|||||||
@@ -23,6 +23,9 @@
|
|||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<template #bodyCell="{ column, record }">
|
<template #bodyCell="{ column, record }">
|
||||||
|
<template v-if="column.key === 'companyName'">
|
||||||
|
{{ record.companyName || '-' }}
|
||||||
|
</template>
|
||||||
<template v-if="column.key === 'image'">
|
<template v-if="column.key === 'image'">
|
||||||
<a-image :src="record.image" :width="50" />
|
<a-image :src="record.image" :width="50" />
|
||||||
</template>
|
</template>
|
||||||
@@ -140,6 +143,11 @@
|
|||||||
key: 'id',
|
key: 'id',
|
||||||
width: 90
|
width: 90
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '主体企业',
|
||||||
|
dataIndex: 'companyName',
|
||||||
|
key: 'companyName'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '分支机构名称',
|
title: '分支机构名称',
|
||||||
dataIndex: 'name',
|
dataIndex: 'name',
|
||||||
|
|||||||
@@ -31,6 +31,9 @@
|
|||||||
</a-space>
|
</a-space>
|
||||||
</template>
|
</template>
|
||||||
<template #bodyCell="{ column, record }">
|
<template #bodyCell="{ column, record }">
|
||||||
|
<template v-if="column.key === 'companyName'">
|
||||||
|
{{ record.companyName || '-' }}
|
||||||
|
</template>
|
||||||
<template v-if="column.key === 'image'">
|
<template v-if="column.key === 'image'">
|
||||||
<a-image :src="record.image" :width="50" />
|
<a-image :src="record.image" :width="50" />
|
||||||
</template>
|
</template>
|
||||||
@@ -153,6 +156,11 @@
|
|||||||
key: 'id',
|
key: 'id',
|
||||||
width: 80
|
width: 80
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '主体企业',
|
||||||
|
dataIndex: 'companyName',
|
||||||
|
key: 'companyName'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '案号',
|
title: '案号',
|
||||||
dataIndex: 'caseNumber',
|
dataIndex: 'caseNumber',
|
||||||
|
|||||||
@@ -23,6 +23,9 @@
|
|||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<template #bodyCell="{ column, record }">
|
<template #bodyCell="{ column, record }">
|
||||||
|
<template v-if="column.key === 'companyName'">
|
||||||
|
{{ record.companyName || '-' }}
|
||||||
|
</template>
|
||||||
<template v-if="column.key === 'image'">
|
<template v-if="column.key === 'image'">
|
||||||
<a-image :src="record.image" :width="50" />
|
<a-image :src="record.image" :width="50" />
|
||||||
</template>
|
</template>
|
||||||
@@ -140,38 +143,35 @@
|
|||||||
key: 'id',
|
key: 'id',
|
||||||
width: 80
|
width: 80
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '主体企业',
|
||||||
|
dataIndex: 'companyName',
|
||||||
|
key: 'companyName'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '案号',
|
title: '案号',
|
||||||
dataIndex: 'caseNumber',
|
dataIndex: 'caseNumber',
|
||||||
key: 'caseNumber',
|
key: 'caseNumber'
|
||||||
ellipsis: true,
|
|
||||||
width: 260
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '案由',
|
title: '案由',
|
||||||
dataIndex: 'causeOfAction',
|
dataIndex: 'causeOfAction',
|
||||||
key: 'causeOfAction',
|
key: 'causeOfAction'
|
||||||
ellipsis: true,
|
|
||||||
width: 220
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '当事人',
|
title: '当事人',
|
||||||
dataIndex: 'otherPartiesThirdParty',
|
dataIndex: 'otherPartiesThirdParty',
|
||||||
key: 'otherPartiesThirdParty',
|
key: 'otherPartiesThirdParty'
|
||||||
width: 320
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '法院',
|
title: '法院',
|
||||||
dataIndex: 'courtName',
|
dataIndex: 'courtName',
|
||||||
key: 'courtName',
|
key: 'courtName'
|
||||||
ellipsis: true,
|
|
||||||
width: 180
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '立案日期',
|
title: '立案日期',
|
||||||
dataIndex: 'occurrenceTime',
|
dataIndex: 'occurrenceTime',
|
||||||
key: 'occurrenceTime',
|
key: 'occurrenceTime'
|
||||||
width: 120
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '操作人',
|
title: '操作人',
|
||||||
|
|||||||
@@ -78,7 +78,7 @@
|
|||||||
DatasourceFunction,
|
DatasourceFunction,
|
||||||
ColumnItem
|
ColumnItem
|
||||||
} from 'ele-admin-pro/es/ele-pro-table/types';
|
} from 'ele-admin-pro/es/ele-pro-table/types';
|
||||||
import Search from '@/views/credit/components/CreditSearchToolbar.vue';
|
import Search from '@/views/credit/components/CreditSearchToolbar2.vue';
|
||||||
import { exportCreditData } from '../utils/export';
|
import { exportCreditData } from '../utils/export';
|
||||||
import { getPageTitle } from '@/utils/common';
|
import { getPageTitle } from '@/utils/common';
|
||||||
import CreditCompetitorEdit from './components/creditCompetitorEdit.vue';
|
import CreditCompetitorEdit from './components/creditCompetitorEdit.vue';
|
||||||
|
|||||||
@@ -31,6 +31,9 @@
|
|||||||
</a-space>
|
</a-space>
|
||||||
</template>
|
</template>
|
||||||
<template #bodyCell="{ column, record }">
|
<template #bodyCell="{ column, record }">
|
||||||
|
<template v-if="column.key === 'companyName'">
|
||||||
|
{{ record.companyName || '-' }}
|
||||||
|
</template>
|
||||||
<template v-if="column.key === 'image'">
|
<template v-if="column.key === 'image'">
|
||||||
<a-image :src="record.image" :width="50" />
|
<a-image :src="record.image" :width="50" />
|
||||||
</template>
|
</template>
|
||||||
@@ -159,6 +162,11 @@
|
|||||||
key: 'id',
|
key: 'id',
|
||||||
width: 80
|
width: 80
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '主体企业',
|
||||||
|
dataIndex: 'companyName',
|
||||||
|
key: 'companyName'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '案号',
|
title: '案号',
|
||||||
dataIndex: 'caseNumber',
|
dataIndex: 'caseNumber',
|
||||||
|
|||||||
@@ -31,6 +31,9 @@
|
|||||||
</a-space>
|
</a-space>
|
||||||
</template>
|
</template>
|
||||||
<template #bodyCell="{ column, record }">
|
<template #bodyCell="{ column, record }">
|
||||||
|
<template v-if="column.key === 'companyName'">
|
||||||
|
{{ record.companyName || '-' }}
|
||||||
|
</template>
|
||||||
<template v-if="column.key === 'image'">
|
<template v-if="column.key === 'image'">
|
||||||
<a-image :src="record.image" :width="50" />
|
<a-image :src="record.image" :width="50" />
|
||||||
</template>
|
</template>
|
||||||
@@ -146,6 +149,11 @@
|
|||||||
key: 'id',
|
key: 'id',
|
||||||
width: 80
|
width: 80
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '主体企业',
|
||||||
|
dataIndex: 'companyName',
|
||||||
|
key: 'companyName'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '案号',
|
title: '案号',
|
||||||
dataIndex: 'caseNumber',
|
dataIndex: 'caseNumber',
|
||||||
|
|||||||
@@ -7,12 +7,12 @@
|
|||||||
<!-- </template>-->
|
<!-- </template>-->
|
||||||
<!-- <span>添加</span>-->
|
<!-- <span>添加</span>-->
|
||||||
<!-- </a-button>-->
|
<!-- </a-button>-->
|
||||||
<a-button class="ele-btn-icon" @click="openImport">
|
<!-- <a-button class="ele-btn-icon" @click="openImport">-->
|
||||||
<template #icon>
|
<!-- <template #icon>-->
|
||||||
<CloudUploadOutlined />
|
<!-- <CloudUploadOutlined />-->
|
||||||
</template>
|
<!-- </template>-->
|
||||||
<span>导入(多)</span>
|
<!-- <span>导入(多)</span>-->
|
||||||
</a-button>
|
<!-- </a-button>-->
|
||||||
<a-button class="ele-btn-icon" @click="exportData">
|
<a-button class="ele-btn-icon" @click="exportData">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<CloudDownloadOutlined />
|
<CloudDownloadOutlined />
|
||||||
|
|||||||
@@ -23,6 +23,9 @@
|
|||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<template #bodyCell="{ column, record }">
|
<template #bodyCell="{ column, record }">
|
||||||
|
<template v-if="column.key === 'companyName'">
|
||||||
|
{{ record.companyName || '-' }}
|
||||||
|
</template>
|
||||||
<template v-if="column.key === 'image'">
|
<template v-if="column.key === 'image'">
|
||||||
<a-image :src="record.image" :width="50" />
|
<a-image :src="record.image" :width="50" />
|
||||||
</template>
|
</template>
|
||||||
@@ -140,17 +143,20 @@
|
|||||||
key: 'id',
|
key: 'id',
|
||||||
width: 80
|
width: 80
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '主体企业',
|
||||||
|
dataIndex: 'companyName',
|
||||||
|
key: 'companyName'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '案号',
|
title: '案号',
|
||||||
dataIndex: 'caseNumber',
|
dataIndex: 'caseNumber',
|
||||||
key: 'caseNumber',
|
key: 'caseNumber'
|
||||||
ellipsis: true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '案由',
|
title: '案由',
|
||||||
dataIndex: 'causeOfAction',
|
dataIndex: 'causeOfAction',
|
||||||
key: 'causeOfAction',
|
key: 'causeOfAction'
|
||||||
ellipsis: true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '当事人',
|
title: '当事人',
|
||||||
@@ -160,8 +166,7 @@
|
|||||||
{
|
{
|
||||||
title: '法院',
|
title: '法院',
|
||||||
dataIndex: 'courtName',
|
dataIndex: 'courtName',
|
||||||
key: 'courtName',
|
key: 'courtName'
|
||||||
ellipsis: true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '发布日期',
|
title: '发布日期',
|
||||||
|
|||||||
@@ -79,7 +79,7 @@
|
|||||||
DatasourceFunction,
|
DatasourceFunction,
|
||||||
ColumnItem
|
ColumnItem
|
||||||
} from 'ele-admin-pro/es/ele-pro-table/types';
|
} from 'ele-admin-pro/es/ele-pro-table/types';
|
||||||
import Search from '@/views/credit/components/CreditSearchToolbar.vue';
|
import Search from '@/views/credit/components/CreditSearchToolbar2.vue';
|
||||||
import { exportCreditData } from '../utils/export';
|
import { exportCreditData } from '../utils/export';
|
||||||
import { getPageTitle } from '@/utils/common';
|
import { getPageTitle } from '@/utils/common';
|
||||||
import CreditExternalEdit from './components/creditExternalEdit.vue';
|
import CreditExternalEdit from './components/creditExternalEdit.vue';
|
||||||
|
|||||||
@@ -31,6 +31,9 @@
|
|||||||
</a-space>
|
</a-space>
|
||||||
</template>
|
</template>
|
||||||
<template #bodyCell="{ column, record }">
|
<template #bodyCell="{ column, record }">
|
||||||
|
<template v-if="column.key === 'companyName'">
|
||||||
|
{{ record.companyName || '-' }}
|
||||||
|
</template>
|
||||||
<template v-if="column.key === 'image'">
|
<template v-if="column.key === 'image'">
|
||||||
<a-image :src="record.image" :width="50" />
|
<a-image :src="record.image" :width="50" />
|
||||||
</template>
|
</template>
|
||||||
@@ -145,6 +148,11 @@
|
|||||||
key: 'id',
|
key: 'id',
|
||||||
width: 90
|
width: 90
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '主体企业',
|
||||||
|
dataIndex: 'companyName',
|
||||||
|
key: 'companyName'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '案号',
|
title: '案号',
|
||||||
dataIndex: 'caseNumber',
|
dataIndex: 'caseNumber',
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
:datasource="datasource"
|
:datasource="datasource"
|
||||||
:customRow="customRow"
|
:customRow="customRow"
|
||||||
v-model:selection="selection"
|
v-model:selection="selection"
|
||||||
|
:scroll="{ x: 2400 }"
|
||||||
tool-class="ele-toolbar-form"
|
tool-class="ele-toolbar-form"
|
||||||
class="sys-org-table"
|
class="sys-org-table"
|
||||||
>
|
>
|
||||||
@@ -31,6 +32,9 @@
|
|||||||
</a-space>
|
</a-space>
|
||||||
</template>
|
</template>
|
||||||
<template #bodyCell="{ column, record }">
|
<template #bodyCell="{ column, record }">
|
||||||
|
<template v-if="column.key === 'companyName'">
|
||||||
|
{{ record.companyName || '-' }}
|
||||||
|
</template>
|
||||||
<template v-if="column.key === 'image'">
|
<template v-if="column.key === 'image'">
|
||||||
<a-image :src="record.image" :width="50" />
|
<a-image :src="record.image" :width="50" />
|
||||||
</template>
|
</template>
|
||||||
@@ -141,6 +145,11 @@
|
|||||||
key: 'id',
|
key: 'id',
|
||||||
width: 80
|
width: 80
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '主体企业',
|
||||||
|
dataIndex: 'companyName',
|
||||||
|
key: 'companyName'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '被执行人',
|
title: '被执行人',
|
||||||
dataIndex: 'appellee',
|
dataIndex: 'appellee',
|
||||||
@@ -154,38 +163,32 @@
|
|||||||
{
|
{
|
||||||
title: '被执行人持有股权、其他投资权益数额',
|
title: '被执行人持有股权、其他投资权益数额',
|
||||||
dataIndex: 'involvedAmount',
|
dataIndex: 'involvedAmount',
|
||||||
key: 'involvedAmount',
|
key: 'involvedAmount'
|
||||||
width: 260
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '执行法院',
|
title: '执行法院',
|
||||||
dataIndex: 'courtName',
|
dataIndex: 'courtName',
|
||||||
key: 'courtName',
|
key: 'courtName'
|
||||||
width: 200
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '状态',
|
title: '状态',
|
||||||
dataIndex: 'dataStatus',
|
dataIndex: 'dataStatus',
|
||||||
key: 'dataStatus',
|
key: 'dataStatus'
|
||||||
width: 90
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '冻结日期自',
|
title: '冻结日期自',
|
||||||
dataIndex: 'freezeDateStart',
|
dataIndex: 'freezeDateStart',
|
||||||
key: 'freezeDateStart',
|
key: 'freezeDateStart'
|
||||||
width: 120
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '冻结日期至',
|
title: '冻结日期至',
|
||||||
dataIndex: 'freezeDateEnd',
|
dataIndex: 'freezeDateEnd',
|
||||||
key: 'freezeDateEnd',
|
key: 'freezeDateEnd'
|
||||||
width: 120
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '公示日期',
|
title: '公示日期',
|
||||||
dataIndex: 'publicDate',
|
dataIndex: 'publicDate',
|
||||||
key: 'publicDate',
|
key: 'publicDate'
|
||||||
width: 120
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '操作人',
|
title: '操作人',
|
||||||
|
|||||||
@@ -23,6 +23,9 @@
|
|||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<template #bodyCell="{ column, record }">
|
<template #bodyCell="{ column, record }">
|
||||||
|
<template v-if="column.key === 'companyName'">
|
||||||
|
{{ record.companyName || '-' }}
|
||||||
|
</template>
|
||||||
<template v-if="column.key === 'image'">
|
<template v-if="column.key === 'image'">
|
||||||
<a-image :src="record.image" :width="50" />
|
<a-image :src="record.image" :width="50" />
|
||||||
</template>
|
</template>
|
||||||
@@ -143,6 +146,11 @@
|
|||||||
key: 'id',
|
key: 'id',
|
||||||
width: 90
|
width: 90
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '主体企业',
|
||||||
|
dataIndex: 'companyName',
|
||||||
|
key: 'companyName'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '名称',
|
title: '名称',
|
||||||
dataIndex: 'name',
|
dataIndex: 'name',
|
||||||
|
|||||||
@@ -22,6 +22,9 @@
|
|||||||
@importData="openImport"
|
@importData="openImport"
|
||||||
@exportData="exportData"
|
@exportData="exportData"
|
||||||
/>
|
/>
|
||||||
|
<a-button type="dashed" class="ele-btn-icon" @click="belongToCompany">
|
||||||
|
<span class="text-pink-500">修正主体企业归属</span>
|
||||||
|
</a-button>
|
||||||
<a-button type="dashed" class="ele-btn-icon" @click="openImport2">
|
<a-button type="dashed" class="ele-btn-icon" @click="openImport2">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<CloudUploadOutlined />
|
<CloudUploadOutlined />
|
||||||
@@ -31,6 +34,9 @@
|
|||||||
</a-space>
|
</a-space>
|
||||||
</template>
|
</template>
|
||||||
<template #bodyCell="{ column, record }">
|
<template #bodyCell="{ column, record }">
|
||||||
|
<template v-if="column.key === 'companyName'">
|
||||||
|
{{ record.companyName || '-' }}
|
||||||
|
</template>
|
||||||
<template v-if="column.key === 'image'">
|
<template v-if="column.key === 'image'">
|
||||||
<a-image :src="record.image" :width="50" />
|
<a-image :src="record.image" :width="50" />
|
||||||
</template>
|
</template>
|
||||||
@@ -177,6 +183,11 @@
|
|||||||
key: 'id',
|
key: 'id',
|
||||||
width: 80
|
width: 80
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '主体企业',
|
||||||
|
dataIndex: 'companyName',
|
||||||
|
key: 'companyName'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '案号',
|
title: '案号',
|
||||||
dataIndex: 'caseNumber',
|
dataIndex: 'caseNumber',
|
||||||
|
|||||||
@@ -32,6 +32,9 @@
|
|||||||
</a-space>
|
</a-space>
|
||||||
</template>
|
</template>
|
||||||
<template #bodyCell="{ column, record }">
|
<template #bodyCell="{ column, record }">
|
||||||
|
<template v-if="column.key === 'companyName'">
|
||||||
|
{{ record.companyName || '-' }}
|
||||||
|
</template>
|
||||||
<template v-if="column.key === 'image'">
|
<template v-if="column.key === 'image'">
|
||||||
<a-image :src="record.image" :width="50" />
|
<a-image :src="record.image" :width="50" />
|
||||||
</template>
|
</template>
|
||||||
@@ -149,6 +152,11 @@
|
|||||||
key: 'id',
|
key: 'id',
|
||||||
width: 80
|
width: 80
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '主体企业',
|
||||||
|
dataIndex: 'companyName',
|
||||||
|
key: 'companyName'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '文书标题',
|
title: '文书标题',
|
||||||
dataIndex: 'title',
|
dataIndex: 'title',
|
||||||
|
|||||||
@@ -24,6 +24,9 @@
|
|||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<template #bodyCell="{ column, record }">
|
<template #bodyCell="{ column, record }">
|
||||||
|
<template v-if="column.key === 'companyName'">
|
||||||
|
{{ record.companyName || '-' }}
|
||||||
|
</template>
|
||||||
<template v-if="column.key === 'image'">
|
<template v-if="column.key === 'image'">
|
||||||
<a-image :src="record.image" :width="50" />
|
<a-image :src="record.image" :width="50" />
|
||||||
</template>
|
</template>
|
||||||
@@ -139,6 +142,11 @@
|
|||||||
key: 'id',
|
key: 'id',
|
||||||
width: 90
|
width: 90
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '主体企业',
|
||||||
|
dataIndex: 'companyName',
|
||||||
|
key: 'companyName'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '案件名称',
|
title: '案件名称',
|
||||||
dataIndex: 'name',
|
dataIndex: 'name',
|
||||||
|
|||||||
@@ -23,6 +23,9 @@
|
|||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<template #bodyCell="{ column, record }">
|
<template #bodyCell="{ column, record }">
|
||||||
|
<template v-if="column.key === 'companyName'">
|
||||||
|
{{ record.companyName || '-' }}
|
||||||
|
</template>
|
||||||
<template v-if="column.key === 'image'">
|
<template v-if="column.key === 'image'">
|
||||||
<a-image :src="record.image" :width="50" />
|
<a-image :src="record.image" :width="50" />
|
||||||
</template>
|
</template>
|
||||||
@@ -132,6 +135,11 @@
|
|||||||
key: 'id',
|
key: 'id',
|
||||||
width: 80
|
width: 80
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '主体企业',
|
||||||
|
dataIndex: 'companyName',
|
||||||
|
key: 'companyName'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '案号',
|
title: '案号',
|
||||||
dataIndex: 'caseNumber',
|
dataIndex: 'caseNumber',
|
||||||
|
|||||||
@@ -24,6 +24,9 @@
|
|||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<template #bodyCell="{ column, record }">
|
<template #bodyCell="{ column, record }">
|
||||||
|
<template v-if="column.key === 'companyName'">
|
||||||
|
{{ record.companyName || '-' }}
|
||||||
|
</template>
|
||||||
<template v-if="column.key === 'image'">
|
<template v-if="column.key === 'image'">
|
||||||
<a-image :src="record.image" :width="50" />
|
<a-image :src="record.image" :width="50" />
|
||||||
</template>
|
</template>
|
||||||
@@ -142,6 +145,11 @@
|
|||||||
key: 'id',
|
key: 'id',
|
||||||
width: 90
|
width: 90
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '主体企业',
|
||||||
|
dataIndex: 'companyName',
|
||||||
|
key: 'companyName'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '企业名称',
|
title: '企业名称',
|
||||||
dataIndex: 'name',
|
dataIndex: 'name',
|
||||||
|
|||||||
@@ -23,6 +23,9 @@
|
|||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<template #bodyCell="{ column, record }">
|
<template #bodyCell="{ column, record }">
|
||||||
|
<template v-if="column.key === 'companyName'">
|
||||||
|
{{ record.companyName || '-' }}
|
||||||
|
</template>
|
||||||
<template v-if="column.key === 'image'">
|
<template v-if="column.key === 'image'">
|
||||||
<a-image :src="record.image" :width="50" />
|
<a-image :src="record.image" :width="50" />
|
||||||
</template>
|
</template>
|
||||||
@@ -140,6 +143,11 @@
|
|||||||
key: 'id',
|
key: 'id',
|
||||||
width: 90
|
width: 90
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '主体企业',
|
||||||
|
dataIndex: 'companyName',
|
||||||
|
key: 'companyName'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '发明名称',
|
title: '发明名称',
|
||||||
dataIndex: 'name',
|
dataIndex: 'name',
|
||||||
|
|||||||
@@ -70,7 +70,7 @@
|
|||||||
DatasourceFunction,
|
DatasourceFunction,
|
||||||
ColumnItem
|
ColumnItem
|
||||||
} from 'ele-admin-pro/es/ele-pro-table/types';
|
} from 'ele-admin-pro/es/ele-pro-table/types';
|
||||||
import Search from '@/views/credit/components/CreditSearchToolbar.vue';
|
import Search from '@/views/credit/components/CreditSearchToolbar2.vue';
|
||||||
import { exportCreditData } from '../utils/export';
|
import { exportCreditData } from '../utils/export';
|
||||||
import { getPageTitle } from '@/utils/common';
|
import { getPageTitle } from '@/utils/common';
|
||||||
import CreditRiskRelationEdit from './components/creditRiskRelationEdit.vue';
|
import CreditRiskRelationEdit from './components/creditRiskRelationEdit.vue';
|
||||||
|
|||||||
@@ -70,7 +70,7 @@
|
|||||||
DatasourceFunction,
|
DatasourceFunction,
|
||||||
ColumnItem
|
ColumnItem
|
||||||
} from 'ele-admin-pro/es/ele-pro-table/types';
|
} from 'ele-admin-pro/es/ele-pro-table/types';
|
||||||
import Search from '@/views/credit/components/CreditSearchToolbar.vue';
|
import Search from '@/views/credit/components/CreditSearchToolbar2.vue';
|
||||||
import { exportCreditData } from '../utils/export';
|
import { exportCreditData } from '../utils/export';
|
||||||
import { getPageTitle } from '@/utils/common';
|
import { getPageTitle } from '@/utils/common';
|
||||||
import CreditSupplierEdit from './components/creditSupplierEdit.vue';
|
import CreditSupplierEdit from './components/creditSupplierEdit.vue';
|
||||||
|
|||||||
@@ -23,6 +23,9 @@
|
|||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
<template #bodyCell="{ column, record }">
|
<template #bodyCell="{ column, record }">
|
||||||
|
<template v-if="column.key === 'companyName'">
|
||||||
|
{{ record.companyName || '-' }}
|
||||||
|
</template>
|
||||||
<template v-if="column.key === 'image'">
|
<template v-if="column.key === 'image'">
|
||||||
<a-image :src="record.image" :width="50" />
|
<a-image :src="record.image" :width="50" />
|
||||||
</template>
|
</template>
|
||||||
@@ -143,6 +146,11 @@
|
|||||||
key: 'id',
|
key: 'id',
|
||||||
width: 90
|
width: 90
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '主体企业',
|
||||||
|
dataIndex: 'companyName',
|
||||||
|
key: 'companyName'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '企业名称',
|
title: '企业名称',
|
||||||
dataIndex: 'name',
|
dataIndex: 'name',
|
||||||
|
|||||||
@@ -7,12 +7,12 @@
|
|||||||
<!-- </template>-->
|
<!-- </template>-->
|
||||||
<!-- <span>添加</span>-->
|
<!-- <span>添加</span>-->
|
||||||
<!-- </a-button>-->
|
<!-- </a-button>-->
|
||||||
<a-button class="ele-btn-icon" @click="openImport">
|
<!-- <a-button class="ele-btn-icon" @click="openImport">-->
|
||||||
<template #icon>
|
<!-- <template #icon>-->
|
||||||
<CloudUploadOutlined />
|
<!-- <CloudUploadOutlined />-->
|
||||||
</template>
|
<!-- </template>-->
|
||||||
<span>导入(多)</span>
|
<!-- <span>导入(多)</span>-->
|
||||||
</a-button>
|
<!-- </a-button>-->
|
||||||
<a-button class="ele-btn-icon" @click="exportData">
|
<a-button class="ele-btn-icon" @click="exportData">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<CloudDownloadOutlined />
|
<CloudDownloadOutlined />
|
||||||
|
|||||||
@@ -31,6 +31,9 @@
|
|||||||
</a-space>
|
</a-space>
|
||||||
</template>
|
</template>
|
||||||
<template #bodyCell="{ column, record }">
|
<template #bodyCell="{ column, record }">
|
||||||
|
<template v-if="column.key === 'companyName'">
|
||||||
|
{{ record.companyName || '-' }}
|
||||||
|
</template>
|
||||||
<template v-if="column.key === 'image'">
|
<template v-if="column.key === 'image'">
|
||||||
<a-image :src="record.image" :width="50" />
|
<a-image :src="record.image" :width="50" />
|
||||||
</template>
|
</template>
|
||||||
@@ -141,6 +144,11 @@
|
|||||||
key: 'id',
|
key: 'id',
|
||||||
width: 80
|
width: 80
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: '主体企业',
|
||||||
|
dataIndex: 'companyName',
|
||||||
|
key: 'companyName'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '案号',
|
title: '案号',
|
||||||
dataIndex: 'caseNumber',
|
dataIndex: 'caseNumber',
|
||||||
|
|||||||
Reference in New Issue
Block a user