diff --git a/src/api/plan/PlanYearDemandHdr/index.ts b/src/api/plan/PlanYearDemandHdr/index.ts new file mode 100644 index 0000000..f702471 --- /dev/null +++ b/src/api/plan/PlanYearDemandHdr/index.ts @@ -0,0 +1,89 @@ +import { LngPlanYearDemandHdrPageModel, LngPlanYearDemandHdrPageParams, LngPlanYearDemandHdrPageResult } from './model/PlanYearDemandHdrModel'; +import { defHttp } from '/@/utils/http/axios'; +import { ErrorMessageMode } from '/#/axios'; + +enum Api { + Page = '/plan/planYearDemandHdr/page', + List = '/plan/planYearDemandHdr/list', + Info = '/plan/planYearDemandHdr/info', + LngPlanYearDemandHdr = '/plan/planYearDemandHdr', + + + + +} + +/** + * @description: 查询LngPlanYearDemandHdr分页列表 + */ +export async function getLngPlanYearDemandHdrPage(params: LngPlanYearDemandHdrPageParams, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Page, + params, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 获取LngPlanYearDemandHdr信息 + */ +export async function getLngPlanYearDemandHdr(id: String, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Info, + params: { id }, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 新增LngPlanYearDemandHdr + */ +export async function addLngPlanYearDemandHdr(lngPlanYearDemandHdr: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.post( + { + url: Api.LngPlanYearDemandHdr, + params: lngPlanYearDemandHdr, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 更新LngPlanYearDemandHdr + */ +export async function updateLngPlanYearDemandHdr(lngPlanYearDemandHdr: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.put( + { + url: Api.LngPlanYearDemandHdr, + params: lngPlanYearDemandHdr, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 删除LngPlanYearDemandHdr(批量删除) + */ +export async function deleteLngPlanYearDemandHdr(ids: string[], mode: ErrorMessageMode = 'modal') { + return defHttp.delete( + { + url: Api.LngPlanYearDemandHdr, + data: ids, + }, + { + errorMessageMode: mode, + }, + ); +} \ No newline at end of file diff --git a/src/api/plan/PlanYearDemandHdr/model/PlanYearDemandHdrModel.ts b/src/api/plan/PlanYearDemandHdr/model/PlanYearDemandHdrModel.ts new file mode 100644 index 0000000..17de9bc --- /dev/null +++ b/src/api/plan/PlanYearDemandHdr/model/PlanYearDemandHdrModel.ts @@ -0,0 +1,46 @@ +import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel'; + +/** + * @description: LngPlanYearDemandHdr分页参数 模型 + */ +export interface LngPlanYearDemandHdrPageParams extends BasicPageParams { + id: string; + + planYear: string; + + demandVerNo: string; + + cuCode: string; + + note: string; + + reply: string; + + approCode: string; +} + +/** + * @description: LngPlanYearDemandHdr分页返回值模型 + */ +export interface LngPlanYearDemandHdrPageModel { + id: string; + + planYear: string; + + demandVerNo: string; + + cuCode: string; + + note: string; + + reply: string; + + approCode: string; +} + +0; + +/** + * @description: LngPlanYearDemandHdr分页返回值结构 + */ +export type LngPlanYearDemandHdrPageResult = BasicFetchResult; \ No newline at end of file diff --git a/src/api/plan/PlanYearDemandHdrEc/index.ts b/src/api/plan/PlanYearDemandHdrEc/index.ts new file mode 100644 index 0000000..4bfad2e --- /dev/null +++ b/src/api/plan/PlanYearDemandHdrEc/index.ts @@ -0,0 +1,114 @@ +import { LngPlanYearDemandHdrPageModel, LngPlanYearDemandHdrPageParams, LngPlanYearDemandHdrPageResult } from './model/PlanYearDemandHdrEcModel'; +import { defHttp } from '/@/utils/http/axios'; +import { ErrorMessageMode } from '/#/axios'; + +enum Api { + Page = '/plan/planYearDemandHdrEc/page', + List = '/plan/planYearDemandHdrEc/list', + Info = '/plan/planYearDemandHdrEc/info', + LngPlanYearDemandHdr = '/plan/planYearDemandHdrEc', + + + Export = '/plan/planYearDemandHdrEc/export', + + +} + +/** + * @description: 查询LngPlanYearDemandHdr分页列表 + */ +export async function getLngPlanYearDemandHdrPage(params: LngPlanYearDemandHdrPageParams, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Page, + params, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 获取LngPlanYearDemandHdr信息 + */ +export async function getLngPlanYearDemandHdr(id: String, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Info, + params: { id }, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 新增LngPlanYearDemandHdr + */ +export async function addLngPlanYearDemandHdr(lngPlanYearDemandHdr: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.post( + { + url: Api.LngPlanYearDemandHdr, + params: lngPlanYearDemandHdr, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 更新LngPlanYearDemandHdr + */ +export async function updateLngPlanYearDemandHdr(lngPlanYearDemandHdr: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.put( + { + url: Api.LngPlanYearDemandHdr, + params: lngPlanYearDemandHdr, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 删除LngPlanYearDemandHdr(批量删除) + */ +export async function deleteLngPlanYearDemandHdr(ids: string[], mode: ErrorMessageMode = 'modal') { + return defHttp.delete( + { + url: Api.LngPlanYearDemandHdr, + data: ids, + }, + { + errorMessageMode: mode, + }, + ); +} + + + + + +/** + * @description: 导出LngPlanYearDemandHdr + */ +export async function exportLngPlanYearDemandHdr( + params?: object, + mode: ErrorMessageMode = 'modal' +) { + return defHttp.download( + { + url: Api.Export, + method: 'GET', + params, + responseType: 'blob', + }, + { + errorMessageMode: mode, + }, + ); +} \ No newline at end of file diff --git a/src/api/plan/PlanYearDemandHdrEc/model/PlanYearDemandHdrEcModel.ts b/src/api/plan/PlanYearDemandHdrEc/model/PlanYearDemandHdrEcModel.ts new file mode 100644 index 0000000..07037c0 --- /dev/null +++ b/src/api/plan/PlanYearDemandHdrEc/model/PlanYearDemandHdrEcModel.ts @@ -0,0 +1,42 @@ +import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel'; + +/** + * @description: LngPlanYearDemandHdr分页参数 模型 + */ +export interface LngPlanYearDemandHdrPageParams extends BasicPageParams { + id: string; + + planYear: string; + + demandVerNo: string; + + note: string; + + reply: string; + + approCode: string; +} + +/** + * @description: LngPlanYearDemandHdr分页返回值模型 + */ +export interface LngPlanYearDemandHdrPageModel { + id: string; + + planYear: string; + + demandVerNo: string; + + note: string; + + reply: string; + + approCode: string; +} + +0; + +/** + * @description: LngPlanYearDemandHdr分页返回值结构 + */ +export type LngPlanYearDemandHdrPageResult = BasicFetchResult; \ No newline at end of file diff --git a/src/router/routes/basic.ts b/src/router/routes/basic.ts index 6c1befe..1f8418f 100644 --- a/src/router/routes/basic.ts +++ b/src/router/routes/basic.ts @@ -406,6 +406,14 @@ export const PAGE_CUSTOM_ROUTE: AppRouteRecordRaw[] = [{ title: (route) => (route.query.formName) } }, + { + path: '/plan/PlanYearDemandHdrEc/createForm', + name: 'PlanYearDemandHdrEc', + component: () => import('/@/views/plan/PlanYearDemandHdrEc/components/createForm.vue'), + meta: { + title: (route) => (route.query.formName) + } + }, ] diff --git a/src/views/plan/PlanYearDemandHdr/components/Form.vue b/src/views/plan/PlanYearDemandHdr/components/Form.vue new file mode 100644 index 0000000..4d82194 --- /dev/null +++ b/src/views/plan/PlanYearDemandHdr/components/Form.vue @@ -0,0 +1,224 @@ + + \ No newline at end of file diff --git a/src/views/plan/PlanYearDemandHdr/components/PlanYearDemandHdrModal.vue b/src/views/plan/PlanYearDemandHdr/components/PlanYearDemandHdrModal.vue new file mode 100644 index 0000000..0cf2395 --- /dev/null +++ b/src/views/plan/PlanYearDemandHdr/components/PlanYearDemandHdrModal.vue @@ -0,0 +1,110 @@ + + \ No newline at end of file diff --git a/src/views/plan/PlanYearDemandHdr/components/config.ts b/src/views/plan/PlanYearDemandHdr/components/config.ts new file mode 100644 index 0000000..fb8f5c2 --- /dev/null +++ b/src/views/plan/PlanYearDemandHdr/components/config.ts @@ -0,0 +1,410 @@ +import { FormProps, FormSchema } from '/@/components/Form'; +import { BasicColumn } from '/@/components/Table'; + +export const formConfig = { + useCustomConfig: false, +}; + +export const searchFormSchema: FormSchema[] = [ + { + field: 'planYear', + label: '年度', + component: 'DatePicker', + componentProps: { + format: 'YYYY', + picker: 'year', + style: { width: '100%' }, + getPopupContainer: () => document.body, + }, + }, + { + field: 'cuName', + label: '客户', + component: 'Input', + }, + { + field: 'approCode', + label: '审批状态', + component: 'XjrSelect', + componentProps: { + datasourceType: 'dic', + params: { itemId: '2041424751560290306' }, + labelField: 'name', + valueField: 'value', + + getPopupContainer: () => document.body, + }, + } +]; + +export const columns: BasicColumn[] = [ + + { + dataIndex: 'planYear', + title: '年度', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'demandVerNo', + title: '版本号', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'cuName', + title: '客户', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'note', + title: '备注', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'reply', + title: '批复意见', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'approName', + title: '状态', + componentType: 'input', + align: 'left', + + sorter: true, + }, +]; +//表单事件 +export const formEventConfigs = { + 0: [ + { + type: 'circle', + color: '#2774ff', + text: '开始节点', + icon: '#icon-kaishi', + bgcColor: '#D8E5FF', + isUserDefined: false, + }, + { + color: '#F6AB01', + icon: '#icon-chushihua', + text: '初始化表单', + bgcColor: '#f9f5ea', + isUserDefined: false, + nodeInfo: { processEvent: [] }, + }, + ], + 1: [ + { + color: '#B36EDB', + icon: '#icon-shujufenxi', + text: '获取表单数据', + detail: '(新增无此操作)', + bgcColor: '#F8F2FC', + isUserDefined: false, + nodeInfo: { processEvent: [] }, + }, + ], + 2: [ + { + color: '#F8625C', + icon: '#icon-jiazai', + text: '加载表单', + bgcColor: '#FFF1F1', + isUserDefined: false, + nodeInfo: { processEvent: [] }, + }, + ], + 3: [ + { + color: '#6C6AE0', + icon: '#icon-jsontijiao', + text: '提交表单', + bgcColor: '#F5F4FF', + isUserDefined: false, + nodeInfo: { processEvent: [] }, + }, + ], + 4: [ + { + type: 'circle', + color: '#F8625C', + text: '结束节点', + icon: '#icon-jieshuzhiliao', + bgcColor: '#FFD6D6', + isLast: true, + isUserDefined: false, + }, + ], +}; +export const formProps: FormProps = { + labelCol: { span: 3, offset: 0 }, + labelAlign: 'right', + layout: 'horizontal', + size: 'default', + schemas: [ + { + key: '0f55d4a505584be19d8e69413d6f3cf9', + field: 'id', + label: 'id', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入id', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '8d4b43677c554eaaa2bddde3bc2e9f78', + field: 'planYear', + label: '年度', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入年度', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '0d4dabfba38645a999d7edef890b1cea', + field: 'demandVerNo', + label: '版本号', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入版本号', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '3c532771635d425d8b04a6b4656e0d91', + field: 'cuCode', + label: '客户', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入客户', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: 'a8591e27bbcc4fa4a32ab49906ddd0f9', + field: 'note', + label: '备注', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入备注', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '5e7f348c8e5241719d9b9261bd58dd03', + field: 'reply', + label: '批复意见', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入批复意见', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '983178cd214946c1b4e34f5fe5600eaf', + field: 'approCode', + label: '状态', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入状态', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + ], + showActionButtonGroup: false, + buttonLocation: 'center', + actionColOptions: { span: 24 }, + showResetButton: false, + showSubmitButton: false, + hiddenComponent: [], +}; \ No newline at end of file diff --git a/src/views/plan/PlanYearDemandHdr/components/workflowPermission.ts b/src/views/plan/PlanYearDemandHdr/components/workflowPermission.ts new file mode 100644 index 0000000..b267997 --- /dev/null +++ b/src/views/plan/PlanYearDemandHdr/components/workflowPermission.ts @@ -0,0 +1,107 @@ +export const permissionList = [ + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: 'id', + fieldId: 'id', + isSubTable: false, + showChildren: true, + type: 'input', + key: '0f55d4a505584be19d8e69413d6f3cf9', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '年度', + fieldId: 'planYear', + isSubTable: false, + showChildren: true, + type: 'input', + key: '8d4b43677c554eaaa2bddde3bc2e9f78', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '版本号', + fieldId: 'demandVerNo', + isSubTable: false, + showChildren: true, + type: 'input', + key: '0d4dabfba38645a999d7edef890b1cea', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '客户', + fieldId: 'cuCode', + isSubTable: false, + showChildren: true, + type: 'input', + key: '3c532771635d425d8b04a6b4656e0d91', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '备注', + fieldId: 'note', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'a8591e27bbcc4fa4a32ab49906ddd0f9', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '批复意见', + fieldId: 'reply', + isSubTable: false, + showChildren: true, + type: 'input', + key: '5e7f348c8e5241719d9b9261bd58dd03', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '状态', + fieldId: 'approCode', + isSubTable: false, + showChildren: true, + type: 'input', + key: '983178cd214946c1b4e34f5fe5600eaf', + children: [], + }, +]; \ No newline at end of file diff --git a/src/views/plan/PlanYearDemandHdr/index.vue b/src/views/plan/PlanYearDemandHdr/index.vue new file mode 100644 index 0000000..b10211d --- /dev/null +++ b/src/views/plan/PlanYearDemandHdr/index.vue @@ -0,0 +1,277 @@ + + + \ No newline at end of file diff --git a/src/views/plan/PlanYearDemandHdrEc/components/Form.vue b/src/views/plan/PlanYearDemandHdrEc/components/Form.vue new file mode 100644 index 0000000..477e1a1 --- /dev/null +++ b/src/views/plan/PlanYearDemandHdrEc/components/Form.vue @@ -0,0 +1,224 @@ + + \ No newline at end of file diff --git a/src/views/plan/PlanYearDemandHdrEc/components/PlanYearDemandHdrEcModal.vue b/src/views/plan/PlanYearDemandHdrEc/components/PlanYearDemandHdrEcModal.vue new file mode 100644 index 0000000..0cf2395 --- /dev/null +++ b/src/views/plan/PlanYearDemandHdrEc/components/PlanYearDemandHdrEcModal.vue @@ -0,0 +1,110 @@ + + \ No newline at end of file diff --git a/src/views/plan/PlanYearDemandHdrEc/components/config.ts b/src/views/plan/PlanYearDemandHdrEc/components/config.ts new file mode 100644 index 0000000..59aeda8 --- /dev/null +++ b/src/views/plan/PlanYearDemandHdrEc/components/config.ts @@ -0,0 +1,349 @@ +import { FormProps, FormSchema } from '/@/components/Form'; +import { BasicColumn } from '/@/components/Table'; + +export const formConfig = { + useCustomConfig: false, +}; + +export const searchFormSchema: FormSchema[] = [ + { + field: 'planYear', + label: '年度', + component: 'DatePicker', + componentProps: { + format: 'YYYY', + picker: 'year', + style: { width: '100%' }, + getPopupContainer: () => document.body, + }, + }, +]; + +export const columns: BasicColumn[] = [ + + { + dataIndex: 'planYear', + title: '年度', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'demandVerNo', + title: '版本号', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'note', + title: '备注', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'reply', + title: '批复意见', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'approName', + title: '状态', + componentType: 'input', + align: 'left', + + sorter: true, + }, +]; +//表单事件 +export const formEventConfigs = { + 0: [ + { + type: 'circle', + color: '#2774ff', + text: '开始节点', + icon: '#icon-kaishi', + bgcColor: '#D8E5FF', + isUserDefined: false, + }, + { + color: '#F6AB01', + icon: '#icon-chushihua', + text: '初始化表单', + bgcColor: '#f9f5ea', + isUserDefined: false, + nodeInfo: { processEvent: [] }, + }, + ], + 1: [ + { + color: '#B36EDB', + icon: '#icon-shujufenxi', + text: '获取表单数据', + detail: '(新增无此操作)', + bgcColor: '#F8F2FC', + isUserDefined: false, + nodeInfo: { processEvent: [] }, + }, + ], + 2: [ + { + color: '#F8625C', + icon: '#icon-jiazai', + text: '加载表单', + bgcColor: '#FFF1F1', + isUserDefined: false, + nodeInfo: { processEvent: [] }, + }, + ], + 3: [ + { + color: '#6C6AE0', + icon: '#icon-jsontijiao', + text: '提交表单', + bgcColor: '#F5F4FF', + isUserDefined: false, + nodeInfo: { processEvent: [] }, + }, + ], + 4: [ + { + type: 'circle', + color: '#F8625C', + text: '结束节点', + icon: '#icon-jieshuzhiliao', + bgcColor: '#FFD6D6', + isLast: true, + isUserDefined: false, + }, + ], +}; +export const formProps: FormProps = { + labelCol: { span: 3, offset: 0 }, + labelAlign: 'right', + layout: 'horizontal', + size: 'default', + schemas: [ + { + key: '74ddba3c60094d51b749402f9e8e57c3', + field: 'id', + label: 'id', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入id', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '764c944652104dd6a660ae05c74a0ede', + field: 'planYear', + label: '年度', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入年度', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: 'ea1d8a8a99cc4aadbf63f3ac6ed24b3d', + field: 'demandVerNo', + label: '版本号', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入版本号', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '39b1078b4076431b8fbf9af2e848ebe3', + field: 'note', + label: '备注', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入备注', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '74147ba379aa413c8526c44f9e35a17c', + field: 'reply', + label: '批复意见', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入批复意见', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: 'b0afca6ea5cc4bf2aa924ae235e18bd0', + field: 'approCode', + label: '状态', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入状态', + maxlength: null, + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + ], + showActionButtonGroup: false, + buttonLocation: 'center', + actionColOptions: { span: 24 }, + showResetButton: false, + showSubmitButton: false, + hiddenComponent: [], +}; \ No newline at end of file diff --git a/src/views/plan/PlanYearDemandHdrEc/components/createForm.vue b/src/views/plan/PlanYearDemandHdrEc/components/createForm.vue new file mode 100644 index 0000000..8b68801 --- /dev/null +++ b/src/views/plan/PlanYearDemandHdrEc/components/createForm.vue @@ -0,0 +1,293 @@ + + + + + diff --git a/src/views/plan/PlanYearDemandHdrEc/components/workflowPermission.ts b/src/views/plan/PlanYearDemandHdrEc/components/workflowPermission.ts new file mode 100644 index 0000000..07fb655 --- /dev/null +++ b/src/views/plan/PlanYearDemandHdrEc/components/workflowPermission.ts @@ -0,0 +1,92 @@ +export const permissionList = [ + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: 'id', + fieldId: 'id', + isSubTable: false, + showChildren: true, + type: 'input', + key: '74ddba3c60094d51b749402f9e8e57c3', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '年度', + fieldId: 'planYear', + isSubTable: false, + showChildren: true, + type: 'input', + key: '764c944652104dd6a660ae05c74a0ede', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '版本号', + fieldId: 'demandVerNo', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'ea1d8a8a99cc4aadbf63f3ac6ed24b3d', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '备注', + fieldId: 'note', + isSubTable: false, + showChildren: true, + type: 'input', + key: '39b1078b4076431b8fbf9af2e848ebe3', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '批复意见', + fieldId: 'reply', + isSubTable: false, + showChildren: true, + type: 'input', + key: '74147ba379aa413c8526c44f9e35a17c', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '状态', + fieldId: 'approCode', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'b0afca6ea5cc4bf2aa924ae235e18bd0', + children: [], + }, +]; \ No newline at end of file diff --git a/src/views/plan/PlanYearDemandHdrEc/index.vue b/src/views/plan/PlanYearDemandHdrEc/index.vue new file mode 100644 index 0000000..b4f5bd1 --- /dev/null +++ b/src/views/plan/PlanYearDemandHdrEc/index.vue @@ -0,0 +1,297 @@ + + + \ No newline at end of file