release_version代码生成
This commit is contained in:
182
src/option/common/commonReleaseversion.js
Normal file
182
src/option/common/commonReleaseversion.js
Normal file
@@ -0,0 +1,182 @@
|
||||
export default {
|
||||
height:'auto',
|
||||
calcHeight: 30,
|
||||
tip: false,
|
||||
searchShow: true,
|
||||
searchMenuSpan: 6,
|
||||
border: true,
|
||||
index: true,
|
||||
viewBtn: false,
|
||||
delBtn: false,
|
||||
addBtn: true,
|
||||
editBtn: true,
|
||||
selection: false,
|
||||
dialogClickModal: false,
|
||||
column: [
|
||||
{
|
||||
label: "主键ID",
|
||||
prop: "id",
|
||||
type: "input",
|
||||
addDisplay: false,
|
||||
editDisplay: false,
|
||||
viewDisplay: false,
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
label: "内部版本号",
|
||||
prop: "versionCode",
|
||||
type: "input",
|
||||
overHidden: true,
|
||||
},
|
||||
{
|
||||
label: "版本显示名称",
|
||||
prop: "versionName",
|
||||
type: "input",
|
||||
overHidden: true,
|
||||
},
|
||||
{
|
||||
label: "应用类型",
|
||||
prop: "appType",
|
||||
type: 'radio',
|
||||
dicUrl: '/blade-system/dict/dictionary?code=release_version_app_type',
|
||||
props: {
|
||||
label: 'dictValue',
|
||||
value: 'dictKey',
|
||||
},
|
||||
dataType: 'number',
|
||||
value : 1,
|
||||
overHidden: true,
|
||||
},
|
||||
{
|
||||
label: "渠道标识",
|
||||
prop: "channelCode",
|
||||
type: 'select',
|
||||
dicUrl: '/blade-system/dict/dictionary?code=release_version_channel_code',
|
||||
props: {
|
||||
label: 'dictValue',
|
||||
value: 'dictKey',
|
||||
},
|
||||
dataType: 'string',
|
||||
overHidden: true,
|
||||
},
|
||||
{
|
||||
label: "包类型",
|
||||
prop: "packageType",
|
||||
type: 'radio',
|
||||
dicUrl: '/blade-system/dict/dictionary?code=release_version_pack_type',
|
||||
props: {
|
||||
label: 'dictValue',
|
||||
value: 'dictKey',
|
||||
},
|
||||
dataType: 'number',
|
||||
value : 1,
|
||||
overHidden: true,
|
||||
},
|
||||
{
|
||||
label: "是否强制更新",
|
||||
prop: "isForceUpdate",
|
||||
type: 'radio',
|
||||
dicUrl: '/blade-system/dict/dictionary?code=app_yes_no',
|
||||
props: {
|
||||
label: 'dictValue',
|
||||
value: 'dictKey',
|
||||
},
|
||||
dataType: 'number',
|
||||
value : 0,
|
||||
overHidden: true,
|
||||
},
|
||||
{
|
||||
label: "下载地址",
|
||||
prop: "downloadUrl",
|
||||
type: "input",
|
||||
overHidden: true,
|
||||
},
|
||||
{
|
||||
label: "更新日志内容",
|
||||
prop: "updateContent",
|
||||
type: "textarea",
|
||||
overHidden: true,
|
||||
},
|
||||
{
|
||||
label: "隐私协议地址",
|
||||
prop: "privacyAgreementUrl",
|
||||
type: "input",
|
||||
overHidden: true,
|
||||
},
|
||||
{
|
||||
label: "用户协议地址",
|
||||
prop: "userAgreementUrl",
|
||||
type: "input",
|
||||
overHidden: true,
|
||||
},
|
||||
{
|
||||
label: "调度链接",
|
||||
prop: "dispatchUrl",
|
||||
type: "input",
|
||||
overHidden: true,
|
||||
},
|
||||
{
|
||||
label: "创建人ID",
|
||||
prop: "createUser",
|
||||
type: "input",
|
||||
addDisplay: false,
|
||||
editDisplay: false,
|
||||
viewDisplay: false,
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
label: "创建部门ID",
|
||||
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: "更新人ID",
|
||||
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: "上架状态: 0-未上架/下架, 1-已上架",
|
||||
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,
|
||||
},
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user