category
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
export default {
|
||||
height:'auto',
|
||||
height: 'auto',
|
||||
calcHeight: 30,
|
||||
tip: false,
|
||||
searchShow: true,
|
||||
searchMenuSpan: 6,
|
||||
searchMenuSpan: 10,
|
||||
border: true,
|
||||
index: true,
|
||||
viewBtn: true,
|
||||
@@ -11,110 +11,67 @@ export default {
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
{
|
||||
label: "主键",
|
||||
prop: "id",
|
||||
type: "input",
|
||||
label: 'Id',
|
||||
prop: 'id',
|
||||
type: 'input',
|
||||
addDisplay: false,
|
||||
editDisplay: false,
|
||||
viewDisplay: false,
|
||||
hide: true,
|
||||
hide: true
|
||||
},
|
||||
{
|
||||
label: "租户ID",
|
||||
prop: "tenantId",
|
||||
type: "input",
|
||||
label: 'TenantId',
|
||||
prop: 'tenantId',
|
||||
type: 'input',
|
||||
addDisplay: false,
|
||||
editDisplay: false,
|
||||
viewDisplay: false,
|
||||
hide: true,
|
||||
hide: true
|
||||
},
|
||||
{
|
||||
label: "类型 1:单张,2:组合 3:配件",
|
||||
prop: "type",
|
||||
type: "radio",
|
||||
label: 'Name',
|
||||
prop: 'name',
|
||||
type: 'input',
|
||||
},
|
||||
{
|
||||
label: "产品名称",
|
||||
prop: "name",
|
||||
type: "input",
|
||||
label: 'PhotoLimit',
|
||||
prop: 'photoLimit',
|
||||
type: 'number',
|
||||
min: 1
|
||||
},
|
||||
{
|
||||
label: "目录图片地址",
|
||||
prop: "imageUrl",
|
||||
type: "input",
|
||||
label: 'Type',
|
||||
prop: 'type',
|
||||
type: 'radio',
|
||||
dicUrl: '/blade-system/dict-biz/dictionary?code=category_type',
|
||||
props: {
|
||||
label: 'dictValue',
|
||||
value: 'dictKey'
|
||||
},
|
||||
dataType: 'number',
|
||||
span: 24
|
||||
},
|
||||
{
|
||||
label: "照片数量",
|
||||
prop: "photoLimit",
|
||||
type: "input",
|
||||
label: 'Image',
|
||||
prop: 'imageUrl',
|
||||
type: 'upload',
|
||||
listType: 'picture-img',
|
||||
dataType: 'string',
|
||||
action: '/blade-resource/oss/endpoint/put-file',
|
||||
propsHttp: {
|
||||
res: 'data',
|
||||
url: 'link'
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
label: "形状",
|
||||
prop: "shape",
|
||||
type: "checkbox",
|
||||
},
|
||||
{
|
||||
label: "创建人",
|
||||
prop: "createUser",
|
||||
type: "input",
|
||||
label: 'Shape',
|
||||
prop: 'shape',
|
||||
type: 'radio',
|
||||
addDisplay: false,
|
||||
editDisplay: false,
|
||||
viewDisplay: false,
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
label: "创建部门",
|
||||
prop: "createDept",
|
||||
type: "input",
|
||||
addDisplay: false,
|
||||
editDisplay: false,
|
||||
viewDisplay: false,
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
label: "创建时间",
|
||||
prop: "createTime",
|
||||
type: "input",
|
||||
addDisplay: false,
|
||||
editDisplay: false,
|
||||
viewDisplay: false,
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
label: "修改人",
|
||||
prop: "updateUser",
|
||||
type: "input",
|
||||
addDisplay: false,
|
||||
editDisplay: false,
|
||||
viewDisplay: false,
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
label: "修改时间",
|
||||
prop: "updateTime",
|
||||
type: "input",
|
||||
addDisplay: false,
|
||||
editDisplay: false,
|
||||
viewDisplay: false,
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
label: "状态",
|
||||
prop: "status",
|
||||
type: "input",
|
||||
addDisplay: false,
|
||||
editDisplay: false,
|
||||
viewDisplay: false,
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
label: "是否已删除",
|
||||
prop: "isDeleted",
|
||||
type: "input",
|
||||
addDisplay: false,
|
||||
editDisplay: false,
|
||||
viewDisplay: false,
|
||||
hide: true,
|
||||
},
|
||||
hide: true
|
||||
}
|
||||
]
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user