From 3a441823c9db6b01484941d43e6fc9996d5e1856 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98huanghaiixia=E2=80=99?= <980486410@.com> Date: Thu, 29 Jan 2026 13:34:08 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E9=81=93=E6=B0=94=20=E6=8E=A5?= =?UTF-8?q?=E6=94=B6=E7=AB=99=E5=AE=A1=E6=89=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/dayPlan/PngApproGd/index.ts | 104 +++++ .../PngApproGd/model/PngApproGdModel.ts | 26 ++ src/api/dayPlan/PngApproJsz/index.ts | 101 +++++ .../PngApproJsz/model/PngApproJszModel.ts | 26 ++ src/components/common/rejectReplyModal.vue | 55 ++- .../PngAppro/components/createForm.vue | 12 +- src/views/dayPlan/PngAppro/index.vue | 24 +- src/views/dayPlan/PngAppro/indexJsz.vue | 19 +- .../dayPlan/PngApproGd/components/Form.vue | 224 ++++++++++ .../PngApproGd/components/PngApproGdModal.vue | 110 +++++ .../dayPlan/PngApproGd/components/config.ts | 227 ++++++++++ .../components/workflowPermission.ts | 32 ++ src/views/dayPlan/PngApproGd/index.vue | 399 ++++++++++++++++++ .../dayPlan/PngApproJsz/components/Form.vue | 224 ++++++++++ .../components/PngApproJszModal.vue | 110 +++++ .../dayPlan/PngApproJsz/components/config.ts | 247 +++++++++++ .../components/workflowPermission.ts | 32 ++ src/views/dayPlan/PngApproJsz/index.vue | 393 +++++++++++++++++ 18 files changed, 2306 insertions(+), 59 deletions(-) create mode 100644 src/api/dayPlan/PngApproGd/index.ts create mode 100644 src/api/dayPlan/PngApproGd/model/PngApproGdModel.ts create mode 100644 src/api/dayPlan/PngApproJsz/index.ts create mode 100644 src/api/dayPlan/PngApproJsz/model/PngApproJszModel.ts create mode 100644 src/views/dayPlan/PngApproGd/components/Form.vue create mode 100644 src/views/dayPlan/PngApproGd/components/PngApproGdModal.vue create mode 100644 src/views/dayPlan/PngApproGd/components/config.ts create mode 100644 src/views/dayPlan/PngApproGd/components/workflowPermission.ts create mode 100644 src/views/dayPlan/PngApproGd/index.vue create mode 100644 src/views/dayPlan/PngApproJsz/components/Form.vue create mode 100644 src/views/dayPlan/PngApproJsz/components/PngApproJszModal.vue create mode 100644 src/views/dayPlan/PngApproJsz/components/config.ts create mode 100644 src/views/dayPlan/PngApproJsz/components/workflowPermission.ts create mode 100644 src/views/dayPlan/PngApproJsz/index.vue diff --git a/src/api/dayPlan/PngApproGd/index.ts b/src/api/dayPlan/PngApproGd/index.ts new file mode 100644 index 0000000..556640c --- /dev/null +++ b/src/api/dayPlan/PngApproGd/index.ts @@ -0,0 +1,104 @@ +import { LngPngApproPageModel, LngPngApproPageParams, LngPngApproPageResult } from './model/PngApproGdModel'; +import { defHttp } from '/@/utils/http/axios'; +import { ErrorMessageMode } from '/#/axios'; + +enum Api { + // Page = '/dayPlan/pngApproGd/page', + Page = '/magic-api//dayPlan/pngApproGd/page', + List = '/dayPlan/pngApproGd/list', + Info = '/dayPlan/pngApproGd/info', + LngPngAppro = '/dayPlan/pngApproGd', + approve = '/dayPlan/pngAppro/approveGD', + + + +} +/** + * @description: 审批LngPngAppro + */ +export async function approveLngPngAppro(lngPngAppro: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.post( + { + url: Api.approve, + params: lngPngAppro, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 查询LngPngAppro分页列表 + */ +export async function getLngPngApproPage(params: LngPngApproPageParams, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Page, + params, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 获取LngPngAppro信息 + */ +export async function getLngPngAppro(id: String, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Info, + params: { id }, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 新增LngPngAppro + */ +export async function addLngPngAppro(lngPngAppro: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.post( + { + url: Api.LngPngAppro, + params: lngPngAppro, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 更新LngPngAppro + */ +export async function updateLngPngAppro(lngPngAppro: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.put( + { + url: Api.LngPngAppro, + params: lngPngAppro, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 删除LngPngAppro(批量删除) + */ +export async function deleteLngPngAppro(ids: string[], mode: ErrorMessageMode = 'modal') { + return defHttp.delete( + { + url: Api.LngPngAppro, + data: ids, + }, + { + errorMessageMode: mode, + }, + ); +} \ No newline at end of file diff --git a/src/api/dayPlan/PngApproGd/model/PngApproGdModel.ts b/src/api/dayPlan/PngApproGd/model/PngApproGdModel.ts new file mode 100644 index 0000000..ce1feb2 --- /dev/null +++ b/src/api/dayPlan/PngApproGd/model/PngApproGdModel.ts @@ -0,0 +1,26 @@ +import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel'; + +/** + * @description: LngPngAppro分页参数 模型 + */ +export interface LngPngApproPageParams extends BasicPageParams { + id: string; + + datePlan: string; +} + +/** + * @description: LngPngAppro分页返回值模型 + */ +export interface LngPngApproPageModel { + id: string; + + datePlan: string; +} + +0; + +/** + * @description: LngPngAppro分页返回值结构 + */ +export type LngPngApproPageResult = BasicFetchResult; \ No newline at end of file diff --git a/src/api/dayPlan/PngApproJsz/index.ts b/src/api/dayPlan/PngApproJsz/index.ts new file mode 100644 index 0000000..6a8e105 --- /dev/null +++ b/src/api/dayPlan/PngApproJsz/index.ts @@ -0,0 +1,101 @@ +import { LngPngApproPageModel, LngPngApproPageParams, LngPngApproPageResult } from './model/PngApproJszModel'; +import { defHttp } from '/@/utils/http/axios'; +import { ErrorMessageMode } from '/#/axios'; + +enum Api { + // Page = '/dayPlan/pngApproJsz/page', + Page = '/magic-api/dayPlan/pngApproJsz/page', + List = '/dayPlan/pngApproJsz/list', + Info = '/dayPlan/pngApproJsz/info', + LngPngAppro = '/dayPlan/pngApproJsz', + approve = '/dayPlan/pngAppro/approveJSZ', + + + + +} +export async function approveLngPngAppro(lngPngAppro: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.post( + { + url: Api.approve, + params: lngPngAppro, + }, + { + errorMessageMode: mode, + }, + ); +} +/** + * @description: 查询LngPngAppro分页列表 + */ +export async function getLngPngApproPage(params: LngPngApproPageParams, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Page, + params, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 获取LngPngAppro信息 + */ +export async function getLngPngAppro(id: String, mode: ErrorMessageMode = 'modal') { + return defHttp.get( + { + url: Api.Info, + params: { id }, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 新增LngPngAppro + */ +export async function addLngPngAppro(lngPngAppro: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.post( + { + url: Api.LngPngAppro, + params: lngPngAppro, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 更新LngPngAppro + */ +export async function updateLngPngAppro(lngPngAppro: Recordable, mode: ErrorMessageMode = 'modal') { + return defHttp.put( + { + url: Api.LngPngAppro, + params: lngPngAppro, + }, + { + errorMessageMode: mode, + }, + ); +} + +/** + * @description: 删除LngPngAppro(批量删除) + */ +export async function deleteLngPngAppro(ids: string[], mode: ErrorMessageMode = 'modal') { + return defHttp.delete( + { + url: Api.LngPngAppro, + data: ids, + }, + { + errorMessageMode: mode, + }, + ); +} \ No newline at end of file diff --git a/src/api/dayPlan/PngApproJsz/model/PngApproJszModel.ts b/src/api/dayPlan/PngApproJsz/model/PngApproJszModel.ts new file mode 100644 index 0000000..ce1feb2 --- /dev/null +++ b/src/api/dayPlan/PngApproJsz/model/PngApproJszModel.ts @@ -0,0 +1,26 @@ +import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel'; + +/** + * @description: LngPngAppro分页参数 模型 + */ +export interface LngPngApproPageParams extends BasicPageParams { + id: string; + + datePlan: string; +} + +/** + * @description: LngPngAppro分页返回值模型 + */ +export interface LngPngApproPageModel { + id: string; + + datePlan: string; +} + +0; + +/** + * @description: LngPngAppro分页返回值结构 + */ +export type LngPngApproPageResult = BasicFetchResult; \ No newline at end of file diff --git a/src/components/common/rejectReplyModal.vue b/src/components/common/rejectReplyModal.vue index c48c8e7..cb25c2f 100644 --- a/src/components/common/rejectReplyModal.vue +++ b/src/components/common/rejectReplyModal.vue @@ -1,19 +1,21 @@ \ No newline at end of file + + \ No newline at end of file diff --git a/src/views/dayPlan/PngAppro/components/createForm.vue b/src/views/dayPlan/PngAppro/components/createForm.vue index 636025e..0035a94 100644 --- a/src/views/dayPlan/PngAppro/components/createForm.vue +++ b/src/views/dayPlan/PngAppro/components/createForm.vue @@ -193,18 +193,8 @@ return } } - let request = '' - if (formPath.includes('dayPlan/PngAppro/index')) { - request = approveLngPngAppro - } - if (formPath.includes('dayPlan/pngPipeAppro/index')) { - request = approveLngPngApproGD - } - if (formPath.includes('dayPlan/pngReceiveStationAppro/index')) { - request = approveLngPngApproSZ - } spinning.value = true; - await request(params); + await approveLngPngAppro(params); spinning.value = false; notification.success({ message: 'Tip', diff --git a/src/views/dayPlan/PngAppro/index.vue b/src/views/dayPlan/PngAppro/index.vue index a441831..72c1f06 100644 --- a/src/views/dayPlan/PngAppro/index.vue +++ b/src/views/dayPlan/PngAppro/index.vue @@ -117,29 +117,9 @@ let formName='管道气销售审批'; let curPath = 'dayPlan/PngAppro/index' - let request = '' - let requestApprove = '' - if (path.includes('dayPlan/PngAppro/index')) { - formName='管道气销售审批' - curPath = 'dayPlan/PngAppro/index' - request = getLngPngApproPage - requestApprove = approveLngPngAppro - } - if (path.includes('dayPlan/pngPipeAppro/index')) { - formName='管道气管道审批' - curPath = 'dayPlan/pngPipeAppro' - request = getLngPngApproPageGd - requestApprove = approveLngPngApproGD - } - if (path.includes('dayPlan/pngReceiveStationAppro/index')) { - formName='管道气接收站审批' - curPath = 'dayPlan/pngReceiveStationAppro' - request = getLngPngApproPageJsz - requestApprove = approveLngPngApproSZ - } const [registerTable, { reload, clearSelectedRowKeys, setTableData }] = useTable({ title: '' || (formName + '列表'), - api: request, + api: getLngPngApproPage, rowKey: 'id', columns: customConfigColums, formConfig: { @@ -304,7 +284,7 @@ "remark": "", "data": arr } - await requestApprove(obj) + await approveLngPngAppro(obj) handleSuccess(); notification.success({ message: 'Tip', diff --git a/src/views/dayPlan/PngAppro/indexJsz.vue b/src/views/dayPlan/PngAppro/indexJsz.vue index 18a7504..5b57452 100644 --- a/src/views/dayPlan/PngAppro/indexJsz.vue +++ b/src/views/dayPlan/PngAppro/indexJsz.vue @@ -26,7 +26,7 @@ - + \ No newline at end of file diff --git a/src/views/dayPlan/PngApproGd/components/PngApproGdModal.vue b/src/views/dayPlan/PngApproGd/components/PngApproGdModal.vue new file mode 100644 index 0000000..168dd47 --- /dev/null +++ b/src/views/dayPlan/PngApproGd/components/PngApproGdModal.vue @@ -0,0 +1,110 @@ + + \ No newline at end of file diff --git a/src/views/dayPlan/PngApproGd/components/config.ts b/src/views/dayPlan/PngApproGd/components/config.ts new file mode 100644 index 0000000..862853a --- /dev/null +++ b/src/views/dayPlan/PngApproGd/components/config.ts @@ -0,0 +1,227 @@ +import { FormProps, FormSchema } from '/@/components/Form'; +import { BasicColumn } from '/@/components/Table'; + +export const formConfig = { + useCustomConfig: false, +}; + +export const searchFormSchema: FormSchema[] = [ + { + field: 'datePlan', + label: '计划日期', + component: 'RangePicker', + componentProps: { + format: 'YYYY-MM-DD', + style: { width: '100%' }, + getPopupContainer: () => document.body, + }, + }, +]; + +export const columns: BasicColumn[] = [ + + { + dataIndex: 'datePlan', + title: '计划日期', + componentType: 'input', + align: 'left', + width: 100, + sorter: true, + }, + { + dataIndex: 'daysSign', + title: '当日/次日', + componentType: 'input', + align: 'left', + + sorter: true, + }, + { + dataIndex: 'pointName', + title: '下载点', + componentType: 'input', + align: 'left', + + sorter: true, + }, + { + dataIndex: 'qtyGjGd', + title: '待管道审批量(吉焦)', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'qtyGjXs', + title: '前审中量(吉焦)', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'qtyGjYsp', + title: '管道已审批量(吉焦)', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'staName', + 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: '683f135952ab475cad8bdc56eb65b221', + 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', + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: '3240cd9a50ec42e6817bf147488e8cdc', + field: 'datePlan', + label: '计划日期', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入计划日期', + 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/dayPlan/PngApproGd/components/workflowPermission.ts b/src/views/dayPlan/PngApproGd/components/workflowPermission.ts new file mode 100644 index 0000000..7d99b82 --- /dev/null +++ b/src/views/dayPlan/PngApproGd/components/workflowPermission.ts @@ -0,0 +1,32 @@ +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: '683f135952ab475cad8bdc56eb65b221', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '计划日期', + fieldId: 'datePlan', + isSubTable: false, + showChildren: true, + type: 'input', + key: '3240cd9a50ec42e6817bf147488e8cdc', + children: [], + }, +]; \ No newline at end of file diff --git a/src/views/dayPlan/PngApproGd/index.vue b/src/views/dayPlan/PngApproGd/index.vue new file mode 100644 index 0000000..4d876d2 --- /dev/null +++ b/src/views/dayPlan/PngApproGd/index.vue @@ -0,0 +1,399 @@ + + + \ No newline at end of file diff --git a/src/views/dayPlan/PngApproJsz/components/Form.vue b/src/views/dayPlan/PngApproJsz/components/Form.vue new file mode 100644 index 0000000..986e57e --- /dev/null +++ b/src/views/dayPlan/PngApproJsz/components/Form.vue @@ -0,0 +1,224 @@ + + \ No newline at end of file diff --git a/src/views/dayPlan/PngApproJsz/components/PngApproJszModal.vue b/src/views/dayPlan/PngApproJsz/components/PngApproJszModal.vue new file mode 100644 index 0000000..168dd47 --- /dev/null +++ b/src/views/dayPlan/PngApproJsz/components/PngApproJszModal.vue @@ -0,0 +1,110 @@ + + \ No newline at end of file diff --git a/src/views/dayPlan/PngApproJsz/components/config.ts b/src/views/dayPlan/PngApproJsz/components/config.ts new file mode 100644 index 0000000..3f876d6 --- /dev/null +++ b/src/views/dayPlan/PngApproJsz/components/config.ts @@ -0,0 +1,247 @@ +import { FormProps, FormSchema } from '/@/components/Form'; +import { BasicColumn } from '/@/components/Table'; + +export const formConfig = { + useCustomConfig: false, +}; + +export const searchFormSchema: FormSchema[] = [ + { + field: 'datePlan', + label: '计划日期', + component: 'RangePicker', + componentProps: { + format: 'YYYY-MM-DD', + style: { width: '100%' }, + getPopupContainer: () => document.body, + }, + }, +]; + +export const columns: BasicColumn[] = [ + + + { + dataIndex: 'catName', + title: '品种', + componentType: 'input', + align: 'left', + width: 80, + sorter: true, + }, + + { + dataIndex: 'datePlan', + title: '计划日期', + componentType: 'input', + align: 'left', + width: 100, + sorter: true, + }, + + { + dataIndex: 'daysSign', + title: '当日/次日', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'qtyGjAll', + title: '全部上报量(吉焦)', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'qtyGjJsz', + title: '待接收站审批量(吉焦)', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'qtyGjXs', + title: '前审中量(吉焦)', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'qtyGjYsp', + title: '管道已审批量(吉焦)', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'staName', + title: '接收站', + componentType: 'input', + align: 'left', + + sorter: true, + }, + + { + dataIndex: 'uomName', + 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: '4987e77a40b84fc5839e8320a4a03262', + 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', + prefix: '', + suffix: '', + addonBefore: '', + addonAfter: '', + disabled: false, + allowClear: false, + showLabel: true, + required: false, + rules: [], + events: {}, + isSave: false, + isShow: true, + scan: false, + style: { width: '100%' }, + }, + }, + { + key: 'e05e379e525741a6854f46976655539f', + field: 'datePlan', + label: '计划日期', + type: 'input', + component: 'Input', + colProps: { span: 24 }, + defaultValue: '', + componentProps: { + width: '100%', + span: '', + defaultValue: '', + labelWidthMode: 'fix', + labelFixWidth: 120, + responsive: false, + respNewRow: false, + placeholder: '请输入计划日期', + 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/dayPlan/PngApproJsz/components/workflowPermission.ts b/src/views/dayPlan/PngApproJsz/components/workflowPermission.ts new file mode 100644 index 0000000..c7e9447 --- /dev/null +++ b/src/views/dayPlan/PngApproJsz/components/workflowPermission.ts @@ -0,0 +1,32 @@ +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: '4987e77a40b84fc5839e8320a4a03262', + children: [], + }, + { + required: true, + view: true, + edit: true, + disabled: false, + isSaveTable: false, + tableName: '', + fieldName: '计划日期', + fieldId: 'datePlan', + isSubTable: false, + showChildren: true, + type: 'input', + key: 'e05e379e525741a6854f46976655539f', + children: [], + }, +]; \ No newline at end of file diff --git a/src/views/dayPlan/PngApproJsz/index.vue b/src/views/dayPlan/PngApproJsz/index.vue new file mode 100644 index 0000000..a391ed6 --- /dev/null +++ b/src/views/dayPlan/PngApproJsz/index.vue @@ -0,0 +1,393 @@ + + + \ No newline at end of file