888
This commit is contained in:
@@ -149,8 +149,8 @@ const crudRef = ref()
|
||||
const crudOptions = reactive({
|
||||
// 顶部每行显示列数
|
||||
searchColNumber: 3,
|
||||
// 开启分页
|
||||
tablePagination: true,
|
||||
// 不开启table的分页,但开启我们自己的分页器
|
||||
tablePagination: false,
|
||||
// 是否显示索引列
|
||||
showIndex: false,
|
||||
// 行选择器
|
||||
@@ -222,7 +222,6 @@ const crudColumns = reactive([
|
||||
title: "邮箱",
|
||||
align: "center",
|
||||
dataIndex: "email",
|
||||
search: true,
|
||||
width: 100,
|
||||
commonRules: [{ type: "email", message: "请输入正确的邮箱" }]
|
||||
},
|
||||
|
||||
@@ -34,7 +34,7 @@ const crudOptions = ref({
|
||||
edit: { show: true },
|
||||
delete: { show: true },
|
||||
searchColNumber: 3,
|
||||
tablePagination: true,
|
||||
tablePagination: false,
|
||||
operationColumn: true,
|
||||
scroll: { x: "100%", y: "100%" },
|
||||
formOption: {
|
||||
|
||||
@@ -32,7 +32,7 @@ const crudOptions = ref({
|
||||
edit: { show: true, api: testDemandApi.editTestDemand },
|
||||
delete: { show: true },
|
||||
searchColNumber: 3,
|
||||
tablePagination: true,
|
||||
tablePagination: false,
|
||||
operationColumn: true,
|
||||
formOption: {
|
||||
width: 1200
|
||||
|
||||
@@ -29,7 +29,7 @@ const crudOptions = ref({
|
||||
edit: { show: true, api: designDemandApi.editDesignDemand },
|
||||
delete: { show: true },
|
||||
searchColNumber: 3,
|
||||
tablePagination: true,
|
||||
tablePagination: false,
|
||||
operationColumn: true,
|
||||
operationColumnAlign:'center',
|
||||
formOption: {
|
||||
@@ -42,7 +42,6 @@ const crudColumns = ref([
|
||||
align:'center',
|
||||
width: 50,
|
||||
dataIndex: "id",
|
||||
search: true,
|
||||
commonRules: [{ required: true, message: "标识是必填" }],
|
||||
validateTrigger: "blur"
|
||||
},
|
||||
|
||||
@@ -62,7 +62,7 @@ const crudOptions = ref({
|
||||
edit: { show: true },
|
||||
delete: { show: true },
|
||||
searchColNumber: 3,
|
||||
tablePagination: true,
|
||||
tablePagination: false,
|
||||
operationColumn: true,
|
||||
operationColumnAlign: "center",
|
||||
formOption: {
|
||||
@@ -83,7 +83,6 @@ const crudColumns = ref([
|
||||
width: 50,
|
||||
align: "center",
|
||||
dataIndex: "id",
|
||||
search: true,
|
||||
commonRules: [{ required: true, message: "ID是必填" }],
|
||||
validateTrigger: "blur"
|
||||
},
|
||||
|
||||
@@ -33,7 +33,7 @@ const crudOptions = ref({
|
||||
edit: { show: true },
|
||||
delete: { show: true },
|
||||
searchColNumber: 3,
|
||||
tablePagination: true,
|
||||
tablePagination: false,
|
||||
operationColumn: true,
|
||||
formOption: {
|
||||
width: 1200,
|
||||
|
||||
@@ -27,7 +27,7 @@ const crudOptions = ref({
|
||||
edit: { show: true,api: projectApi.update},
|
||||
delete: { show: true ,api:projectApi.delete},
|
||||
searchColNumber: 3,
|
||||
tablePagination: true,
|
||||
tablePagination: false,
|
||||
operationColumn: true,
|
||||
operationWidth: 500,
|
||||
showIndex: false,
|
||||
@@ -193,7 +193,7 @@ const crudColumns = ref([
|
||||
search: true,
|
||||
commonRules: [{ required: true, message: "责任人必选" }],
|
||||
formType: "select",
|
||||
dict: { url: "system/user/index", props: { label: "name", value: "name" }, translation: true }
|
||||
dict: { url: "system/user/list", props: { label: "name", value: "name" }, translation: true }
|
||||
},
|
||||
{
|
||||
title: "成员",
|
||||
@@ -202,7 +202,7 @@ const crudColumns = ref([
|
||||
search: true,
|
||||
formType: "select",
|
||||
multiple: true,
|
||||
dict: { url: "system/user/index", props: { label: "name", value: "name" }, translation: true },
|
||||
dict: { url: "system/user/list", props: { label: "name", value: "name" }, translation: true },
|
||||
commonRules: [{ required: true, message: "成员至少选择一个" }]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user