|
@@ -1,317 +1,354 @@
|
|
|
-import {BasicColumn} from '/@/components/Table';
|
|
|
-import {FormSchema} from '/@/components/Table';
|
|
|
-import { rules} from '/@/utils/helper/validator';
|
|
|
+import { BasicColumn } from '/@/components/Table';
|
|
|
+import { FormSchema } from '/@/components/Table';
|
|
|
+// import { rules } from '/@/utils/helper/validator';
|
|
|
import { render } from '/@/utils/common/renderUtils';
|
|
|
-import {JVxeTypes,JVxeColumn} from '/@/components/jeecg/JVxeTable/types'
|
|
|
-import { getWeekMonthQuarterYear } from '/@/utils';
|
|
|
+import { JVxeTypes, JVxeColumn } from '/@/components/jeecg/JVxeTable/types';
|
|
|
+import dayjs from 'dayjs';
|
|
|
+
|
|
|
//列表数据
|
|
|
export const columns: BasicColumn[] = [
|
|
|
- {
|
|
|
+ {
|
|
|
title: '计划编号',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'planNumber'
|
|
|
- },
|
|
|
- {
|
|
|
+ align: 'center',
|
|
|
+ dataIndex: 'planNumber',
|
|
|
+ slots: { customRender: 'planNumber' },
|
|
|
+ },
|
|
|
+ {
|
|
|
title: '标题',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'title'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '采购类型(1 设备采购 2 备件物料采购)',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'purchaseType'
|
|
|
- },
|
|
|
- {
|
|
|
+ align: 'center',
|
|
|
+ dataIndex: 'title',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '采购类型',
|
|
|
+ align: 'center',
|
|
|
+ dataIndex: 'purchaseType',
|
|
|
+ customRender: ({ text }) => {
|
|
|
+ return render.renderDictTag(text, 'purchase_type');
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
title: '计划采购数量',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'planPurchaseNum'
|
|
|
- },
|
|
|
- {
|
|
|
+ align: 'center',
|
|
|
+ dataIndex: 'planPurchaseNum',
|
|
|
+ },
|
|
|
+ {
|
|
|
title: '计划金额',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'planAmount'
|
|
|
- },
|
|
|
- {
|
|
|
+ align: 'center',
|
|
|
+ dataIndex: 'planAmount',
|
|
|
+ },
|
|
|
+ {
|
|
|
title: '申请时间',
|
|
|
- align:"center",
|
|
|
+ align: 'center',
|
|
|
dataIndex: 'applicationTime',
|
|
|
- customRender:({text}) =>{
|
|
|
- text = !text ? "" : (text.length > 10 ? text.substr(0,10) : text);
|
|
|
+ customRender: ({ text }) => {
|
|
|
+ text = !text ? '' : text.length > 10 ? text.substr(0, 10) : text;
|
|
|
return text;
|
|
|
},
|
|
|
- },
|
|
|
- {
|
|
|
+ },
|
|
|
+ {
|
|
|
title: '申请人',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'applicant'
|
|
|
- },
|
|
|
- {
|
|
|
+ align: 'center',
|
|
|
+ dataIndex: 'applicant',
|
|
|
+ },
|
|
|
+ {
|
|
|
title: '备注',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'remark'
|
|
|
- },
|
|
|
- {
|
|
|
+ align: 'center',
|
|
|
+ dataIndex: 'remark',
|
|
|
+ },
|
|
|
+ {
|
|
|
title: '当前节点',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'currentNode'
|
|
|
- },
|
|
|
- {
|
|
|
+ align: 'center',
|
|
|
+ dataIndex: 'currentNode',
|
|
|
+ },
|
|
|
+ {
|
|
|
title: '审批状态',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'approvalStatus'
|
|
|
- },
|
|
|
- {
|
|
|
+ align: 'center',
|
|
|
+ dataIndex: 'approvalStatus',
|
|
|
+ customRender: ({ text }) => {
|
|
|
+ return render.renderDictTag(text, 'approval_status');
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
title: '审批结束时间',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'approvalEndTime'
|
|
|
- },
|
|
|
- {
|
|
|
+ align: 'center',
|
|
|
+ dataIndex: 'approvalEndTime',
|
|
|
+ },
|
|
|
+ {
|
|
|
title: '采购周期',
|
|
|
- align:"center",
|
|
|
- dataIndex: 'purchaseCycle'
|
|
|
- },
|
|
|
+ align: 'center',
|
|
|
+ dataIndex: 'purchaseCycle',
|
|
|
+ },
|
|
|
];
|
|
|
//查询数据
|
|
|
-export const searchFormSchema: FormSchema[] = [
|
|
|
-];
|
|
|
+export const searchFormSchema: FormSchema[] = [];
|
|
|
//表单数据
|
|
|
export const formSchema: FormSchema[] = [
|
|
|
{
|
|
|
label: '计划编号',
|
|
|
field: 'planNumber',
|
|
|
component: 'Input',
|
|
|
+ colProps: { span: 12 },
|
|
|
+ rules: [{ required: true, message: '请输入计划编号' }],
|
|
|
},
|
|
|
{
|
|
|
label: '标题',
|
|
|
field: 'title',
|
|
|
component: 'Input',
|
|
|
+ colProps: { span: 12 },
|
|
|
+ rules: [{ required: true, message: '请输入计划标题' }],
|
|
|
},
|
|
|
{
|
|
|
- label: '采购类型(1 设备采购 2 备件物料采购)',
|
|
|
+ label: '采购类型',
|
|
|
field: 'purchaseType',
|
|
|
- component: 'InputNumber',
|
|
|
+ component: 'JDictSelectTag',
|
|
|
+ componentProps: {
|
|
|
+ dictCode: 'purchase_type',
|
|
|
+ },
|
|
|
+ colProps: { span: 12 },
|
|
|
+ rules: [{ required: true, message: '请选择采购类型' }],
|
|
|
},
|
|
|
{
|
|
|
label: '计划采购数量',
|
|
|
field: 'planPurchaseNum',
|
|
|
component: 'InputNumber',
|
|
|
+ componentProps: {
|
|
|
+ min: 1,
|
|
|
+ },
|
|
|
+ defaultValue: 1,
|
|
|
+ colProps: { span: 12 },
|
|
|
+ rules: [{ required: true, message: '请输入计划采购数量' }],
|
|
|
},
|
|
|
{
|
|
|
label: '计划金额',
|
|
|
field: 'planAmount',
|
|
|
component: 'InputNumber',
|
|
|
+ colProps: { span: 12 },
|
|
|
+ rules: [{ required: true, message: '请输入计划金额' }],
|
|
|
},
|
|
|
{
|
|
|
label: '申请时间',
|
|
|
field: 'applicationTime',
|
|
|
component: 'DatePicker',
|
|
|
- componentProps:{
|
|
|
- valueFormat: 'YYYY-MM-DD'
|
|
|
- },
|
|
|
+ componentProps: {
|
|
|
+ showTime: true,
|
|
|
+ valueFormat: 'YYYY-MM-DD HH:mm:ss',
|
|
|
+ },
|
|
|
+ defaultValue: dayjs().format('YYYY-MM-DD HH:mm:ss'),
|
|
|
+ colProps: { span: 12 },
|
|
|
+ rules: [{ required: true, message: '请选择申请时间' }],
|
|
|
},
|
|
|
{
|
|
|
label: '申请人',
|
|
|
field: 'applicant',
|
|
|
- component: 'Input',
|
|
|
+ component: 'JSelectUser',
|
|
|
+ componentProps: {
|
|
|
+ maxSelectCount: 1,
|
|
|
+ },
|
|
|
+ colProps: { span: 12 },
|
|
|
+ rules: [{ required: true, message: '请选择申请人' }],
|
|
|
},
|
|
|
{
|
|
|
- label: '备注',
|
|
|
- field: 'remark',
|
|
|
+ label: '采购周期',
|
|
|
+ field: 'purchaseCycle',
|
|
|
component: 'Input',
|
|
|
+ colProps: { span: 12 },
|
|
|
+ rules: [{ required: true, message: '请输入采购周期' }],
|
|
|
},
|
|
|
{
|
|
|
label: '当前节点',
|
|
|
field: 'currentNode',
|
|
|
component: 'Input',
|
|
|
+ colProps: { span: 12 },
|
|
|
},
|
|
|
{
|
|
|
label: '审批状态',
|
|
|
field: 'approvalStatus',
|
|
|
- component: 'InputNumber',
|
|
|
+ component: 'JDictSelectTag',
|
|
|
+ componentProps: {
|
|
|
+ dictCode: 'approval_status',
|
|
|
+ },
|
|
|
+ defaultValue: '1',
|
|
|
+ colProps: { span: 12 },
|
|
|
},
|
|
|
{
|
|
|
label: '审批结束时间',
|
|
|
field: 'approvalEndTime',
|
|
|
component: 'DatePicker',
|
|
|
componentProps: {
|
|
|
- showTime:true,
|
|
|
- valueFormat: 'YYYY-MM-DD HH:mm:ss'
|
|
|
- },
|
|
|
+ showTime: true,
|
|
|
+ valueFormat: 'YYYY-MM-DD HH:mm:ss',
|
|
|
+ },
|
|
|
+ defaultValue: dayjs().add(1, 'month').format('YYYY-MM-DD HH:mm:ss'),
|
|
|
+ colProps: { span: 12 },
|
|
|
},
|
|
|
{
|
|
|
- label: '采购周期',
|
|
|
- field: 'purchaseCycle',
|
|
|
+ label: '备注',
|
|
|
+ field: 'remark',
|
|
|
+ component: 'InputTextArea',
|
|
|
+ },
|
|
|
+ // TODO 主键隐藏字段,目前写死为ID
|
|
|
+ {
|
|
|
+ label: '',
|
|
|
+ field: 'id',
|
|
|
component: 'Input',
|
|
|
+ show: false,
|
|
|
},
|
|
|
- // TODO 主键隐藏字段,目前写死为ID
|
|
|
- {
|
|
|
- label: '',
|
|
|
- field: 'id',
|
|
|
- component: 'Input',
|
|
|
- show: false
|
|
|
- },
|
|
|
];
|
|
|
//子表单数据
|
|
|
//子表表格配置
|
|
|
export const purchaseAttachmentsColumns: JVxeColumn[] = [
|
|
|
- {
|
|
|
- title: '文件地址',
|
|
|
- key: 'fileAddress',
|
|
|
- type: JVxeTypes.image,
|
|
|
- token:true,
|
|
|
- responseName:"message",
|
|
|
- width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '采购计划id(外键)',
|
|
|
- key: 'purchasePlanId',
|
|
|
- type: JVxeTypes.input,
|
|
|
- width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '文件名称',
|
|
|
- key: 'fileName',
|
|
|
- type: JVxeTypes.input,
|
|
|
- width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
- ]
|
|
|
+ {
|
|
|
+ title: '文件地址',
|
|
|
+ key: 'fileAddress',
|
|
|
+ type: JVxeTypes.upload,
|
|
|
+ token: true,
|
|
|
+ action: '/jeecgboot/sys/common/upload',
|
|
|
+ responseName: 'message',
|
|
|
+ placeholder: '请输入${title}',
|
|
|
+ defaultValue: '',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '文件名称',
|
|
|
+ key: 'fileName',
|
|
|
+ type: JVxeTypes.input,
|
|
|
+ placeholder: '请输入${title}',
|
|
|
+ defaultValue: '',
|
|
|
+ },
|
|
|
+];
|
|
|
export const purchasePlanInfoColumns: JVxeColumn[] = [
|
|
|
- {
|
|
|
- title: '编号',
|
|
|
- key: 'number',
|
|
|
- type: JVxeTypes.input,
|
|
|
- width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '名称',
|
|
|
- key: 'name',
|
|
|
- type: JVxeTypes.input,
|
|
|
- width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '规格型号',
|
|
|
- key: 'specification',
|
|
|
- type: JVxeTypes.input,
|
|
|
- width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '数量',
|
|
|
- key: 'amount',
|
|
|
- type: JVxeTypes.inputNumber,
|
|
|
- width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '预计单价',
|
|
|
- key: 'expectedPrice',
|
|
|
- type: JVxeTypes.inputNumber,
|
|
|
- width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '单位',
|
|
|
- key: 'unit',
|
|
|
- type: JVxeTypes.input,
|
|
|
- width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '供应商',
|
|
|
- key: 'supplier',
|
|
|
- type: JVxeTypes.input,
|
|
|
- width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '备注',
|
|
|
- key: 'remark',
|
|
|
- type: JVxeTypes.input,
|
|
|
- width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '小计',
|
|
|
- key: 'total',
|
|
|
- type: JVxeTypes.inputNumber,
|
|
|
- width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
- {
|
|
|
- title: '采购计划id(外键)',
|
|
|
- key: 'purchasePlanId',
|
|
|
- type: JVxeTypes.input,
|
|
|
- width:"200px",
|
|
|
- placeholder: '请输入${title}',
|
|
|
- defaultValue:'',
|
|
|
- },
|
|
|
- ]
|
|
|
-
|
|
|
+ {
|
|
|
+ title: '编号',
|
|
|
+ key: 'number',
|
|
|
+ dataIndex: 'number',
|
|
|
+ type: JVxeTypes.input,
|
|
|
+ width: '100px',
|
|
|
+ placeholder: '请输入${title}',
|
|
|
+ defaultValue: '',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '名称',
|
|
|
+ key: 'name',
|
|
|
+ dataIndex: 'name',
|
|
|
+ type: JVxeTypes.input,
|
|
|
+ width: '100px',
|
|
|
+ placeholder: '请输入${title}',
|
|
|
+ defaultValue: '',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '规格型号',
|
|
|
+ key: 'specification',
|
|
|
+ dataIndex: 'specification',
|
|
|
+ type: JVxeTypes.input,
|
|
|
+ width: '100px',
|
|
|
+ placeholder: '请输入${title}',
|
|
|
+ defaultValue: '',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '数量',
|
|
|
+ key: 'amount',
|
|
|
+ dataIndex: 'amount',
|
|
|
+ type: JVxeTypes.inputNumber,
|
|
|
+ width: '60px',
|
|
|
+ placeholder: '请输入${title}',
|
|
|
+ defaultValue: '',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '预计单价',
|
|
|
+ key: 'expectedPrice',
|
|
|
+ dataIndex: 'expectedPrice',
|
|
|
+ type: JVxeTypes.inputNumber,
|
|
|
+ width: '100px',
|
|
|
+ placeholder: '请输入${title}',
|
|
|
+ defaultValue: '',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '单位',
|
|
|
+ key: 'unit',
|
|
|
+ dataIndex: 'unit',
|
|
|
+ type: JVxeTypes.select,
|
|
|
+ width: '70px',
|
|
|
+ placeholder: '请输入${title}',
|
|
|
+ defaultValue: '',
|
|
|
+ allowSearch: true,
|
|
|
+ dictCode: 'unit_type',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '供应商',
|
|
|
+ key: 'supplier',
|
|
|
+ dataIndex: 'supplier',
|
|
|
+ type: JVxeTypes.slot,
|
|
|
+ width: '240px',
|
|
|
+ placeholder: '请输入${title}',
|
|
|
+ defaultValue: '',
|
|
|
+ slotName: 'supplier',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '备注',
|
|
|
+ key: 'remark',
|
|
|
+ dataIndex: 'remark',
|
|
|
+ type: JVxeTypes.textarea,
|
|
|
+ width: '200px',
|
|
|
+ placeholder: '请输入${title}',
|
|
|
+ defaultValue: '',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '小计',
|
|
|
+ key: 'total',
|
|
|
+ dataIndex: 'total',
|
|
|
+ type: JVxeTypes.inputNumber,
|
|
|
+ width: '120px',
|
|
|
+ placeholder: '请输入${title}',
|
|
|
+ defaultValue: '',
|
|
|
+ },
|
|
|
+];
|
|
|
|
|
|
// 高级查询数据
|
|
|
export const superQuerySchema = {
|
|
|
- planNumber: {title: '计划编号',order: 0,view: 'text', type: 'string',},
|
|
|
- title: {title: '标题',order: 1,view: 'text', type: 'string',},
|
|
|
- purchaseType: {title: '采购类型(1 设备采购 2 备件物料采购)',order: 2,view: 'number', type: 'number',},
|
|
|
- planPurchaseNum: {title: '计划采购数量',order: 3,view: 'number', type: 'number',},
|
|
|
- planAmount: {title: '计划金额',order: 4,view: 'number', type: 'number',},
|
|
|
- applicationTime: {title: '申请时间',order: 5,view: 'date', type: 'string',},
|
|
|
- applicant: {title: '申请人',order: 6,view: 'text', type: 'string',},
|
|
|
- remark: {title: '备注',order: 7,view: 'text', type: 'string',},
|
|
|
- currentNode: {title: '当前节点',order: 8,view: 'text', type: 'string',},
|
|
|
- approvalStatus: {title: '审批状态',order: 9,view: 'number', type: 'number',},
|
|
|
- approvalEndTime: {title: '审批结束时间',order: 10,view: 'datetime', type: 'string',},
|
|
|
- purchaseCycle: {title: '采购周期',order: 11,view: 'text', type: 'string',},
|
|
|
+ planNumber: { title: '计划编号', order: 0, view: 'text', type: 'string' },
|
|
|
+ title: { title: '标题', order: 1, view: 'text', type: 'string' },
|
|
|
+ purchaseType: { title: '采购类型(1 设备采购 2 备件物料采购)', order: 2, view: 'number', type: 'number' },
|
|
|
+ planPurchaseNum: { title: '计划采购数量', order: 3, view: 'number', type: 'number' },
|
|
|
+ planAmount: { title: '计划金额', order: 4, view: 'number', type: 'number' },
|
|
|
+ applicationTime: { title: '申请时间', order: 5, view: 'date', type: 'string' },
|
|
|
+ applicant: { title: '申请人', order: 6, view: 'text', type: 'string' },
|
|
|
+ remark: { title: '备注', order: 7, view: 'text', type: 'string' },
|
|
|
+ currentNode: { title: '当前节点', order: 8, view: 'text', type: 'string' },
|
|
|
+ approvalStatus: { title: '审批状态', order: 9, view: 'number', type: 'number' },
|
|
|
+ approvalEndTime: { title: '审批结束时间', order: 10, view: 'datetime', type: 'string' },
|
|
|
+ purchaseCycle: { title: '采购周期', order: 11, view: 'text', type: 'string' },
|
|
|
//子表高级查询
|
|
|
purchaseAttachments: {
|
|
|
title: '采购计划相关附件',
|
|
|
view: 'table',
|
|
|
fields: {
|
|
|
- fileAddress: {title: '文件地址',order: 0,view: 'image', type: 'string',},
|
|
|
- purchasePlanId: {title: '采购计划id(外键)',order: 1,view: 'text', type: 'string',},
|
|
|
- fileName: {title: '文件名称',order: 2,view: 'text', type: 'string',},
|
|
|
- }
|
|
|
+ fileAddress: { title: '文件地址', order: 0, view: 'image', type: 'string' },
|
|
|
+ purchasePlanId: { title: '采购计划id(外键)', order: 1, view: 'text', type: 'string' },
|
|
|
+ fileName: { title: '文件名称', order: 2, view: 'text', type: 'string' },
|
|
|
+ },
|
|
|
},
|
|
|
purchasePlanInfo: {
|
|
|
title: '采购计划信息',
|
|
|
view: 'table',
|
|
|
fields: {
|
|
|
- number: {title: '编号',order: 0,view: 'text', type: 'string',},
|
|
|
- name: {title: '名称',order: 1,view: 'text', type: 'string',},
|
|
|
- specification: {title: '规格型号',order: 2,view: 'text', type: 'string',},
|
|
|
- amount: {title: '数量',order: 3,view: 'number', type: 'number',},
|
|
|
- expectedPrice: {title: '预计单价',order: 4,view: 'number', type: 'number',},
|
|
|
- unit: {title: '单位',order: 5,view: 'text', type: 'string',},
|
|
|
- supplier: {title: '供应商',order: 6,view: 'text', type: 'string',},
|
|
|
- remark: {title: '备注',order: 7,view: 'text', type: 'string',},
|
|
|
- total: {title: '小计',order: 8,view: 'number', type: 'number',},
|
|
|
- purchasePlanId: {title: '采购计划id(外键)',order: 9,view: 'text', type: 'string',},
|
|
|
- }
|
|
|
+ number: { title: '编号', order: 0, view: 'text', type: 'string' },
|
|
|
+ name: { title: '名称', order: 1, view: 'text', type: 'string' },
|
|
|
+ specification: { title: '规格型号', order: 2, view: 'text', type: 'string' },
|
|
|
+ amount: { title: '数量', order: 3, view: 'number', type: 'number' },
|
|
|
+ expectedPrice: { title: '预计单价', order: 4, view: 'number', type: 'number' },
|
|
|
+ unit: { title: '单位', order: 5, view: 'text', type: 'string' },
|
|
|
+ supplier: { title: '供应商', order: 6, view: 'text', type: 'string' },
|
|
|
+ remark: { title: '备注', order: 7, view: 'text', type: 'string' },
|
|
|
+ total: { title: '小计', order: 8, view: 'number', type: 'number' },
|
|
|
+ purchasePlanId: { title: '采购计划id(外键)', order: 9, view: 'text', type: 'string' },
|
|
|
+ },
|
|
|
},
|
|
|
};
|
|
|
|
|
|
/**
|
|
|
-* 流程表单调用这个方法获取formSchema
|
|
|
-* @param param
|
|
|
-*/
|
|
|
-export function getBpmFormSchema(_formData): FormSchema[]{
|
|
|
-// 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema
|
|
|
+ * 流程表单调用这个方法获取formSchema
|
|
|
+ * @param param
|
|
|
+ */
|
|
|
+export function getBpmFormSchema(_formData): FormSchema[] {
|
|
|
+ // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema
|
|
|
return formSchema;
|
|
|
-}
|
|
|
+}
|