You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
export default {
|
|
|
|
height:'auto',
|
|
|
|
calcHeight: 30,
|
|
|
|
tip: false,
|
|
|
|
searchShow: false,
|
|
|
|
searchMenuSpan: 6,
|
|
|
|
indexLabel:'序号',
|
|
|
|
indexWidth: 80,
|
|
|
|
border: true,
|
|
|
|
index: true,
|
|
|
|
viewBtn: true,
|
|
|
|
selection: true,
|
|
|
|
dialogClickModal: false,
|
|
|
|
column: [
|
|
|
|
{
|
|
|
|
label: "主键",
|
|
|
|
prop: "id",
|
|
|
|
type: "input",
|
|
|
|
addDisplay: false,
|
|
|
|
editDisplay: false,
|
|
|
|
viewDisplay: false,
|
|
|
|
hide: true,
|
|
|
|
width: "fit-content",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: "租户号",
|
|
|
|
prop: "tenantId",
|
|
|
|
type: "input",
|
|
|
|
addDisplay: false,
|
|
|
|
editDisplay: false,
|
|
|
|
viewDisplay: false,
|
|
|
|
hide: true,
|
|
|
|
width: "fit-content",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: "创建人",
|
|
|
|
prop: "createUser",
|
|
|
|
type: "input",
|
|
|
|
addDisplay: false,
|
|
|
|
editDisplay: false,
|
|
|
|
viewDisplay: false,
|
|
|
|
hide: true,
|
|
|
|
width: "fit-content",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: "创建时间",
|
|
|
|
prop: "createTime",
|
|
|
|
type: "input",
|
|
|
|
addDisplay: false,
|
|
|
|
editDisplay: false,
|
|
|
|
viewDisplay: false,
|
|
|
|
hide: true,
|
|
|
|
width: "fit-content",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: "更新人",
|
|
|
|
prop: "updateUser",
|
|
|
|
type: "input",
|
|
|
|
addDisplay: false,
|
|
|
|
editDisplay: false,
|
|
|
|
viewDisplay: false,
|
|
|
|
hide: true,
|
|
|
|
width: "fit-content",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: "更新时间",
|
|
|
|
prop: "updateTime",
|
|
|
|
type: "input",
|
|
|
|
addDisplay: false,
|
|
|
|
editDisplay: false,
|
|
|
|
viewDisplay: false,
|
|
|
|
hide: true,
|
|
|
|
width: "fit-content",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: "状态",
|
|
|
|
prop: "status",
|
|
|
|
type: "input",
|
|
|
|
addDisplay: false,
|
|
|
|
editDisplay: false,
|
|
|
|
viewDisplay: false,
|
|
|
|
hide: true,
|
|
|
|
width: "fit-content",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: "是否已删除",
|
|
|
|
prop: "isDeleted",
|
|
|
|
type: "input",
|
|
|
|
addDisplay: false,
|
|
|
|
editDisplay: false,
|
|
|
|
viewDisplay: false,
|
|
|
|
hide: true,
|
|
|
|
width: "fit-content",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: "创建部门",
|
|
|
|
prop: "createDept",
|
|
|
|
type: "input",
|
|
|
|
addDisplay: false,
|
|
|
|
editDisplay: false,
|
|
|
|
viewDisplay: false,
|
|
|
|
hide: true,
|
|
|
|
width: "fit-content",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: "预留1",
|
|
|
|
prop: "reserve1",
|
|
|
|
type: "input",
|
|
|
|
addDisplay: false,
|
|
|
|
editDisplay: false,
|
|
|
|
viewDisplay: false,
|
|
|
|
hide: true,
|
|
|
|
width: "fit-content",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: "预留2",
|
|
|
|
prop: "reserve2",
|
|
|
|
type: "input",
|
|
|
|
addDisplay: false,
|
|
|
|
editDisplay: false,
|
|
|
|
viewDisplay: false,
|
|
|
|
hide: true,
|
|
|
|
width: "fit-content",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: "预留3",
|
|
|
|
prop: "reserve3",
|
|
|
|
type: "input",
|
|
|
|
addDisplay: false,
|
|
|
|
editDisplay: false,
|
|
|
|
viewDisplay: false,
|
|
|
|
hide: true,
|
|
|
|
width: "fit-content",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: "预留4",
|
|
|
|
prop: "reserve4",
|
|
|
|
type: "input",
|
|
|
|
addDisplay: false,
|
|
|
|
editDisplay: false,
|
|
|
|
viewDisplay: false,
|
|
|
|
hide: true,
|
|
|
|
width: "fit-content",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: "预留5",
|
|
|
|
prop: "reserve5",
|
|
|
|
type: "input",
|
|
|
|
addDisplay: false,
|
|
|
|
editDisplay: false,
|
|
|
|
viewDisplay: false,
|
|
|
|
hide: true,
|
|
|
|
width: "fit-content",
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
// label: "父ID",
|
|
|
|
// prop: "pid",
|
|
|
|
// type: "input",
|
|
|
|
// },
|
|
|
|
// {
|
|
|
|
// label: "一级编码",
|
|
|
|
// prop: "stairCode",
|
|
|
|
// type: "input",
|
|
|
|
// },
|
|
|
|
// {
|
|
|
|
// label: "一级名称",
|
|
|
|
// prop: "stairName",
|
|
|
|
// type: "input",
|
|
|
|
// },
|
|
|
|
// {
|
|
|
|
// label: "二级编码",
|
|
|
|
// prop: "secondCode",
|
|
|
|
// type: "input",
|
|
|
|
// },
|
|
|
|
// {
|
|
|
|
// label: "二级名称",
|
|
|
|
// prop: "secondName",
|
|
|
|
// type: "input",
|
|
|
|
// },
|
|
|
|
// {
|
|
|
|
// label: "三级编码",
|
|
|
|
// prop: "threeCode",
|
|
|
|
// type: "input",
|
|
|
|
// },
|
|
|
|
// {
|
|
|
|
// label: "三级名称",
|
|
|
|
// prop: "threeName",
|
|
|
|
// type: "input",
|
|
|
|
// },
|
|
|
|
// {
|
|
|
|
// label: "四级编码",
|
|
|
|
// prop: "fourCode",
|
|
|
|
// type: "input",
|
|
|
|
// },
|
|
|
|
// {
|
|
|
|
// label: "四级名称",
|
|
|
|
// prop: "fourName",
|
|
|
|
// type: "input",
|
|
|
|
// },
|
|
|
|
{
|
|
|
|
label: "名称",
|
|
|
|
prop: "name",
|
|
|
|
type: "input",
|
|
|
|
search: true,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: "类型",
|
|
|
|
prop: "type",
|
|
|
|
type: "select",
|
|
|
|
search: true,
|
|
|
|
dicUrl: '/api/blade-system/dict-biz/dictionary?code=category',
|
|
|
|
props: {
|
|
|
|
label: 'dictValue',
|
|
|
|
value: 'dictKey',
|
|
|
|
},
|
|
|
|
rules: [
|
|
|
|
{
|
|
|
|
required: true,
|
|
|
|
message: '请选择类型',
|
|
|
|
trigger: 'blur'
|
|
|
|
}
|
|
|
|
]
|
|
|
|
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|