fix: 评论改为进展;项目添加备注
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
"name": "项目名称",
|
||||
"envInfoFile": "环境信息附件",
|
||||
"list": "项目列表",
|
||||
"progress": "评论",
|
||||
"progress": "进展",
|
||||
"updateTime": "最后修改时间",
|
||||
"commentNum": "评论数",
|
||||
"softwareVersion": "软件版本",
|
||||
|
||||
@@ -141,7 +141,7 @@ onMounted(async () => {
|
||||
<WorkbenchTrendsComment
|
||||
:items="projectProgressItems"
|
||||
class="mt-5"
|
||||
title="项目评论"
|
||||
title="项目进展"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -66,7 +66,7 @@ export function useFormSchema(): VbenFormSchema[] {
|
||||
component: 'InputNumber',
|
||||
rules: z
|
||||
.number({ message: $t('ui.formRules.required', [$t('project.code')]) })
|
||||
.min(2000, $t('ui.formRules.range', [$t('project.code'), 2000, 9999]))
|
||||
.min(1000, $t('ui.formRules.range', [$t('project.code'), 1000, 9999]))
|
||||
.max(9999, $t('ui.formRules.range', [$t('project.code'), 2000, 9999]))
|
||||
.refine(
|
||||
async (value: number) => {
|
||||
@@ -243,6 +243,12 @@ export function useFormSchema(): VbenFormSchema[] {
|
||||
options: getDictOptions(DICT_TYPE.LIC_SOFTWARE_VERSION, 'number'),
|
||||
},
|
||||
},
|
||||
{
|
||||
fieldName: 'remark',
|
||||
label: $t('project.remarks'),
|
||||
component: 'Textarea',
|
||||
formItemClass: 'col-span-2',
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
@@ -396,6 +402,11 @@ export function useGridColumns(
|
||||
onActionClick?: OnActionClickFn<ProjectApi.Project>,
|
||||
): VxeTableGridOptions<ProjectApi.Project>['columns'] {
|
||||
return [
|
||||
{
|
||||
field: 'customerName',
|
||||
title: $t('customer.customerName'),
|
||||
minWidth: 120,
|
||||
},
|
||||
{
|
||||
field: 'name',
|
||||
title: $t('project.name'),
|
||||
@@ -407,11 +418,6 @@ export function useGridColumns(
|
||||
minWidth: 120,
|
||||
visible: false,
|
||||
},
|
||||
{
|
||||
field: 'customerName',
|
||||
title: $t('customer.customerName'),
|
||||
minWidth: 120,
|
||||
},
|
||||
{
|
||||
field: 'startTime',
|
||||
title: $t('project.startTime'),
|
||||
@@ -510,12 +516,12 @@ export function useGridColumns(
|
||||
props: { type: DICT_TYPE.LIC_SOFTWARE_VERSION },
|
||||
},
|
||||
},
|
||||
// {
|
||||
// field: 'remark',
|
||||
// title: $t('project.remarks'),
|
||||
// visible: false,
|
||||
// minWidth: 120,
|
||||
// },
|
||||
{
|
||||
field: 'remark',
|
||||
title: $t('project.remarks'),
|
||||
visible: false,
|
||||
minWidth: 120,
|
||||
},
|
||||
{
|
||||
field: 'commentNum',
|
||||
title: $t('project.commentNum'),
|
||||
|
||||
Reference in New Issue
Block a user