45
This commit is contained in:
@@ -146,6 +146,7 @@ const crudColumns = ref([
|
||||
{
|
||||
title: "标识",
|
||||
align: "center",
|
||||
sortable: { sortDirections: ["ascend"] },
|
||||
width: 140,
|
||||
search: true,
|
||||
dataIndex: "ident",
|
||||
|
||||
@@ -63,6 +63,7 @@ const crudColumns = ref([
|
||||
{
|
||||
title: "标识",
|
||||
dataIndex: "ident",
|
||||
sortable: { sortDirections: ["ascend"] },
|
||||
align: "center",
|
||||
search: true,
|
||||
commonRules: [{ required: true, message: "标识是必填" }],
|
||||
|
||||
@@ -44,7 +44,7 @@ const crudOptions = ref({
|
||||
},
|
||||
showIndex: false,
|
||||
rowSelection: { showCheckedAll: true },
|
||||
searchColNumber: 3,
|
||||
searchColNumber: 4,
|
||||
tablePagination: false,
|
||||
operationColumn: true,
|
||||
operationColumnAlign: "center",
|
||||
@@ -64,6 +64,7 @@ const crudColumns = ref([
|
||||
{
|
||||
title: "标识",
|
||||
align: "center",
|
||||
sortable: { sortDirections: ["ascend"] },
|
||||
width: 120,
|
||||
dataIndex: "ident",
|
||||
search: true,
|
||||
@@ -79,6 +80,13 @@ const crudColumns = ref([
|
||||
commonRules: [{ required: true, message: "需求名称是必填" }],
|
||||
validateTrigger: "blur"
|
||||
},
|
||||
{
|
||||
title:'章节号',
|
||||
align:'center',
|
||||
width:150,
|
||||
dataIndex:'chapter',
|
||||
search:true,
|
||||
},
|
||||
{
|
||||
title: "需求类型",
|
||||
width: 150,
|
||||
|
||||
@@ -105,6 +105,7 @@ const crudColumns = ref([
|
||||
{
|
||||
title: "标识",
|
||||
width: 150,
|
||||
sortable: { sortDirections: ["ascend"] },
|
||||
align: "center",
|
||||
dataIndex: "ident",
|
||||
search: true,
|
||||
@@ -161,6 +162,30 @@ const crudColumns = ref([
|
||||
commonRules: [{ required: true, message: "需求名称是必填" }],
|
||||
validateTrigger: "blur"
|
||||
},
|
||||
{
|
||||
title: "版本",
|
||||
align: "center",
|
||||
dataIndex: "version",
|
||||
search: true,
|
||||
commonRules: [{ required: true, message: "版本必填" }],
|
||||
validateTrigger: "blur"
|
||||
},
|
||||
{
|
||||
title: "单位",
|
||||
align: "center",
|
||||
dataIndex: "release_union",
|
||||
search: true,
|
||||
commonRules: [{ required: true, message: "单位必选" }],
|
||||
formType: "select",
|
||||
dict: { url: "system/contact/index", props: { label: "name", value: "name" }, translation: true }
|
||||
},
|
||||
{
|
||||
title: "发布时间",
|
||||
dataIndex: "release_date",
|
||||
hide: true,
|
||||
commonRules: [{ required: true, message: "时间必填" }],
|
||||
formType: "date"
|
||||
},
|
||||
{
|
||||
title: "空行",
|
||||
hide: true,
|
||||
@@ -191,12 +216,14 @@ const crudColumns = ref([
|
||||
},
|
||||
{
|
||||
title: "总代码",
|
||||
hide: true,
|
||||
align: "center",
|
||||
dataIndex: "total_code_line",
|
||||
formType: "input-number"
|
||||
},
|
||||
{
|
||||
title: "总行数",
|
||||
hide: true,
|
||||
align: "center",
|
||||
dataIndex: "total_line",
|
||||
formType: "input-number"
|
||||
@@ -205,6 +232,7 @@ const crudColumns = ref([
|
||||
title: "注释率 %",
|
||||
align: "center",
|
||||
dataIndex: "comment_line",
|
||||
hide: true,
|
||||
addDisabled: true,
|
||||
editDisabled: true,
|
||||
customRender: ({ record }) => {
|
||||
|
||||
@@ -90,6 +90,7 @@ const crudColumns = ref([
|
||||
{
|
||||
title: "标识",
|
||||
dataIndex: "ident",
|
||||
sortable: { sortDirections: ["ascend"] },
|
||||
width: 140,
|
||||
align: "center",
|
||||
search: true,
|
||||
|
||||
@@ -146,6 +146,7 @@ const crudColumns = ref([
|
||||
{
|
||||
title: "标识",
|
||||
width: 70,
|
||||
sortable: { sortDirections: ["ascend"] },
|
||||
dataIndex: "ident",
|
||||
search: true,
|
||||
commonRules: [{ required: true, message: "标识是必填" }],
|
||||
|
||||
Reference in New Issue
Block a user