Merge branch 'main' of http://123.132.248.154:10000/HC_YFZX/CaiYuanYiTiHua
commit
9e9d04dd81
|
|
@ -8,6 +8,7 @@ import {
|
|||
mapTypeOptions,
|
||||
getOptions,
|
||||
} from '@/utils/global';
|
||||
import { getLoad } from '@/api/sys/sysDataItemDetail';
|
||||
|
||||
export const columns: BasicColumn[] = [
|
||||
{
|
||||
|
|
@ -115,7 +116,8 @@ export const columns: BasicColumn[] = [
|
|||
// dataIndex: 'measurename',
|
||||
// },
|
||||
];
|
||||
|
||||
const tubanlaiyuanOptions = getOptions('tubanlaiyuan');
|
||||
console.log(tubanlaiyuanOptions);
|
||||
export const searchFormSchema: FormSchema[] = [
|
||||
{
|
||||
field: 'countyid',
|
||||
|
|
@ -164,46 +166,81 @@ export const searchFormSchema: FormSchema[] = [
|
|||
{
|
||||
field: 'tubanlaiyuan',
|
||||
label: '图斑来源',
|
||||
component: 'Select',
|
||||
component: 'ApiSelect',
|
||||
colProps: { span: 4 },
|
||||
componentProps: {
|
||||
options: getOptions('tubanlaiyuan'),
|
||||
componentProps: ({ formModel }) => {
|
||||
return {
|
||||
api: getLoad,
|
||||
params: { code: 'tubanlaiyuan' },
|
||||
// 接口参数
|
||||
resultField: 'result',
|
||||
labelField: 'itemName',
|
||||
valueField: 'itemValue',
|
||||
};
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'type_base',
|
||||
label: '图斑类型',
|
||||
component: 'Select',
|
||||
component: 'ApiSelect',
|
||||
colProps: { span: 4 },
|
||||
componentProps: {
|
||||
options: getOptions('kctubanleixing'),
|
||||
componentProps: ({ formModel }) => {
|
||||
return {
|
||||
api: getLoad,
|
||||
params: { code: 'kctubanleixing' },
|
||||
// 接口参数
|
||||
resultField: 'result',
|
||||
labelField: 'itemName',
|
||||
valueField: 'itemValue',
|
||||
};
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'hefapanding_fill',
|
||||
label: '判定结果',
|
||||
component: 'Select',
|
||||
component: 'ApiSelect',
|
||||
colProps: { span: 4 },
|
||||
componentProps: {
|
||||
options: getOptions('kcpandingjieguo'),
|
||||
componentProps: ({ formModel }) => {
|
||||
return {
|
||||
api: getLoad,
|
||||
params: { code: 'kcpandingjieguo' },
|
||||
// 接口参数
|
||||
resultField: 'result',
|
||||
labelField: 'itemName',
|
||||
valueField: 'itemValue',
|
||||
};
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'status_base',
|
||||
label: '当前状态',
|
||||
component: 'Select',
|
||||
componentProps: {
|
||||
options: getOptions('kcdangqianzhuangtai'),
|
||||
},
|
||||
component: 'ApiSelect',
|
||||
colProps: { span: 4 },
|
||||
componentProps: ({ formModel }) => {
|
||||
return {
|
||||
api: getLoad,
|
||||
params: { code: 'kcdangqianzhuangtai' },
|
||||
// 接口参数
|
||||
resultField: 'result',
|
||||
labelField: 'itemName',
|
||||
valueField: 'itemValue',
|
||||
};
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'measureName',
|
||||
label: '整改措施',
|
||||
component: 'Select',
|
||||
component: 'ApiSelect',
|
||||
colProps: { span: 4 },
|
||||
componentProps: {
|
||||
options: getOptions('kczhenggaicuoshi'),
|
||||
componentProps: ({ formModel }) => {
|
||||
return {
|
||||
api: getLoad,
|
||||
params: { code: 'kczhenggaicuoshi' },
|
||||
// 接口参数
|
||||
resultField: 'result',
|
||||
labelField: 'itemName',
|
||||
valueField: 'itemValue',
|
||||
};
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -215,22 +252,35 @@ export const searchFormSchema: FormSchema[] = [
|
|||
{
|
||||
field: 'wefatype_kcfill',
|
||||
label: '开采违法类型',
|
||||
component: 'Select',
|
||||
component: 'ApiSelect',
|
||||
colProps: { span: 4 },
|
||||
componentProps: {
|
||||
options: getOptions('kaicaiweifa'),
|
||||
componentProps: ({ formModel }) => {
|
||||
return {
|
||||
api: getLoad,
|
||||
params: { code: 'kaicaiweifa' },
|
||||
// 接口参数
|
||||
resultField: 'result',
|
||||
labelField: 'itemName',
|
||||
valueField: 'itemValue',
|
||||
};
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'weifatype_jgfill',
|
||||
label: '加工违法类型',
|
||||
component: 'Select',
|
||||
component: 'ApiSelect',
|
||||
colProps: { span: 4 },
|
||||
componentProps: {
|
||||
options: getOptions('jiagongweifa'),
|
||||
componentProps: ({ formModel }) => {
|
||||
return {
|
||||
api: getLoad,
|
||||
params: { code: 'jiagongweifa' },
|
||||
// 接口参数
|
||||
resultField: 'result',
|
||||
labelField: 'itemName',
|
||||
valueField: 'itemValue',
|
||||
};
|
||||
},
|
||||
},
|
||||
|
||||
// 增加图斑面积、耕地面积、永农面积的筛选项;
|
||||
{
|
||||
field: 'tubanmianji',
|
||||
|
|
@ -254,10 +304,17 @@ export const searchFormSchema: FormSchema[] = [
|
|||
{
|
||||
field: 'kuangzhong_kcfill',
|
||||
label: '权属矿种',
|
||||
component: 'Select',
|
||||
component: 'ApiSelect',
|
||||
colProps: { span: 4 },
|
||||
componentProps: {
|
||||
options: getOptions('kuangzhong'),
|
||||
componentProps: ({ formModel }) => {
|
||||
return {
|
||||
api: getLoad,
|
||||
params: { code: 'kuangzhong' },
|
||||
// 接口参数
|
||||
resultField: 'result',
|
||||
labelField: 'itemName',
|
||||
valueField: 'itemValue',
|
||||
};
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue