优化vue生成模板
This commit is contained in:
@@ -338,6 +338,52 @@ for (c in table.columnList){
|
||||
colProps: { lg: 24, md: 24 },
|
||||
slot: '${@StringUtils.uncap(child.className)}List',
|
||||
},
|
||||
<%
|
||||
}
|
||||
if(toBoolean(table.optionMap['isBpmForm'])){
|
||||
%>
|
||||
{
|
||||
label: t('审批意见'),
|
||||
field: 'bpm.comment',
|
||||
component: 'InputTextArea',
|
||||
componentProps: {
|
||||
maxlength: 500,
|
||||
},
|
||||
colProps: { lg: 24, md: 24 },
|
||||
show: () => record.value.bpm.status != '2',
|
||||
},
|
||||
{
|
||||
label: t('下一步流程信息'),
|
||||
field: 'nextTaskInfo',
|
||||
component: 'FormGroup',
|
||||
colProps: { lg: 24, md: 24 },
|
||||
},
|
||||
{
|
||||
label: t('要求完成时间'),
|
||||
field: 'bpm.dueDate',
|
||||
component: 'DatePicker',
|
||||
componentProps: {
|
||||
format: 'YYYY-MM-DD HH:mm',
|
||||
showTime: { format: 'HH:mm' },
|
||||
},
|
||||
},
|
||||
{
|
||||
label: t('任务优先级'),
|
||||
field: 'bpm.priority',
|
||||
component: 'Select',
|
||||
componentProps: {
|
||||
dictType: 'bpm_task_priority',
|
||||
allowClear: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
label: t('下一步处理人'),
|
||||
field: 'bpm.nextUserCodes',
|
||||
component: 'ListSelect',
|
||||
componentProps: {
|
||||
selectType: 'empUserSelect',
|
||||
},
|
||||
},
|
||||
<%
|
||||
}
|
||||
%>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<template>
|
||||
<name>vueSelect</name>
|
||||
<filePath>${frontDir}/src/components/ListSelect/src/selectType</filePath>
|
||||
<fileName>${urlPrefix}Select.ts</fileName>
|
||||
<fileName>${className}Select.ts</fileName>
|
||||
<content><![CDATA[
|
||||
import { useI18n } from '/@/hooks/web/useI18n';
|
||||
import { BasicColumn, BasicTableProps, FormProps } from '/@/components/Table';
|
||||
|
||||
Reference in New Issue
Block a user