提交 d0d5c912 authored 作者: jinrb's avatar jinrb

统计分析--业务开展统计--新增专家评审信息统计

上级 eac55769
......@@ -59,6 +59,11 @@ export const dkpsxxtj = (params) => {
return defHttp.get({ url: `/ywkztj/dkpsxxtj`, params });
}
export const dkpsxxtjExcel = '/ywkztj/dkpsxxtjExcel'
// 专家信息评审记录
export const zjpsxxtj = (params) => {
return defHttp.get({ url: `/ywkztj/zjpsxxtj`, params });
}
export const zjpsxxtjExcel = '/ywkztj/zjpsxxtjExcel'
// 记录
export const dkjlxq = (params) => {
return defHttp.get({ url: `/hydwtj/dkjlxq`, params });
......
......@@ -762,7 +762,7 @@ export const MonthsearchFormSchema: FormSchema[] = [
// 地块评审
export const DkpsFormSchema: FormSchema[] = [
{
label: '地块名称',
label: '地块编码',
field: 'wrdkbm',
component: 'Input',
componentProps: {
......@@ -772,13 +772,13 @@ export const DkpsFormSchema: FormSchema[] = [
]
export const DkpsColumns: BasicColumn[] = [
{
title: '地块编码',
title: '地块名称',
dataIndex: 'wrdkmc',
resizable: true,
width: 220,
},
{
title: '地块名称',
title: '地块编码',
dataIndex: 'wrdkbm',
width: 220,
resizable: true,
......@@ -871,3 +871,42 @@ export const DkpsColumns: BasicColumn[] = [
]
},
]
// 地块评审
export const ZjpsFormSchema: FormSchema[] = [
{
label: '专家名称',
field: 'zjxm',
component: 'Input',
componentProps: {
placeholder: '请输入专家名称'
}
},
]
export const ZjpsColumns: BasicColumn[] = [
{
title: '序号',
dataIndex: 'index',
key: 'index',
width: 150,
customRender: ({ index }) => {
return index + 1;
},
},
{
title: '专家名称',
dataIndex: 'zjxm',
resizable: true,
width: 220,
},
{
title: '参与项目',
dataIndex: 'cyxm',
resizable: true,
},
{
title: '项目时间(评审会时间)',
dataIndex: 'hysj',
width: 220,
resizable: true,
},
]
<template>
<BasicTable @register="registerTable">
<!-- <template #form-userLevle="{ model, field }">
<a-select
v-model:value="model[field]"
placeholder="请选择"
@change="change(model)"
:fieldNames="{ label: 'text', value: 'value' }"
:options="Options"
></a-select>
</template>
<template #form-category="{ model, field }">
<a-tree-select
v-model:value="model[field]"
show-search
placeholder="请选择"
allow-clear
tree-default-expand-all
:field-names="{ label: 'name', value: 'id', children: 'children' }"
:tree-data="treeData"
tree-node-filter-prop="label"
>
<template #suffixIcon>
<SmileOutlined />
</template>
</a-tree-select>
</template> -->
<template #tableTitle>
<a-button type="primary" preIcon="ant-design:export-outlined" v-auth="'ywkz-zjpsxx-dc'" @click="onExportXls"> 导出</a-button>
</template>
</BasicTable>
</template>
<script setup lang="ts">
import { BasicTable } from '@/components/Table';
import { useListPage } from '/@/hooks/system/useListPage';
import { ZjpsColumns, ZjpsFormSchema } from './data';
import { zjpsxxtj, zjpsxxtjExcel } from './api';
const { tableContext, onExportXls } = useListPage({
tableProps: {
title: '',
api: zjpsxxtj,
columns: ZjpsColumns,
canResize: false,
// rowSelection: { type: 'checkbox' },
rowKey: 'wrdkid',
clickToRowSelect: false,
showActionColumn: false,
formConfig: {
labelWidth: 120,
schemas: ZjpsFormSchema,
autoSubmitOnEnter: true,
showAdvancedButton: false,
},
actionColumn: {
width: 120,
fixed: 'right',
},
},
exportConfig: {
name: '专家评审信息统计',
url: zjpsxxtjExcel,
},
});
const [registerTable, { reload }] = tableContext;
</script>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论