提交 ddabbd86 编写于 作者: ibizdev's avatar ibizdev

ibiz4j 发布系统代码

上级 72916ba5
...@@ -40,9 +40,9 @@ export default { ...@@ -40,9 +40,9 @@ export default {
codename: "代码名称", codename: "代码名称",
ctype: "类型", ctype: "类型",
entityname: "主实体", entityname: "主实体",
cfg: "配置",
systemid: "系统标识", systemid: "系统标识",
appid: "应用标识", appid: "应用标识",
cfg: "配置",
entityid: "实体标识", entityid: "实体标识",
cid: "部件标识", cid: "部件标识",
}, },
......
...@@ -39,9 +39,9 @@ export default { ...@@ -39,9 +39,9 @@ export default {
codename: "代码名称", codename: "代码名称",
ctype: "类型", ctype: "类型",
entityname: "主实体", entityname: "主实体",
cfg: "配置",
systemid: "系统标识", systemid: "系统标识",
appid: "应用标识", appid: "应用标识",
cfg: "配置",
entityid: "实体标识", entityid: "实体标识",
cid: "部件标识", cid: "部件标识",
}, },
......
...@@ -81,14 +81,7 @@ ...@@ -81,14 +81,7 @@
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.cfg.visible" :style="{}" :sm="{ span: 24, offset: 0 }" :md="{ span: 24, offset: 0 }" :lg="{ span: 24, offset: 0 }" :xl="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.systemid.visible" :style="{}" :sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-item name='cfg' :itemRules="this.rules().cfg" class='' :caption="$t('entities.dstcomponent.main_form.details.cfg')" uiStyle="DEFAULT" :labelWidth="0" :isShowCaption="false" :error="detailsModel.cfg.error" :isEmptyCaption="false" labelPos="NONE">
<input-box v-model="data.cfg" :textareaId="this.$util.createUUID()" :disabled="detailsModel.cfg.disabled" type='textarea' textareaStyle="height:200px;" ></input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.systemid.visible" :style="{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='systemid' :itemRules="this.rules().systemid" class='' :caption="$t('entities.dstcomponent.main_form.details.systemid')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.systemid.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='systemid' :itemRules="this.rules().systemid" class='' :caption="$t('entities.dstcomponent.main_form.details.systemid')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.systemid.error" :isEmptyCaption="false" labelPos="LEFT">
<dropdown-list <dropdown-list
...@@ -108,7 +101,7 @@ ...@@ -108,7 +101,7 @@
</app-form-item> </app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.appid.visible" :style="{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }" :xl="{ span: 6, offset: 0 }"> <i-col v-show="detailsModel.appid.visible" :style="{}" :sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-item name='appid' :itemRules="this.rules().appid" class='' :caption="$t('entities.dstcomponent.main_form.details.appid')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.appid.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='appid' :itemRules="this.rules().appid" class='' :caption="$t('entities.dstcomponent.main_form.details.appid')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.appid.error" :isEmptyCaption="false" labelPos="LEFT">
<dropdown-list <dropdown-list
...@@ -127,6 +120,13 @@ ...@@ -127,6 +120,13 @@
</app-form-item> </app-form-item>
</i-col>
<i-col v-show="detailsModel.cfg.visible" :style="{}" :sm="{ span: 24, offset: 0 }" :md="{ span: 24, offset: 0 }" :lg="{ span: 24, offset: 0 }" :xl="{ span: 24, offset: 0 }">
<app-form-item name='cfg' :itemRules="this.rules().cfg" class='' :caption="$t('entities.dstcomponent.main_form.details.cfg')" uiStyle="DEFAULT" :labelWidth="0" :isShowCaption="false" :error="detailsModel.cfg.error" :isEmptyCaption="false" labelPos="NONE">
<input-box v-model="data.cfg" :textareaId="this.$util.createUUID()" :disabled="detailsModel.cfg.disabled" type='textarea' textareaStyle="height:200px;" ></input-box>
</app-form-item>
</i-col> </i-col>
</row> </row>
...@@ -476,9 +476,9 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -476,9 +476,9 @@ export default class MainBase extends Vue implements ControlInterface {
codename: null, codename: null,
ctype: null, ctype: null,
entityname: null, entityname: null,
cfg: null,
systemid: null, systemid: null,
appid: null, appid: null,
cfg: null,
entityid: null, entityid: null,
cid: null, cid: null,
dstcomponent:null, dstcomponent:null,
...@@ -590,12 +590,6 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -590,12 +590,6 @@ export default class MainBase extends Vue implements ControlInterface {
{ required: true, type: 'string', message: '主实体 值不能为空', trigger: 'change' }, { required: true, type: 'string', message: '主实体 值不能为空', trigger: 'change' },
{ required: true, type: 'string', message: '主实体 值不能为空', trigger: 'blur' }, { required: true, type: 'string', message: '主实体 值不能为空', trigger: 'blur' },
], ],
cfg: [
{ type: 'string', message: '配置 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '配置 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '配置 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '配置 值不能为空', trigger: 'blur' },
],
systemid: [ systemid: [
{ type: 'string', message: '系统标识 值必须为字符串类型', trigger: 'change' }, { type: 'string', message: '系统标识 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '系统标识 值必须为字符串类型', trigger: 'blur' }, { type: 'string', message: '系统标识 值必须为字符串类型', trigger: 'blur' },
...@@ -608,6 +602,12 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -608,6 +602,12 @@ export default class MainBase extends Vue implements ControlInterface {
{ required: false, type: 'string', message: '应用标识 值不能为空', trigger: 'change' }, { required: false, type: 'string', message: '应用标识 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '应用标识 值不能为空', trigger: 'blur' }, { required: false, type: 'string', message: '应用标识 值不能为空', trigger: 'blur' },
], ],
cfg: [
{ type: 'string', message: '配置 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '配置 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '配置 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '配置 值不能为空', trigger: 'blur' },
],
entityid: [ entityid: [
{ type: 'string', message: '实体标识 值必须为字符串类型', trigger: 'change' }, { type: 'string', message: '实体标识 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '实体标识 值必须为字符串类型', trigger: 'blur' }, { type: 'string', message: '实体标识 值必须为字符串类型', trigger: 'blur' },
...@@ -733,12 +733,12 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -733,12 +733,12 @@ export default class MainBase extends Vue implements ControlInterface {
ctype: new FormItemModel({ caption: '类型', detailType: 'FORMITEM', name: 'ctype', visible: true, isShowCaption: true, form: this, isControlledContent: false , disabled: false, enableCond: 3 }) ctype: new FormItemModel({ caption: '类型', detailType: 'FORMITEM', name: 'ctype', visible: true, isShowCaption: true, form: this, isControlledContent: false , disabled: false, enableCond: 3 })
, ,
entityname: new FormItemModel({ caption: '主实体', detailType: 'FORMITEM', name: 'entityname', visible: true, isShowCaption: true, form: this, isControlledContent: false , disabled: false, enableCond: 3 }) entityname: new FormItemModel({ caption: '主实体', detailType: 'FORMITEM', name: 'entityname', visible: true, isShowCaption: true, form: this, isControlledContent: false , disabled: false, enableCond: 3 })
,
cfg: new FormItemModel({ caption: '配置', detailType: 'FORMITEM', name: 'cfg', visible: true, isShowCaption: false, form: this, isControlledContent: false , disabled: false, enableCond: 3 })
, ,
systemid: new FormItemModel({ caption: '系统标识', detailType: 'FORMITEM', name: 'systemid', visible: true, isShowCaption: true, form: this, isControlledContent: false , disabled: false, enableCond: 3 }) systemid: new FormItemModel({ caption: '系统标识', detailType: 'FORMITEM', name: 'systemid', visible: true, isShowCaption: true, form: this, isControlledContent: false , disabled: false, enableCond: 3 })
, ,
appid: new FormItemModel({ caption: '应用标识', detailType: 'FORMITEM', name: 'appid', visible: true, isShowCaption: true, form: this, isControlledContent: false , disabled: false, enableCond: 3 }) appid: new FormItemModel({ caption: '应用标识', detailType: 'FORMITEM', name: 'appid', visible: true, isShowCaption: true, form: this, isControlledContent: false , disabled: false, enableCond: 3 })
,
cfg: new FormItemModel({ caption: '配置', detailType: 'FORMITEM', name: 'cfg', visible: true, isShowCaption: false, form: this, isControlledContent: false , disabled: false, enableCond: 3 })
, ,
entityid: new FormItemModel({ caption: '实体标识', detailType: 'FORMITEM', name: 'entityid', visible: true, isShowCaption: true, form: this, isControlledContent: false , disabled: false, enableCond: 3 }) entityid: new FormItemModel({ caption: '实体标识', detailType: 'FORMITEM', name: 'entityid', visible: true, isShowCaption: true, form: this, isControlledContent: false , disabled: false, enableCond: 3 })
, ,
...@@ -878,18 +878,6 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -878,18 +878,6 @@ export default class MainBase extends Vue implements ControlInterface {
this.formDataChange({ name: 'entityname', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'entityname', newVal: newVal, oldVal: oldVal });
} }
/**
* 监控表单属性 cfg 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.cfg')
onCfgChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'cfg', newVal: newVal, oldVal: oldVal });
}
/** /**
* 监控表单属性 systemid 值 * 监控表单属性 systemid 值
* *
...@@ -914,6 +902,18 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -914,6 +902,18 @@ export default class MainBase extends Vue implements ControlInterface {
this.formDataChange({ name: 'appid', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'appid', newVal: newVal, oldVal: oldVal });
} }
/**
* 监控表单属性 cfg 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@Watch('data.cfg')
onCfgChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'cfg', newVal: newVal, oldVal: oldVal });
}
/** /**
* 监控表单属性 entityid 值 * 监控表单属性 entityid 值
* *
......
...@@ -70,11 +70,6 @@ export default class MainModel { ...@@ -70,11 +70,6 @@ export default class MainModel {
prop: 'entity_name', prop: 'entity_name',
dataType: 'PICKUPTEXT', dataType: 'PICKUPTEXT',
}, },
{
name: 'cfg',
prop: 'config',
dataType: 'LONGTEXT',
},
{ {
name: 'systemid', name: 'systemid',
prop: 'system_id', prop: 'system_id',
...@@ -85,6 +80,11 @@ export default class MainModel { ...@@ -85,6 +80,11 @@ export default class MainModel {
prop: 'app_id', prop: 'app_id',
dataType: 'PICKUP', dataType: 'PICKUP',
}, },
{
name: 'cfg',
prop: 'config',
dataType: 'LONGTEXT',
},
{ {
name: 'entityid', name: 'entityid',
prop: 'entity_id', prop: 'entity_id',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册